Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 7 files:
- drivers/gpu/drm/bridge/cadence/cdns-dsi-core.c
- drivers/gpu/drm/bridge/imx/imx8qm-ldb.c
- drivers/gpu/drm/bridge/imx/imx8qxp-ldb.c, line 118
- drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c, line 337
- drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c, line 530
- drivers/net/ethernet/freescale/fman/fman_memac.c, line 1146
- drivers/phy/phy-core.c, line 607
Smatch caller information:
drivers/gpu/drm/bridge/imx/imx8qm-ldb.c imx8qm_ldb_bridge_atomic_check() -> phy_validate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mode | 18 |
| PARAM_VALUE | 2 | submode | 0 |
| PARAM_VALUE | 3 | opts | 3560409809078902784 |
| PARAM_VALUE | 3 | opts->dp.lanes | 0 |
| PARAM_VALUE | 3 | opts->dp.ssc | 0 |
| PARAM_VALUE | 3 | opts->hdmi.bpc | 0 |
| PARAM_VALUE | 3 | opts->hdmi.tmds_char_rate | 0 |
| PARAM_VALUE | 3 | opts->lvds.bits_per_lane_and_dclk_cycle | 7 |
| PARAM_VALUE | 3 | opts->lvds.differential_clk_rate | 0-1073741823,9223372035781033984-9223372036854775807 |
| PARAM_VALUE | 3 | opts->lvds.is_slave | 0 |
| PARAM_VALUE | 3 | opts->lvds.lanes | 4 |
| PARAM_VALUE | 3 | opts->mipi_dphy.clk_miss | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.clk_pre | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.clk_prepare | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.clk_settle | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.clk_term_en | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.clk_trail | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.d_term_en | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.eot | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.hs_clk_rate | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.hs_exit | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.hs_prepare | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.hs_skip | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.init | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.lpx | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.ta_get | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.ta_go | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.ta_sure | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.wakeup | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/bridge/imx/imx8qm-ldb.c imx8qm_ldb_bridge_atomic_check() -> phy_validate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy->dev.driver_data->cfg.bits_per_lane_and_dclk_cycle | 7,10 |
| PARAM_VALUE | 0 | phy->dev.driver_data->cfg.differential_clk_rate | 25000000-165000000 |
| PARAM_VALUE | 0 | phy->dev.driver_data->cfg.is_slave | 0-1 |
| PARAM_VALUE | 0 | phy->dev.driver_data->cfg.lanes | 3-4 |
| PARAM_VALUE | 0 | phy->dev.parent->driver_data->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | phy->dev.parent->driver_data->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | phy->dev.parent->driver_data->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | phy->dev.parent->driver_data->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | phy->dev.parent->driver_data->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | phy->dev.parent->driver_data->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | phy->dev.parent->driver_data->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | phy->dev.parent->driver_data->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | phy->dev.parent->driver_data->phy_ref_clk->core->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | phy->dev.parent->driver_data->phy_ref_clk->core->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | phy->dev.parent->driver_data->phy_ref_clk->core->dev->power.request | 0-4294967295 |
| PARAM_VALUE | 0 | phy->dev.parent->driver_data->phy_ref_clk->core->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | phy->dev.parent->driver_data->phy_ref_clk->core->dev->power.runtime_error | s32min-s32max |
| PARAM_VALUE | 0 | phy->dev.parent->driver_data->phy_ref_clk->core->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | phy->dev.parent->driver_data->phy_ref_clk->core->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | phy->dev.parent->driver_data->phy_ref_clk->core->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | phy->dev.parent->driver_data->phy_ref_clk->core->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | phy->ops->validate | 1-u64max |
| PARAM_VALUE | 1 | mode | 18 |
| PARAM_VALUE | 2 | submode | 0 |
| PARAM_VALUE | 3 | opts | 3560409809078902784 |
| PARAM_VALUE | 3 | opts->dp.lanes | 0 |
| PARAM_VALUE | 3 | opts->dp.ssc | 0 |
| PARAM_VALUE | 3 | opts->hdmi.bpc | 0 |
| PARAM_VALUE | 3 | opts->hdmi.tmds_char_rate | 0 |
| PARAM_VALUE | 3 | opts->lvds.bits_per_lane_and_dclk_cycle | 7 |
| PARAM_VALUE | 3 | opts->lvds.differential_clk_rate | 0-1073741823,9223372035781033984-9223372036854775807 |
| PARAM_VALUE | 3 | opts->lvds.is_slave | 1 |
| PARAM_VALUE | 3 | opts->lvds.lanes | 4 |
| PARAM_VALUE | 3 | opts->mipi_dphy.clk_miss | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.clk_pre | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.clk_prepare | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.clk_settle | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.clk_term_en | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.clk_trail | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.d_term_en | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.eot | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.hs_clk_rate | 0-u32max |
| PARAM_VALUE | 3 | opts->mipi_dphy.hs_exit | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.hs_prepare | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.hs_skip | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.init | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.lpx | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.ta_get | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.ta_go | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.ta_sure | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.wakeup | 0,1000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/bridge/imx/imx8qxp-ldb.c imx8qxp_ldb_bridge_atomic_check() -> phy_validate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mode | 18 |
| PARAM_VALUE | 2 | submode | 0 |
| PARAM_VALUE | 3 | opts | 2440053733957771264 |
| PARAM_VALUE | 3 | opts->dp.lanes | 0 |
| PARAM_VALUE | 3 | opts->dp.ssc | 0 |
| PARAM_VALUE | 3 | opts->hdmi.bpc | 0 |
| PARAM_VALUE | 3 | opts->hdmi.tmds_char_rate | 0 |
| PARAM_VALUE | 3 | opts->lvds.bits_per_lane_and_dclk_cycle | 7 |
| PARAM_VALUE | 3 | opts->lvds.differential_clk_rate | 0-1073741823,9223372035781033984-9223372036854775807 |
| PARAM_VALUE | 3 | opts->lvds.lanes | 4 |
| PARAM_VALUE | 3 | opts->mipi_dphy.clk_miss | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.clk_pre | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.clk_prepare | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.clk_settle | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.clk_term_en | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.clk_trail | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.d_term_en | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.eot | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.hs_clk_rate | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.hs_exit | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.hs_prepare | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.hs_skip | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.init | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.lpx | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.ta_get | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.ta_go | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.ta_sure | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.wakeup | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c dw_hdmi_rockchip_encoder_atomic_check() -> phy_validate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 1-u64max |
| PARAM_VALUE | 1 | mode | 20 |
| PARAM_VALUE | 2 | submode | 0 |
| PARAM_VALUE | 3 | opts | 3667878627495645184 |
| PARAM_VALUE | 3 | opts->dp.lanes | 0 |
| PARAM_VALUE | 3 | opts->dp.ssc | 0 |
| PARAM_VALUE | 3 | opts->hdmi.tmds_char_rate | 1-u64max |
| PARAM_VALUE | 3 | opts->lvds.bits_per_lane_and_dclk_cycle | 0 |
| PARAM_VALUE | 3 | opts->lvds.differential_clk_rate | 0 |
| PARAM_VALUE | 3 | opts->lvds.is_slave | 0 |
| PARAM_VALUE | 3 | opts->lvds.lanes | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.clk_miss | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.clk_pre | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.clk_prepare | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.clk_settle | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.clk_term_en | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.clk_trail | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.d_term_en | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.eot | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.hs_clk_rate | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.hs_exit | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.hs_prepare | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.hs_skip | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.init | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.lpx | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.ta_get | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.ta_go | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.ta_sure | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.wakeup | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/bridge/cadence/cdns-dsi-core.c cdns_dsi_check_conf() -> phy_validate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->dev.driver_data->cfg.bits_per_lane_and_dclk_cycle | 7,10 |
| PARAM_VALUE | 0 | phy->dev.driver_data->cfg.differential_clk_rate | 25000000-165000000 |
| PARAM_VALUE | 0 | phy->dev.driver_data->cfg.is_slave | 0-1 |
| PARAM_VALUE | 0 | phy->dev.driver_data->cfg.lanes | 3-4 |
| PARAM_VALUE | 0 | phy->dev.driver_data->pll_ref_clk->core->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | phy->dev.driver_data->pll_ref_clk->core->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | phy->dev.driver_data->pll_ref_clk->core->dev->power.request | 0-4294967295 |
| PARAM_VALUE | 0 | phy->dev.driver_data->pll_ref_clk->core->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | phy->dev.driver_data->pll_ref_clk->core->dev->power.runtime_error | s32min-s32max |
| PARAM_VALUE | 0 | phy->dev.driver_data->pll_ref_clk->core->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | phy->dev.driver_data->pll_ref_clk->core->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | phy->dev.driver_data->pll_ref_clk->core->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | phy->dev.driver_data->pll_ref_clk->core->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | phy->dev.parent->driver_data->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | phy->dev.parent->driver_data->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | phy->dev.parent->driver_data->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | phy->dev.parent->driver_data->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | phy->dev.parent->driver_data->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | phy->dev.parent->driver_data->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | phy->dev.parent->driver_data->phy_ref_clk->core->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | phy->dev.parent->driver_data->phy_ref_clk->core->dev->power.request | 0-4294967295 |
| PARAM_VALUE | 0 | phy->dev.parent->driver_data->phy_ref_clk->core->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | phy->dev.parent->driver_data->phy_ref_clk->core->dev->power.runtime_error | s32min-s32max |
| PARAM_VALUE | 0 | phy->dev.parent->driver_data->phy_ref_clk->core->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | phy->dev.parent->driver_data->phy_ref_clk->core->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | phy->ops->validate | 1-u64max |
| PARAM_VALUE | 1 | mode | 16 |
| PARAM_VALUE | 2 | submode | 0 |
| PARAM_VALUE | 3 | opts | 4096-ptr_max |
| PARAM_VALUE | 3 | opts->mipi_dphy.clk_miss | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.clk_pre | 8 |
| PARAM_VALUE | 3 | opts->mipi_dphy.clk_prepare | 38000 |
| PARAM_VALUE | 3 | opts->mipi_dphy.clk_settle | 95000 |
| PARAM_VALUE | 3 | opts->mipi_dphy.clk_term_en | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.clk_trail | 60000 |
| PARAM_VALUE | 3 | opts->mipi_dphy.clk_zero | 262000 |
| PARAM_VALUE | 3 | opts->mipi_dphy.d_term_en | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.eot | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.hs_exit | 100000 |
| PARAM_VALUE | 3 | opts->mipi_dphy.hs_skip | 40000 |
| PARAM_VALUE | 3 | opts->mipi_dphy.init | 100 |
| PARAM_VALUE | 3 | opts->mipi_dphy.lpx | 50000 |
| PARAM_VALUE | 3 | opts->mipi_dphy.ta_get | 250000 |
| PARAM_VALUE | 3 | opts->mipi_dphy.ta_go | 200000 |
| PARAM_VALUE | 3 | opts->mipi_dphy.ta_sure | 50000 |
| PARAM_VALUE | 3 | opts->mipi_dphy.wakeup | 1000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/gpu/drm/bridge/cadence/cdns-dsi-core.c cdns_dsi_round_pclk() -> phy_validate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mode | 16 |
| PARAM_VALUE | 2 | submode | 0 |
| PARAM_VALUE | 3 | opts | 7501866792377872384 |
| PARAM_VALUE | 3 | opts->dp.lanes | 0 |
| PARAM_VALUE | 3 | opts->dp.ssc | 0 |
| PARAM_VALUE | 3 | opts->hdmi.bpc | 0 |
| PARAM_VALUE | 3 | opts->hdmi.tmds_char_rate | 0 |
| PARAM_VALUE | 3 | opts->lvds.bits_per_lane_and_dclk_cycle | 0 |
| PARAM_VALUE | 3 | opts->lvds.differential_clk_rate | 0 |
| PARAM_VALUE | 3 | opts->lvds.is_slave | 0 |
| PARAM_VALUE | 3 | opts->lvds.lanes | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.clk_miss | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.clk_pre | 8 |
| PARAM_VALUE | 3 | opts->mipi_dphy.clk_prepare | 38000 |
| PARAM_VALUE | 3 | opts->mipi_dphy.clk_settle | 95000 |
| PARAM_VALUE | 3 | opts->mipi_dphy.clk_term_en | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.clk_trail | 60000 |
| PARAM_VALUE | 3 | opts->mipi_dphy.clk_zero | 262000 |
| PARAM_VALUE | 3 | opts->mipi_dphy.d_term_en | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.eot | 0 |
| PARAM_VALUE | 3 | opts->mipi_dphy.hs_exit | 100000 |
| PARAM_VALUE | 3 | opts->mipi_dphy.hs_skip | 40000 |
| PARAM_VALUE | 3 | opts->mipi_dphy.init | 100 |
| PARAM_VALUE | 3 | opts->mipi_dphy.lpx | 50000 |
| PARAM_VALUE | 3 | opts->mipi_dphy.ta_get | 250000 |
| PARAM_VALUE | 3 | opts->mipi_dphy.ta_go | 200000 |
| PARAM_VALUE | 3 | opts->mipi_dphy.ta_sure | 50000 |
| PARAM_VALUE | 3 | opts->mipi_dphy.wakeup | 1000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/net/ethernet/freescale/fman/fman_memac.c memac_supports() -> phy_validate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | phy->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->ops->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | phy->ops->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 1 | mode | 15 |
| PARAM_VALUE | 2 | submode | 4,19,22-23,27 |
| PARAM_VALUE | 3 | opts | 0 |
| DATA_SOURCE | 2 | submode | $1 |
drivers/net/ethernet/freescale/dpaa2/dpaa2-mac.c dpaa2_mac_set_supported_interfaces() -> phy_validate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phy | 4096-ptr_max |
| PARAM_VALUE | 0 | phy->dev.power.request | 0-4 |
| PARAM_VALUE | 0 | phy->dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | phy->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | mode | 15 |
| PARAM_VALUE | 2 | submode | 1-37 |
| PARAM_VALUE | 3 | opts | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |