Searched refs:port_np (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.15/drivers/net/ethernet/ti/ |
D | cpsw_new.c | 1222 struct device_node *node = cpsw->dev->of_node, *tmp_node, *port_np; in cpsw_probe_dt() local 1259 for_each_child_of_node(tmp_node, port_np) { in cpsw_probe_dt() 1263 ret = of_property_read_u32(port_np, "reg", &port_id); in cpsw_probe_dt() 1266 port_np, ret); in cpsw_probe_dt() 1272 port_np, port_id); in cpsw_probe_dt() 1279 slave_data->disabled = !of_device_is_available(port_np); in cpsw_probe_dt() 1283 slave_data->slave_node = port_np; in cpsw_probe_dt() 1284 slave_data->ifphy = devm_of_phy_get(dev, port_np, NULL); in cpsw_probe_dt() 1288 port_np, ret); in cpsw_probe_dt() 1292 if (of_phy_is_fixed_link(port_np)) { in cpsw_probe_dt() [all …]
|
D | am65-cpsw-nuss.c | 1827 struct device_node *node, *port_np; in am65_cpsw_nuss_init_slave_ports() local 1835 for_each_child_of_node(node, port_np) { in am65_cpsw_nuss_init_slave_ports() 1840 if (strcmp(port_np->name, "port")) in am65_cpsw_nuss_init_slave_ports() 1843 ret = of_property_read_u32(port_np, "reg", &port_id); in am65_cpsw_nuss_init_slave_ports() 1846 port_np, ret); in am65_cpsw_nuss_init_slave_ports() 1852 port_np, port_id, port_np->name); in am65_cpsw_nuss_init_slave_ports() 1863 port->name = of_get_property(port_np, "label", NULL); in am65_cpsw_nuss_init_slave_ports() 1872 port->disabled = !of_device_is_available(port_np); in am65_cpsw_nuss_init_slave_ports() 1878 port->slave.ifphy = devm_of_phy_get(dev, port_np, NULL); in am65_cpsw_nuss_init_slave_ports() 1882 port_np, ret); in am65_cpsw_nuss_init_slave_ports() [all …]
|
/Linux-v5.15/drivers/usb/core/ |
D | ledtrig-usbport.c | 135 struct device_node *port_np; in usbport_trig_port_observed() local 146 port_np = usb_of_get_device_node(usb_dev, port1); in usbport_trig_port_observed() 147 if (!port_np) in usbport_trig_port_observed() 150 of_node_put(port_np); in usbport_trig_port_observed() 176 if (args.np == port_np) in usbport_trig_port_observed()
|