/linux-6.6.21/drivers/char/agp/ |
D | intel-gtt.c | 66 struct pci_dev *bridge_dev; member 350 pci_read_config_word(intel_private.bridge_dev, in intel_gtt_stolen_size() 353 if (intel_private.bridge_dev->device == PCI_DEVICE_ID_INTEL_82830_HB || in intel_gtt_stolen_size() 354 intel_private.bridge_dev->device == PCI_DEVICE_ID_INTEL_82845G_HB) { in intel_gtt_stolen_size() 423 dev_info(&intel_private.bridge_dev->dev, "detected %lluK %s memory\n", in intel_gtt_stolen_size() 426 dev_info(&intel_private.bridge_dev->dev, in intel_gtt_stolen_size() 456 pci_read_config_word(intel_private.bridge_dev, in i965_gtt_total_entries() 525 pci_read_config_dword(intel_private.bridge_dev, in intel_gtt_mappable_entries() 536 pci_read_config_word(intel_private.bridge_dev, in intel_gtt_mappable_entries() 622 dev_info(&intel_private.bridge_dev->dev, in intel_gtt_init() [all …]
|
D | sworks-agp.c | 450 struct pci_dev *bridge_dev; in agp_serverworks_probe() local 474 bridge_dev = pci_get_domain_bus_and_slot(pci_domain_nr(pdev->bus), in agp_serverworks_probe() 477 if (!bridge_dev) { in agp_serverworks_probe() 482 serverworks_private.svrwrks_dev = bridge_dev; in agp_serverworks_probe()
|
/linux-6.6.21/drivers/net/ethernet/qualcomm/rmnet/ |
D | rmnet_config.c | 93 struct net_device *bridge_dev, *real_dev, *rmnet_dev; in rmnet_unregister_bridge() local 103 bridge_dev = port->dev; in rmnet_unregister_bridge() 110 bridge_dev = port->bridge_ep; in rmnet_unregister_bridge() 116 netdev_upper_dev_unlink(bridge_dev, rmnet_dev); in rmnet_unregister_bridge() 117 rmnet_unregister_real_device(bridge_dev); in rmnet_unregister_bridge() 193 struct net_device *real_dev, *bridge_dev; in rmnet_dellink() local 204 bridge_dev = real_port->bridge_ep; in rmnet_dellink() 205 if (bridge_dev) { in rmnet_dellink() 206 bridge_port = rmnet_get_port_rtnl(bridge_dev); in rmnet_dellink()
|
D | rmnet_handlers.c | 183 rmnet_bridge_handler(struct sk_buff *skb, struct net_device *bridge_dev) in rmnet_bridge_handler() argument 188 if (bridge_dev) { in rmnet_bridge_handler() 189 skb->dev = bridge_dev; in rmnet_bridge_handler()
|
/linux-6.6.21/drivers/net/dsa/ocelot/ |
D | felix.c | 787 struct net_device *bridge_dev = felix_classify_db(db); in felix_fdb_add() local 791 if (IS_ERR(bridge_dev)) in felix_fdb_add() 792 return PTR_ERR(bridge_dev); in felix_fdb_add() 794 if (dsa_port_is_cpu(dp) && !bridge_dev && in felix_fdb_add() 801 return ocelot_fdb_add(ocelot, port, addr, vid, bridge_dev); in felix_fdb_add() 808 struct net_device *bridge_dev = felix_classify_db(db); in felix_fdb_del() local 812 if (IS_ERR(bridge_dev)) in felix_fdb_del() 813 return PTR_ERR(bridge_dev); in felix_fdb_del() 815 if (dsa_port_is_cpu(dp) && !bridge_dev && in felix_fdb_del() 822 return ocelot_fdb_del(ocelot, port, addr, vid, bridge_dev); in felix_fdb_del() [all …]
|
/linux-6.6.21/net/dsa/ |
D | dsa.h | 34 unsigned int dsa_bridge_num_get(const struct net_device *bridge_dev, int max); 35 void dsa_bridge_num_put(const struct net_device *bridge_dev,
|
D | port.c | 662 struct net_device *bridge_dev; in dsa_port_lag_join() local 674 bridge_dev = netdev_master_upper_dev_get(lag_dev); in dsa_port_lag_join() 675 if (!bridge_dev || !netif_is_bridge_master(bridge_dev)) in dsa_port_lag_join() 678 err = dsa_port_bridge_join(dp, bridge_dev, extack); in dsa_port_lag_join() 1434 struct net_device *bridge_dev = dsa_port_bridge_dev_get(dp); in dsa_port_change_master() local 1445 if (bridge_dev) { in dsa_port_change_master() 1446 dsa_port_pre_bridge_leave(dp, bridge_dev); in dsa_port_change_master() 1447 dsa_port_bridge_leave(dp, bridge_dev); in dsa_port_change_master() 1485 if (bridge_dev) { in dsa_port_change_master() 1486 err = dsa_port_bridge_join(dp, bridge_dev, extack); in dsa_port_change_master() [all …]
|
D | dsa.c | 129 static int dsa_bridge_num_find(const struct net_device *bridge_dev) in dsa_bridge_num_find() argument 136 bridge = dsa_tree_bridge_find(dst, bridge_dev); in dsa_bridge_num_find() 144 unsigned int dsa_bridge_num_get(const struct net_device *bridge_dev, int max) in dsa_bridge_num_get() argument 146 unsigned int bridge_num = dsa_bridge_num_find(bridge_dev); in dsa_bridge_num_get() 170 void dsa_bridge_num_put(const struct net_device *bridge_dev, in dsa_bridge_num_put() argument
|
/linux-6.6.21/drivers/net/ethernet/mscc/ |
D | ocelot_net.c | 1259 struct net_device *bridge_dev, in ocelot_switchdev_sync() argument 1270 ageing_time = br_get_ageing_time(bridge_dev); in ocelot_switchdev_sync() 1274 br_vlan_enabled(bridge_dev), in ocelot_switchdev_sync() 1294 const struct net_device *bridge_dev) in ocelot_bridge_num_get() argument 1296 int bridge_num = ocelot_bridge_num_find(ocelot, bridge_dev); in ocelot_bridge_num_get() 1310 const struct net_device *bridge_dev, in ocelot_bridge_num_put() argument 1316 if (!ocelot_bridge_num_find(ocelot, bridge_dev)) in ocelot_bridge_num_put() 1401 struct net_device *bridge_dev; in ocelot_netdevice_lag_join() local 1410 bridge_dev = netdev_master_upper_dev_get(bond); in ocelot_netdevice_lag_join() 1411 if (!bridge_dev || !netif_is_bridge_master(bridge_dev)) in ocelot_netdevice_lag_join() [all …]
|
/linux-6.6.21/drivers/fpga/ |
D | fpga-bridge.c | 128 struct device *bridge_dev; in fpga_bridge_get() local 130 bridge_dev = class_find_device(&fpga_bridge_class, NULL, dev, in fpga_bridge_get() 132 if (!bridge_dev) in fpga_bridge_get() 135 return __fpga_bridge_get(bridge_dev, info); in fpga_bridge_get()
|
/linux-6.6.21/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-switch.h | 103 struct net_device *bridge_dev; member
|
D | dpaa2-switch.c | 55 struct net_device *bridge_dev) in dpaa2_switch_port_set_fdb() argument 65 if (!bridge_dev) { in dpaa2_switch_port_set_fdb() 74 port_priv->fdb->bridge_dev = NULL; in dpaa2_switch_port_set_fdb() 80 port_priv->fdb->bridge_dev = NULL; in dpaa2_switch_port_set_fdb() 93 netdev_for_each_lower_dev(bridge_dev, other_dev, iter) { in dpaa2_switch_port_set_fdb() 112 port_priv->fdb->bridge_dev = NULL; in dpaa2_switch_port_set_fdb() 119 port_priv->fdb->bridge_dev = bridge_dev; in dpaa2_switch_port_set_fdb() 2454 skb->offload_fwd_mark = !!(port_priv->fdb->bridge_dev); in dpaa2_switch_rx() 3149 fdb->bridge_dev = NULL; in dpaa2_switch_port_init()
|
/linux-6.6.21/include/net/ |
D | dsa.h | 767 const struct net_device *bridge_dev) in dsa_port_offloads_bridge_dev() argument 772 return dsa_port_bridge_dev_get(dp) == bridge_dev; in dsa_port_offloads_bridge_dev() 797 const struct net_device *bridge_dev) in dsa_tree_offloads_bridge_dev() argument 802 if (dsa_port_offloads_bridge_dev(dp, bridge_dev)) in dsa_tree_offloads_bridge_dev()
|
/linux-6.6.21/drivers/net/ethernet/rocker/ |
D | rocker_ofdpa.c | 198 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() 2596 ofdpa_port->bridge_dev = bridge; in ofdpa_port_bridge_join() 2618 ofdpa_port->bridge_dev->ifindex); in ofdpa_port_bridge_leave() 2623 ofdpa_port->bridge_dev = NULL; in ofdpa_port_bridge_leave() 2640 ofdpa_port->bridge_dev = master; in ofdpa_port_ovs_changed()
|
/linux-6.6.21/drivers/video/fbdev/intelfb/ |
D | intelfbhw.c | 176 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()
|