/linux/drivers/scsi/snic/ |
A D | snic_scsi.c | 249 spinlock_t *io_lock = NULL; in snic_issue_scsi_req() local 555 spinlock_t *io_lock; in snic_icmnd_cmpl_handler() local 780 spinlock_t *io_lock = NULL; in snic_process_itmf_cmpl() local 1008 spinlock_t *io_lock = NULL; in snic_hba_reset_cmpl_handler() local 1429 spinlock_t *io_lock = NULL; in snic_abort_finish() local 1508 spinlock_t *io_lock = NULL; in snic_send_abort_and_wait() local 1675 spinlock_t *io_lock = NULL; in snic_is_abts_pending() local 1729 spinlock_t *io_lock = NULL; in snic_dr_clean_single_req() local 1917 spinlock_t *io_lock = NULL; in snic_dr_finish() local 2024 spinlock_t *io_lock = NULL; in snic_send_dr_and_wait() local [all …]
|
/linux/drivers/usb/image/ |
A D | mdc800.c | 483 mutex_lock(&mdc800->io_lock); in mdc800_usb_probe() 529 mutex_unlock(&mdc800->io_lock); in mdc800_usb_probe() 553 mutex_lock(&mdc800->io_lock); in mdc800_usb_disconnect() 611 mutex_lock(&mdc800->io_lock); in mdc800_device_open() 648 mutex_unlock(&mdc800->io_lock); in mdc800_device_open() 660 mutex_lock(&mdc800->io_lock); in mdc800_device_release() 673 mutex_unlock(&mdc800->io_lock); in mdc800_device_release() 687 mutex_lock(&mdc800->io_lock); in mdc800_device_read() 769 mutex_unlock(&mdc800->io_lock); in mdc800_device_read() 785 mutex_lock(&mdc800->io_lock); in mdc800_device_write() [all …]
|
/linux/drivers/scsi/fnic/ |
A D | fnic_scsi.c | 438 spinlock_t *io_lock = NULL; in fnic_queuecommand_lck() local 555 spin_lock_irqsave(io_lock, flags); in fnic_queuecommand_lck() 832 spinlock_t *io_lock; in fnic_fcpio_icmnd_cmpl_handler() local 1074 spinlock_t *io_lock; in fnic_fcpio_itmf_cmpl_handler() local 1366 spinlock_t *io_lock; in fnic_cleanup_io_iter() local 1453 spinlock_t *io_lock; in fnic_wq_copy_cleanup_handler() local 1564 spinlock_t *io_lock; in fnic_rport_abort_io_iter() local 1728 spinlock_t *io_lock; in fnic_abort_cmd() local 2020 spinlock_t *io_lock; in fnic_pending_aborts_iter() local 2238 spinlock_t *io_lock; in fnic_device_reset() local [all …]
|
/linux/drivers/watchdog/ |
A D | rc32434_wdt.c | 37 spinlock_t io_lock; member 80 spin_lock(&rc32434_wdt_device.io_lock); in rc32434_wdt_set() 82 spin_unlock(&rc32434_wdt_device.io_lock); in rc32434_wdt_set() 91 spin_lock(&rc32434_wdt_device.io_lock); in rc32434_wdt_start() 115 spin_unlock(&rc32434_wdt_device.io_lock); in rc32434_wdt_start() 121 spin_lock(&rc32434_wdt_device.io_lock); in rc32434_wdt_stop() 126 spin_unlock(&rc32434_wdt_device.io_lock); in rc32434_wdt_stop() 132 spin_lock(&rc32434_wdt_device.io_lock); in rc32434_wdt_ping() 134 spin_unlock(&rc32434_wdt_device.io_lock); in rc32434_wdt_ping() 276 spin_lock_init(&rc32434_wdt_device.io_lock); in rc32434_wdt_probe()
|
A D | pcwd.c | 255 spin_lock(&pcwd_private.io_lock); in set_command_mode() 270 spin_unlock(&pcwd_private.io_lock); in set_command_mode() 282 spin_lock(&pcwd_private.io_lock); in unset_command_mode() 285 spin_unlock(&pcwd_private.io_lock); in unset_command_mode() 379 spin_lock(&pcwd_private.io_lock); in pcwd_timer_ping() 413 spin_lock(&pcwd_private.io_lock); in pcwd_start() 439 spin_lock(&pcwd_private.io_lock); in pcwd_stop() 487 spin_lock(&pcwd_private.io_lock); in pcwd_get_status() 535 spin_lock(&pcwd_private.io_lock); in pcwd_clear_status() 571 spin_lock(&pcwd_private.io_lock); in pcwd_get_temperature() [all …]
|
A D | smsc37b787_wdt.c | 82 static DEFINE_SPINLOCK(io_lock);/* to guard the watchdog from io races */ 217 spin_lock(&io_lock); in wb_smsc_wdt_initialize() 243 spin_unlock(&io_lock); in wb_smsc_wdt_initialize() 250 spin_lock(&io_lock); in wb_smsc_wdt_shutdown() 268 spin_unlock(&io_lock); in wb_smsc_wdt_shutdown() 275 spin_lock(&io_lock); in wb_smsc_wdt_set_timeout() 286 spin_unlock(&io_lock); in wb_smsc_wdt_set_timeout() 295 spin_lock(&io_lock); in wb_smsc_wdt_get_timeout() 300 spin_unlock(&io_lock); in wb_smsc_wdt_get_timeout() 325 spin_lock(&io_lock); in wb_smsc_wdt_reset_timer() [all …]
|
A D | iTCO_wdt.c | 99 spinlock_t io_lock; member 272 spin_lock(&p->io_lock); in iTCO_wdt_start() 295 spin_unlock(&p->io_lock); in iTCO_wdt_start() 307 spin_lock(&p->io_lock); in iTCO_wdt_stop() 320 spin_unlock(&p->io_lock); in iTCO_wdt_stop() 331 spin_lock(&p->io_lock); in iTCO_wdt_ping() 344 spin_unlock(&p->io_lock); in iTCO_wdt_ping() 371 spin_lock(&p->io_lock); in iTCO_wdt_set_timeout() 382 spin_lock(&p->io_lock); in iTCO_wdt_set_timeout() 407 spin_lock(&p->io_lock); in iTCO_wdt_get_timeleft() [all …]
|
A D | sch311x_wdt.c | 58 spinlock_t io_lock; member 136 spin_lock(&sch311x_wdt_data.io_lock); in sch311x_wdt_start() 152 spin_unlock(&sch311x_wdt_data.io_lock); in sch311x_wdt_start() 160 spin_lock(&sch311x_wdt_data.io_lock); in sch311x_wdt_stop() 168 spin_unlock(&sch311x_wdt_data.io_lock); in sch311x_wdt_stop() 173 spin_lock(&sch311x_wdt_data.io_lock); in sch311x_wdt_keepalive() 175 spin_unlock(&sch311x_wdt_data.io_lock); in sch311x_wdt_keepalive() 198 spin_lock(&sch311x_wdt_data.io_lock); in sch311x_wdt_get_status() 214 spin_unlock(&sch311x_wdt_data.io_lock); in sch311x_wdt_get_status() 360 spin_lock_init(&sch311x_wdt_data.io_lock); in sch311x_wdt_probe()
|
A D | pcwd_pci.c | 124 spinlock_t io_lock; member 162 spin_lock(&pcipcwd_private.io_lock); in send_command() 205 spin_unlock(&pcipcwd_private.io_lock); in send_command() 263 spin_lock(&pcipcwd_private.io_lock); in pcipcwd_start() 268 spin_unlock(&pcipcwd_private.io_lock); in pcipcwd_start() 285 spin_lock(&pcipcwd_private.io_lock); in pcipcwd_stop() 293 spin_unlock(&pcipcwd_private.io_lock); in pcipcwd_stop() 309 spin_lock(&pcipcwd_private.io_lock); in pcipcwd_keepalive() 311 spin_unlock(&pcipcwd_private.io_lock); in pcipcwd_keepalive() 396 spin_lock(&pcipcwd_private.io_lock); in pcipcwd_get_temperature() [all …]
|
A D | cadence_wdt.c | 80 spinlock_t io_lock; member 128 spin_lock(&wdt->io_lock); in cdns_wdt_stop() 131 spin_unlock(&wdt->io_lock); in cdns_wdt_stop() 149 spin_lock(&wdt->io_lock); in cdns_wdt_reload() 152 spin_unlock(&wdt->io_lock); in cdns_wdt_reload() 192 spin_lock(&wdt->io_lock); in cdns_wdt_start() 215 spin_unlock(&wdt->io_lock); in cdns_wdt_start() 360 spin_lock_init(&wdt->io_lock); in cdns_wdt_probe()
|
A D | pc87413_wdt.c | 62 static DEFINE_SPINLOCK(io_lock); /* to guard us from io races */ 219 spin_lock(&io_lock); in pc87413_enable() 227 spin_unlock(&io_lock); in pc87413_enable() 234 spin_lock(&io_lock); in pc87413_disable() 241 spin_unlock(&io_lock); in pc87413_disable() 248 spin_lock(&io_lock); in pc87413_refresh() 258 spin_unlock(&io_lock); in pc87413_refresh()
|
A D | pnx4008_wdt.c | 79 static DEFINE_SPINLOCK(io_lock); 85 spin_lock(&io_lock); in pnx4008_wdt_start() 104 spin_unlock(&io_lock); in pnx4008_wdt_start() 110 spin_lock(&io_lock); in pnx4008_wdt_stop() 114 spin_unlock(&io_lock); in pnx4008_wdt_stop()
|
/linux/drivers/mfd/ |
A D | max8925-i2c.c | 55 mutex_lock(&chip->io_lock); in max8925_reg_read() 57 mutex_unlock(&chip->io_lock); in max8925_reg_read() 72 mutex_lock(&chip->io_lock); in max8925_reg_write() 74 mutex_unlock(&chip->io_lock); in max8925_reg_write() 86 mutex_lock(&chip->io_lock); in max8925_bulk_read() 88 mutex_unlock(&chip->io_lock); in max8925_bulk_read() 100 mutex_lock(&chip->io_lock); in max8925_bulk_write() 102 mutex_unlock(&chip->io_lock); in max8925_bulk_write() 115 mutex_lock(&chip->io_lock); in max8925_set_bits() 123 mutex_unlock(&chip->io_lock); in max8925_set_bits() [all …]
|
A D | aat2870-core.c | 157 mutex_lock(&aat2870->io_lock); in aat2870_read() 159 mutex_unlock(&aat2870->io_lock); in aat2870_read() 168 mutex_lock(&aat2870->io_lock); in aat2870_write() 170 mutex_unlock(&aat2870->io_lock); in aat2870_write() 182 mutex_lock(&aat2870->io_lock); in aat2870_update() 194 mutex_unlock(&aat2870->io_lock); in aat2870_update() 367 mutex_init(&aat2870->io_lock); in aat2870_i2c_probe()
|
A D | ucb1x00-core.c | 54 spin_lock_irqsave(&ucb->io_lock, flags); in ucb1x00_io_set_dir() 59 spin_unlock_irqrestore(&ucb->io_lock, flags); in ucb1x00_io_set_dir() 82 spin_lock_irqsave(&ucb->io_lock, flags); in ucb1x00_io_write() 87 spin_unlock_irqrestore(&ucb->io_lock, flags); in ucb1x00_io_write() 112 spin_lock_irqsave(&ucb->io_lock, flags); in ucb1x00_gpio_set() 121 spin_unlock_irqrestore(&ucb->io_lock, flags); in ucb1x00_gpio_set() 141 spin_lock_irqsave(&ucb->io_lock, flags); in ucb1x00_gpio_direction_input() 146 spin_unlock_irqrestore(&ucb->io_lock, flags); in ucb1x00_gpio_direction_input() 158 spin_lock_irqsave(&ucb->io_lock, flags); in ucb1x00_gpio_direction_output() 174 spin_unlock_irqrestore(&ucb->io_lock, flags); in ucb1x00_gpio_direction_output() [all …]
|
A D | ezx-pcap.c | 38 spinlock_t io_lock; member 82 spin_lock_irqsave(&pcap->io_lock, flags); in ezx_pcap_write() 87 spin_unlock_irqrestore(&pcap->io_lock, flags); in ezx_pcap_write() 98 spin_lock_irqsave(&pcap->io_lock, flags); in ezx_pcap_read() 103 spin_unlock_irqrestore(&pcap->io_lock, flags); in ezx_pcap_read() 116 spin_lock_irqsave(&pcap->io_lock, flags); in ezx_pcap_set_bits() 127 spin_unlock_irqrestore(&pcap->io_lock, flags); in ezx_pcap_set_bits() 436 spin_lock_init(&pcap->io_lock); in ezx_pcap_probe()
|
/linux/drivers/hwmon/ |
A D | sch56xx-common.c | 54 struct mutex *io_lock; member 268 mutex_lock(data->io_lock); in watchdog_set_timeout() 314 mutex_lock(data->io_lock); in watchdog_start() 337 mutex_unlock(data->io_lock); in watchdog_start() 347 mutex_lock(data->io_lock); in watchdog_trigger() 350 mutex_unlock(data->io_lock); in watchdog_trigger() 362 mutex_lock(data->io_lock); in watchdog_stop() 365 mutex_unlock(data->io_lock); in watchdog_stop() 388 mutex_lock(io_lock); in sch56xx_watchdog_register() 393 mutex_unlock(io_lock); in sch56xx_watchdog_register() [all …]
|
/linux/drivers/input/misc/ |
A D | ideapad_slidebar.c | 91 static DEFINE_SPINLOCK(io_lock); 101 spin_lock_irqsave(&io_lock, flags); in slidebar_pos_get() 105 spin_unlock_irqrestore(&io_lock, flags); in slidebar_pos_get() 115 spin_lock_irqsave(&io_lock, flags); in slidebar_mode_get() 119 spin_unlock_irqrestore(&io_lock, flags); in slidebar_mode_get() 128 spin_lock_irqsave(&io_lock, flags); in slidebar_mode_set() 132 spin_unlock_irqrestore(&io_lock, flags); in slidebar_mode_set()
|
/linux/drivers/regulator/ |
A D | tps6507x-regulator.c | 119 struct mutex io_lock; member 143 mutex_lock(&tps->io_lock); in tps6507x_pmic_set_bits() 158 mutex_unlock(&tps->io_lock); in tps6507x_pmic_set_bits() 166 mutex_lock(&tps->io_lock); in tps6507x_pmic_clear_bits() 181 mutex_unlock(&tps->io_lock); in tps6507x_pmic_clear_bits() 189 mutex_lock(&tps->io_lock); in tps6507x_pmic_reg_read() 195 mutex_unlock(&tps->io_lock); in tps6507x_pmic_reg_read() 203 mutex_lock(&tps->io_lock); in tps6507x_pmic_reg_write() 209 mutex_unlock(&tps->io_lock); in tps6507x_pmic_reg_write() 401 mutex_init(&tps->io_lock); in tps6507x_pmic_probe()
|
A D | lp3971.c | 22 struct mutex io_lock; member 344 mutex_lock(&lp3971->io_lock); in lp3971_reg_read() 351 mutex_unlock(&lp3971->io_lock); in lp3971_reg_read() 361 mutex_lock(&lp3971->io_lock); in lp3971_set_bits() 370 mutex_unlock(&lp3971->io_lock); in lp3971_set_bits() 422 mutex_init(&lp3971->io_lock); in lp3971_i2c_probe()
|
/linux/drivers/gpu/drm/xen/ |
A D | xen_drm_front.c | 139 spin_lock_irqsave(&front_info->io_lock, flags); in xen_drm_front_mode_set() 149 spin_unlock_irqrestore(&front_info->io_lock, flags); in xen_drm_front_mode_set() 193 spin_lock_irqsave(&front_info->io_lock, flags); in xen_drm_front_dbuf_create() 207 spin_unlock_irqrestore(&front_info->io_lock, flags); in xen_drm_front_dbuf_create() 254 spin_lock_irqsave(&front_info->io_lock, flags); in xen_drm_front_dbuf_destroy() 259 spin_unlock_irqrestore(&front_info->io_lock, flags); in xen_drm_front_dbuf_destroy() 297 spin_lock_irqsave(&front_info->io_lock, flags); in xen_drm_front_fb_attach() 306 spin_unlock_irqrestore(&front_info->io_lock, flags); in xen_drm_front_fb_attach() 329 spin_lock_irqsave(&front_info->io_lock, flags); in xen_drm_front_fb_detach() 358 spin_lock_irqsave(&front_info->io_lock, flags); in xen_drm_front_page_flip() [all …]
|
A D | xen_drm_front_evtchnl.c | 34 spin_lock_irqsave(&front_info->io_lock, flags); in evtchnl_interrupt_ctrl() 77 spin_unlock_irqrestore(&front_info->io_lock, flags); in evtchnl_interrupt_ctrl() 92 spin_lock_irqsave(&front_info->io_lock, flags); in evtchnl_interrupt_evt() 119 spin_unlock_irqrestore(&front_info->io_lock, flags); in evtchnl_interrupt_evt() 365 spin_lock_irqsave(&front_info->io_lock, flags); in xen_drm_front_evtchnl_set_state() 370 spin_unlock_irqrestore(&front_info->io_lock, flags); in xen_drm_front_evtchnl_set_state()
|
/linux/fs/afs/ |
A D | fs_operation.c | 61 mutex_lock(&vnode->io_lock); in afs_get_io_locks() 73 if (mutex_lock_interruptible(&vnode->io_lock) < 0) { in afs_get_io_locks() 82 if (mutex_lock_interruptible_nested(&vnode2->io_lock, 1) < 0) { in afs_get_io_locks() 85 mutex_unlock(&vnode->io_lock); in afs_get_io_locks() 105 mutex_unlock(&vnode2->io_lock); in afs_drop_io_locks() 107 mutex_unlock(&vnode->io_lock); in afs_drop_io_locks()
|
/linux/drivers/net/can/sja1000/ |
A D | sja1000_platform.c | 39 spinlock_t io_lock; member 78 spin_lock_irqsave(&tp->io_lock, flags); in sp_technologic_read_reg16() 81 spin_unlock_irqrestore(&tp->io_lock, flags); in sp_technologic_read_reg16() 92 spin_lock_irqsave(&tp->io_lock, flags); in sp_technologic_write_reg16() 95 spin_unlock_irqrestore(&tp->io_lock, flags); in sp_technologic_write_reg16() 104 spin_lock_init(&tp->io_lock); in sp_technologic_init()
|
/linux/drivers/power/supply/ |
A D | da9150-fg.c | 76 struct mutex io_lock; member 130 mutex_lock(&fg->io_lock); in da9150_fg_read_sync_start() 159 mutex_unlock(&fg->io_lock); in da9150_fg_read_sync_end() 181 mutex_lock(&fg->io_lock); in da9150_fg_write_attr_sync() 197 mutex_unlock(&fg->io_lock); in da9150_fg_write_attr_sync() 214 mutex_unlock(&fg->io_lock); in da9150_fg_write_attr_sync() 461 mutex_init(&fg->io_lock); in da9150_fg_probe()
|