Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/net/ethernet/freescale/enetc/enetc_pci_mdio.c enetc_pci_mdio_probe() -> enetc_hw_alloc()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 port_regs 65536-131071
BUF_SIZE 0 dev 1616
DATA_SOURCE 1 port_regs r pci_iomap
RX_PATH
TASK_NOT_RUNNING

drivers/net/dsa/netc/netc_main.c netc_port_create_emdio_bus() -> enetc_hw_alloc()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &dsa2_mutex

drivers/net/dsa/ocelot/felix_vsc9959.c vsc9959_mdio_bus_alloc() -> enetc_hw_alloc()

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 port_regs 4096-ptr_max
DATA_SOURCE 1 port_regs r devm_ioremap_resource
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &dsa2_mutex