Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/firmware/imx/misc.c, line 51 (as a function)
- include/linux/firmware/imx/svc/misc.h, line 59 (as a function)
Referenced in 10 files:
- drivers/clk/imx/clk-scu.c
- drivers/firmware/imx/misc.c, line 68
- drivers/gpio/gpio-imx-scu.c, line 63
- drivers/gpu/drm/bridge/imx/imx8qxp-pixel-link.c
- drivers/gpu/drm/bridge/imx/imx8qxp-pxl2dpi.c, line 104
- drivers/net/can/flexcan/flexcan-core.c, line 544
- drivers/net/ethernet/freescale/fec_main.c, line 1360
- drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c
- drivers/reset/reset-imx-scu.c, line 39
- sound/soc/sof/imx/imx8.c
Smatch caller information:
drivers/gpu/drm/bridge/imx/imx8qxp-pixel-link.c imx8qxp_pixel_link_disable_mst_en() -> imx_sc_misc_set_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | resource | 32,49 |
| PARAM_VALUE | 2 | ctrl | 6-7 |
| PARAM_VALUE | 3 | val | 0 |
| FUZZY_MAX | 1 | resource | 49 |
| FUZZY_MAX | 2 | ctrl | 7 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/bridge/imx/imx8qxp-pixel-link.c imx8qxp_pixel_link_disable_mst_vld() -> imx_sc_misc_set_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ipc->count | 0-255 |
| PARAM_VALUE | 0 | ipc->done.done | 0-4294967293,4294967295 |
| PARAM_VALUE | 0 | ipc->done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ipc->done.wait.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | ipc->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ipc->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ipc->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ipc->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ipc->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ipc->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ipc->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | ipc->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ipc->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | resource | 32,49 |
| PARAM_VALUE | 2 | ctrl | 11-12 |
| PARAM_VALUE | 3 | val | 0 |
| FUZZY_MAX | 1 | resource | 49 |
| FUZZY_MAX | 2 | ctrl | 12 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/bridge/imx/imx8qxp-pixel-link.c imx8qxp_pixel_link_disable_sync() -> imx_sc_misc_set_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ipc->count | 0-255 |
| PARAM_VALUE | 0 | ipc->done.done | 0-4294967293,4294967295 |
| PARAM_VALUE | 0 | ipc->done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ipc->done.wait.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | ipc->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ipc->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ipc->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ipc->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ipc->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ipc->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ipc->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | ipc->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ipc->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | resource | 32,49 |
| PARAM_VALUE | 2 | ctrl | 30,33 |
| PARAM_VALUE | 3 | val | 0 |
| FUZZY_MAX | 1 | resource | 49 |
| FUZZY_MAX | 2 | ctrl | 33 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/bridge/imx/imx8qxp-pixel-link.c imx8qxp_pixel_link_enable_mst_en() -> imx_sc_misc_set_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | val | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &first_bridge->encoder->bridge_chain_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/bridge/imx/imx8qxp-pixel-link.c imx8qxp_pixel_link_enable_mst_vld() -> imx_sc_misc_set_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ipc->count | 0-255 |
| PARAM_VALUE | 0 | ipc->done.done | 0-4294967293,4294967295 |
| PARAM_VALUE | 0 | ipc->done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ipc->done.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | ipc->done.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ipc->done.wait.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | ipc->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ipc->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ipc->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ipc->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ipc->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ipc->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ipc->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | ipc->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ipc->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 3 | val | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &first_bridge->encoder->bridge_chain_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/bridge/imx/imx8qxp-pixel-link.c imx8qxp_pixel_link_enable_sync() -> imx_sc_misc_set_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ipc->count | 0-255 |
| PARAM_VALUE | 0 | ipc->done.done | 0-4294967293,4294967295 |
| PARAM_VALUE | 0 | ipc->done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ipc->done.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | ipc->done.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ipc->done.wait.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | ipc->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ipc->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ipc->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ipc->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ipc->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ipc->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ipc->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | ipc->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ipc->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 3 | val | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &first_bridge->encoder->bridge_chain_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/bridge/imx/imx8qxp-pixel-link.c imx8qxp_pixel_link_set_mst_addr() -> imx_sc_misc_set_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &first_bridge->encoder->bridge_chain_mutex |
drivers/gpio/gpio-imx-scu.c imx_scu_gpio_set() -> imx_sc_misc_set_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | resource | 524-531 |
| PARAM_VALUE | 2 | ctrl | 0 |
| DATA_SOURCE | 3 | val | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | val | 0-1[c] |
| LOCK2 | _T->lock |
sound/soc/sof/imx/imx8.c imx8_run() -> imx_sc_misc_set_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | resource | 512 |
| PARAM_VALUE | 2 | ctrl | 39 |
| PARAM_VALUE | 3 | val | 0 |
| BUF_SIZE | 0 | ipc | 1-s32max |
sound/soc/sof/imx/imx8.c imx8x_run() -> imx_sc_misc_set_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | resource | 512 |
| PARAM_VALUE | 2 | ctrl | 39 |
| PARAM_VALUE | 3 | val | 1 |
| BUF_SIZE | 0 | ipc | 1-s32max |
sound/soc/sof/imx/imx8.c imx8x_run() -> imx_sc_misc_set_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | resource | 512 |
| PARAM_VALUE | 2 | ctrl | 40 |
| PARAM_VALUE | 3 | val | 128 |
| BUF_SIZE | 0 | ipc | 1-s32max |
sound/soc/sof/imx/imx8.c imx8x_run() -> imx_sc_misc_set_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | resource | 512 |
| PARAM_VALUE | 2 | ctrl | 41 |
| PARAM_VALUE | 3 | val | 90 |
| BUF_SIZE | 0 | ipc | 1-s32max |
sound/soc/sof/imx/imx8.c imx8x_run() -> imx_sc_misc_set_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | resource | 512 |
| PARAM_VALUE | 2 | ctrl | 42 |
| PARAM_VALUE | 3 | val | 81 |
| BUF_SIZE | 0 | ipc | 1-s32max |
drivers/net/ethernet/freescale/fec_main.c fec_enet_ipg_stop_set() -> imx_sc_misc_set_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ipc | 1-u64max |
| PARAM_VALUE | 1 | resource | 251-252 |
| PARAM_VALUE | 2 | ctrl | 52 |
| PARAM_VALUE | 3 | val | 0-1 |
| FUZZY_MAX | 1 | resource | 252 |
| FUZZY_MAX | 3 | val | 1 |
| BIT_INFO | 1 | resource | 0xf8,0xff |
| HARD_MAX | 1 | resource | 252 |
| HARD_MAX | 3 | val | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &rtnl_mutex |
drivers/net/can/flexcan/flexcan-core.c flexcan_stop_mode_enable_scfw() -> imx_sc_misc_set_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | resource | 105-360 |
| PARAM_VALUE | 2 | ctrl | 52 |
| PARAM_VALUE | 3 | val | 0-1 |
| FUZZY_MAX | 3 | val | 1 |
| HARD_MAX | 3 | val | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/bridge/imx/imx8qxp-pxl2dpi.c imx8qxp_pxl2dpi_bridge_mode_set() -> imx_sc_misc_set_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | ctrl | 38 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &first_bridge->encoder->bridge_chain_mutex |
drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c mixel_dphy_configure_lvds_phy() -> imx_sc_misc_set_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | resource | 393,397 |
| PARAM_VALUE | 2 | ctrl | 36 |
| FUZZY_MAX | 1 | resource | 397 |
| BIT_INFO | 1 | resource | 0x189,0x18d |
| HARD_MAX | 1 | resource | 397 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &phy->mutex | ||
| HALF_LOCKED2 | &mhdp->link_mutex | ||
| HALF_LOCKED2 | &phy->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct phy)->mutex |
drivers/phy/freescale/phy-fsl-imx8-mipi-dphy.c mixel_dphy_set_mode() -> imx_sc_misc_set_control()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | resource | 393,397 |
| PARAM_VALUE | 2 | ctrl | 29 |
| PARAM_VALUE | 3 | val | 0-1 |
| FUZZY_MAX | 1 | resource | 397 |
| FUZZY_MAX | 3 | val | 1 |
| BIT_INFO | 1 | resource | 0x189,0x18d |
| HARD_MAX | 1 | resource | 397 |
| HARD_MAX | 3 | val | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &phy->mutex | ||
| HALF_LOCKED2 | &cdns->mutex | ||
| HALF_LOCKED2 | &dwc->mutex | ||
| HALF_LOCKED2 | &musb->lock | ||
| HALF_LOCKED2 | &udc->connect_lock | ||
| HALF_LOCKED2 | flags | ||
| TYPE_LOCK | (struct phy)->mutex |