/Linux-v4.19/drivers/base/regmap/ |
D | regmap-w1.c | 34 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/ |
D | w1_ds2408.c | 50 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 …]
|
D | w1_ds2438.c | 96 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 …]
|
D | w1_ds2413.c | 42 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()
|
D | w1_ds2406.c | 43 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()
|
D | w1_ds2405.c | 91 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()
|
D | w1_therm.c | 279 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 …]
|
D | w1_ds2780.c | 64 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()
|
D | w1_ds2781.c | 61 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()
|
D | w1_ds2431.c | 110 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()
|
D | w1_ds2433.c | 106 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()
|
D | w1_ds28e17.c | 356 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()
|
D | w1_ds2423.c | 63 mutex_lock(&dev->bus_mutex); in w1_slave_show() 121 mutex_unlock(&dev->bus_mutex); in w1_slave_show()
|
/Linux-v4.19/drivers/spi/ |
D | spi-bcm63xx-hsspi.c | 100 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/ |
D | bq27xxx_battery_hdq.c | 39 mutex_lock(&sl->master->bus_mutex); in w1_bq27000_read() 42 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-v4.19/drivers/w1/ |
D | w1_netlink.c | 368 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()
|
D | w1.c | 989 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()
|
D | w1_int.c | 71 mutex_init(&dev->bus_mutex); in w1_alloc_dev()
|
/Linux-v4.19/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 | 711 mutex_lock(&master->bus_mutex); in ds9490r_search() 777 mutex_unlock(&master->bus_mutex); in ds9490r_search()
|
/Linux-v4.19/include/linux/ |
D | w1.h | 237 struct mutex bus_mutex; member
|
/Linux-v4.19/drivers/mtd/spi-nor/ |
D | cadence-quadspi.c | 76 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()
|