/linux-6.1.9/drivers/scsi/snic/ |
D | snic_scsi.c | 235 spinlock_t *io_lock = NULL; in snic_issue_scsi_req() local 267 io_lock = snic_io_lock_hash(snic, sc); in snic_issue_scsi_req() 276 spin_lock_irqsave(io_lock, flags); in snic_issue_scsi_req() 281 spin_unlock_irqrestore(io_lock, flags); in snic_issue_scsi_req() 541 spinlock_t *io_lock; in snic_icmnd_cmpl_handler() local 578 io_lock = snic_io_lock_hash(snic, sc); in snic_icmnd_cmpl_handler() 580 spin_lock_irqsave(io_lock, flags); in snic_icmnd_cmpl_handler() 588 spin_unlock_irqrestore(io_lock, flags); in snic_icmnd_cmpl_handler() 598 spin_unlock_irqrestore(io_lock, flags); in snic_icmnd_cmpl_handler() 619 spin_unlock_irqrestore(io_lock, flags); in snic_icmnd_cmpl_handler() [all …]
|
/linux-6.1.9/drivers/usb/image/ |
D | mdc800.c | 159 struct mutex io_lock; // IO -lock member 483 mutex_lock(&mdc800->io_lock); in mdc800_usb_probe() 488 mutex_unlock(&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() 559 mutex_unlock(&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() [all …]
|
/linux-6.1.9/drivers/scsi/fnic/ |
D | fnic_scsi.c | 426 spinlock_t *io_lock = NULL; in fnic_queuecommand_lck() local 542 io_lock = fnic_io_lock_hash(fnic, sc); in fnic_queuecommand_lck() 543 spin_lock_irqsave(io_lock, flags); in fnic_queuecommand_lck() 566 spin_unlock_irqrestore(io_lock, flags); in fnic_queuecommand_lck() 598 spin_unlock_irqrestore(io_lock, flags); in fnic_queuecommand_lck() 819 spinlock_t *io_lock; in fnic_fcpio_icmnd_cmpl_handler() local 855 io_lock = fnic_io_lock_hash(fnic, sc); in fnic_fcpio_icmnd_cmpl_handler() 856 spin_lock_irqsave(io_lock, flags); in fnic_fcpio_icmnd_cmpl_handler() 862 spin_unlock_irqrestore(io_lock, flags); in fnic_fcpio_icmnd_cmpl_handler() 886 spin_unlock_irqrestore(io_lock, flags); in fnic_fcpio_icmnd_cmpl_handler() [all …]
|
/linux-6.1.9/drivers/watchdog/ |
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()
|
D | pcwd.c | 186 spinlock_t io_lock; /* the lock for io operations */ member 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() 396 spin_unlock(&pcwd_private.io_lock); in pcwd_timer_ping() 413 spin_lock(&pcwd_private.io_lock); in pcwd_start() 417 spin_unlock(&pcwd_private.io_lock); in pcwd_start() 439 spin_lock(&pcwd_private.io_lock); in pcwd_stop() [all …]
|
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 …]
|
D | iTCO_wdt.c | 99 spinlock_t io_lock; member 272 spin_lock(&p->io_lock); in iTCO_wdt_start() 278 spin_unlock(&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() 377 spin_unlock(&p->io_lock); in iTCO_wdt_set_timeout() [all …]
|
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()
|
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()
|
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 …]
|
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()
|
D | exar_wdt.c | 57 spinlock_t io_lock; member 158 spin_lock(&priv->io_lock); in exar_wdt_start() 164 spin_unlock(&priv->io_lock); in exar_wdt_start() 172 spin_lock(&priv->io_lock); in exar_wdt_stop() 176 spin_unlock(&priv->io_lock); in exar_wdt_stop() 185 spin_lock(&priv->io_lock); in exar_wdt_keepalive() 190 spin_unlock(&priv->io_lock); in exar_wdt_keepalive() 265 spin_lock_init(&priv->io_lock); in exar_wdt_probe()
|
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-6.1.9/drivers/mfd/ |
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 …]
|
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()
|
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 …]
|
/linux-6.1.9/drivers/hwmon/ |
D | sch56xx-common.c | 59 struct mutex *io_lock; member 273 mutex_lock(data->io_lock); in watchdog_set_timeout() 277 mutex_unlock(data->io_lock); in watchdog_set_timeout() 319 mutex_lock(data->io_lock); in watchdog_start() 342 mutex_unlock(data->io_lock); in watchdog_start() 352 mutex_lock(data->io_lock); in watchdog_trigger() 355 mutex_unlock(data->io_lock); in watchdog_trigger() 367 mutex_lock(data->io_lock); in watchdog_stop() 370 mutex_unlock(data->io_lock); in watchdog_stop() 387 struct mutex *io_lock, int check_enabled) in sch56xx_watchdog_register() argument [all …]
|
/linux-6.1.9/drivers/platform/mellanox/ |
D | mlxreg-io.c | 45 struct mutex io_lock; /* Protects user access. */ member 121 mutex_lock(&priv->io_lock); in mlxreg_io_attr_show() 128 mutex_unlock(&priv->io_lock); in mlxreg_io_attr_show() 133 mutex_unlock(&priv->io_lock); in mlxreg_io_attr_show() 155 mutex_lock(&priv->io_lock); in mlxreg_io_attr_store() 166 mutex_unlock(&priv->io_lock); in mlxreg_io_attr_store() 171 mutex_unlock(&priv->io_lock); in mlxreg_io_attr_store() 261 mutex_init(&priv->io_lock); in mlxreg_io_probe() 271 mutex_destroy(&priv->io_lock); in mlxreg_io_remove()
|
/linux-6.1.9/drivers/input/misc/ |
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-6.1.9/drivers/regulator/ |
D | tps6507x-regulator.c | 111 struct mutex io_lock; member 135 mutex_lock(&tps->io_lock); in tps6507x_pmic_set_bits() 150 mutex_unlock(&tps->io_lock); in tps6507x_pmic_set_bits() 158 mutex_lock(&tps->io_lock); in tps6507x_pmic_clear_bits() 173 mutex_unlock(&tps->io_lock); in tps6507x_pmic_clear_bits() 181 mutex_lock(&tps->io_lock); in tps6507x_pmic_reg_read() 187 mutex_unlock(&tps->io_lock); in tps6507x_pmic_reg_read() 195 mutex_lock(&tps->io_lock); in tps6507x_pmic_reg_write() 201 mutex_unlock(&tps->io_lock); in tps6507x_pmic_reg_write() 393 mutex_init(&tps->io_lock); in tps6507x_pmic_probe()
|
/linux-6.1.9/drivers/gpu/drm/xen/ |
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() 334 spin_unlock_irqrestore(&front_info->io_lock, flags); in xen_drm_front_fb_detach() [all …]
|
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() 344 spin_lock_irqsave(&front_info->io_lock, flags); in xen_drm_front_evtchnl_set_state() 349 spin_unlock_irqrestore(&front_info->io_lock, flags); in xen_drm_front_evtchnl_set_state()
|
/linux-6.1.9/fs/afs/ |
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-6.1.9/drivers/net/can/sja1000/ |
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-6.1.9/drivers/power/supply/ |
D | da9150-fg.c | 77 struct mutex io_lock; member 131 mutex_lock(&fg->io_lock); in da9150_fg_read_sync_start() 160 mutex_unlock(&fg->io_lock); in da9150_fg_read_sync_end() 182 mutex_lock(&fg->io_lock); in da9150_fg_write_attr_sync() 198 mutex_unlock(&fg->io_lock); in da9150_fg_write_attr_sync() 215 mutex_unlock(&fg->io_lock); in da9150_fg_write_attr_sync() 462 mutex_init(&fg->io_lock); in da9150_fg_probe()
|