cpu_dp 472 arch/sparc/kernel/pci_sabre.c struct device_node *cpu_dp; cpu_dp 477 arch/sparc/kernel/pci_sabre.c for_each_node_by_type(cpu_dp, "cpu") { cpu_dp 478 arch/sparc/kernel/pci_sabre.c if (of_node_name_eq(cpu_dp, "SUNW,UltraSPARC-IIe")) cpu_dp 527 drivers/net/dsa/b53/b53_common.c cpu_port = ds->ports[port].cpu_dp->index; cpu_dp 1667 drivers/net/dsa/b53/b53_common.c s8 cpu_port = ds->ports[port].cpu_dp->index; cpu_dp 1713 drivers/net/dsa/b53/b53_common.c s8 cpu_port = ds->ports[port].cpu_dp->index; cpu_dp 738 drivers/net/dsa/bcm_sf2.c struct net_device *p = ds->ports[port].cpu_dp->master; cpu_dp 762 drivers/net/dsa/bcm_sf2.c struct net_device *p = ds->ports[port].cpu_dp->master; cpu_dp 764 drivers/net/dsa/bcm_sf2.c s8 cpu_port = ds->ports[port].cpu_dp->index; cpu_dp 824 drivers/net/dsa/bcm_sf2_cfp.c s8 cpu_port = ds->ports[port].cpu_dp->index; cpu_dp 1049 drivers/net/dsa/bcm_sf2_cfp.c struct net_device *p = ds->ports[port].cpu_dp->master; cpu_dp 1092 drivers/net/dsa/bcm_sf2_cfp.c struct net_device *p = ds->ports[port].cpu_dp->master; cpu_dp 143 drivers/net/dsa/mv88e6060.c BIT(dsa_to_port(priv->ds, p)->cpu_dp->index))); cpu_dp 128 include/net/dsa.h struct dsa_port *cpu_dp; cpu_dp 186 include/net/dsa.h struct dsa_port *cpu_dp; cpu_dp 334 include/net/dsa.h const struct dsa_port *cpu_dp = dp->cpu_dp; cpu_dp 336 include/net/dsa.h if (!cpu_dp) cpu_dp 339 include/net/dsa.h return dsa_towards_port(ds, cpu_dp->ds->index, cpu_dp->index); cpu_dp 206 net/dsa/dsa.c struct dsa_port *cpu_dp = dev->dsa_ptr; cpu_dp 211 net/dsa/dsa.c if (unlikely(!cpu_dp)) { cpu_dp 220 net/dsa/dsa.c nskb = cpu_dp->rcv(skb, dev, pt); cpu_dp 226 net/dsa/dsa2.c dst->cpu_dp = dsa_tree_find_first_cpu(dst); cpu_dp 227 net/dsa/dsa2.c if (!dst->cpu_dp) { cpu_dp 242 net/dsa/dsa2.c dp->cpu_dp = dst->cpu_dp; cpu_dp 252 net/dsa/dsa2.c dst->cpu_dp = NULL; cpu_dp 511 net/dsa/dsa2.c struct dsa_port *cpu_dp = dst->cpu_dp; cpu_dp 512 net/dsa/dsa2.c struct net_device *master = cpu_dp->master; cpu_dp 515 net/dsa/dsa2.c return dsa_master_setup(master, cpu_dp); cpu_dp 520 net/dsa/dsa2.c struct dsa_port *cpu_dp = dst->cpu_dp; cpu_dp 521 net/dsa/dsa2.c struct net_device *master = cpu_dp->master; cpu_dp 99 net/dsa/dsa_priv.h int dsa_master_setup(struct net_device *dev, struct dsa_port *cpu_dp); cpu_dp 105 net/dsa/dsa_priv.h struct dsa_port *cpu_dp = dev->dsa_ptr; cpu_dp 106 net/dsa/dsa_priv.h struct dsa_switch_tree *dst = cpu_dp->dst; cpu_dp 208 net/dsa/dsa_priv.h return dp->cpu_dp->master; cpu_dp 13 net/dsa/master.c struct dsa_port *cpu_dp = dev->dsa_ptr; cpu_dp 14 net/dsa/master.c const struct ethtool_ops *ops = cpu_dp->orig_ethtool_ops; cpu_dp 15 net/dsa/master.c struct dsa_switch *ds = cpu_dp->ds; cpu_dp 16 net/dsa/master.c int port = cpu_dp->index; cpu_dp 43 net/dsa/master.c struct dsa_port *cpu_dp = dev->dsa_ptr; cpu_dp 44 net/dsa/master.c const struct ethtool_ops *ops = cpu_dp->orig_ethtool_ops; cpu_dp 45 net/dsa/master.c struct dsa_switch *ds = cpu_dp->ds; cpu_dp 48 net/dsa/master.c int port = cpu_dp->index; cpu_dp 79 net/dsa/master.c struct dsa_port *cpu_dp = dev->dsa_ptr; cpu_dp 80 net/dsa/master.c const struct ethtool_ops *ops = cpu_dp->orig_ethtool_ops; cpu_dp 81 net/dsa/master.c struct dsa_switch *ds = cpu_dp->ds; cpu_dp 82 net/dsa/master.c int port = cpu_dp->index; cpu_dp 98 net/dsa/master.c struct dsa_port *cpu_dp = dev->dsa_ptr; cpu_dp 99 net/dsa/master.c const struct ethtool_ops *ops = cpu_dp->orig_ethtool_ops; cpu_dp 100 net/dsa/master.c struct dsa_switch *ds = cpu_dp->ds; cpu_dp 101 net/dsa/master.c int port = cpu_dp->index; cpu_dp 122 net/dsa/master.c struct dsa_port *cpu_dp = dev->dsa_ptr; cpu_dp 123 net/dsa/master.c const struct ethtool_ops *ops = cpu_dp->orig_ethtool_ops; cpu_dp 124 net/dsa/master.c struct dsa_switch *ds = cpu_dp->ds; cpu_dp 137 net/dsa/master.c count += ds->ops->get_sset_count(ds, cpu_dp->index, sset); cpu_dp 145 net/dsa/master.c struct dsa_port *cpu_dp = dev->dsa_ptr; cpu_dp 146 net/dsa/master.c const struct ethtool_ops *ops = cpu_dp->orig_ethtool_ops; cpu_dp 147 net/dsa/master.c struct dsa_switch *ds = cpu_dp->ds; cpu_dp 148 net/dsa/master.c int port = cpu_dp->index; cpu_dp 192 net/dsa/master.c struct dsa_port *cpu_dp = dev->dsa_ptr; cpu_dp 194 net/dsa/master.c if (snprintf(name, len, "p%d", cpu_dp->index) >= len) cpu_dp 202 net/dsa/master.c struct dsa_port *cpu_dp = dev->dsa_ptr; cpu_dp 203 net/dsa/master.c struct dsa_switch *ds = cpu_dp->ds; cpu_dp 210 net/dsa/master.c cpu_dp->orig_ethtool_ops = dev->ethtool_ops; cpu_dp 211 net/dsa/master.c if (cpu_dp->orig_ethtool_ops) cpu_dp 212 net/dsa/master.c memcpy(ops, cpu_dp->orig_ethtool_ops, sizeof(*ops)); cpu_dp 228 net/dsa/master.c struct dsa_port *cpu_dp = dev->dsa_ptr; cpu_dp 230 net/dsa/master.c dev->ethtool_ops = cpu_dp->orig_ethtool_ops; cpu_dp 231 net/dsa/master.c cpu_dp->orig_ethtool_ops = NULL; cpu_dp 236 net/dsa/master.c struct dsa_port *cpu_dp = dev->dsa_ptr; cpu_dp 237 net/dsa/master.c struct dsa_switch *ds = cpu_dp->ds; cpu_dp 247 net/dsa/master.c cpu_dp->orig_ndo_ops = dev->netdev_ops; cpu_dp 248 net/dsa/master.c if (cpu_dp->orig_ndo_ops) cpu_dp 249 net/dsa/master.c memcpy(ops, cpu_dp->orig_ndo_ops, sizeof(*ops)); cpu_dp 260 net/dsa/master.c struct dsa_port *cpu_dp = dev->dsa_ptr; cpu_dp 262 net/dsa/master.c if (cpu_dp->orig_ndo_ops) cpu_dp 263 net/dsa/master.c dev->netdev_ops = cpu_dp->orig_ndo_ops; cpu_dp 264 net/dsa/master.c cpu_dp->orig_ndo_ops = NULL; cpu_dp 271 net/dsa/master.c struct dsa_port *cpu_dp = dev->dsa_ptr; cpu_dp 274 net/dsa/master.c dsa_tag_protocol_to_str(cpu_dp->tag_ops)); cpu_dp 288 net/dsa/master.c static void dsa_master_set_mtu(struct net_device *dev, struct dsa_port *cpu_dp) cpu_dp 290 net/dsa/master.c unsigned int mtu = ETH_DATA_LEN + cpu_dp->tag_ops->overhead; cpu_dp 314 net/dsa/master.c int dsa_master_setup(struct net_device *dev, struct dsa_port *cpu_dp) cpu_dp 318 net/dsa/master.c dsa_master_set_mtu(dev, cpu_dp); cpu_dp 326 net/dsa/master.c dev->dsa_ptr = cpu_dp; cpu_dp 301 net/dsa/slave.c ret = dsa_port_mrouter(dp->cpu_dp, attr->u.mrouter, trans); cpu_dp 337 net/dsa/slave.c err = dsa_port_vlan_add(dp->cpu_dp, &vlan, trans); cpu_dp 367 net/dsa/slave.c err = dsa_port_mdb_add(dp->cpu_dp, SWITCHDEV_OBJ_PORT_MDB(obj), cpu_dp 414 net/dsa/slave.c err = dsa_port_mdb_del(dp->cpu_dp, SWITCHDEV_OBJ_PORT_MDB(obj)); cpu_dp 1137 net/dsa/slave.c ret = dsa_port_vid_add(dp->cpu_dp, vid, 0); cpu_dp 1391 net/dsa/slave.c const struct dsa_port *cpu_dp = port->cpu_dp; cpu_dp 1392 net/dsa/slave.c struct net_device *master = cpu_dp->master; cpu_dp 1438 net/dsa/slave.c p->xmit = cpu_dp->tag_ops->xmit; cpu_dp 166 net/dsa/tag_8021q.c return dsa_port_vid_add(dp->cpu_dp, vid, vinfo.flags);