Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/base/regmap/
Dregmap-w1.c30 mutex_lock(&sl->master->bus_mutex); in w1_reg_a8_v8_read()
38 mutex_unlock(&sl->master->bus_mutex); in w1_reg_a8_v8_read()
52 mutex_lock(&sl->master->bus_mutex); in w1_reg_a8_v8_write()
60 mutex_unlock(&sl->master->bus_mutex); in w1_reg_a8_v8_write()
79 mutex_lock(&sl->master->bus_mutex); in w1_reg_a8_v16_read()
88 mutex_unlock(&sl->master->bus_mutex); in w1_reg_a8_v16_read()
103 mutex_lock(&sl->master->bus_mutex); in w1_reg_a8_v16_write()
112 mutex_unlock(&sl->master->bus_mutex); in w1_reg_a8_v16_write()
131 mutex_lock(&sl->master->bus_mutex); in w1_reg_a16_v16_read()
141 mutex_unlock(&sl->master->bus_mutex); in w1_reg_a16_v16_read()
[all …]
/linux-6.12.1/drivers/w1/slaves/
Dw1_ds2438.c101 mutex_lock(&sl->master->bus_mutex); in w1_ds2438_get_temperature()
108 mutex_unlock(&sl->master->bus_mutex); in w1_ds2438_get_temperature()
115 if (mutex_lock_interruptible(&sl->master->bus_mutex) != 0) { in w1_ds2438_get_temperature()
129 mutex_unlock(&sl->master->bus_mutex); in w1_ds2438_get_temperature()
231 mutex_lock(&sl->master->bus_mutex); in w1_ds2438_get_voltage()
243 mutex_unlock(&sl->master->bus_mutex); in w1_ds2438_get_voltage()
250 if (mutex_lock_interruptible(&sl->master->bus_mutex) != 0) { in w1_ds2438_get_voltage()
265 mutex_unlock(&sl->master->bus_mutex); in w1_ds2438_get_voltage()
276 mutex_lock(&sl->master->bus_mutex); in w1_ds2438_get_current()
285 mutex_unlock(&sl->master->bus_mutex); in w1_ds2438_get_current()
[all …]
Dw1_ds2408.c48 mutex_lock(&sl->master->bus_mutex); in _read_reg()
52 mutex_unlock(&sl->master->bus_mutex); in _read_reg()
62 mutex_unlock(&sl->master->bus_mutex); in _read_reg()
175 mutex_lock(&sl->master->bus_mutex); in output_write()
200 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()
275 mutex_unlock(&sl->master->bus_mutex); in status_control_write()
[all …]
Dw1_ds2406.c41 mutex_lock(&sl->master->bus_mutex); in w1_f12_read_state()
44 mutex_unlock(&sl->master->bus_mutex); in w1_f12_read_state()
57 mutex_unlock(&sl->master->bus_mutex); in w1_f12_read_state()
76 mutex_lock(&sl->master->bus_mutex); in w1_f12_write_output()
79 mutex_unlock(&sl->master->bus_mutex); in w1_f12_write_output()
93 mutex_unlock(&sl->master->bus_mutex); in w1_f12_write_output()
Dw1_ds2405.c81 ret = mutex_lock_interruptible(&dev->bus_mutex); in state_show()
103 mutex_unlock(&dev->bus_mutex); in state_show()
117 ret = mutex_lock_interruptible(&dev->bus_mutex); in output_show()
132 mutex_unlock(&dev->bus_mutex); in output_show()
159 ret = mutex_lock_interruptible(&dev->bus_mutex); in output_store()
193 mutex_unlock(&dev->bus_mutex); in output_store()
Dw1_ds2413.c45 mutex_lock(&sl->master->bus_mutex); in state_read()
75 mutex_unlock(&sl->master->bus_mutex); in state_read()
96 mutex_lock(&sl->master->bus_mutex); in output_write()
125 mutex_unlock(&sl->master->bus_mutex); in output_write()
Dw1_ds2781.c57 mutex_lock(&sl->master->bus_mutex); in w1_ds2781_io()
61 mutex_unlock(&sl->master->bus_mutex); in w1_ds2781_io()
74 mutex_lock(&sl->master->bus_mutex); in w1_ds2781_eeprom_cmd()
81 mutex_unlock(&sl->master->bus_mutex); in w1_ds2781_eeprom_cmd()
Dw1_ds2780.c60 mutex_lock(&sl->master->bus_mutex); in w1_ds2780_io()
64 mutex_unlock(&sl->master->bus_mutex); in w1_ds2780_io()
77 mutex_lock(&sl->master->bus_mutex); in w1_ds2780_eeprom_cmd()
84 mutex_unlock(&sl->master->bus_mutex); in w1_ds2780_eeprom_cmd()
Dw1_therm.c1143 if (!bus_mutex_lock(&dev_master->bus_mutex)) { in convert_t()
1168 mutex_unlock(&dev_master->bus_mutex); in convert_t()
1175 mutex_unlock(&dev_master->bus_mutex); in convert_t()
1177 mutex_unlock(&dev_master->bus_mutex); in convert_t()
1205 mutex_unlock(&dev_master->bus_mutex); in convert_t()
1238 if (!bus_mutex_lock(&dev_master->bus_mutex)) { in conv_time_measure()
1268 mutex_unlock(&dev_master->bus_mutex); in conv_time_measure()
1275 mutex_unlock(&dev_master->bus_mutex); in conv_time_measure()
1298 if (!bus_mutex_lock(&dev_master->bus_mutex)) { in read_scratchpad()
1328 mutex_unlock(&dev_master->bus_mutex); in read_scratchpad()
[all …]
Dw1_ds2430.c108 mutex_lock(&sl->master->bus_mutex); in eeprom_read()
127 mutex_unlock(&sl->master->bus_mutex); in eeprom_read()
216 mutex_lock(&sl->master->bus_mutex); in eeprom_write()
261 mutex_unlock(&sl->master->bus_mutex); in eeprom_write()
Dw1_ds2431.c108 mutex_lock(&sl->master->bus_mutex); in eeprom_read()
127 mutex_unlock(&sl->master->bus_mutex); in eeprom_read()
215 mutex_lock(&sl->master->bus_mutex); in eeprom_write()
260 mutex_unlock(&sl->master->bus_mutex); in eeprom_write()
Dw1_ds250x.c57 mutex_lock(&sl->master->bus_mutex); in w1_ds2502_read_page()
80 mutex_unlock(&sl->master->bus_mutex); in w1_ds2502_read_page()
98 mutex_lock(&sl->master->bus_mutex); in w1_ds2505_read_page()
136 mutex_unlock(&sl->master->bus_mutex); in w1_ds2505_read_page()
Dw1_ds28e17.c354 mutex_lock(&sl->master->bus_mutex); in w1_f19_i2c_master_transfer()
459 mutex_unlock(&sl->master->bus_mutex); in w1_f19_i2c_master_transfer()
506 mutex_lock(&sl->master->bus_mutex); in w1_f19_get_i2c_speed()
525 mutex_unlock(&sl->master->bus_mutex); in w1_f19_get_i2c_speed()
559 mutex_lock(&sl->master->bus_mutex); in w1_f19_set_i2c_speed()
565 mutex_unlock(&sl->master->bus_mutex); in w1_f19_set_i2c_speed()
Dw1_ds2433.c128 mutex_lock(&sl->master->bus_mutex); in eeprom_read()
159 mutex_unlock(&sl->master->bus_mutex); in eeprom_read()
254 mutex_lock(&sl->master->bus_mutex); in eeprom_write()
272 mutex_unlock(&sl->master->bus_mutex); in eeprom_write()
Dw1_ds2423.c50 mutex_lock(&dev->bus_mutex); in w1_slave_show()
108 mutex_unlock(&dev->bus_mutex); in w1_slave_show()
/linux-6.12.1/drivers/spi/
Dspi-bcmbca-hsspi.c113 struct mutex bus_mutex; member
180 mutex_lock(&bs->bus_mutex); in bcmbca_hsspi_set_cs()
190 mutex_unlock(&bs->bus_mutex); in bcmbca_hsspi_set_cs()
210 mutex_lock(&bs->bus_mutex); in bcmbca_hsspi_set_clk()
218 mutex_unlock(&bs->bus_mutex); in bcmbca_hsspi_set_clk()
344 mutex_lock(&bs->bus_mutex); in bcmbca_hsspi_setup()
364 mutex_unlock(&bs->bus_mutex); in bcmbca_hsspi_setup()
499 mutex_init(&bs->bus_mutex); in bcmbca_hsspi_probe()
Dspi-bcm63xx-hsspi.c132 struct mutex bus_mutex; member
430 mutex_lock(&bs->bus_mutex); in bcm63xx_hsspi_set_cs()
438 mutex_unlock(&bs->bus_mutex); in bcm63xx_hsspi_set_cs()
458 mutex_lock(&bs->bus_mutex); in bcm63xx_hsspi_set_clk()
465 mutex_unlock(&bs->bus_mutex); in bcm63xx_hsspi_set_clk()
557 mutex_lock(&bs->bus_mutex); in bcm63xx_hsspi_setup()
574 mutex_unlock(&bs->bus_mutex); in bcm63xx_hsspi_setup()
802 mutex_init(&bs->bus_mutex); in bcm63xx_hsspi_probe()
/linux-6.12.1/drivers/power/supply/
Dbq27xxx_battery_hdq.c32 mutex_lock(&sl->master->bus_mutex); in w1_bq27000_read()
35 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-6.12.1/drivers/w1/
Dw1_netlink.c361 mutex_unlock(&dev->bus_mutex); in w1_process_command_master()
363 mutex_lock(&dev->bus_mutex); in w1_process_command_master()
375 mutex_unlock(&dev->bus_mutex); in w1_process_command_master()
379 mutex_lock(&dev->bus_mutex); in w1_process_command_master()
454 mutex_lock(&dev->bus_mutex); in w1_process_cb()
491 mutex_unlock(&dev->bus_mutex); in w1_process_cb()
Dw1.c1004 mutex_lock(&dev->bus_mutex); in w1_search()
1006 mutex_unlock(&dev->bus_mutex); in w1_search()
1016 mutex_unlock(&dev->bus_mutex); in w1_search()
1051 mutex_unlock(&dev->bus_mutex); in w1_search()
1056 mutex_unlock(&dev->bus_mutex); in w1_search()
Dw1_int.c57 mutex_init(&dev->bus_mutex); in w1_alloc_dev()
/linux-6.12.1/include/linux/
Dw1.h234 struct mutex bus_mutex; member
/linux-6.12.1/drivers/w1/masters/
Dds2490.c728 mutex_lock(&master->bus_mutex); in ds9490r_search()
799 mutex_unlock(&master->bus_mutex); in ds9490r_search()