Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/pwm/pwm-stm32.c stm32_pwm_capture() -> to_stm32_pwm_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| DATA_SOURCE | 0 | chip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/pwm/pwm-stm32.c stm32_pwm_probe() -> to_stm32_pwm_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| BUF_SIZE | 0 | chip | 0,8-s32max |
| BUF_SIZE | 0 | chip | 0,8-s32max |
| CAPPED_DATA | 0 | chip->npwm | 1 |
| DATA_SOURCE | 0 | chip | r devm_pwmchip_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | chip->npwm |
drivers/pwm/pwm-stm32.c stm32_pwm_raw_capture() -> to_stm32_pwm_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| DATA_SOURCE | 0 | chip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | &priv->lock | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct stm32_pwm)->lock |
drivers/pwm/pwm-stm32.c stm32_pwm_read_waveform() -> to_stm32_pwm_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| DATA_SOURCE | 0 | chip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/pwm/pwm-stm32.c stm32_pwm_resume() -> to_stm32_pwm_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | chip | unit_byte |
drivers/pwm/pwm-stm32.c stm32_pwm_round_waveform_fromhw() -> to_stm32_pwm_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| DATA_SOURCE | 0 | chip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pwm/pwm-stm32.c stm32_pwm_round_waveform_tohw() -> to_stm32_pwm_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| DATA_SOURCE | 0 | chip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pwm/pwm-stm32.c stm32_pwm_suspend() -> to_stm32_pwm_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | chip | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | chip | unit_byte |
drivers/pwm/pwm-stm32.c stm32_pwm_write_waveform() -> to_stm32_pwm_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | chip | 4096-ptr_max |
| DATA_SOURCE | 0 | chip | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |