Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 53 files:

Smatch caller information:

drivers/net/ethernet/mscc/ocelot_net.c ocelot_port_phylink_create() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->properties 4096-ptr_max
PARAM_VALUE 1 interface 8591045259490910208
DATA_SOURCE 0 np $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/arc/emac_rockchip.c emac_rockchip_probe() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 1 interface 7919462525256757248
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/ethernet/freescale/enetc/enetc4_pf.c enetc4_link_init() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 1 interface 4096-ptr_max
DATA_SOURCE 0 np $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_pf_probe() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 np 0,4096-ptr_max
PARAM_VALUE 0 np->properties 0,4096-ptr_max
PARAM_VALUE 1 interface 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/ethernet/ti/cpsw.c cpsw_probe_dt() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->fwnode.ops->get 0,4096-ptr_max
PARAM_VALUE 0 np->properties 0,4096-ptr_max
PARAM_VALUE 1 interface 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/marvell/mv643xx_eth.c get_phy_mode() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 np 1-u64max
PARAM_VALUE 1 interface 7366159520635871232
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/ethernet/marvell/mv643xx_eth.c mv643xx_eth_shared_of_add_port() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->fwnode.ops->get 0,4096-ptr_max
PARAM_VALUE 0 np->kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 np->properties 4096-ptr_max
PARAM_VALUE 1 interface 2937318073494274088
DATA_SOURCE 0 np $1
MEM_ZERO 1 interface
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/xilinx/xilinx_axienet_main.c axienet_probe() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->properties 4096-ptr_max
PARAM_VALUE 1 interface 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/ethernet/freescale/enetc/netc_blk_ctrl.c imx94_link_config() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->properties 4096-ptr_max
PARAM_VALUE 1 interface 7160852371468541952
DATA_SOURCE 0 np $1
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/freescale/enetc/netc_blk_ctrl.c imx95_netcmix_init() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->properties 4096-ptr_max
PARAM_VALUE 1 interface 7175708484359237632
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/mediatek/mtk_eth_soc.c mtk_add_mac() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->properties 4096-ptr_max
PARAM_VALUE 1 interface 2320044771224309760
DATA_SOURCE 0 np $1

drivers/net/ethernet/microchip/sparx5/sparx5_main.c mchp_sparx5_probe() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->properties 4096-ptr_max
PARAM_VALUE 1 interface 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/renesas/rswitch_main.c rswitch_etha_get_params() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->properties 4096-ptr_max
PARAM_VALUE 1 interface 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/ni/nixge.c nixge_probe() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 1 interface 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/dsa/bcm_sf2.c bcm_sf2_identify_ports() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->properties 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/freescale/fman/mac.c mac_probe() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->fwnode.ops->get 0,4096-ptr_max
PARAM_VALUE 0 np->parent 1-u64max
PARAM_VALUE 0 np->properties 4096-ptr_max
PARAM_VALUE 1 interface 219541961457532928
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/ethernet/marvell/mvneta.c mvneta_probe() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 1 interface 659086574596177920
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/ethernet/broadcom/asp2/bcmasp_intf.c bcmasp_interface_create() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->fwnode.ops->get 0,4096-ptr_max
PARAM_VALUE 0 np->properties 4096-ptr_max
PARAM_VALUE 1 interface 4096-ptr_max
DATA_SOURCE 0 np $1
RX_PATH
TASK_NOT_RUNNING

drivers/net/mdio/of_mdio.c of_phy_get_and_connect() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 1 interface 467575925128671232
DATA_SOURCE 0 np $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/ethernet/engleder/tsnep_main.c tsnep_phy_init() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 1 interface 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/ethernet/ti/cpsw_new.c cpsw_probe_dt() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->fwnode.ops->get 0,4096-ptr_max
PARAM_VALUE 0 np->properties 4096-ptr_max
PARAM_VALUE 1 interface 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/socionext/sni_ave.c ave_probe() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 np 1-u64max
PARAM_VALUE 1 interface 7359490638158278656
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/ethernet/renesas/sh_eth.c sh_eth_parse_dt() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 np 1-u64max
PARAM_VALUE 1 interface 4995988228038320128
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/dsa/qca/qca8k-8xxx.c qca8k_parse_port_config() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 1 interface 2294170977417736192
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte
HALF_LOCKED2 global &dsa2_mutex

drivers/net/dsa/qca/qca8k-8xxx.c qca8k_setup_mdio_bus() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->properties 4096-ptr_max
PARAM_VALUE 1 interface 1579614687615827968
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &dsa2_mutex

drivers/net/ethernet/cadence/macb_main.c macb_probe() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 1 interface 5805774270627512320
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/ethernet/socionext/netsec.c netsec_of_probe() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 np 1-u64max
PARAM_VALUE 1 interface 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/ethernet/atheros/ag71xx.c ag71xx_probe() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 1 interface 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

net/dsa/port.c dsa_port_phylink_create() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 1 interface 890784017286070272
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte
LOCK2 global &dsa2_mutex

net/dsa/port.c dsa_shared_port_validate_of() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 np 1-u64max
PARAM_VALUE 1 interface 5963169855439032320
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte
LOCK2 global &dsa2_mutex

drivers/net/ethernet/altera/altera_tse_main.c altera_tse_phy_get_addr_mdio_create() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 1 interface 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/ethernet/renesas/rtsn.c rtsn_get_phy_params() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 1 interface 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/ethernet/samsung/sxgbe/sxgbe_platform.c sxgbe_probe_config_dt() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 np 1-u64max
PARAM_VALUE 1 interface 4096-ptr_max
MEM_ZERO 1 interface
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/ethernet/actions/owl-emac.c owl_emac_probe() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 1 interface 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/dsa/sja1105/sja1105_main.c sja1105_parse_ports_node() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->fwnode.ops->get 0,4096-ptr_max
PARAM_VALUE 0 np->properties 4096-ptr_max
PARAM_VALUE 1 interface 8365041122021822464
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/mediatek/mtk_star_emac.c mtk_star_probe() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 np->fwnode.ops->get 0,4096-ptr_max
PARAM_VALUE 1 interface 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/ethernet/hisilicon/hix5hd2_gmac.c hix5hd2_dev_probe() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 np 0,4096-ptr_max
PARAM_VALUE 0 np->properties 4096-ptr_max
PARAM_VALUE 1 interface 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/ethernet/renesas/ravb_main.c ravb_probe() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 np 1-u64max
PARAM_VALUE 1 interface 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/ethernet/freescale/gianfar.c gfar_of_init() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->properties 0,4096-ptr_max
PARAM_VALUE 1 interface 6068567910531321856
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/ethernet/freescale/fec_main.c fec_probe() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 1 interface 3491753214692888576
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/dsa/ocelot/felix.c felix_parse_ports_node() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->properties 4096-ptr_max
PARAM_VALUE 1 interface 1609018724985634816
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &dsa2_mutex

drivers/net/ethernet/marvell/pxa168_eth.c pxa168_eth_probe() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->properties 4096-ptr_max
PARAM_VALUE 1 interface 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/ethernet/hisilicon/hip04_eth.c hip04_mac_probe() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->fwnode.ops->get 0,4096-ptr_max
PARAM_VALUE 0 np->properties 4096-ptr_max
PARAM_VALUE 1 interface 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/ethernet/spacemit/k1_emac.c emac_phy_connect() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 1 interface 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/ethernet/broadcom/bcmsysport.c bcm_sysport_probe() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 np 0,4096-ptr_max
PARAM_VALUE 0 np->properties 0,4096-ptr_max
PARAM_VALUE 1 interface 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/dsa/mt7530.c mt7530_setup() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->fwnode.ops->get 0,4096-ptr_max
PARAM_VALUE 0 np->properties 4096-ptr_max
PARAM_VALUE 1 interface 5377627944533082112
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &dsa2_mutex

drivers/net/ethernet/sunplus/spl2sw_driver.c spl2sw_probe() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->fwnode.ops->get 0,4096-ptr_max
PARAM_VALUE 0 np->properties 4096-ptr_max
PARAM_VALUE 1 interface 2179276232717660160
DATA_SOURCE 0 np r spl2sw_get_eth_child_node
RX_PATH
TASK_NOT_RUNNING

drivers/net/dsa/microchip/ksz_common.c ksz_switch_register() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 np 1-u64max
PARAM_VALUE 1 interface 1349834304568598528
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/dsa/microchip/ksz_common.c ksz_switch_register() -> of_get_phy_mode()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->properties 4096-ptr_max
PARAM_VALUE 1 interface 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL