Home
last modified time | relevance | path

Searched refs:io_lock (Results 1 – 25 of 38) sorted by relevance

12

/linux-3.4.99/drivers/scsi/fnic/
Dfnic_scsi.c442 spinlock_t *io_lock = fnic_io_lock_hash(fnic, sc); in fnic_queuecommand_lck() local
444 spin_lock_irqsave(io_lock, flags); in fnic_queuecommand_lck()
448 spin_unlock_irqrestore(io_lock, flags); in fnic_queuecommand_lck()
653 spinlock_t *io_lock; in fnic_fcpio_icmnd_cmpl_handler() local
667 io_lock = fnic_io_lock_hash(fnic, sc); in fnic_fcpio_icmnd_cmpl_handler()
668 spin_lock_irqsave(io_lock, flags); in fnic_fcpio_icmnd_cmpl_handler()
672 spin_unlock_irqrestore(io_lock, flags); in fnic_fcpio_icmnd_cmpl_handler()
684 spin_unlock_irqrestore(io_lock, flags); in fnic_fcpio_icmnd_cmpl_handler()
769 spin_unlock_irqrestore(io_lock, flags); in fnic_fcpio_icmnd_cmpl_handler()
803 spinlock_t *io_lock; in fnic_fcpio_itmf_cmpl_handler() local
[all …]
/linux-3.4.99/drivers/usb/image/
Dmdc800.c172 struct mutex io_lock; // IO -lock member
497 mutex_lock(&mdc800->io_lock); in mdc800_usb_probe()
502 mutex_unlock(&mdc800->io_lock); in mdc800_usb_probe()
543 mutex_unlock(&mdc800->io_lock); in mdc800_usb_probe()
567 mutex_lock(&mdc800->io_lock); in mdc800_usb_disconnect()
573 mutex_unlock(&mdc800->io_lock); in mdc800_usb_disconnect()
625 mutex_lock(&mdc800->io_lock); in mdc800_device_open()
662 mutex_unlock(&mdc800->io_lock); in mdc800_device_open()
675 mutex_lock(&mdc800->io_lock); in mdc800_device_release()
688 mutex_unlock(&mdc800->io_lock); in mdc800_device_release()
[all …]
/linux-3.4.99/drivers/mfd/
Dmax8925-i2c.c58 mutex_lock(&chip->io_lock); in max8925_reg_read()
60 mutex_unlock(&chip->io_lock); in max8925_reg_read()
75 mutex_lock(&chip->io_lock); in max8925_reg_write()
77 mutex_unlock(&chip->io_lock); in max8925_reg_write()
89 mutex_lock(&chip->io_lock); in max8925_bulk_read()
91 mutex_unlock(&chip->io_lock); in max8925_bulk_read()
103 mutex_lock(&chip->io_lock); in max8925_bulk_write()
105 mutex_unlock(&chip->io_lock); in max8925_bulk_write()
118 mutex_lock(&chip->io_lock); in max8925_set_bits()
126 mutex_unlock(&chip->io_lock); in max8925_set_bits()
[all …]
Dwm8400-core.c170 mutex_lock(&wm8400->io_lock); in wm8400_reg_read()
174 mutex_unlock(&wm8400->io_lock); in wm8400_reg_read()
184 mutex_lock(&wm8400->io_lock); in wm8400_block_read()
188 mutex_unlock(&wm8400->io_lock); in wm8400_block_read()
207 mutex_lock(&wm8400->io_lock); in wm8400_set_bits()
214 mutex_unlock(&wm8400->io_lock); in wm8400_set_bits()
228 mutex_lock(&wm8400->io_lock); in wm8400_reset_codec_reg_cache()
235 mutex_unlock(&wm8400->io_lock); in wm8400_reset_codec_reg_cache()
263 mutex_init(&wm8400->io_lock); in wm8400_init()
Daat2870-core.c171 mutex_lock(&aat2870->io_lock); in aat2870_read()
173 mutex_unlock(&aat2870->io_lock); in aat2870_read()
182 mutex_lock(&aat2870->io_lock); in aat2870_write()
184 mutex_unlock(&aat2870->io_lock); in aat2870_write()
196 mutex_lock(&aat2870->io_lock); in aat2870_update()
208 mutex_unlock(&aat2870->io_lock); in aat2870_update()
397 mutex_init(&aat2870->io_lock); in aat2870_i2c_probe()
Ducb1x00-core.c57 spin_lock_irqsave(&ucb->io_lock, flags); in ucb1x00_io_set_dir()
62 spin_unlock_irqrestore(&ucb->io_lock, flags); in ucb1x00_io_set_dir()
85 spin_lock_irqsave(&ucb->io_lock, flags); in ucb1x00_io_write()
90 spin_unlock_irqrestore(&ucb->io_lock, flags); in ucb1x00_io_write()
115 spin_lock_irqsave(&ucb->io_lock, flags); in ucb1x00_gpio_set()
124 spin_unlock_irqrestore(&ucb->io_lock, flags); in ucb1x00_gpio_set()
144 spin_lock_irqsave(&ucb->io_lock, flags); in ucb1x00_gpio_direction_input()
149 spin_unlock_irqrestore(&ucb->io_lock, flags); in ucb1x00_gpio_direction_input()
161 spin_lock_irqsave(&ucb->io_lock, flags); in ucb1x00_gpio_direction_output()
177 spin_unlock_irqrestore(&ucb->io_lock, flags); in ucb1x00_gpio_direction_output()
[all …]
/linux-3.4.99/drivers/watchdog/
Drc32434_wdt.c42 spinlock_t io_lock; member
85 spin_lock(&rc32434_wdt_device.io_lock); in rc32434_wdt_set()
87 spin_unlock(&rc32434_wdt_device.io_lock); in rc32434_wdt_set()
96 spin_lock(&rc32434_wdt_device.io_lock); in rc32434_wdt_start()
120 spin_unlock(&rc32434_wdt_device.io_lock); in rc32434_wdt_start()
126 spin_lock(&rc32434_wdt_device.io_lock); in rc32434_wdt_stop()
131 spin_unlock(&rc32434_wdt_device.io_lock); in rc32434_wdt_stop()
137 spin_lock(&rc32434_wdt_device.io_lock); in rc32434_wdt_ping()
139 spin_unlock(&rc32434_wdt_device.io_lock); in rc32434_wdt_ping()
280 spin_lock_init(&rc32434_wdt_device.io_lock); in rc32434_wdt_probe()
Dsmsc37b787_wdt.c86 static DEFINE_SPINLOCK(io_lock);/* to guard the watchdog from io races */
221 spin_lock(&io_lock); in wb_smsc_wdt_initialize()
247 spin_unlock(&io_lock); in wb_smsc_wdt_initialize()
254 spin_lock(&io_lock); in wb_smsc_wdt_shutdown()
272 spin_unlock(&io_lock); in wb_smsc_wdt_shutdown()
279 spin_lock(&io_lock); in wb_smsc_wdt_set_timeout()
290 spin_unlock(&io_lock); in wb_smsc_wdt_set_timeout()
299 spin_lock(&io_lock); in wb_smsc_wdt_get_timeout()
304 spin_unlock(&io_lock); in wb_smsc_wdt_get_timeout()
329 spin_lock(&io_lock); in wb_smsc_wdt_reset_timer()
[all …]
Dpcwd.c185 spinlock_t io_lock; /* the lock for io operations */ member
254 spin_lock(&pcwd_private.io_lock); in set_command_mode()
269 spin_unlock(&pcwd_private.io_lock); in set_command_mode()
281 spin_lock(&pcwd_private.io_lock); in unset_command_mode()
284 spin_unlock(&pcwd_private.io_lock); in unset_command_mode()
378 spin_lock(&pcwd_private.io_lock); in pcwd_timer_ping()
395 spin_unlock(&pcwd_private.io_lock); in pcwd_timer_ping()
412 spin_lock(&pcwd_private.io_lock); in pcwd_start()
416 spin_unlock(&pcwd_private.io_lock); in pcwd_start()
438 spin_lock(&pcwd_private.io_lock); in pcwd_stop()
[all …]
Dmax63xx_wdt.c43 static DEFINE_SPINLOCK(io_lock);
114 spin_lock(&io_lock); in max63xx_wdt_ping()
121 spin_unlock(&io_lock); in max63xx_wdt_ping()
130 spin_lock(&io_lock); in max63xx_wdt_start()
137 spin_unlock(&io_lock); in max63xx_wdt_start()
149 spin_lock(&io_lock); in max63xx_wdt_stop()
156 spin_unlock(&io_lock); in max63xx_wdt_stop()
Dw83697hf_wdt.c51 static DEFINE_SPINLOCK(io_lock);
153 spin_lock(&io_lock); in wdt_ping()
159 spin_unlock(&io_lock); in wdt_ping()
164 spin_lock(&io_lock); in wdt_enable()
171 spin_unlock(&io_lock); in wdt_enable()
176 spin_lock(&io_lock); in wdt_disable()
183 spin_unlock(&io_lock); in wdt_disable()
190 spin_lock(&io_lock); in wdt_running()
196 spin_unlock(&io_lock); in wdt_running()
Dsch311x_wdt.c64 spinlock_t io_lock; member
144 spin_lock(&sch311x_wdt_data.io_lock); in sch311x_wdt_start()
159 spin_unlock(&sch311x_wdt_data.io_lock); in sch311x_wdt_start()
165 spin_lock(&sch311x_wdt_data.io_lock); in sch311x_wdt_stop()
172 spin_unlock(&sch311x_wdt_data.io_lock); in sch311x_wdt_stop()
177 spin_lock(&sch311x_wdt_data.io_lock); in sch311x_wdt_keepalive()
179 spin_unlock(&sch311x_wdt_data.io_lock); in sch311x_wdt_keepalive()
202 spin_lock(&sch311x_wdt_data.io_lock); in sch311x_wdt_get_status()
218 spin_unlock(&sch311x_wdt_data.io_lock); in sch311x_wdt_get_status()
364 spin_lock_init(&sch311x_wdt_data.io_lock); in sch311x_wdt_probe()
Dpcwd_pci.c128 spinlock_t io_lock; member
166 spin_lock(&pcipcwd_private.io_lock); in send_command()
209 spin_unlock(&pcipcwd_private.io_lock); in send_command()
267 spin_lock(&pcipcwd_private.io_lock); in pcipcwd_start()
272 spin_unlock(&pcipcwd_private.io_lock); in pcipcwd_start()
289 spin_lock(&pcipcwd_private.io_lock); in pcipcwd_stop()
297 spin_unlock(&pcipcwd_private.io_lock); in pcipcwd_stop()
313 spin_lock(&pcipcwd_private.io_lock); in pcipcwd_keepalive()
315 spin_unlock(&pcipcwd_private.io_lock); in pcipcwd_keepalive()
400 spin_lock(&pcipcwd_private.io_lock); in pcipcwd_get_temperature()
[all …]
DiTCO_wdt.c401 spinlock_t io_lock; member
486 spin_lock(&iTCO_wdt_private.io_lock); in iTCO_wdt_start()
492 spin_unlock(&iTCO_wdt_private.io_lock); in iTCO_wdt_start()
509 spin_unlock(&iTCO_wdt_private.io_lock); in iTCO_wdt_start()
520 spin_lock(&iTCO_wdt_private.io_lock); in iTCO_wdt_stop()
533 spin_unlock(&iTCO_wdt_private.io_lock); in iTCO_wdt_stop()
542 spin_lock(&iTCO_wdt_private.io_lock); in iTCO_wdt_keepalive()
557 spin_unlock(&iTCO_wdt_private.io_lock); in iTCO_wdt_keepalive()
585 spin_lock(&iTCO_wdt_private.io_lock); in iTCO_wdt_set_heartbeat()
591 spin_unlock(&iTCO_wdt_private.io_lock); in iTCO_wdt_set_heartbeat()
[all …]
Dat32ap700x_wdt.c78 spinlock_t io_lock; member
95 spin_lock(&wdt->io_lock); in at32_wdt_stop()
99 spin_unlock(&wdt->io_lock); in at32_wdt_stop()
110 spin_lock(&wdt->io_lock); in at32_wdt_start()
117 spin_unlock(&wdt->io_lock); in at32_wdt_start()
125 spin_lock(&wdt->io_lock); in at32_wdt_pat()
127 spin_unlock(&wdt->io_lock); in at32_wdt_pat()
337 spin_lock_init(&wdt->io_lock); in at32_wdt_probe()
Dpnx4008_wdt.c82 static DEFINE_SPINLOCK(io_lock);
88 spin_lock(&io_lock); in pnx4008_wdt_start()
107 spin_unlock(&io_lock); in pnx4008_wdt_start()
113 spin_lock(&io_lock); in pnx4008_wdt_stop()
117 spin_unlock(&io_lock); in pnx4008_wdt_stop()
Dpc87413_wdt.c66 static DEFINE_SPINLOCK(io_lock); /* to guard us from io races */
223 spin_lock(&io_lock); in pc87413_enable()
231 spin_unlock(&io_lock); in pc87413_enable()
238 spin_lock(&io_lock); in pc87413_disable()
245 spin_unlock(&io_lock); in pc87413_disable()
252 spin_lock(&io_lock); in pc87413_refresh()
262 spin_unlock(&io_lock); in pc87413_refresh()
Ddavinci_wdt.c65 static DEFINE_SPINLOCK(io_lock);
78 spin_lock(&io_lock); in wdt_service()
85 spin_unlock(&io_lock); in wdt_service()
96 spin_lock(&io_lock); in wdt_enable()
123 spin_unlock(&io_lock); in wdt_enable()
Dw83627hf_wdt.c51 static DEFINE_SPINLOCK(io_lock);
146 spin_lock(&io_lock); in wdt_set_time()
155 spin_unlock(&io_lock); in wdt_set_time()
182 spin_lock(&io_lock); in wdt_get_time()
191 spin_unlock(&io_lock); in wdt_get_time()
Dw83697ug_wdt.c55 static DEFINE_SPINLOCK(io_lock);
150 spin_lock(&io_lock); in wdt_ctrl()
153 spin_unlock(&io_lock); in wdt_ctrl()
162 spin_unlock(&io_lock); in wdt_ctrl()
/linux-3.4.99/drivers/hwmon/
Dsch56xx-common.c70 struct mutex *io_lock; member
313 mutex_lock(data->io_lock); in watchdog_set_timeout()
317 mutex_unlock(data->io_lock); in watchdog_set_timeout()
380 mutex_lock(data->io_lock); in watchdog_start()
407 mutex_unlock(data->io_lock); in watchdog_start()
424 mutex_lock(data->io_lock); in watchdog_trigger()
427 mutex_unlock(data->io_lock); in watchdog_trigger()
444 mutex_lock(data->io_lock); in watchdog_stop_unlocked()
448 mutex_unlock(data->io_lock); in watchdog_stop_unlocked()
631 u16 addr, u32 revision, struct mutex *io_lock, int check_enabled) in sch56xx_watchdog_register() argument
[all …]
/linux-3.4.99/drivers/regulator/
Dtps6507x-regulator.c147 struct mutex io_lock; member
171 mutex_lock(&tps->io_lock); in tps6507x_pmic_set_bits()
186 mutex_unlock(&tps->io_lock); in tps6507x_pmic_set_bits()
194 mutex_lock(&tps->io_lock); in tps6507x_pmic_clear_bits()
209 mutex_unlock(&tps->io_lock); in tps6507x_pmic_clear_bits()
217 mutex_lock(&tps->io_lock); in tps6507x_pmic_reg_read()
223 mutex_unlock(&tps->io_lock); in tps6507x_pmic_reg_read()
231 mutex_lock(&tps->io_lock); in tps6507x_pmic_reg_write()
237 mutex_unlock(&tps->io_lock); in tps6507x_pmic_reg_write()
435 mutex_init(&tps->io_lock); in tps6507x_pmic_probe()
Dlp3971.c26 struct mutex io_lock; member
406 mutex_lock(&lp3971->io_lock); in lp3971_reg_read()
413 mutex_unlock(&lp3971->io_lock); in lp3971_reg_read()
423 mutex_lock(&lp3971->io_lock); in lp3971_set_bits()
432 mutex_unlock(&lp3971->io_lock); in lp3971_set_bits()
495 mutex_init(&lp3971->io_lock); in lp3971_i2c_probe()
Dlp3972.c23 struct mutex io_lock; member
214 mutex_lock(&lp3972->io_lock); in lp3972_reg_read()
221 mutex_unlock(&lp3972->io_lock); in lp3972_reg_read()
231 mutex_lock(&lp3972->io_lock); in lp3972_set_bits()
240 mutex_unlock(&lp3972->io_lock); in lp3972_set_bits()
598 mutex_init(&lp3972->io_lock); in lp3972_i2c_probe()
/linux-3.4.99/drivers/block/
Dxen-blkfront.c85 spinlock_t io_lock; member
420 rq = blk_init_queue(do_blkif_request, &info->io_lock); in xlvbd_init_blk_queue()
637 spin_lock_irqsave(&info->io_lock, flags); in xlvbd_release_gendisk()
644 spin_unlock_irqrestore(&info->io_lock, flags); in xlvbd_release_gendisk()
676 spin_lock_irq(&info->io_lock); in blkif_restart_queue()
679 spin_unlock_irq(&info->io_lock); in blkif_restart_queue()
685 spin_lock_irq(&info->io_lock); in blkif_free()
693 spin_unlock_irq(&info->io_lock); in blkif_free()
729 spin_lock_irqsave(&info->io_lock, flags); in blkif_interrupt()
732 spin_unlock_irqrestore(&info->io_lock, flags); in blkif_interrupt()
[all …]

12