Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 15 files:
- drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-core.c, line 2306
- drivers/gpu/drm/rockchip/cdn-dp-core.c, line 1119
- drivers/gpu/drm/rockchip/dw_hdmi_qp-rockchip.c, line 652
- drivers/pci/controller/dwc/pcie-armada8k.c, line 119
- drivers/pci/controller/pcie-xilinx-nwl.c, line 807
- drivers/phy/phy-core.c, line 987
- drivers/ufs/host/ufs-mediatek.c, line 309
- drivers/usb/core/phy.c, line 52
- drivers/usb/gadget/udc/bdc/bdc_core.c, line 524
- drivers/usb/gadget/udc/snps_udc_plat.c, line 139
- drivers/usb/host/ehci-exynos.c, line 59
- drivers/usb/host/ohci-exynos.c, line 48
- drivers/usb/mtu3/mtu3_plat.c, line 255
- drivers/usb/musb/jz4740.c, line 117
- drivers/usb/musb/mediatek.c, line 454
Smatch caller information:
drivers/usb/musb/mediatek.c mtk_musb_probe() -> devm_of_phy_get_by_index()
| 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->kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node->kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | np->kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 1 | np->kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 2 | index | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | np | unit_byte |
drivers/gpu/drm/rockchip/cdn-dp-core.c cdn_dp_probe() -> devm_of_phy_get_by_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | index | 0-254 |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | np | unit_byte |
drivers/usb/core/phy.c usb_phy_roothub_add_phy() -> devm_of_phy_get_by_index()
| 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 | index | 0-s32max |
| CAPPED_DATA | 0 | dev | 1 |
| CAPPED_DATA | 2 | index | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 2 | index | $1 |
| UNITS | 1 | np | unit_byte |
drivers/pci/controller/dwc/pcie-armada8k.c armada8k_pcie_setup_phys() -> devm_of_phy_get_by_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 2 | index | 0-3 |
| FUZZY_MAX | 2 | index | 3 |
| HARD_MAX | 2 | index | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | np | unit_byte |
drivers/usb/gadget/udc/snps_udc_plat.c udc_plat_probe() -> devm_of_phy_get_by_index()
| 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 | 1-u64max |
| PARAM_VALUE | 2 | index | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | np | unit_byte |
drivers/usb/gadget/udc/bdc/bdc_core.c bdc_probe() -> devm_of_phy_get_by_index()
| 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->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 0,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 | index | 0-s32max |
| BUF_SIZE | 0 | dev | 1616 |
| CAPPED_DATA | 2 | index | 1 |
| CONSTRAINT | 2 | index | <650 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | index | |
| UNITS | 1 | np | unit_byte |
| UNITS | 2 | index | unit_array_size |
drivers/pci/controller/pcie-xilinx-nwl.c nwl_pcie_parse_dt() -> devm_of_phy_get_by_index()
| 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 | 0,4096-ptr_max |
| PARAM_VALUE | 1 | np | 0,4096-ptr_max |
| PARAM_VALUE | 2 | index | 0-3 |
| BUF_SIZE | 0 | dev | 1616 |
| FUZZY_MAX | 2 | index | 3 |
| HARD_MAX | 2 | index | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | np | unit_byte |
| UNITS | 2 | index | unit_array_size |
drivers/usb/host/ehci-exynos.c exynos_ehci_get_phy() -> devm_of_phy_get_by_index()
| 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->dma_mask | 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 | index | 0-s32max |
| CAPPED_DATA | 2 | index | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | np | unit_byte |
drivers/usb/host/ohci-exynos.c exynos_ohci_get_phy() -> devm_of_phy_get_by_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_mask | 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 | index | 0-s32max |
| CAPPED_DATA | 2 | index | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | np | unit_byte |
drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-core.c cdns_mhdp_probe() -> devm_of_phy_get_by_index()
| 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 | 2 | index | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | np | unit_byte |
drivers/usb/mtu3/mtu3_plat.c get_ssusb_rscs() -> devm_of_phy_get_by_index()
| 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->power.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | np | 4096-ptr_max |
| PARAM_VALUE | 1 | np->properties | 4096-ptr_max |
| PARAM_VALUE | 2 | index | 0-s32max |
| BUF_SIZE | 0 | dev | 1616 |
| CAPPED_DATA | 2 | index | 1 |
| CONSTRAINT | 2 | index | <630 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | index | |
| UNITS | 1 | np | unit_byte |
| UNITS | 2 | index | unit_array_size |
drivers/gpu/drm/rockchip/dw_hdmi_qp-rockchip.c dw_hdmi_qp_rockchip_bind() -> devm_of_phy_get_by_index()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 1-u64max |
| PARAM_VALUE | 1 | np | 1-u64max |
| PARAM_VALUE | 2 | index | 0 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | np | unit_byte |
| HALF_LOCKED2 | global &component_mutex |