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_config() -> rz_mtu3_8bit_ch_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offset | 3 |
| PARAM_VALUE | 2 | val | 32-63 |
| BIT_INFO | 2 | val | 0x20,0x3f |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | val | 32-63[c] |
| LOCK2 | &rz_mtu3_pwm->lock | ||
| TYPE_LOCK | (struct rz_mtu3_pwm_chip)->lock |
drivers/pwm/pwm-rz-mtu3.c rz_mtu3_pwm_config() -> rz_mtu3_8bit_ch_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offset | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | val | 0-255[c] |
| LOCK2 | &rz_mtu3_pwm->lock | ||
| TYPE_LOCK | (struct rz_mtu3_pwm_chip)->lock |
drivers/pwm/pwm-rz-mtu3.c rz_mtu3_pwm_disable() -> rz_mtu3_8bit_ch_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offset | 6 |
| PARAM_VALUE | 2 | val | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/pwm/pwm-rz-mtu3.c rz_mtu3_pwm_disable() -> rz_mtu3_8bit_ch_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offset | 7 |
| PARAM_VALUE | 2 | val | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/pwm/pwm-rz-mtu3.c rz_mtu3_pwm_enable() -> rz_mtu3_8bit_ch_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | offset | 5 |
| PARAM_VALUE | 2 | val | 0-15 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/pwm/pwm-rz-mtu3.c rz_mtu3_pwm_enable() -> rz_mtu3_8bit_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 | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/pwm/pwm-rz-mtu3.c rz_mtu3_pwm_enable() -> rz_mtu3_8bit_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 | 7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/counter/rz-mtu3-cnt.c rz_mtu3_16bit_cnt_setting() -> rz_mtu3_8bit_ch_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ch | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 5 |
| PARAM_VALUE | 2 | val | 4 |
| DATA_SOURCE | 0 | ch | r rz_mtu3_get_ch |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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_16bit_cnt_setting() -> rz_mtu3_8bit_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 | 3 |
| PARAM_VALUE | 2 | val | 32 |
| DATA_SOURCE | 0 | ch | r rz_mtu3_get_ch |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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_16bit_cnt_setting() -> rz_mtu3_8bit_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 | 6 |
| PARAM_VALUE | 2 | val | 0 |
| DATA_SOURCE | 0 | ch | r rz_mtu3_get_ch |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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_32bit_cnt_setting() -> rz_mtu3_8bit_ch_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ch | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 5 |
| PARAM_VALUE | 2 | val | 4 |
| DATA_SOURCE | 0 | ch | r rz_mtu3_get_ch |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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_32bit_cnt_setting() -> rz_mtu3_8bit_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 | 3 |
| PARAM_VALUE | 2 | val | 32 |
| DATA_SOURCE | 0 | ch | r rz_mtu3_get_ch |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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_32bit_cnt_setting() -> rz_mtu3_8bit_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 | 6 |
| PARAM_VALUE | 2 | val | 10 |
| DATA_SOURCE | 0 | ch | r rz_mtu3_get_ch |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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_ceiling_write() -> rz_mtu3_8bit_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 | 3 |
| PARAM_VALUE | 2 | val | 32 |
| DATA_SOURCE | 0 | ch | r rz_mtu3_get_ch |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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_function_write() -> rz_mtu3_8bit_ch_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ch | 4096-ptr_max |
| PARAM_VALUE | 1 | offset | 5 |
| PARAM_VALUE | 2 | val | 4-5,7 |
| DATA_SOURCE | 0 | ch | r rz_mtu3_get_ch |
| FUZZY_MAX | 2 | val | 7 |
| BIT_INFO | 2 | val | 0x4,0x7 |
| HARD_MAX | 2 | val | 7 |
| NOCHECK_CALL | |||
| LOCK2 | &priv->lock | ||
| TYPE_LOCK | (struct rz_mtu3_cnt)->lock |