Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/power/supply/ds2760_battery.c ds2760_battery_set_current_accum() -> w1_ds2760_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | addr | 16 |
| PARAM_VALUE | 3 | count | 2 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 1 | buf | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/power/supply/ds2760_battery.c ds2760_battery_write_active_full() -> w1_ds2760_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | buf | 4096-ptr_max |
| PARAM_VALUE | 2 | addr | 32 |
| PARAM_VALUE | 3 | count | 2 |
| BUF_SIZE | 1 | buf | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | count | unit_byte |
| HALF_LOCKED2 | _T->lock |
drivers/power/supply/ds2760_battery.c ds2760_battery_write_rated_capacity() -> w1_ds2760_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->init_name | 0 |
| PARAM_VALUE | 0 | dev->p | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->physical_location | 0,4096-ptr_max |
| PARAM_VALUE | 2 | addr | 50 |
| PARAM_VALUE | 3 | count | 1 |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &w1_mlock | ||
| TYPE_LOCK | (struct w1_master)->mutex |
drivers/power/supply/ds2760_battery.c ds2760_battery_write_status() -> w1_ds2760_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->init_name | 0 |
| PARAM_VALUE | 0 | dev->p | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->physical_location | 0,4096-ptr_max |
| PARAM_VALUE | 2 | addr | 49 |
| PARAM_VALUE | 3 | count | 1 |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &w1_mlock | ||
| TYPE_LOCK | (struct w1_master)->mutex |