Defined in 1 files as a function:
Referenced in 6 files:
- drivers/hwmon/da9052-hwmon.c
- drivers/input/touchscreen/da9052_tsi.c
- drivers/leds/leds-da9052.c, line 47
- drivers/mfd/da9052-core.c
- drivers/rtc/rtc-da9052.c, line 286
- drivers/video/backlight/da9052_bl.c
Smatch caller information:
drivers/input/touchscreen/da9052_tsi.c da9052_configure_tsi() -> da9052_reg_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | da9052 | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->irq_data | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->regmap->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | da9052->regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | da9052->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 1 | reg | 58 |
| PARAM_VALUE | 2 | val | 89 |
| BUF_SIZE | 0 | da9052 | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | da9052 | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | da9052->regmap->rd_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | da9052->regmap->volatile_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | da9052->regmap->volatile_table->n_yes_ranges | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | da9052 | unit_byte |
drivers/input/touchscreen/da9052_tsi.c da9052_ts_remove() -> da9052_reg_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 58 |
| PARAM_VALUE | 2 | val | 25 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | da9052 | unit_byte |
| HALF_LOCKED2 | &_dev->mutex |
drivers/video/backlight/da9052_bl.c da9052_adjust_wled_brightness() -> da9052_reg_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 70 |
| PARAM_VALUE | 2 | val | 0,63 |
| BUF_SIZE | 0 | da9052 | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | da9052 | s32min-(-1),1-s32max |
| FUZZY_MAX | 2 | val | 63 |
| HARD_MAX | 2 | val | 63 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | da9052 | unit_byte |
| HALF_LOCKED2 | &_dev->mutex |
drivers/video/backlight/da9052_bl.c da9052_adjust_wled_brightness() -> da9052_reg_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | da9052 | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 1 | reg | 71 |
| PARAM_VALUE | 2 | val | 0,255 |
| BUF_SIZE | 0 | da9052 | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | da9052 | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | da9052->regmap->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | da9052->regmap->wr_table->n_yes_ranges | 1 |
| FUZZY_MAX | 2 | val | 255 |
| HARD_MAX | 2 | val | 255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | da9052 | unit_byte |
| HALF_LOCKED2 | &_dev->mutex |
drivers/video/backlight/da9052_bl.c da9052_adjust_wled_brightness() -> da9052_reg_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | da9052 | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 1 | reg | 73-75 |
| PARAM_VALUE | 2 | val | 0 |
| BUF_SIZE | 0 | da9052 | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | da9052 | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | da9052->regmap->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | da9052->regmap->wr_table->n_yes_ranges | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | da9052 | unit_byte |
| HALF_LOCKED2 | &_dev->mutex |
drivers/video/backlight/da9052_bl.c da9052_adjust_wled_brightness() -> da9052_reg_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | da9052 | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 1 | reg | 73-75 |
| CAPPED_DATA | 0 | da9052->regmap->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | da9052->regmap->wr_table->n_yes_ranges | 1 |
| BIT_INFO | 2 | val | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 2 | val | 0-255 |
| USER_DATA | 2 | val | 0-255[c] |
| NO_OVERFLOW_SIMPLE | 2 | val | |
| UNITS | 0 | da9052 | unit_byte |
| UNITS | 2 | val | unit_array_size |
| HALF_LOCKED2 | &bl->update_lock | ||
| HALF_LOCKED2 | &connector->mutex | ||
| HALF_LOCKED2 | &panel->follower_lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu |
drivers/mfd/da9052-core.c da9052_adc_manual_read() -> da9052_reg_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | da9052 | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->auxadc_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | da9052->auxadc_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | da9052->auxadc_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | da9052->auxadc_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | da9052->auxadc_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | da9052->auxadc_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | da9052->auxadc_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | da9052->done.done | 0 |
| PARAM_VALUE | 1 | reg | 81 |
| PARAM_VALUE | 2 | val | 16-22,25 |
| CAPPED_DATA | 0 | &da9052->auxadc_lock | 1 |
| DATA_SOURCE | 0 | da9052 | $0 |
| BIT_INFO | 2 | val | 0x10,0x1f |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | da9052 | unit_byte |
| LOCK2 | 0 | &da9052->auxadc_lock | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct da9052)->auxadc_lock |
drivers/mfd/da9052-core.c da9052_clear_fault_log() -> da9052_reg_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | da9052 | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->auxadc_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | da9052->auxadc_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | da9052->auxadc_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->auxadc_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | da9052->auxadc_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | da9052->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->done.done | 0 |
| PARAM_VALUE | 0 | da9052->done.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | da9052->done.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | da9052->done.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | da9052->done.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->done.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->done.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->done.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->done.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | *da9052->regmap->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | reg | 9 |
| PARAM_VALUE | 2 | val | 255 |
| BUF_SIZE | 0 | da9052 | 304 |
| BUF_SIZE | 0 | da9052->dev | 1616 |
| DATA_SOURCE | 0 | da9052 | $0 |
| MEM_ZERO | 0 | da9052 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | da9052->chip_irq |
drivers/rtc/rtc-da9052.c da9052_rtc_probe() -> da9052_reg_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 69 |
| PARAM_VALUE | 2 | val | 254 |
| BUF_SIZE | 0 | da9052 | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | da9052 | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | da9052 | unit_byte |
drivers/hwmon/da9052-hwmon.c da9052_hwmon_probe() -> da9052_reg_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 105 |
| PARAM_VALUE | 2 | val | 0 |
| BUF_SIZE | 0 | da9052 | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | da9052 | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | da9052 | unit_byte |
drivers/hwmon/da9052-hwmon.c da9052_request_tsi_read() -> da9052_reg_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 106 |
| PARAM_VALUE | 2 | val | 64,80,96,112 |
| FUZZY_MAX | 2 | val | 64 |
| BIT_INFO | 2 | val | 0x40,0x70 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | da9052 | unit_byte |
| LOCK2 | &hwmon->da9052->auxadc_lock | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct da9052)->auxadc_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/leds/leds-da9052.c da9052_set_led_brightness() -> da9052_reg_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 79-80 |
| PARAM_VALUE | 2 | val | 128-255 |
| BIT_INFO | 2 | val | 0x80,0xff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &_dev->mutex |