/linux-4.1.27/drivers/isdn/hisax/ |
H A D | hisax_fcpcipnp.c | 161 spin_lock_irqsave(&adapter->hw_lock, flags); fcpci_read_isac() 164 spin_unlock_irqrestore(&adapter->hw_lock, flags); fcpci_read_isac() 180 spin_lock_irqsave(&adapter->hw_lock, flags); fcpci_write_isac() 183 spin_unlock_irqrestore(&adapter->hw_lock, flags); fcpci_write_isac() 192 spin_lock_irqsave(&adapter->hw_lock, flags); fcpci_read_isac_fifo() 195 spin_unlock_irqrestore(&adapter->hw_lock, flags); fcpci_read_isac_fifo() 204 spin_lock_irqsave(&adapter->hw_lock, flags); fcpci_write_isac_fifo() 207 spin_unlock_irqrestore(&adapter->hw_lock, flags); fcpci_write_isac_fifo() 216 spin_lock_irqsave(&adapter->hw_lock, flags); fcpci_read_hdlc_status() 219 spin_unlock_irqrestore(&adapter->hw_lock, flags); fcpci_read_hdlc_status() 240 spin_lock_irqsave(&adapter->hw_lock, flags); fcpci_write_ctrl() 242 spin_unlock_irqrestore(&adapter->hw_lock, flags); fcpci_write_ctrl() 254 spin_lock_irqsave(&adapter->hw_lock, flags); fcpci2_read_isac() 257 spin_unlock_irqrestore(&adapter->hw_lock, flags); fcpci2_read_isac() 272 spin_lock_irqsave(&adapter->hw_lock, flags); fcpci2_write_isac() 275 spin_unlock_irqrestore(&adapter->hw_lock, flags); fcpci2_write_isac() 285 spin_lock_irqsave(&adapter->hw_lock, flags); fcpci2_read_isac_fifo() 289 spin_unlock_irqrestore(&adapter->hw_lock, flags); fcpci2_read_isac_fifo() 299 spin_lock_irqsave(&adapter->hw_lock, flags); fcpci2_write_isac_fifo() 303 spin_unlock_irqrestore(&adapter->hw_lock, flags); fcpci2_write_isac_fifo() 333 spin_lock_irqsave(&adapter->hw_lock, flags); fcpnp_read_hdlc_status() 338 spin_unlock_irqrestore(&adapter->hw_lock, flags); fcpnp_read_hdlc_status() 367 spin_lock_irqsave(&adapter->hw_lock, flags); fcpnp_write_ctrl() 369 spin_unlock_irqrestore(&adapter->hw_lock, flags); fcpnp_write_ctrl() 410 spin_lock_irqsave(&adapter->hw_lock, flags); hdlc_fill_fifo() 415 spin_unlock_irqrestore(&adapter->hw_lock, flags); hdlc_fill_fifo() 424 spin_lock_irqsave(&adapter->hw_lock, flags); hdlc_fill_fifo() 428 spin_unlock_irqrestore(&adapter->hw_lock, flags); hdlc_fill_fifo() 448 spin_lock(&adapter->hw_lock); hdlc_empty_fifo() 452 spin_unlock(&adapter->hw_lock); hdlc_empty_fifo() 460 spin_lock(&adapter->hw_lock); hdlc_empty_fifo() 463 spin_unlock(&adapter->hw_lock); hdlc_empty_fifo() 742 spin_lock_init(&adapter->hw_lock); fcpcipnp_setup()
|
H A D | hisax_fcpcipnp.h | 48 spinlock_t hw_lock; member in struct:fritz_adapter
|
/linux-4.1.27/drivers/gpu/drm/msm/mdp/mdp5/ |
H A D | mdp5_ctl.c | 56 spinlock_t hw_lock; member in struct:mdp5_ctl 166 spin_lock_irqsave(&ctl->hw_lock, flags); set_ctl_op() 168 spin_unlock_irqrestore(&ctl->hw_lock, flags); set_ctl_op() 218 spin_lock_irqsave(&ctl->hw_lock, flags); send_start_signal() 220 spin_unlock_irqrestore(&ctl->hw_lock, flags); send_start_signal() 280 spin_lock_irqsave(&ctl->hw_lock, flags); mdp5_ctl_set_cursor() 291 spin_unlock_irqrestore(&ctl->hw_lock, flags); mdp5_ctl_set_cursor() 308 spin_lock_irqsave(&ctl->hw_lock, flags); mdp5_ctl_blend() 310 spin_unlock_irqrestore(&ctl->hw_lock, flags); mdp5_ctl_blend() 417 spin_lock_irqsave(&ctl->hw_lock, flags); mdp5_ctl_commit() 419 spin_unlock_irqrestore(&ctl->hw_lock, flags); mdp5_ctl_commit() 499 spin_lock_irqsave(&ctl->hw_lock, flags); mdp5_ctlm_hw_reset() 501 spin_unlock_irqrestore(&ctl->hw_lock, flags); mdp5_ctlm_hw_reset() 553 spin_lock_init(&ctl->hw_lock); mdp5_ctlm_init()
|
/linux-4.1.27/drivers/gpu/drm/ |
H A D | drm_lock.c | 77 master->lock.hw_lock->lock, lock->flags); drm_legacy_lock() 86 if (!master->lock.hw_lock) { drm_legacy_lock() 127 dev->sigdata.lock = master->lock.hw_lock; drm_legacy_lock() 190 volatile unsigned int *lock = &lock_data->hw_lock->lock; drm_lock_take() 239 volatile unsigned int *lock = &lock_data->hw_lock->lock; drm_lock_transfer() 264 volatile unsigned int *lock = &lock_data->hw_lock->lock; drm_legacy_lock_free() 357 volatile unsigned int *lock = &lock_data->hw_lock->lock; drm_legacy_idlelock_release() 378 return (file_priv->lock_count && master->lock.hw_lock && drm_legacy_i_have_hw_lock() 379 _DRM_LOCK_IS_HELD(master->lock.hw_lock->lock) && drm_legacy_i_have_hw_lock()
|
H A D | drm_fops.c | 273 filp, _DRM_LOCKING_CONTEXT(file_priv->master->lock.hw_lock->lock)); drm_master_release() 275 _DRM_LOCKING_CONTEXT(file_priv->master->lock.hw_lock->lock)); drm_master_release() 429 if (master->lock.hw_lock) { drm_release() 430 if (dev->sigdata.lock == master->lock.hw_lock) drm_release() 432 master->lock.hw_lock = NULL; drm_release()
|
H A D | drm_bufs.c | 248 if (dev->primary->master->lock.hw_lock != NULL) { drm_addmap_core() 253 dev->sigdata.lock = dev->primary->master->lock.hw_lock = map->handle; /* Pointer to lock */ drm_addmap_core() 462 if (dev->sigdata.lock == master->lock.hw_lock) drm_legacy_rmmap_locked() 464 master->lock.hw_lock = NULL; /* SHM removed */ drm_legacy_rmmap_locked()
|
H A D | drm_context.c | 280 if (!_DRM_LOCK_IS_HELD(file_priv->master->lock.hw_lock->lock)) { drm_context_switch_complete()
|
/linux-4.1.27/drivers/net/ethernet/qlogic/ |
H A D | qla3xxx.c | 102 * Caller must take hw_lock. 143 * Caller holds hw_lock. 181 spin_lock_irqsave(&qdev->hw_lock, hw_flags); ql_read_common_reg_l() 183 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); ql_read_common_reg_l() 198 spin_lock_irqsave(&qdev->hw_lock, hw_flags); ql_read_page0_reg_l() 204 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); ql_read_page0_reg_l() 220 spin_lock_irqsave(&qdev->hw_lock, hw_flags); ql_write_common_reg_l() 223 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); ql_write_common_reg_l() 251 * Caller holds hw_lock. Only called during init. 263 * Caller holds hw_lock. Only called during init. 373 * Caller holds hw_lock. 388 * Caller holds hw_lock. 461 * Caller holds hw_lock. 474 * Caller holds hw_lock. 502 * Caller holds hw_lock. 528 spin_lock_irqsave(&qdev->hw_lock, hw_flags); ql_get_nvram_params() 536 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); ql_get_nvram_params() 550 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); ql_get_nvram_params() 554 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); ql_get_nvram_params() 1034 * Caller holds hw_lock. 1054 * Caller holds hw_lock. 1074 * Caller holds hw_lock. 1094 * Caller holds hw_lock. 1114 * Caller holds hw_lock. 1136 * Caller holds hw_lock. 1166 * Caller holds hw_lock. 1240 * Caller holds hw_lock. 1264 * Caller holds hw_lock. 1294 * Caller holds hw_lock. 1412 * Caller holds hw_lock. 1526 spin_lock_irqsave(&qdev->hw_lock, hw_flags); ql_link_state_machine_work() 1534 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); ql_link_state_machine_work() 1575 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); ql_link_state_machine_work() 1582 * Caller must take hw_lock and QL_PHY_GIO_SEM. 1593 * Caller must take hw_lock and QL_PHY_GIO_SEM. 1663 spin_lock_irqsave(&qdev->hw_lock, hw_flags); ql_get_auto_cfg_status() 1667 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); ql_get_auto_cfg_status() 1672 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); ql_get_auto_cfg_status() 1680 spin_lock_irqsave(&qdev->hw_lock, hw_flags); ql_get_speed() 1684 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); ql_get_speed() 1689 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); ql_get_speed() 1697 spin_lock_irqsave(&qdev->hw_lock, hw_flags); ql_get_full_dup() 1701 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); ql_get_full_dup() 1706 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); ql_get_full_dup() 1839 * Caller holds hw_lock. 1862 * Caller holds hw_lock. 2191 spin_lock_irqsave(&qdev->hw_lock, hw_flags); ql_poll() 2197 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); ql_poll() 3226 spin_unlock_irq(&qdev->hw_lock); ql_adapter_initialize() 3228 spin_lock_irq(&qdev->hw_lock); ql_adapter_initialize() 3259 * Caller holds hw_lock. 3442 spin_lock_irqsave(&qdev->hw_lock, hw_flags); ql_adapter_down() 3456 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); ql_adapter_down() 3495 spin_lock_irqsave(&qdev->hw_lock, hw_flags); ql_adapter_up() 3511 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); ql_adapter_up() 3524 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); ql_adapter_up() 3585 spin_lock_irqsave(&qdev->hw_lock, hw_flags); ql3xxx_set_mac_address() 3599 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); ql3xxx_set_mac_address() 3663 spin_lock_irqsave(&qdev->hw_lock, hw_flags); ql_reset_work() 3694 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); ql_reset_work() 3696 spin_lock_irqsave(&qdev->hw_lock, hw_flags); ql_reset_work() 3698 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); ql_reset_work() 3835 spin_lock_init(&qdev->hw_lock); ql3xxx_probe()
|
H A D | qla3xxx.h | 1091 spinlock_t hw_lock; member in struct:ql3_adapter
|
/linux-4.1.27/drivers/media/rc/ |
H A D | ene_ir.c | 550 spin_lock_irqsave(&dev->hw_lock, flags); ene_tx_set_carrier() 571 spin_unlock_irqrestore(&dev->hw_lock, flags); ene_tx_set_carrier() 579 spin_lock_irqsave(&dev->hw_lock, flags); ene_tx_set_transmitters() 584 spin_unlock_irqrestore(&dev->hw_lock, flags); ene_tx_set_transmitters() 622 /* TX one sample - must be called with dev->hw_lock*/ ene_tx_sample() 683 spin_lock_irqsave(&dev->hw_lock, flags); ene_tx_irqsim() 685 spin_unlock_irqrestore(&dev->hw_lock, flags); ene_tx_irqsim() 743 spin_lock_irqsave(&dev->hw_lock, flags); ene_isr() 823 spin_unlock_irqrestore(&dev->hw_lock, flags); ene_isr() 856 spin_lock_irqsave(&dev->hw_lock, flags); ene_open() 858 spin_unlock_irqrestore(&dev->hw_lock, flags); ene_open() 867 spin_lock_irqsave(&dev->hw_lock, flags); ene_close() 870 spin_unlock_irqrestore(&dev->hw_lock, flags); ene_close() 933 spin_lock_irqsave(&dev->hw_lock, flags); ene_set_learning_mode() 938 spin_unlock_irqrestore(&dev->hw_lock, flags); ene_set_learning_mode() 950 spin_lock_irqsave(&dev->hw_lock, flags); ene_set_carrier_report() 955 spin_unlock_irqrestore(&dev->hw_lock, flags); ene_set_carrier_report() 986 spin_lock_irqsave(&dev->hw_lock, flags); ene_transmit() 994 spin_unlock_irqrestore(&dev->hw_lock, flags); ene_transmit() 998 spin_lock_irqsave(&dev->hw_lock, flags); ene_transmit() 1000 spin_unlock_irqrestore(&dev->hw_lock, flags); ene_transmit() 1033 spin_lock_init(&dev->hw_lock); ene_probe() 1126 spin_lock_irqsave(&dev->hw_lock, flags); ene_remove() 1129 spin_unlock_irqrestore(&dev->hw_lock, flags); ene_remove()
|
H A D | ene_ir.h | 202 spinlock_t hw_lock; member in struct:ene_device
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
H A D | i915_sysfs.c | 315 mutex_lock(&dev_priv->rps.hw_lock); gt_act_freq_mhz_show() 330 mutex_unlock(&dev_priv->rps.hw_lock); gt_act_freq_mhz_show() 349 mutex_lock(&dev_priv->rps.hw_lock); gt_cur_freq_mhz_show() 351 mutex_unlock(&dev_priv->rps.hw_lock); gt_cur_freq_mhz_show() 379 mutex_lock(&dev_priv->rps.hw_lock); gt_max_freq_mhz_show() 381 mutex_unlock(&dev_priv->rps.hw_lock); gt_max_freq_mhz_show() 402 mutex_lock(&dev_priv->rps.hw_lock); gt_max_freq_mhz_store() 409 mutex_unlock(&dev_priv->rps.hw_lock); gt_max_freq_mhz_store() 428 mutex_unlock(&dev_priv->rps.hw_lock); gt_max_freq_mhz_store() 442 mutex_lock(&dev_priv->rps.hw_lock); gt_min_freq_mhz_show() 444 mutex_unlock(&dev_priv->rps.hw_lock); gt_min_freq_mhz_show() 465 mutex_lock(&dev_priv->rps.hw_lock); gt_min_freq_mhz_store() 472 mutex_unlock(&dev_priv->rps.hw_lock); gt_min_freq_mhz_store() 487 mutex_unlock(&dev_priv->rps.hw_lock); gt_min_freq_mhz_store()
|
H A D | intel_sideband.c | 82 WARN_ON(!mutex_is_locked(&dev_priv->rps.hw_lock)); vlv_punit_read() 94 WARN_ON(!mutex_is_locked(&dev_priv->rps.hw_lock)); vlv_punit_write() 122 WARN_ON(!mutex_is_locked(&dev_priv->rps.hw_lock)); vlv_nc_read()
|
H A D | intel_pm.c | 270 mutex_lock(&dev_priv->rps.hw_lock); chv_set_memory_dvfs() 285 mutex_unlock(&dev_priv->rps.hw_lock); chv_set_memory_dvfs() 292 mutex_lock(&dev_priv->rps.hw_lock); chv_set_memory_pm5() 301 mutex_unlock(&dev_priv->rps.hw_lock); chv_set_memory_pm5() 1812 mutex_lock(&dev_priv->rps.hw_lock); intel_read_wm_latency() 1816 mutex_unlock(&dev_priv->rps.hw_lock); intel_read_wm_latency() 1833 mutex_lock(&dev_priv->rps.hw_lock); intel_read_wm_latency() 1837 mutex_unlock(&dev_priv->rps.hw_lock); intel_read_wm_latency() 3957 WARN_ON(!mutex_is_locked(&dev_priv->rps.hw_lock)); gen6_set_rps() 3996 WARN_ON(!mutex_is_locked(&dev_priv->rps.hw_lock)); valleyview_set_rps() 4061 mutex_lock(&dev_priv->rps.hw_lock); gen6_rps_busy() 4068 mutex_unlock(&dev_priv->rps.hw_lock); gen6_rps_busy() 4075 mutex_lock(&dev_priv->rps.hw_lock); gen6_rps_idle() 4084 mutex_unlock(&dev_priv->rps.hw_lock); gen6_rps_idle() 4091 mutex_lock(&dev_priv->rps.hw_lock); gen6_rps_boost() 4099 mutex_unlock(&dev_priv->rps.hw_lock); gen6_rps_boost() 4426 WARN_ON(!mutex_is_locked(&dev_priv->rps.hw_lock)); gen6_enable_rps() 4534 WARN_ON(!mutex_is_locked(&dev_priv->rps.hw_lock)); __gen6_update_ring_freq() 4602 mutex_lock(&dev_priv->rps.hw_lock); gen6_update_ring_freq() 4604 mutex_unlock(&dev_priv->rps.hw_lock); gen6_update_ring_freq() 4833 mutex_lock(&dev_priv->rps.hw_lock); valleyview_init_gt_powersave() 4880 mutex_unlock(&dev_priv->rps.hw_lock); valleyview_init_gt_powersave() 4890 mutex_lock(&dev_priv->rps.hw_lock); cherryview_init_gt_powersave() 4957 mutex_unlock(&dev_priv->rps.hw_lock); cherryview_init_gt_powersave() 4972 WARN_ON(!mutex_is_locked(&dev_priv->rps.hw_lock)); cherryview_enable_rps() 5064 WARN_ON(!mutex_is_locked(&dev_priv->rps.hw_lock)); valleyview_enable_rps() 5686 mutex_lock(&dev_priv->rps.hw_lock); intel_disable_gt_powersave() 5697 mutex_unlock(&dev_priv->rps.hw_lock); intel_disable_gt_powersave() 5708 mutex_lock(&dev_priv->rps.hw_lock); intel_gen6_powersave_work() 5738 mutex_unlock(&dev_priv->rps.hw_lock); intel_gen6_powersave_work() 6633 WARN_ON(!mutex_is_locked(&dev_priv->rps.hw_lock)); sandybridge_pcode_read() 6658 WARN_ON(!mutex_is_locked(&dev_priv->rps.hw_lock)); sandybridge_pcode_write() 6769 mutex_init(&dev_priv->rps.hw_lock); intel_pm_setup()
|
H A D | intel_runtime_pm.c | 477 mutex_lock(&dev_priv->rps.hw_lock); vlv_set_power_well() 498 mutex_unlock(&dev_priv->rps.hw_lock); vlv_set_power_well() 531 mutex_lock(&dev_priv->rps.hw_lock); vlv_power_well_enabled() 550 mutex_unlock(&dev_priv->rps.hw_lock); vlv_power_well_enabled() 703 mutex_lock(&dev_priv->rps.hw_lock); chv_pipe_power_well_enabled() 720 mutex_unlock(&dev_priv->rps.hw_lock); chv_pipe_power_well_enabled() 735 mutex_lock(&dev_priv->rps.hw_lock); chv_set_pipe_power_well() 756 mutex_unlock(&dev_priv->rps.hw_lock); chv_set_pipe_power_well()
|
H A D | i915_debugfs.c | 1209 mutex_lock(&dev_priv->rps.hw_lock); i915_frequency_info() 1229 mutex_unlock(&dev_priv->rps.hw_lock); i915_frequency_info() 1448 mutex_lock(&dev_priv->rps.hw_lock); gen6_drpc_info() 1450 mutex_unlock(&dev_priv->rps.hw_lock); gen6_drpc_info() 1733 ret = mutex_lock_interruptible(&dev_priv->rps.hw_lock); i915_ring_freq_table() 1752 mutex_unlock(&dev_priv->rps.hw_lock); i915_ring_freq_table() 4298 ret = mutex_lock_interruptible(&dev_priv->rps.hw_lock); i915_max_freq_get() 4303 mutex_unlock(&dev_priv->rps.hw_lock); i915_max_freq_get() 4323 ret = mutex_lock_interruptible(&dev_priv->rps.hw_lock); i915_max_freq_set() 4336 mutex_unlock(&dev_priv->rps.hw_lock); i915_max_freq_set() 4344 mutex_unlock(&dev_priv->rps.hw_lock); i915_max_freq_set() 4365 ret = mutex_lock_interruptible(&dev_priv->rps.hw_lock); i915_min_freq_get() 4370 mutex_unlock(&dev_priv->rps.hw_lock); i915_min_freq_get() 4390 ret = mutex_lock_interruptible(&dev_priv->rps.hw_lock); i915_min_freq_set() 4403 mutex_unlock(&dev_priv->rps.hw_lock); i915_min_freq_set() 4411 mutex_unlock(&dev_priv->rps.hw_lock); i915_min_freq_set()
|
H A D | intel_display.c | 4349 mutex_lock(&dev_priv->rps.hw_lock); hsw_enable_ips() 4351 mutex_unlock(&dev_priv->rps.hw_lock); hsw_enable_ips() 4379 mutex_lock(&dev_priv->rps.hw_lock); hsw_disable_ips() 4381 mutex_unlock(&dev_priv->rps.hw_lock); hsw_disable_ips() 5044 mutex_lock(&dev_priv->rps.hw_lock); valleyview_set_cdclk() 5054 mutex_unlock(&dev_priv->rps.hw_lock); valleyview_set_cdclk() 5119 mutex_lock(&dev_priv->rps.hw_lock); cherryview_set_cdclk() 5129 mutex_unlock(&dev_priv->rps.hw_lock); cherryview_set_cdclk() 8300 mutex_lock(&dev_priv->rps.hw_lock); hsw_write_dcomp() 8304 mutex_unlock(&dev_priv->rps.hw_lock); hsw_write_dcomp()
|
H A D | i915_irq.c | 1093 mutex_lock(&dev_priv->rps.hw_lock); gen6_pm_rps_work() 1142 mutex_unlock(&dev_priv->rps.hw_lock); gen6_pm_rps_work()
|
H A D | i915_drv.h | 1050 struct mutex hw_lock; member in struct:intel_gen6_power_mgmt
|
/linux-4.1.27/drivers/media/usb/go7007/ |
H A D | go7007-driver.c | 39 * Must be called with the hw_lock held. 62 * Must be called with the hw_lock held. 84 * Must be called with the hw_lock held. 132 * Must NOT be called with the hw_lock held. 138 mutex_lock(&go->hw_lock); go7007_boot_encoder() 140 mutex_unlock(&go->hw_lock); go7007_boot_encoder() 157 * Must be called with the hw_lock held. 191 * Must be called with the hw_lock held. 256 * Must NOT be called with the hw_lock held. 269 mutex_lock(&go->hw_lock); go7007_register_encoder() 271 mutex_unlock(&go->hw_lock); go7007_register_encoder() 327 * Must be called with the hw_lock held. 708 mutex_init(&go->hw_lock); go7007_alloc()
|
H A D | go7007-i2c.c | 65 mutex_lock(&go->hw_lock); go7007_i2c_xfer() 132 mutex_unlock(&go->hw_lock); go7007_i2c_xfer()
|
H A D | go7007-priv.h | 184 struct mutex hw_lock; member in struct:go7007
|
H A D | go7007-v4l2.c | 428 mutex_lock(&go->hw_lock); go7007_start_streaming() 437 mutex_unlock(&go->hw_lock); go7007_start_streaming() 460 mutex_lock(&go->hw_lock); go7007_stop_streaming() 462 mutex_unlock(&go->hw_lock); go7007_stop_streaming()
|
/linux-4.1.27/drivers/usb/serial/ |
H A D | ark3116.c | 67 struct mutex hw_lock; member in struct:ark3116_private 146 mutex_init(&priv->hw_lock); ark3116_port_probe() 201 mutex_destroy(&priv->hw_lock); ark3116_port_remove() 281 mutex_lock(&priv->hw_lock); ark3116_set_termios() 324 mutex_unlock(&priv->hw_lock); ark3116_set_termios() 441 mutex_lock(&priv->hw_lock); ark3116_tiocmget() 443 mutex_unlock(&priv->hw_lock); ark3116_tiocmget() 469 mutex_lock(&priv->hw_lock); ark3116_tiocmset() 490 mutex_unlock(&priv->hw_lock); ark3116_tiocmset() 501 mutex_lock(&priv->hw_lock); ark3116_break_ctl() 510 mutex_unlock(&priv->hw_lock); ark3116_break_ctl()
|
/linux-4.1.27/drivers/scsi/ |
H A D | vmw_pvscsi.c | 78 spinlock_t hw_lock; member in struct:pvscsi_adapter 732 spin_lock_irqsave(&adapter->hw_lock, flags); pvscsi_queue_lck() 738 spin_unlock_irqrestore(&adapter->hw_lock, flags); pvscsi_queue_lck() 747 spin_unlock_irqrestore(&adapter->hw_lock, flags); pvscsi_queue_lck() 767 spin_lock_irqsave(&adapter->hw_lock, flags); pvscsi_abort() 792 spin_unlock_irqrestore(&adapter->hw_lock, flags); pvscsi_abort() 795 spin_lock_irqsave(&adapter->hw_lock, flags); pvscsi_abort() 817 spin_unlock_irqrestore(&adapter->hw_lock, flags); pvscsi_abort() 854 spin_lock_irqsave(&adapter->hw_lock, flags); pvscsi_host_reset() 860 spin_unlock_irqrestore(&adapter->hw_lock, flags); pvscsi_host_reset() 867 spin_lock_irqsave(&adapter->hw_lock, flags); pvscsi_host_reset() 894 spin_unlock_irqrestore(&adapter->hw_lock, flags); pvscsi_host_reset() 913 spin_lock_irqsave(&adapter->hw_lock, flags); pvscsi_bus_reset() 919 spin_unlock_irqrestore(&adapter->hw_lock, flags); pvscsi_bus_reset() 938 spin_lock_irqsave(&adapter->hw_lock, flags); pvscsi_device_reset() 944 spin_unlock_irqrestore(&adapter->hw_lock, flags); pvscsi_device_reset() 1144 spin_lock_irqsave(&adapter->hw_lock, flags); pvscsi_isr() 1150 spin_unlock_irqrestore(&adapter->hw_lock, flags); pvscsi_isr() 1437 spin_lock_init(&adapter->hw_lock); pvscsi_probe()
|
/linux-4.1.27/drivers/media/platform/s5p-mfc/ |
H A D | s5p_mfc.c | 112 if (test_bit(0, &dev->hw_lock)) s5p_mfc_watchdog() 160 clear_bit(0, &dev->hw_lock); s5p_mfc_watchdog_worker() 349 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); s5p_mfc_handle_frame() 421 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); s5p_mfc_handle_frame() 468 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); s5p_mfc_handle_error() 522 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); s5p_mfc_handle_seq_done() 560 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); s5p_mfc_handle_init_buffers() 567 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); s5p_mfc_handle_init_buffers() 601 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); s5p_mfc_handle_stream_complete() 644 WARN_ON(test_and_clear_bit(0, &dev->hw_lock) == 0); s5p_mfc_irq() 678 clear_bit(0, &dev->hw_lock); s5p_mfc_irq() 707 if (test_and_clear_bit(0, &dev->hw_lock) == 0) s5p_mfc_irq() 913 clear_bit(0, &dev->hw_lock); s5p_mfc_release() 1212 dev->hw_lock = 0; s5p_mfc_probe() 1294 while (test_and_set_bit(0, &m_dev->hw_lock) != 0) { s5p_mfc_suspend() 1309 clear_bit(0, &m_dev->hw_lock); s5p_mfc_suspend()
|
H A D | s5p_mfc_common.h | 281 * @hw_lock: used for hardware locking 323 unsigned long hw_lock; member in struct:s5p_mfc_dev
|
H A D | s5p_mfc_opr_v5.c | 1369 if (test_and_set_bit(0, &dev->hw_lock) != 0) { s5p_mfc_try_run_v5() 1378 if (test_and_clear_bit(0, &dev->hw_lock) == 0) { s5p_mfc_try_run_v5() 1460 if (test_and_clear_bit(0, &dev->hw_lock) == 0) s5p_mfc_try_run_v5()
|
H A D | s5p_mfc_opr_v6.c | 1716 if (test_and_set_bit(0, &dev->hw_lock) != 0) { s5p_mfc_try_run_v6() 1726 if (test_and_clear_bit(0, &dev->hw_lock) == 0) { s5p_mfc_try_run_v6() 1818 if (test_and_clear_bit(0, &dev->hw_lock) == 0) s5p_mfc_try_run_v6()
|
H A D | s5p_mfc_enc.c | 1948 (dev->curr_ctx == ctx->num) && dev->hw_lock) { s5p_mfc_start_streaming() 1977 dev->curr_ctx == ctx->num && dev->hw_lock) { s5p_mfc_stop_streaming()
|
H A D | s5p_mfc_dec.c | 1022 dev->curr_ctx == ctx->num && dev->hw_lock) { s5p_mfc_stop_streaming()
|
/linux-4.1.27/drivers/scsi/qla4xxx/ |
H A D | ql4_nx.c | 388 write_lock_irqsave(&ha->hw_lock, flags); qla4_82xx_wr_32() 397 write_unlock_irqrestore(&ha->hw_lock, flags); qla4_82xx_wr_32() 412 write_lock_irqsave(&ha->hw_lock, flags); qla4_82xx_rd_32() 420 write_unlock_irqrestore(&ha->hw_lock, flags); qla4_82xx_rd_32() 514 * qla4_82xx_idc_lock - hw_lock 721 write_lock_irqsave(&ha->hw_lock, flags); qla4_82xx_pci_mem_read_direct() 730 write_unlock_irqrestore(&ha->hw_lock, flags); qla4_82xx_pci_mem_read_direct() 738 write_unlock_irqrestore(&ha->hw_lock, flags); qla4_82xx_pci_mem_read_direct() 755 write_lock_irqsave(&ha->hw_lock, flags); qla4_82xx_pci_mem_read_direct() 775 write_unlock_irqrestore(&ha->hw_lock, flags); qla4_82xx_pci_mem_read_direct() 794 write_lock_irqsave(&ha->hw_lock, flags); qla4_82xx_pci_mem_write_direct() 803 write_unlock_irqrestore(&ha->hw_lock, flags); qla4_82xx_pci_mem_write_direct() 811 write_unlock_irqrestore(&ha->hw_lock, flags); qla4_82xx_pci_mem_write_direct() 826 write_lock_irqsave(&ha->hw_lock, flags); qla4_82xx_pci_mem_write_direct() 846 write_unlock_irqrestore(&ha->hw_lock, flags); qla4_82xx_pci_mem_write_direct() 1204 write_lock_irqsave(&ha->hw_lock, flags); qla4_8xxx_ms_mem_write_128b() 1280 write_unlock_irqrestore(&ha->hw_lock, flags); qla4_8xxx_ms_mem_write_128b() 1323 read_lock(&ha->hw_lock); qla4_82xx_load_from_flash() 1326 read_unlock(&ha->hw_lock); qla4_82xx_load_from_flash() 1593 read_lock(&ha->hw_lock); qla4_82xx_rcvpeg_ready() 1595 read_unlock(&ha->hw_lock); qla4_82xx_rcvpeg_ready() 1600 read_lock(&ha->hw_lock); qla4_82xx_rcvpeg_ready() 1602 read_unlock(&ha->hw_lock); qla4_82xx_rcvpeg_ready() 2512 write_lock_irqsave(&ha->hw_lock, flags); __qla4_8xxx_minidump_process_rdmem() 2535 write_unlock_irqrestore(&ha->hw_lock, flags); __qla4_8xxx_minidump_process_rdmem() 2548 write_unlock_irqrestore(&ha->hw_lock, flags); __qla4_8xxx_minidump_process_rdmem()
|
H A D | ql4_def.h | 751 rwlock_t hw_lock; member in struct:scsi_qla_host
|
H A D | ql4_os.c | 8650 rwlock_init(&ha->hw_lock); qla4xxx_probe_adapter()
|
/linux-4.1.27/drivers/crypto/ |
H A D | picoxcell_crypto.c | 112 spinlock_t hw_lock; member in struct:spacc_engine 705 spin_lock_irqsave(&engine->hw_lock, flags); spacc_aead_setup() 710 spin_unlock_irqrestore(&engine->hw_lock, flags); spacc_aead_setup() 718 spin_unlock_irqrestore(&engine->hw_lock, flags); spacc_aead_setup() 1043 spin_lock_irqsave(&engine->hw_lock, flags); spacc_ablk_setup() 1053 spin_unlock_irqrestore(&engine->hw_lock, flags); spacc_ablk_setup() 1061 spin_unlock_irqrestore(&engine->hw_lock, flags); spacc_ablk_setup() 1141 spin_lock_irqsave(&engine->hw_lock, flags); spacc_process_done() 1181 spin_unlock_irqrestore(&engine->hw_lock, flags); spacc_process_done() 1219 spin_lock_irqsave(&engine->hw_lock, flags); spacc_spacc_complete() 1226 spin_unlock_irqrestore(&engine->hw_lock, flags); spacc_spacc_complete() 1748 spin_lock_init(&engine->hw_lock); spacc_probe()
|
/linux-4.1.27/drivers/isdn/hysdn/ |
H A D | boardergo.c | 60 if (!card->hw_lock) ergo_interrupt() 87 if (card->hw_lock) { ergo_irq_bh() 91 card->hw_lock = 1; /* we now lock the hardware */ ergo_irq_bh() 117 card->hw_lock = 0; /* free hardware again */ ergo_irq_bh()
|
H A D | hysdn_defs.h | 169 unsigned char volatile hw_lock;/* hardware is currently locked -> no access */ member in struct:HYSDN_CARD
|
/linux-4.1.27/include/drm/ |
H A D | drm_legacy.h | 173 if (!_DRM_LOCK_IS_HELD(_file_priv->master->lock.hw_lock->lock) || \ 176 __func__, _DRM_LOCK_IS_HELD(_file_priv->master->lock.hw_lock->lock),\
|
H A D | drmP.h | 340 struct drm_hw_lock *hw_lock; /**< Hardware lock */ member in struct:drm_lock_data
|
/linux-4.1.27/drivers/scsi/qla2xxx/ |
H A D | qla_nx.c | 478 write_lock_irqsave(&ha->hw_lock, flags); qla82xx_wr_32() 487 write_unlock_irqrestore(&ha->hw_lock, flags); qla82xx_wr_32() 504 write_lock_irqsave(&ha->hw_lock, flags); qla82xx_rd_32() 512 write_unlock_irqrestore(&ha->hw_lock, flags); qla82xx_rd_32() 689 write_lock_irqsave(&ha->hw_lock, flags); qla82xx_pci_mem_read_direct() 698 write_unlock_irqrestore(&ha->hw_lock, flags); qla82xx_pci_mem_read_direct() 706 write_unlock_irqrestore(&ha->hw_lock, flags); qla82xx_pci_mem_read_direct() 722 write_lock_irqsave(&ha->hw_lock, flags); qla82xx_pci_mem_read_direct() 741 write_unlock_irqrestore(&ha->hw_lock, flags); qla82xx_pci_mem_read_direct() 761 write_lock_irqsave(&ha->hw_lock, flags); qla82xx_pci_mem_write_direct() 770 write_unlock_irqrestore(&ha->hw_lock, flags); qla82xx_pci_mem_write_direct() 778 write_unlock_irqrestore(&ha->hw_lock, flags); qla82xx_pci_mem_write_direct() 793 write_lock_irqsave(&ha->hw_lock, flags); qla82xx_pci_mem_write_direct() 812 write_unlock_irqrestore(&ha->hw_lock, flags); qla82xx_pci_mem_write_direct() 1443 read_lock(&ha->hw_lock); qla82xx_fw_load_from_flash() 1446 read_unlock(&ha->hw_lock); qla82xx_fw_load_from_flash() 1824 read_lock(&ha->hw_lock); qla82xx_fw_load_from_blob() 1827 read_unlock(&ha->hw_lock); qla82xx_fw_load_from_blob() 1905 read_lock(&ha->hw_lock); qla82xx_check_cmdpeg_state() 1907 read_unlock(&ha->hw_lock); qla82xx_check_cmdpeg_state() 1930 read_lock(&ha->hw_lock); qla82xx_check_cmdpeg_state() 1932 read_unlock(&ha->hw_lock); qla82xx_check_cmdpeg_state() 1944 read_lock(&ha->hw_lock); qla82xx_check_rcvpeg_state() 1946 read_unlock(&ha->hw_lock); qla82xx_check_rcvpeg_state() 1967 read_lock(&ha->hw_lock); qla82xx_check_rcvpeg_state() 1969 read_unlock(&ha->hw_lock); qla82xx_check_rcvpeg_state() 2289 rwlock_init(&ha->hw_lock); qla82xx_init_flags() 4085 write_lock_irqsave(&ha->hw_lock, flags); qla82xx_minidump_process_rdmem() 4105 write_unlock_irqrestore(&ha->hw_lock, flags); qla82xx_minidump_process_rdmem() 4116 write_unlock_irqrestore(&ha->hw_lock, flags); qla82xx_minidump_process_rdmem()
|
H A D | qla_nx2.c | 1122 write_lock_irqsave(&ha->hw_lock, flags); qla8044_ms_mem_write_128b() 1195 write_unlock_irqrestore(&ha->hw_lock, flags); qla8044_ms_mem_write_128b() 2375 write_lock_irqsave(&ha->hw_lock, flags); qla8044_minidump_process_rdmem() 2393 write_unlock_irqrestore(&ha->hw_lock, flags); qla8044_minidump_process_rdmem() 2405 write_unlock_irqrestore(&ha->hw_lock, flags); qla8044_minidump_process_rdmem()
|
H A D | qla_def.h | 3435 rwlock_t hw_lock; member in struct:qla_hw_data
|
/linux-4.1.27/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_drv.h | 402 spinlock_t hw_lock; member in struct:vmw_private 570 spin_lock_irqsave(&dev_priv->hw_lock, irq_flags); vmw_write() 573 spin_unlock_irqrestore(&dev_priv->hw_lock, irq_flags); vmw_write() 582 spin_lock_irqsave(&dev_priv->hw_lock, irq_flags); vmw_read() 585 spin_unlock_irqrestore(&dev_priv->hw_lock, irq_flags); vmw_read()
|
H A D | vmwgfx_drv.c | 604 spin_lock_init(&dev_priv->hw_lock); vmw_driver_load()
|
/linux-4.1.27/drivers/gpu/drm/sis/ |
H A D | sis_mm.c | 319 if (!(file->minor->master && file->master->lock.hw_lock)) sis_reclaim_buffers_locked()
|
/linux-4.1.27/drivers/gpu/drm/via/ |
H A D | via_mm.c | 211 if (!(file->minor->master && file->master->lock.hw_lock)) via_reclaim_buffers_locked()
|
/linux-4.1.27/drivers/net/ethernet/marvell/ |
H A D | skge.c | 2610 spin_lock_irq(&hw->hw_lock); skge_up() 2614 spin_unlock_irq(&hw->hw_lock); skge_up() 2662 spin_lock_irq(&hw->hw_lock); skge_down() 2666 spin_unlock_irq(&hw->hw_lock); skge_down() 3235 spin_lock_irqsave(&hw->hw_lock, flags); skge_poll() 3240 spin_unlock_irqrestore(&hw->hw_lock, flags); skge_poll() 3370 spin_lock_irq(&hw->hw_lock); skge_extirq() 3374 spin_unlock_irq(&hw->hw_lock); skge_extirq() 3383 spin_lock(&hw->hw_lock); skge_intr() 3439 spin_unlock(&hw->hw_lock); skge_intr() 3966 spin_lock_init(&hw->hw_lock); skge_probe() 4068 spin_lock_irq(&hw->hw_lock); skge_remove() 4076 spin_unlock_irq(&hw->hw_lock); skge_remove()
|
H A D | skge.h | 2412 spinlock_t hw_lock; member in struct:skge_hw
|
/linux-4.1.27/drivers/net/ethernet/qlogic/qlge/ |
H A D | qlge_main.c | 650 spin_lock_irqsave(&qdev->hw_lock, hw_flags); ql_enable_completion_interrupt() 656 spin_unlock_irqrestore(&qdev->hw_lock, hw_flags); ql_enable_completion_interrupt() 672 spin_lock(&qdev->hw_lock); ql_disable_completion_interrupt() 679 spin_unlock(&qdev->hw_lock); ql_disable_completion_interrupt() 2502 spin_lock(&qdev->hw_lock); qlge_isr() 2506 spin_unlock(&qdev->hw_lock); qlge_isr() 2509 spin_unlock(&qdev->hw_lock); qlge_isr() 4644 spin_lock_init(&qdev->hw_lock); ql_init_device()
|
H A D | qlge.h | 2077 spinlock_t hw_lock; member in struct:ql_adapter
|
/linux-4.1.27/drivers/gpu/drm/i810/ |
H A D | i810_dma.c | 1217 if (file_priv->master && file_priv->master->lock.hw_lock) { i810_driver_preclose()
|
/linux-4.1.27/drivers/gpu/drm/savage/ |
H A D | savage_bci.c | 1053 if (file_priv->master && file_priv->master->lock.hw_lock) { savage_reclaim_buffers()
|
/linux-4.1.27/drivers/isdn/mISDN/ |
H A D | dsp_cmx.c | 125 /* delay.h is required for hw_lock.h */
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
H A D | radeon_state.c | 3070 * This ioctl() doesn't work on 64-bit platforms because hw_lock is a radeon_cp_getparam()
|