Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/
H A Ddrm_of.c293 static int drm_of_lvds_get_port_pixels_type(struct device_node *port_node) in drm_of_lvds_get_port_pixels_type() argument
296 of_property_read_bool(port_node, "dual-lvds-even-pixels"); in drm_of_lvds_get_port_pixels_type()
298 of_property_read_bool(port_node, "dual-lvds-odd-pixels"); in drm_of_lvds_get_port_pixels_type()
305 const struct device_node *port_node) in drm_of_lvds_get_remote_pixels_type() argument
310 for_each_child_of_node(port_node, endpoint) { in drm_of_lvds_get_remote_pixels_type()
/openbmc/linux/drivers/gpu/drm/bridge/
H A Dlontium-lt8912b.c640 struct device_node *port_node; in lt8912_parse_dt() local
665 port_node = of_graph_get_remote_node(dev->of_node, 1, -1); in lt8912_parse_dt()
666 if (!port_node) { in lt8912_parse_dt()
672 lt->hdmi_port = of_drm_find_bridge(port_node); in lt8912_parse_dt()
679 if (!of_device_is_compatible(port_node, "hdmi-connector")) { in lt8912_parse_dt()
685 of_node_put(port_node); in lt8912_parse_dt()
689 of_node_put(port_node); in lt8912_parse_dt()
/openbmc/linux/drivers/net/ethernet/freescale/fman/
H A Dfman_port.c1746 struct device_node *fm_node, *port_node; in fman_port_probe() local
1762 port_node = of_node_get(of_dev->dev.of_node); in fman_port_probe()
1765 fm_node = of_get_parent(port_node); in fman_port_probe()
1785 err = of_property_read_u32(port_node, "cell-index", &val); in fman_port_probe()
1788 __func__, port_node); in fman_port_probe()
1795 if (of_device_is_compatible(port_node, "fsl,fman-v3-port-tx")) { in fman_port_probe()
1798 if (of_find_property(port_node, "fsl,fman-10g-port", &lenp)) in fman_port_probe()
1801 } else if (of_device_is_compatible(port_node, "fsl,fman-v2-port-tx")) { in fman_port_probe()
1808 } else if (of_device_is_compatible(port_node, "fsl,fman-v3-port-rx")) { in fman_port_probe()
1811 if (of_find_property(port_node, "fsl,fman-10g-port", &lenp)) in fman_port_probe()
[all …]
/openbmc/linux/drivers/soundwire/
H A Dstream.c275 list_for_each_entry(p_rt, &s_rt->port_list, port_node) { in sdw_program_port_params()
283 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in sdw_program_port_params()
383 list_for_each_entry(s_port, &s_rt->port_list, port_node) { in sdw_enable_disable_ports()
392 list_for_each_entry(m_port, &m_rt->port_list, port_node) { in sdw_enable_disable_ports()
557 list_for_each_entry(p_rt, &s_rt->port_list, port_node) { in sdw_prep_deprep_ports()
566 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in sdw_prep_deprep_ports()
895 list_add_tail(&p_rt->port_node, port_list); in sdw_port_alloc()
916 list_del(&p_rt->port_node); in sdw_port_free()
938 &s_rt->port_list, port_node) { in sdw_slave_port_free()
981 list_for_each_entry(p_rt, &s_rt->port_list, port_node) { in sdw_slave_port_config()
[all …]
H A Dgeneric_bandwidth_allocation.c50 list_for_each_entry(p_rt, &s_rt->port_list, port_node) { in sdw_compute_slave_ports()
107 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in sdw_compute_master_ports()
122 port_node))) { in sdw_compute_master_ports()
H A Dbus.h102 struct list_head port_node; member
H A Dqcom.c1063 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in qcom_swrm_compute_params()
1077 list_for_each_entry(p_rt, &s_rt->port_list, port_node) { in qcom_swrm_compute_params()
1129 list_for_each_entry(p_rt, &m_rt->port_list, port_node) in qcom_swrm_stream_free_ports()
1163 list_for_each_entry(p_rt, &s_rt->port_list, port_node) { in qcom_swrm_stream_alloc_ports()
H A Damd_manager.c424 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in amd_sdw_compute_params()
/openbmc/linux/drivers/of/
H A Dproperty.c581 struct device_node *port_node = of_get_parent(node); in of_graph_parse_endpoint() local
583 WARN_ONCE(!port_node, "%s(): endpoint %pOF has no parent node\n", in of_graph_parse_endpoint()
593 of_property_read_u32(port_node, "reg", &endpoint->port); in of_graph_parse_endpoint()
596 of_node_put(port_node); in of_graph_parse_endpoint()
1048 struct device_node *port_node = of_get_parent(node); in of_fwnode_graph_parse_endpoint() local
1052 of_property_read_u32(port_node, "reg", &endpoint->port); in of_fwnode_graph_parse_endpoint()
1055 of_node_put(port_node); in of_fwnode_graph_parse_endpoint()
/openbmc/linux/drivers/net/ethernet/sun/
H A Dldmvsw.c167 u64 port_node, in vsw_get_vnet() argument
177 mdesc_for_each_arc(a, hp, port_node, MDESC_ARC_TYPE_BACK) { in vsw_get_vnet()
H A Dsunvnet.c386 u64 port_node, in vnet_find_parent() argument
392 mdesc_for_each_arc(a, hp, port_node, MDESC_ARC_TYPE_BACK) { in vnet_find_parent()
/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_main.c5801 struct device_node *port_node) in mvpp2_simple_queue_vectors_init() argument
5811 v->irq = irq_of_parse_and_map(port_node, 0); in mvpp2_simple_queue_vectors_init()
5822 struct device_node *port_node) in mvpp2_multi_queue_vectors_init() argument
5865 if (port_node) in mvpp2_multi_queue_vectors_init()
5866 v->irq = of_irq_get_byname(port_node, irqname); in mvpp2_multi_queue_vectors_init()
5886 struct device_node *port_node) in mvpp2_queue_vectors_init() argument
5889 return mvpp2_multi_queue_vectors_init(port, port_node); in mvpp2_queue_vectors_init()
5891 return mvpp2_simple_queue_vectors_init(port, port_node); in mvpp2_queue_vectors_init()
6074 static bool mvpp22_port_has_legacy_tx_irqs(struct device_node *port_node, in mvpp22_port_has_legacy_tx_irqs() argument
6082 if (of_property_match_string(port_node, "interrupt-names", in mvpp22_port_has_legacy_tx_irqs()
[all …]
/openbmc/linux/include/linux/
H A Dstmmac.h244 struct fwnode_handle *port_node; member
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_mdio.c608 fwnode = priv->plat->port_node; in stmmac_mdio_register()
H A Dstmmac_platform.c451 plat->port_node = of_fwnode_handle(np); in stmmac_probe_config_dt()
H A Dstmmac_main.c1157 fwnode = priv->plat->port_node; in stmmac_init_phy()
1237 fwnode = priv->plat->port_node; in stmmac_phy_setup()
/openbmc/u-boot/drivers/net/
H A Dmvpp2.c4705 int port_node = dev_of_offset(dev); in phy_info_parse() local
4718 phy_node = fdtdec_lookup_phandle(gd->fdt_blob, port_node, "phy"); in phy_info_parse()
4742 phy_mode_str = fdt_getprop(gd->fdt_blob, port_node, "phy-mode", NULL); in phy_info_parse()
4750 id = fdtdec_get_int(gd->fdt_blob, port_node, "port-id", -1); in phy_info_parse()
4769 port->phy_speed = fdtdec_get_int(gd->fdt_blob, port_node, in phy_info_parse()
4802 int port_node, in mvpp2_port_probe() argument