Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/pwm/pwm-rz-mtu3.c rz_mtu3_pwm_write_tgr_registers() -> rz_mtu3_16bit_ch_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ch | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->dev->parent | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->dev->parent->driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 1,3 |
| CAPPED_DATA | 2 | val | 1 |
| DATA_SOURCE | 1 | offset | $1 |
| DATA_SOURCE | 2 | val | $2 |
| NOSPEC | 2 | val | |
| NOSPEC | 2 | val | |
| HARD_MAX | 1 | offset | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | val | 0-65534[c] |
| LOCK2 | &rz_mtu3_pwm->lock | ||
| TYPE_LOCK | (struct rz_mtu3_pwm_chip)->lock |
drivers/pwm/pwm-rz-mtu3.c rz_mtu3_pwm_write_tgr_registers() -> rz_mtu3_16bit_ch_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ch | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->channel_number | 0-8 |
| PARAM_VALUE | 0 | ch->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->dev->parent | 4096-ptr_max |
| PARAM_VALUE | 0 | ch->dev->parent->driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 2,4 |
| CAPPED_DATA | 2 | val | 1 |
| DATA_SOURCE | 1 | offset | $3 |
| DATA_SOURCE | 2 | val | $4 |
| NOSPEC | 2 | val | |
| NOSPEC | 2 | val | |
| HARD_MAX | 1 | offset | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | val | 0-65534[c] |
| USER_DATA | 2 | val | 0-65534[c] |
| LOCK2 | &rz_mtu3_pwm->lock | ||
| TYPE_LOCK | (struct rz_mtu3_pwm_chip)->lock |
drivers/counter/rz-mtu3-cnt.c rz_mtu3_count_ceiling_write() -> rz_mtu3_16bit_ch_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ch | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 1 |
| DATA_SOURCE | 0 | ch | r rz_mtu3_get_ch |
| DATA_SOURCE | 2 | val | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | val | 0-u16max |
| NO_OVERFLOW_SIMPLE | 2 | val | |
| LOCK2 | &of->mutex | ||
| LOCK2 | &priv->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct rz_mtu3_cnt)->lock |
drivers/counter/rz-mtu3-cnt.c rz_mtu3_count_write() -> rz_mtu3_16bit_ch_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ch | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 0 |
| DATA_SOURCE | 0 | ch | r rz_mtu3_get_ch |
| DATA_SOURCE | 2 | val | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | val | 0-u16max |
| NO_OVERFLOW_SIMPLE | 2 | val | |
| LOCK2 | &of->mutex | ||
| LOCK2 | &priv->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct rz_mtu3_cnt)->lock |