Home
last modified time | relevance | path

Searched refs:bus_mutex (Results 1 – 18 of 18) sorted by relevance

/drivers/w1/slaves/
Dw1_ds2408.c56 mutex_lock(&sl->master->bus_mutex); in _read_reg()
60 mutex_unlock(&sl->master->bus_mutex); in _read_reg()
70 mutex_unlock(&sl->master->bus_mutex); in _read_reg()
160 mutex_lock(&sl->master->bus_mutex); in output_write()
201 mutex_unlock(&sl->master->bus_mutex); in output_write()
208 mutex_unlock(&sl->master->bus_mutex); in output_write()
228 mutex_lock(&sl->master->bus_mutex); in activity_write()
236 mutex_unlock(&sl->master->bus_mutex); in activity_write()
244 mutex_unlock(&sl->master->bus_mutex); in activity_write()
259 mutex_lock(&sl->master->bus_mutex); in status_control_write()
[all …]
Dw1_ds2413.c47 mutex_lock(&sl->master->bus_mutex); in state_read()
51 mutex_unlock(&sl->master->bus_mutex); in state_read()
58 mutex_unlock(&sl->master->bus_mutex); in state_read()
82 mutex_lock(&sl->master->bus_mutex); in output_write()
99 mutex_unlock(&sl->master->bus_mutex); in output_write()
108 mutex_unlock(&sl->master->bus_mutex); in output_write()
Dw1_ds2406.c47 mutex_lock(&sl->master->bus_mutex); in w1_f12_read_state()
50 mutex_unlock(&sl->master->bus_mutex); in w1_f12_read_state()
63 mutex_unlock(&sl->master->bus_mutex); in w1_f12_read_state()
82 mutex_lock(&sl->master->bus_mutex); in w1_f12_write_output()
85 mutex_unlock(&sl->master->bus_mutex); in w1_f12_write_output()
99 mutex_unlock(&sl->master->bus_mutex); in w1_f12_write_output()
Dw1_ds2780.c63 mutex_lock(&sl->master->bus_mutex); in w1_ds2780_io()
67 mutex_unlock(&sl->master->bus_mutex); in w1_ds2780_io()
80 mutex_lock(&sl->master->bus_mutex); in w1_ds2780_eeprom_cmd()
87 mutex_unlock(&sl->master->bus_mutex); in w1_ds2780_eeprom_cmd()
Dw1_ds2781.c61 mutex_lock(&sl->master->bus_mutex); in w1_ds2781_io()
65 mutex_unlock(&sl->master->bus_mutex); in w1_ds2781_io()
78 mutex_lock(&sl->master->bus_mutex); in w1_ds2781_eeprom_cmd()
85 mutex_unlock(&sl->master->bus_mutex); in w1_ds2781_eeprom_cmd()
Dw1_ds2760.c34 mutex_lock(&sl->master->bus_mutex); in w1_ds2760_io()
57 mutex_unlock(&sl->master->bus_mutex); in w1_ds2760_io()
79 mutex_lock(&sl->master->bus_mutex); in w1_ds2760_eeprom_cmd()
86 mutex_unlock(&sl->master->bus_mutex); in w1_ds2760_eeprom_cmd()
Dw1_ds2431.c110 mutex_lock(&sl->master->bus_mutex); in eeprom_read()
129 mutex_unlock(&sl->master->bus_mutex); in eeprom_read()
217 mutex_lock(&sl->master->bus_mutex); in eeprom_write()
262 mutex_unlock(&sl->master->bus_mutex); in eeprom_write()
Dw1_ds2433.c111 mutex_lock(&sl->master->bus_mutex); in eeprom_read()
142 mutex_unlock(&sl->master->bus_mutex); in eeprom_read()
237 mutex_lock(&sl->master->bus_mutex); in eeprom_write()
255 mutex_unlock(&sl->master->bus_mutex); in eeprom_write()
Dw1_therm.c217 ret = mutex_lock_interruptible(&dev->bus_mutex); in w1_slave_show()
255 mutex_unlock(&dev->bus_mutex); in w1_slave_show()
263 ret = mutex_lock_interruptible(&dev->bus_mutex); in w1_slave_show()
312 mutex_unlock(&dev->bus_mutex); in w1_slave_show()
Dw1_bq27000.c34 mutex_lock(&sl->master->bus_mutex); in w1_bq27000_read()
37 mutex_unlock(&sl->master->bus_mutex); in w1_bq27000_read()
Dw1_ds2423.c63 mutex_lock(&dev->bus_mutex); in w1_slave_show()
121 mutex_unlock(&dev->bus_mutex); in w1_slave_show()
/drivers/spi/
Dspi-bcm63xx-hsspi.c97 struct mutex bus_mutex; member
113 mutex_lock(&bs->bus_mutex); in bcm63xx_hsspi_set_cs()
121 mutex_unlock(&bs->bus_mutex); in bcm63xx_hsspi_set_cs()
141 mutex_lock(&bs->bus_mutex); in bcm63xx_hsspi_set_clk()
148 mutex_unlock(&bs->bus_mutex); in bcm63xx_hsspi_set_clk()
231 mutex_lock(&bs->bus_mutex); in bcm63xx_hsspi_setup()
248 mutex_unlock(&bs->bus_mutex); in bcm63xx_hsspi_setup()
294 mutex_lock(&bs->bus_mutex); in bcm63xx_hsspi_transfer_one()
299 mutex_unlock(&bs->bus_mutex); in bcm63xx_hsspi_transfer_one()
370 mutex_init(&bs->bus_mutex); in bcm63xx_hsspi_probe()
/drivers/w1/
Dw1_netlink.c378 mutex_unlock(&dev->bus_mutex); in w1_process_command_master()
380 mutex_lock(&dev->bus_mutex); in w1_process_command_master()
392 mutex_unlock(&dev->bus_mutex); in w1_process_command_master()
396 mutex_lock(&dev->bus_mutex); in w1_process_command_master()
471 mutex_lock(&dev->bus_mutex); in w1_process_cb()
508 mutex_unlock(&dev->bus_mutex); in w1_process_cb()
Dw1.c962 mutex_lock(&dev->bus_mutex); in w1_search()
964 mutex_unlock(&dev->bus_mutex); in w1_search()
974 mutex_unlock(&dev->bus_mutex); in w1_search()
1009 mutex_unlock(&dev->bus_mutex); in w1_search()
1014 mutex_unlock(&dev->bus_mutex); in w1_search()
Dw1.h252 struct mutex bus_mutex; member
Dw1_int.c79 mutex_init(&dev->bus_mutex); in w1_alloc_dev()
/drivers/w1/masters/
Dds1wm.c338 mutex_lock(&master_dev->bus_mutex); in ds1wm_search()
340 mutex_unlock(&master_dev->bus_mutex); in ds1wm_search()
393 mutex_unlock(&master_dev->bus_mutex); in ds1wm_search()
407 mutex_unlock(&master_dev->bus_mutex); in ds1wm_search()
Dds2490.c729 mutex_lock(&master->bus_mutex); in ds9490r_search()
796 mutex_unlock(&master->bus_mutex); in ds9490r_search()