Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/base/regmap/
Dregmap-w1.c34 mutex_lock(&sl->master->bus_mutex); in w1_reg_a8_v8_read()
42 mutex_unlock(&sl->master->bus_mutex); in w1_reg_a8_v8_read()
56 mutex_lock(&sl->master->bus_mutex); in w1_reg_a8_v8_write()
64 mutex_unlock(&sl->master->bus_mutex); in w1_reg_a8_v8_write()
83 mutex_lock(&sl->master->bus_mutex); in w1_reg_a8_v16_read()
92 mutex_unlock(&sl->master->bus_mutex); in w1_reg_a8_v16_read()
107 mutex_lock(&sl->master->bus_mutex); in w1_reg_a8_v16_write()
116 mutex_unlock(&sl->master->bus_mutex); in w1_reg_a8_v16_write()
135 mutex_lock(&sl->master->bus_mutex); in w1_reg_a16_v16_read()
145 mutex_unlock(&sl->master->bus_mutex); in w1_reg_a16_v16_read()
[all …]
/Linux-v4.19/drivers/w1/slaves/
Dw1_ds2408.c50 mutex_lock(&sl->master->bus_mutex); in _read_reg()
54 mutex_unlock(&sl->master->bus_mutex); in _read_reg()
64 mutex_unlock(&sl->master->bus_mutex); in _read_reg()
154 mutex_lock(&sl->master->bus_mutex); in output_write()
195 mutex_unlock(&sl->master->bus_mutex); in output_write()
202 mutex_unlock(&sl->master->bus_mutex); in output_write()
222 mutex_lock(&sl->master->bus_mutex); in activity_write()
230 mutex_unlock(&sl->master->bus_mutex); in activity_write()
238 mutex_unlock(&sl->master->bus_mutex); in activity_write()
253 mutex_lock(&sl->master->bus_mutex); in status_control_write()
[all …]
Dw1_ds2438.c96 mutex_lock(&sl->master->bus_mutex); in w1_ds2438_get_temperature()
103 mutex_unlock(&sl->master->bus_mutex); in w1_ds2438_get_temperature()
110 if (mutex_lock_interruptible(&sl->master->bus_mutex) != 0) { in w1_ds2438_get_temperature()
124 mutex_unlock(&sl->master->bus_mutex); in w1_ds2438_get_temperature()
198 mutex_lock(&sl->master->bus_mutex); in w1_ds2438_get_voltage()
210 mutex_unlock(&sl->master->bus_mutex); in w1_ds2438_get_voltage()
217 if (mutex_lock_interruptible(&sl->master->bus_mutex) != 0) { in w1_ds2438_get_voltage()
232 mutex_unlock(&sl->master->bus_mutex); in w1_ds2438_get_voltage()
248 mutex_lock(&sl->master->bus_mutex); in iad_write()
255 mutex_unlock(&sl->master->bus_mutex); in iad_write()
[all …]
Dw1_ds2413.c42 mutex_lock(&sl->master->bus_mutex); in state_read()
46 mutex_unlock(&sl->master->bus_mutex); in state_read()
53 mutex_unlock(&sl->master->bus_mutex); in state_read()
77 mutex_lock(&sl->master->bus_mutex); in output_write()
94 mutex_unlock(&sl->master->bus_mutex); in output_write()
103 mutex_unlock(&sl->master->bus_mutex); in output_write()
Dw1_ds2406.c43 mutex_lock(&sl->master->bus_mutex); in w1_f12_read_state()
46 mutex_unlock(&sl->master->bus_mutex); in w1_f12_read_state()
59 mutex_unlock(&sl->master->bus_mutex); in w1_f12_read_state()
78 mutex_lock(&sl->master->bus_mutex); in w1_f12_write_output()
81 mutex_unlock(&sl->master->bus_mutex); in w1_f12_write_output()
95 mutex_unlock(&sl->master->bus_mutex); in w1_f12_write_output()
Dw1_ds2405.c91 ret = mutex_lock_interruptible(&dev->bus_mutex); in state_show()
113 mutex_unlock(&dev->bus_mutex); in state_show()
127 ret = mutex_lock_interruptible(&dev->bus_mutex); in output_show()
142 mutex_unlock(&dev->bus_mutex); in output_show()
169 ret = mutex_lock_interruptible(&dev->bus_mutex); in output_store()
203 mutex_unlock(&dev->bus_mutex); in output_store()
Dw1_therm.c279 ret = mutex_lock_interruptible(&dev->bus_mutex); in w1_therm_eeprom()
305 mutex_unlock(&dev->bus_mutex); in w1_therm_eeprom()
313 ret = mutex_lock_interruptible(&dev->bus_mutex); in w1_therm_eeprom()
329 mutex_unlock(&dev->bus_mutex); in w1_therm_eeprom()
366 ret = mutex_lock_interruptible(&dev->bus_mutex); in w1_DS18B20_precision()
417 mutex_unlock(&dev->bus_mutex); in w1_DS18B20_precision()
503 ret = mutex_lock_interruptible(&dev->bus_mutex); in read_therm()
533 mutex_unlock(&dev->bus_mutex); in read_therm()
541 ret = mutex_lock_interruptible(&dev->bus_mutex); in read_therm()
574 mutex_unlock(&dev->bus_mutex); in read_therm()
[all …]
Dw1_ds2780.c64 mutex_lock(&sl->master->bus_mutex); in w1_ds2780_io()
68 mutex_unlock(&sl->master->bus_mutex); in w1_ds2780_io()
81 mutex_lock(&sl->master->bus_mutex); in w1_ds2780_eeprom_cmd()
88 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_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.c106 mutex_lock(&sl->master->bus_mutex); in eeprom_read()
137 mutex_unlock(&sl->master->bus_mutex); in eeprom_read()
232 mutex_lock(&sl->master->bus_mutex); in eeprom_write()
250 mutex_unlock(&sl->master->bus_mutex); in eeprom_write()
Dw1_ds28e17.c356 mutex_lock(&sl->master->bus_mutex); in w1_f19_i2c_master_transfer()
461 mutex_unlock(&sl->master->bus_mutex); in w1_f19_i2c_master_transfer()
508 mutex_lock(&sl->master->bus_mutex); in w1_f19_get_i2c_speed()
527 mutex_unlock(&sl->master->bus_mutex); in w1_f19_get_i2c_speed()
561 mutex_lock(&sl->master->bus_mutex); in w1_f19_set_i2c_speed()
567 mutex_unlock(&sl->master->bus_mutex); in w1_f19_set_i2c_speed()
Dw1_ds2423.c63 mutex_lock(&dev->bus_mutex); in w1_slave_show()
121 mutex_unlock(&dev->bus_mutex); in w1_slave_show()
/Linux-v4.19/drivers/spi/
Dspi-bcm63xx-hsspi.c100 struct mutex bus_mutex; member
116 mutex_lock(&bs->bus_mutex); in bcm63xx_hsspi_set_cs()
124 mutex_unlock(&bs->bus_mutex); in bcm63xx_hsspi_set_cs()
144 mutex_lock(&bs->bus_mutex); in bcm63xx_hsspi_set_clk()
151 mutex_unlock(&bs->bus_mutex); in bcm63xx_hsspi_set_clk()
237 mutex_lock(&bs->bus_mutex); in bcm63xx_hsspi_setup()
254 mutex_unlock(&bs->bus_mutex); in bcm63xx_hsspi_setup()
300 mutex_lock(&bs->bus_mutex); in bcm63xx_hsspi_transfer_one()
305 mutex_unlock(&bs->bus_mutex); in bcm63xx_hsspi_transfer_one()
393 mutex_init(&bs->bus_mutex); in bcm63xx_hsspi_probe()
/Linux-v4.19/drivers/power/supply/
Dbq27xxx_battery_hdq.c39 mutex_lock(&sl->master->bus_mutex); in w1_bq27000_read()
42 mutex_unlock(&sl->master->bus_mutex); in w1_bq27000_read()
Dds2760_battery.c127 mutex_lock(&sl->master->bus_mutex); in w1_ds2760_io()
150 mutex_unlock(&sl->master->bus_mutex); in w1_ds2760_io()
176 mutex_lock(&sl->master->bus_mutex); in w1_ds2760_eeprom_cmd()
183 mutex_unlock(&sl->master->bus_mutex); in w1_ds2760_eeprom_cmd()
/Linux-v4.19/drivers/w1/
Dw1_netlink.c368 mutex_unlock(&dev->bus_mutex); in w1_process_command_master()
370 mutex_lock(&dev->bus_mutex); in w1_process_command_master()
382 mutex_unlock(&dev->bus_mutex); in w1_process_command_master()
386 mutex_lock(&dev->bus_mutex); in w1_process_command_master()
461 mutex_lock(&dev->bus_mutex); in w1_process_cb()
498 mutex_unlock(&dev->bus_mutex); in w1_process_cb()
Dw1.c989 mutex_lock(&dev->bus_mutex); in w1_search()
991 mutex_unlock(&dev->bus_mutex); in w1_search()
1001 mutex_unlock(&dev->bus_mutex); in w1_search()
1036 mutex_unlock(&dev->bus_mutex); in w1_search()
1041 mutex_unlock(&dev->bus_mutex); in w1_search()
Dw1_int.c71 mutex_init(&dev->bus_mutex); in w1_alloc_dev()
/Linux-v4.19/drivers/w1/masters/
Dds1wm.c391 mutex_lock(&master_dev->bus_mutex); in ds1wm_search()
393 mutex_unlock(&master_dev->bus_mutex); in ds1wm_search()
446 mutex_unlock(&master_dev->bus_mutex); in ds1wm_search()
460 mutex_unlock(&master_dev->bus_mutex); in ds1wm_search()
Dds2490.c711 mutex_lock(&master->bus_mutex); in ds9490r_search()
777 mutex_unlock(&master->bus_mutex); in ds9490r_search()
/Linux-v4.19/include/linux/
Dw1.h237 struct mutex bus_mutex; member
/Linux-v4.19/drivers/mtd/spi-nor/
Dcadence-quadspi.c76 struct mutex bus_mutex; member
1052 mutex_lock(&cqspi->bus_mutex); in cqspi_prep()
1062 mutex_unlock(&cqspi->bus_mutex); in cqspi_unprep()
1308 mutex_init(&cqspi->bus_mutex); in cqspi_probe()