Home
last modified time | relevance | path

Searched refs:port_node (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/drivers/of/
Dproperty.c534 struct device_node *port_node = of_get_parent(node); in of_graph_parse_endpoint() local
536 WARN_ONCE(!port_node, "%s(): endpoint %pOF has no parent node\n", in of_graph_parse_endpoint()
546 of_property_read_u32(port_node, "reg", &endpoint->port); in of_graph_parse_endpoint()
549 of_node_put(port_node); in of_graph_parse_endpoint()
969 struct device_node *port_node = of_get_parent(node); in of_fwnode_graph_parse_endpoint() local
973 of_property_read_u32(port_node, "reg", &endpoint->port); in of_fwnode_graph_parse_endpoint()
976 of_node_put(port_node); in of_fwnode_graph_parse_endpoint()
/Linux-v5.4/drivers/soundwire/
Dstream.c269 list_for_each_entry(p_rt, &s_rt->port_list, port_node) { in sdw_program_port_params()
277 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in sdw_program_port_params()
377 list_for_each_entry(s_port, &s_rt->port_list, port_node) { in sdw_enable_disable_ports()
386 list_for_each_entry(m_port, &m_rt->port_list, port_node) { in sdw_enable_disable_ports()
546 list_for_each_entry(p_rt, &s_rt->port_list, port_node) { in sdw_prep_deprep_ports()
555 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in sdw_prep_deprep_ports()
977 list_for_each_entry_safe(p_rt, _p_rt, &m_rt->port_list, port_node) { in sdw_master_port_release()
978 list_del(&p_rt->port_node); in sdw_master_port_release()
997 &s_rt->port_list, port_node) { in sdw_slave_port_release()
998 list_del(&p_rt->port_node); in sdw_slave_port_release()
[all …]
Dbus.h93 struct list_head port_node; member
/Linux-v5.4/drivers/net/ethernet/freescale/fman/
Dfman_port.c1758 struct device_node *fm_node, *port_node; in fman_port_probe() local
1773 port_node = of_node_get(of_dev->dev.of_node); in fman_port_probe()
1776 fm_node = of_get_parent(port_node); in fman_port_probe()
1790 err = of_property_read_u32(port_node, "cell-index", &val); in fman_port_probe()
1793 __func__, port_node); in fman_port_probe()
1800 if (of_device_is_compatible(port_node, "fsl,fman-v3-port-tx")) { in fman_port_probe()
1803 if (of_find_property(port_node, "fsl,fman-10g-port", &lenp)) in fman_port_probe()
1806 } else if (of_device_is_compatible(port_node, "fsl,fman-v2-port-tx")) { in fman_port_probe()
1813 } else if (of_device_is_compatible(port_node, "fsl,fman-v3-port-rx")) { in fman_port_probe()
1816 if (of_find_property(port_node, "fsl,fman-10g-port", &lenp)) in fman_port_probe()
[all …]
/Linux-v5.4/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c4404 struct device_node *port_node) in mvpp2_simple_queue_vectors_init() argument
4414 v->irq = irq_of_parse_and_map(port_node, 0); in mvpp2_simple_queue_vectors_init()
4426 struct device_node *port_node) in mvpp2_multi_queue_vectors_init() argument
4469 if (port_node) in mvpp2_multi_queue_vectors_init()
4470 v->irq = of_irq_get_byname(port_node, irqname); in mvpp2_multi_queue_vectors_init()
4491 struct device_node *port_node) in mvpp2_queue_vectors_init() argument
4494 return mvpp2_multi_queue_vectors_init(port, port_node); in mvpp2_queue_vectors_init()
4496 return mvpp2_simple_queue_vectors_init(port, port_node); in mvpp2_queue_vectors_init()
4667 static bool mvpp22_port_has_legacy_tx_irqs(struct device_node *port_node, in mvpp22_port_has_legacy_tx_irqs() argument
4675 if (of_property_match_string(port_node, "interrupt-names", in mvpp22_port_has_legacy_tx_irqs()
[all …]
/Linux-v5.4/drivers/net/ethernet/sun/
Dldmvsw.c168 u64 port_node, in vsw_get_vnet() argument
178 mdesc_for_each_arc(a, hp, port_node, MDESC_ARC_TYPE_BACK) { in vsw_get_vnet()
Dsunvnet.c384 u64 port_node, in vnet_find_parent() argument
390 mdesc_for_each_arc(a, hp, port_node, MDESC_ARC_TYPE_BACK) { in vnet_find_parent()