Home
last modified time | relevance | path

Searched refs:port_dn (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/include/linux/platform_data/
Ddsa.h41 struct device_node *port_dn[DSA_MAX_PORTS]; member
/linux-6.6.21/drivers/net/dsa/qca/
Dqca8k-8xxx.c1149 struct device_node *port_dn; in qca8k_parse_port_config() local
1161 port_dn = dp->dn; in qca8k_parse_port_config()
1164 if (!of_device_is_available(port_dn)) in qca8k_parse_port_config()
1167 ret = of_get_phy_mode(port_dn, &mode); in qca8k_parse_port_config()
1179 if (!of_property_read_u32(port_dn, "tx-internal-delay-ps", &delay)) in qca8k_parse_port_config()
1195 if (!of_property_read_u32(port_dn, "rx-internal-delay-ps", &delay)) in qca8k_parse_port_config()
1216 if (of_property_read_bool(port_dn, "qca,sgmii-txclk-falling-edge")) in qca8k_parse_port_config()
1219 if (of_property_read_bool(port_dn, "qca,sgmii-rxclk-falling-edge")) in qca8k_parse_port_config()
1222 if (of_property_read_bool(port_dn, "qca,sgmii-enable-pll")) { in qca8k_parse_port_config()
/linux-6.6.21/net/dsa/
Dport.c1796 struct device_node *port_dn = dp->dn; in dsa_shared_port_phylink_register() local
1806 err = phylink_of_phy_connect(dp->pl, port_dn, 0); in dsa_shared_port_phylink_register()
Dslave.c2494 struct device_node *port_dn = dp->dn; in dsa_slave_phy_setup() local
2518 ret = phylink_of_phy_connect(dp->pl, port_dn, phy_flags); in dsa_slave_phy_setup()
/linux-6.6.21/drivers/net/dsa/microchip/
Dksz_common.c3505 struct device_node *port_dn) in ksz_parse_rgmii_delay() argument
3513 of_property_read_u32(port_dn, "rx-internal-delay-ps", &rx_delay); in ksz_parse_rgmii_delay()
3514 of_property_read_u32(port_dn, "tx-internal-delay-ps", &tx_delay); in ksz_parse_rgmii_delay()
/linux-6.6.21/drivers/net/dsa/sja1105/
Dsja1105_main.c1131 struct device_node *port_dn) in sja1105_parse_rgmii_delays() argument
1140 of_property_read_u32(port_dn, "rx-internal-delay-ps", &rx_delay); in sja1105_parse_rgmii_delays()
1141 of_property_read_u32(port_dn, "tx-internal-delay-ps", &tx_delay); in sja1105_parse_rgmii_delays()