Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 24 files:
- drivers/ata/libahci_platform.c, line 367
- drivers/gpu/drm/bridge/imx/imx8qm-ldb.c, line 419
- drivers/gpu/drm/bridge/imx/imx8qxp-ldb.c, line 658
- drivers/gpu/drm/bridge/synopsys/dw-dp.c, line 1995
- drivers/net/ethernet/marvell/mvneta.c, line 5520
- drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c, line 6890
- drivers/net/ethernet/microchip/sparx5/sparx5_main.c, line 872
- drivers/net/ethernet/renesas/rswitch_main.c, line 1541
- drivers/net/ethernet/ti/am65-cpsw-nuss.c, line 2650
- drivers/net/ethernet/ti/cpsw.c, line 1349
- drivers/net/ethernet/ti/cpsw_new.c, line 1309
- drivers/pci/controller/dwc/pci-exynos.c, line 298
- drivers/pci/controller/dwc/pcie-kirin.c, line 658
- drivers/pci/controller/dwc/pcie-nxp-s32g.c, line 253
- drivers/pci/controller/dwc/pcie-qcom.c, line 2037
- drivers/pci/controller/dwc/pcie-spacemit-k1.c, line 263
- drivers/pci/controller/dwc/pcie-stm32.c, line 216
- drivers/pci/controller/pci-aardvark.c, line 1716
- drivers/pci/controller/pcie-aspeed.c, line 933
- drivers/pci/controller/pcie-mt7621.c, line 229
- drivers/pci/controller/pcie-rockchip.c, line 230
- drivers/phy/phy-core.c
- drivers/phy/samsung/phy-exynos5-usbdrd.c, line 2977
- drivers/usb/core/phy.c, line 29
Smatch caller information:
drivers/pci/controller/pcie-rockchip.c rockchip_pcie_get_phys() -> devm_of_phy_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | con_id | 1-u64max |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 2 | con_id | 0-s32max |
| BUF_SIZE | 2 | con_id | 0-s32max |
| CAPPED_DATA | 0 | dev | 1 |
| CAPPED_DATA | 2 | con_id | 1 |
| DATA_SOURCE | 2 | con_id | r kasprintf |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | np | unit_byte |
drivers/net/ethernet/ti/cpsw.c cpsw_probe_dt() -> devm_of_phy_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.last_status | (-1) |
| PARAM_VALUE | 0 | dev->power.request | 0-4 |
| PARAM_VALUE | 0 | dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | dev->type | 0,4096-ptr_max |
| PARAM_VALUE | 1 | np | 4096-ptr_max |
| PARAM_VALUE | 1 | np->fwnode.ops->get | 0,4096-ptr_max |
| PARAM_VALUE | 2 | con_id | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/microchip/sparx5/sparx5_main.c mchp_sparx5_probe() -> devm_of_phy_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 1-u64max |
| PARAM_VALUE | 1 | np | 4096-ptr_max |
| PARAM_VALUE | 1 | np->properties | 4096-ptr_max |
| PARAM_VALUE | 2 | con_id | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/renesas/rswitch_main.c rswitch_ether_port_init_one() -> devm_of_phy_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | con_id | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/core/phy.c usb_phy_roothub_add_phy_by_name() -> devm_of_phy_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node->properties | 4096-ptr_max |
| PARAM_VALUE | 1 | np | 4096-ptr_max |
| PARAM_VALUE | 1 | np->properties | 4096-ptr_max |
| PARAM_VALUE | 2 | con_id | 55452522018037760,2377521526785650688 |
| BUF_SIZE | 2 | con_id | 9 |
| BUF_SIZE | 2 | con_id | 9 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 2 | con_id | $1 |
| STR_LEN | 0 | dev | 8 |
| STR_LEN | 0 | dev | 8 |
| TERMINATED | 2 | con_id | 1 |
| UNITS | 1 | np | unit_byte |
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c mvpp2_port_probe() -> devm_of_phy_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->fwnode | 0,4096-u64max |
| PARAM_VALUE | 1 | np | 4096-ptr_max |
| PARAM_VALUE | 2 | con_id | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/marvell/mvneta.c mvneta_probe() -> devm_of_phy_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 1 | np | 4096-ptr_max |
| PARAM_VALUE | 1 | np->properties | 4096-ptr_max |
| PARAM_VALUE | 2 | con_id | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | np | unit_byte |
drivers/pci/controller/dwc/pcie-qcom.c qcom_pcie_parse_port() -> devm_of_phy_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 1 | np | 4096-ptr_max |
| PARAM_VALUE | 2 | con_id | 0 |
| DATA_SOURCE | 1 | np | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/controller/dwc/pcie-kirin.c kirin_pcie_power_on() -> devm_of_phy_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 2 | con_id | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | np | unit_byte |
drivers/pci/controller/dwc/pci-exynos.c exynos_pcie_probe() -> devm_of_phy_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | con_id | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | np | unit_byte |
drivers/pci/controller/pcie-mt7621.c mt7621_pcie_parse_port() -> devm_of_phy_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 1 | np | 4096-ptr_max |
| PARAM_VALUE | 2 | con_id | 3618678736709349376 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 2 | con_id | 11 |
| DATA_SOURCE | 1 | np | $1 |
| STR_LEN | 0 | dev | 10 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/phy/samsung/phy-exynos5-usbdrd.c exynos5_usbdrd_phy_probe() -> devm_of_phy_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node->properties | 4096-ptr_max |
| PARAM_VALUE | 1 | np | 4096-ptr_max |
| PARAM_VALUE | 1 | np->properties | 4096-ptr_max |
| PARAM_VALUE | 2 | con_id | 9163053583773626368 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 2 | con_id | 3 |
| STR_LEN | 0 | dev | 2 |
| TERMINATED | 2 | con_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | np | unit_byte |
drivers/gpu/drm/bridge/imx/imx8qm-ldb.c imx8qm_ldb_get_phy() -> devm_of_phy_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | con_id | 4948170050787348480 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 2 | con_id | 9 |
| STR_LEN | 0 | dev | 8 |
| TERMINATED | 2 | con_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/phy/phy-core.c devm_of_phy_optional_get() -> devm_of_phy_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | np->fwnode.ops->get | 0,4096-ptr_max |
| BUF_SIZE | 0 | dev | (-1)-0,1616 |
| BUF_SIZE | 0 | dev | (-1)-0,1616 |
| BUF_SIZE | 2 | con_id | (-1)-s32max |
| BUF_SIZE | 2 | con_id | (-1)-s32max |
| CAPPED_DATA | 2 | con_id | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | np | $1 |
| DATA_SOURCE | 2 | con_id | $2 |
| STR_LEN | 0 | dev | (-1),4,6 |
| STR_LEN | 0 | dev | (-1),4,6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | np | unit_byte |
drivers/pci/controller/pcie-aspeed.c aspeed_pcie_parse_port() -> devm_of_phy_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 1 | np | 4096-ptr_max |
| PARAM_VALUE | 2 | con_id | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 1 | np | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/bridge/synopsys/dw-dp.c dw_dp_bind() -> devm_of_phy_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | con_id | 0 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | np | unit_byte |
| HALF_LOCKED2 | global &component_mutex |
drivers/gpu/drm/bridge/imx/imx8qxp-ldb.c imx8qxp_ldb_probe() -> devm_of_phy_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_mem->pfn_base | 0-s64max |
| PARAM_VALUE | 0 | dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | dev->iommu->max_pasids | 0-4294967295 |
| PARAM_VALUE | 0 | dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 2 | con_id | 4948170050787348480 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 2 | con_id | 9 |
| STR_LEN | 0 | dev | 8 |
| TERMINATED | 2 | con_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/controller/pci-aardvark.c advk_pcie_setup_phy() -> devm_of_phy_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 0,4096-ptr_max |
| PARAM_VALUE | 1 | np | 0,4096-ptr_max |
| PARAM_VALUE | 2 | con_id | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | np | unit_byte |
drivers/pci/controller/dwc/pcie-nxp-s32g.c s32g_pcie_parse_port() -> devm_of_phy_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | np | 4096-ptr_max |
| PARAM_VALUE | 2 | con_id | 0 |
| DATA_SOURCE | 1 | np | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/ti/cpsw_new.c cpsw_probe_dt() -> devm_of_phy_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 1-u64max |
| PARAM_VALUE | 1 | np | 4096-ptr_max |
| PARAM_VALUE | 1 | np->fwnode.ops->get | 0,4096-ptr_max |
| PARAM_VALUE | 1 | np->properties | 4096-ptr_max |
| PARAM_VALUE | 2 | con_id | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/controller/dwc/pcie-spacemit-k1.c k1_pcie_parse_port() -> devm_of_phy_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | np | 4096-ptr_max |
| PARAM_VALUE | 2 | con_id | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 1 | np | r of_get_next_available_child |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/controller/dwc/pcie-stm32.c stm32_pcie_parse_port() -> devm_of_phy_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | np | 0,4096-ptr_max |
| PARAM_VALUE | 2 | con_id | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 1 | np | r of_get_next_available_child |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/ata/libahci_platform.c ahci_platform_get_phy() -> devm_of_phy_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_mem->pfn_base | 0-s64max |
| PARAM_VALUE | 2 | con_id | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| CAPPED_DATA | 0 | dev | 1 |
| DATA_SOURCE | 0 | dev | $2 |
| DATA_SOURCE | 1 | np | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | np | unit_byte |