Home
last modified time | relevance | path

Searched refs:bridge_dev (Results 1 – 25 of 25) sorted by relevance

/kernel/linux/linux-5.10/drivers/char/agp/
Dintel-gtt.c65 struct pci_dev *bridge_dev; member
349 pci_read_config_word(intel_private.bridge_dev, in intel_gtt_stolen_size()
352 if (intel_private.bridge_dev->device == PCI_DEVICE_ID_INTEL_82830_HB || in intel_gtt_stolen_size()
353 intel_private.bridge_dev->device == PCI_DEVICE_ID_INTEL_82845G_HB) { in intel_gtt_stolen_size()
422 dev_info(&intel_private.bridge_dev->dev, "detected %lluK %s memory\n", in intel_gtt_stolen_size()
425 dev_info(&intel_private.bridge_dev->dev, in intel_gtt_stolen_size()
455 pci_read_config_word(intel_private.bridge_dev, in i965_gtt_total_entries()
524 pci_read_config_dword(intel_private.bridge_dev, in intel_gtt_mappable_entries()
535 pci_read_config_word(intel_private.bridge_dev, in intel_gtt_mappable_entries()
624 dev_info(&intel_private.bridge_dev->dev, in intel_gtt_init()
[all …]
Dsworks-agp.c453 struct pci_dev *bridge_dev; in agp_serverworks_probe() local
477 bridge_dev = pci_get_domain_bus_and_slot(pci_domain_nr(pdev->bus), in agp_serverworks_probe()
480 if (!bridge_dev) { in agp_serverworks_probe()
485 serverworks_private.svrwrks_dev = bridge_dev; in agp_serverworks_probe()
/kernel/linux/linux-5.10/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_config.c88 struct net_device *bridge_dev, *real_dev, *rmnet_dev; in rmnet_unregister_bridge() local
98 bridge_dev = port->dev; in rmnet_unregister_bridge()
105 bridge_dev = port->bridge_ep; in rmnet_unregister_bridge()
111 netdev_upper_dev_unlink(bridge_dev, rmnet_dev); in rmnet_unregister_bridge()
112 rmnet_unregister_real_device(bridge_dev); in rmnet_unregister_bridge()
187 struct net_device *real_dev, *bridge_dev; in rmnet_dellink() local
198 bridge_dev = real_port->bridge_ep; in rmnet_dellink()
199 if (bridge_dev) { in rmnet_dellink()
200 bridge_port = rmnet_get_port_rtnl(bridge_dev); in rmnet_dellink()
Drmnet_handlers.c160 rmnet_bridge_handler(struct sk_buff *skb, struct net_device *bridge_dev) in rmnet_bridge_handler() argument
165 if (bridge_dev) { in rmnet_bridge_handler()
166 skb->dev = bridge_dev; in rmnet_bridge_handler()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_drv.c95 dev_priv->bridge_dev = in i915_get_bridge_dev()
97 if (!dev_priv->bridge_dev) { in i915_get_bridge_dev()
114 pci_read_config_dword(dev_priv->bridge_dev, reg + 4, &temp_hi); in intel_alloc_mchbar_resource()
115 pci_read_config_dword(dev_priv->bridge_dev, reg, &temp_lo); in intel_alloc_mchbar_resource()
128 ret = pci_bus_alloc_resource(dev_priv->bridge_dev->bus, in intel_alloc_mchbar_resource()
133 dev_priv->bridge_dev); in intel_alloc_mchbar_resource()
141 pci_write_config_dword(dev_priv->bridge_dev, reg + 4, in intel_alloc_mchbar_resource()
144 pci_write_config_dword(dev_priv->bridge_dev, reg, in intel_alloc_mchbar_resource()
163 pci_read_config_dword(dev_priv->bridge_dev, DEVEN, &temp); in intel_setup_mchbar()
166 pci_read_config_dword(dev_priv->bridge_dev, mchbar_reg, &temp); in intel_setup_mchbar()
[all …]
Di915_drv.h884 struct pci_dev *bridge_dev; member
/kernel/linux/linux-5.10/net/dsa/
Dport.c95 if (!dp->bridge_dev) in dsa_port_enable_rt()
123 if (!dp->bridge_dev) in dsa_port_disable_rt()
155 dp->bridge_dev = br; in dsa_port_bridge_join()
162 dp->bridge_dev = NULL; in dsa_port_bridge_join()
181 dp->bridge_dev = NULL; in dsa_port_bridge_leave()
210 struct net_device *br = dp->bridge_dev; in dsa_port_can_apply_vlan_filtering()
246 other_bridge = dsa_to_port(ds, i)->bridge_dev; in dsa_port_can_apply_vlan_filtering()
252 if (other_bridge == dp->bridge_dev) in dsa_port_can_apply_vlan_filtering()
310 if (!dp->bridge_dev) in dsa_port_skip_vlan_configuration()
314 !br_vlan_enabled(dp->bridge_dev)); in dsa_port_skip_vlan_configuration()
Dslave.c348 if (trans->ph_prepare && br_vlan_enabled(dp->bridge_dev)) { in dsa_slave_vlan_add()
1421 if (!dp->bridge_dev) in dsa_bridge_mtu_normalization()
1437 if (other_dp->bridge_dev != dp->bridge_dev) in dsa_bridge_mtu_normalization()
1982 if (!dp->bridge_dev) in dsa_prevent_bridging_8021q_upper()
1986 if (br_vlan_enabled(dp->bridge_dev) && in dsa_prevent_bridging_8021q_upper()
2001 struct net_device *br = dp->bridge_dev; in dsa_slave_check_8021q_upper()
Ddsa_priv.h204 struct net_device *br = dp->bridge_dev; in dsa_untag_bridge_pvid()
Dswitch.c135 if (dsa_to_port(ds, i)->bridge_dev == info->br) { in dsa_switch_bridge_leave()
/kernel/linux/linux-5.10/drivers/fpga/
Dfpga-bridge.c127 struct device *bridge_dev; in fpga_bridge_get() local
129 bridge_dev = class_find_device(fpga_bridge_class, NULL, dev, in fpga_bridge_get()
131 if (!bridge_dev) in fpga_bridge_get()
134 return __fpga_bridge_get(bridge_dev, info); in fpga_bridge_get()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_vga.c102 if (pci_read_config_word(i915->bridge_dev, reg, &gmch_ctrl)) { in intel_vga_set_state()
115 if (pci_write_config_word(i915->bridge_dev, reg, gmch_ctrl)) { in intel_vga_set_state()
/kernel/linux/linux-5.10/drivers/staging/fsl-dpaa2/ethsw/
Dethsw.h57 struct net_device *bridge_dev; member
Dethsw.c1231 if (ethsw->ports[i]->bridge_dev && in dpaa2_switch_port_bridge_join()
1232 (ethsw->ports[i]->bridge_dev != upper_dev)) { in dpaa2_switch_port_bridge_join()
1253 port_priv->bridge_dev = upper_dev; in dpaa2_switch_port_bridge_join()
1266 port_priv->bridge_dev = NULL; in dpaa2_switch_port_bridge_leave()
/kernel/linux/linux-5.10/drivers/net/ethernet/rocker/
Drocker_ofdpa.c198 struct net_device *bridge_dev; member
276 return ofdpa_port->bridge_dev && in ofdpa_port_is_slave()
277 !strcmp(ofdpa_port->bridge_dev->rtnl_link_ops->kind, kind); in ofdpa_port_is_slave()
2616 ofdpa_port->bridge_dev = bridge; in ofdpa_port_bridge_join()
2630 ofdpa_port->bridge_dev->ifindex); in ofdpa_port_bridge_leave()
2635 ofdpa_port->bridge_dev = NULL; in ofdpa_port_bridge_leave()
2652 ofdpa_port->bridge_dev = master; in ofdpa_port_ovs_changed()
/kernel/linux/linux-5.10/drivers/net/dsa/
Dlantiq_gswip.c747 struct net_device *bridge = dsa_to_port(ds, port)->bridge_dev; in gswip_port_vlan_filtering()
1176 struct net_device *bridge = dsa_to_port(ds, port)->bridge_dev; in gswip_port_vlan_prepare()
1224 struct net_device *bridge = dsa_to_port(ds, port)->bridge_dev; in gswip_port_vlan_add()
1245 struct net_device *bridge = dsa_to_port(ds, port)->bridge_dev; in gswip_port_vlan_del()
1339 struct net_device *bridge = dsa_to_port(ds, port)->bridge_dev; in gswip_port_fdb()
Dqca8k.c1147 if (dsa_to_port(ds, i)->bridge_dev != br) in qca8k_port_bridge_join()
1172 if (dsa_to_port(ds, i)->bridge_dev != br) in qca8k_port_bridge_leave()
Dlan9303-core.c1113 if (dsa_to_port(ds, 1)->bridge_dev == dsa_to_port(ds, 2)->bridge_dev) { in lan9303_port_bridge_join()
Dmt7530.c1066 if (dsa_to_port(ds, i)->bridge_dev != bridge) in mt7530_port_bridge_join()
1163 if (dsa_to_port(ds, i)->bridge_dev != bridge) in mt7530_port_bridge_leave()
/kernel/linux/linux-5.10/drivers/video/fbdev/intelfb/
Dintelfbhw.c176 struct pci_dev *bridge_dev; in intelfbhw_get_memory() local
184 bridge_dev = pci_get_domain_bus_and_slot(pci_domain_nr(pdev->bus), 0, in intelfbhw_get_memory()
186 if (!bridge_dev) { in intelfbhw_get_memory()
193 pci_read_config_word(bridge_dev, INTEL_GMCH_CTRL, &tmp); in intelfbhw_get_memory()
194 pci_dev_put(bridge_dev); in intelfbhw_get_memory()
/kernel/linux/linux-5.10/drivers/net/dsa/mv88e6xxx/
Dchip.c1229 br = dp->bridge_dev; in mv88e6xxx_port_vlan()
1239 (br && dp->bridge_dev == br))) in mv88e6xxx_port_vlan()
1576 if (dsa_to_port(ds, i)->bridge_dev == in mv88e6xxx_port_check_hw_vlan()
1577 dsa_to_port(ds, port)->bridge_dev) in mv88e6xxx_port_check_hw_vlan()
1580 if (!dsa_to_port(ds, i)->bridge_dev) in mv88e6xxx_port_check_hw_vlan()
1585 netdev_name(dsa_to_port(ds, i)->bridge_dev)); in mv88e6xxx_port_check_hw_vlan()
2219 if (dp->bridge_dev == br) { in mv88e6xxx_bridge_map()
/kernel/linux/linux-5.10/include/net/
Ddsa.h216 struct net_device *bridge_dev; member
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/
Dsja1105_main.c1621 if (dsa_to_port(ds, i)->bridge_dev != br) in sja1105_bridge_member()
1935 if (dsa_to_port(ds, port)->bridge_dev != br) in sja1105_crosschip_bridge_join()
1972 if (dsa_to_port(ds, port)->bridge_dev != br) in sja1105_crosschip_bridge_leave()
/kernel/linux/linux-5.10/drivers/net/dsa/b53/
Db53_common.c1830 if (dsa_to_port(ds, i)->bridge_dev != br) in b53_br_join()
1868 if (dsa_to_port(ds, i)->bridge_dev != br) in b53_br_leave()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dintel_ggtt.c1063 ret = intel_gmch_probe(i915->bridge_dev, i915->drm.pdev, NULL); in i915_gmch_probe()