/Linux-v5.10/drivers/base/regmap/ |
D | regmap-w1.c | 30 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-v5.10/drivers/w1/slaves/ |
D | w1_ds2438.c | 94 mutex_lock(&sl->master->bus_mutex); in w1_ds2438_get_temperature() 101 mutex_unlock(&sl->master->bus_mutex); in w1_ds2438_get_temperature() 108 if (mutex_lock_interruptible(&sl->master->bus_mutex) != 0) { in w1_ds2438_get_temperature() 122 mutex_unlock(&sl->master->bus_mutex); in w1_ds2438_get_temperature() 196 mutex_lock(&sl->master->bus_mutex); in w1_ds2438_get_voltage() 208 mutex_unlock(&sl->master->bus_mutex); in w1_ds2438_get_voltage() 215 if (mutex_lock_interruptible(&sl->master->bus_mutex) != 0) { in w1_ds2438_get_voltage() 230 mutex_unlock(&sl->master->bus_mutex); in w1_ds2438_get_voltage() 241 mutex_lock(&sl->master->bus_mutex); in w1_ds2438_get_current() 250 mutex_unlock(&sl->master->bus_mutex); in w1_ds2438_get_current() [all …]
|
D | w1_ds2408.c | 48 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 …]
|
D | w1_ds2406.c | 41 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()
|
D | w1_ds2405.c | 81 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()
|
D | w1_ds2413.c | 45 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() 123 mutex_unlock(&sl->master->bus_mutex); in output_write()
|
D | w1_ds2780.c | 60 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()
|
D | w1_ds2781.c | 57 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()
|
D | w1_therm.c | 1082 if (!bus_mutex_lock(&dev_master->bus_mutex)) { in convert_t() 1107 mutex_unlock(&dev_master->bus_mutex); in convert_t() 1115 mutex_unlock(&dev_master->bus_mutex); in convert_t() 1118 mutex_unlock(&dev_master->bus_mutex); in convert_t() 1147 mutex_unlock(&dev_master->bus_mutex); in convert_t() 1180 if (!bus_mutex_lock(&dev_master->bus_mutex)) { in conv_time_measure() 1210 mutex_unlock(&dev_master->bus_mutex); in conv_time_measure() 1217 mutex_unlock(&dev_master->bus_mutex); in conv_time_measure() 1240 if (!bus_mutex_lock(&dev_master->bus_mutex)) { in read_scratchpad() 1270 mutex_unlock(&dev_master->bus_mutex); in read_scratchpad() [all …]
|
D | w1_ds2430.c | 108 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()
|
D | w1_ds2431.c | 108 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()
|
D | w1_ds2433.c | 104 mutex_lock(&sl->master->bus_mutex); in eeprom_read() 135 mutex_unlock(&sl->master->bus_mutex); in eeprom_read() 230 mutex_lock(&sl->master->bus_mutex); in eeprom_write() 248 mutex_unlock(&sl->master->bus_mutex); in eeprom_write()
|
D | w1_ds250x.c | 57 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()
|
D | w1_ds28e17.c | 354 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()
|
D | w1_ds2423.c | 50 mutex_lock(&dev->bus_mutex); in w1_slave_show() 108 mutex_unlock(&dev->bus_mutex); in w1_slave_show()
|
/Linux-v5.10/drivers/spi/ |
D | spi-bcm63xx-hsspi.c | 101 struct mutex bus_mutex; member 118 mutex_lock(&bs->bus_mutex); in bcm63xx_hsspi_set_cs() 126 mutex_unlock(&bs->bus_mutex); in bcm63xx_hsspi_set_cs() 146 mutex_lock(&bs->bus_mutex); in bcm63xx_hsspi_set_clk() 153 mutex_unlock(&bs->bus_mutex); in bcm63xx_hsspi_set_clk() 239 mutex_lock(&bs->bus_mutex); in bcm63xx_hsspi_setup() 256 mutex_unlock(&bs->bus_mutex); in bcm63xx_hsspi_setup() 301 mutex_lock(&bs->bus_mutex); in bcm63xx_hsspi_transfer_one() 306 mutex_unlock(&bs->bus_mutex); in bcm63xx_hsspi_transfer_one() 401 mutex_init(&bs->bus_mutex); in bcm63xx_hsspi_probe()
|
/Linux-v5.10/drivers/power/supply/ |
D | bq27xxx_battery_hdq.c | 32 mutex_lock(&sl->master->bus_mutex); in w1_bq27000_read() 35 mutex_unlock(&sl->master->bus_mutex); in w1_bq27000_read()
|
D | ds2760_battery.c | 127 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-v5.10/drivers/w1/ |
D | w1_netlink.c | 359 mutex_unlock(&dev->bus_mutex); in w1_process_command_master() 361 mutex_lock(&dev->bus_mutex); in w1_process_command_master() 373 mutex_unlock(&dev->bus_mutex); in w1_process_command_master() 377 mutex_lock(&dev->bus_mutex); in w1_process_command_master() 452 mutex_lock(&dev->bus_mutex); in w1_process_cb() 489 mutex_unlock(&dev->bus_mutex); in w1_process_cb()
|
D | w1.c | 980 mutex_lock(&dev->bus_mutex); in w1_search() 982 mutex_unlock(&dev->bus_mutex); in w1_search() 992 mutex_unlock(&dev->bus_mutex); in w1_search() 1027 mutex_unlock(&dev->bus_mutex); in w1_search() 1032 mutex_unlock(&dev->bus_mutex); in w1_search()
|
D | w1_int.c | 62 mutex_init(&dev->bus_mutex); in w1_alloc_dev()
|
/Linux-v5.10/drivers/w1/masters/ |
D | ds1wm.c | 391 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()
|
D | ds2490.c | 697 mutex_lock(&master->bus_mutex); in ds9490r_search() 763 mutex_unlock(&master->bus_mutex); in ds9490r_search()
|
/Linux-v5.10/include/linux/ |
D | w1.h | 233 struct mutex bus_mutex; member
|