Lines Matching refs:parent
53 ds->slave_mii_bus->parent = ds->master_dev; in dsa_slave_mii_bus_init()
63 return p->parent->dst->master_netdev->ifindex; in dsa_slave_get_iflink()
74 struct net_device *master = p->parent->dst->master_netdev; in dsa_slave_open()
75 struct dsa_switch *ds = p->parent; in dsa_slave_open()
130 struct net_device *master = p->parent->dst->master_netdev; in dsa_slave_close()
131 struct dsa_switch *ds = p->parent; in dsa_slave_close()
158 struct net_device *master = p->parent->dst->master_netdev; in dsa_slave_change_rx_flags()
173 struct net_device *master = p->parent->dst->master_netdev; in dsa_slave_set_rx_mode()
182 struct net_device *master = p->parent->dst->master_netdev; in dsa_slave_set_mac_address()
253 struct dsa_switch *ds = p->parent; in dsa_slave_port_vlan_add()
285 struct dsa_switch *ds = p->parent; in dsa_slave_port_vlan_del()
298 struct dsa_switch *ds = p->parent; in dsa_slave_port_vlan_dump()
341 struct dsa_switch *ds = p->parent; in dsa_slave_port_fdb_add()
359 struct dsa_switch *ds = p->parent; in dsa_slave_port_fdb_del()
373 struct dsa_switch *ds = p->parent; in dsa_slave_port_fdb_dump()
419 struct dsa_switch *ds = p->parent; in dsa_slave_stp_update()
433 struct dsa_switch *ds = p->parent; in dsa_slave_port_attr_set()
533 struct dsa_switch *ds = p->parent; in dsa_slave_bridge_port_join()
548 struct dsa_switch *ds = p->parent; in dsa_slave_bridge_port_leave()
570 struct dsa_switch *ds = p->parent; in dsa_slave_port_attr_get()
618 nskb->dev = p->parent->dst->master_netdev; in dsa_slave_xmit()
672 struct dsa_switch *ds = p->parent; in dsa_slave_get_regs_len()
684 struct dsa_switch *ds = p->parent; in dsa_slave_get_regs()
715 struct dsa_switch *ds = p->parent; in dsa_slave_get_eeprom_len()
730 struct dsa_switch *ds = p->parent; in dsa_slave_get_eeprom()
742 struct dsa_switch *ds = p->parent; in dsa_slave_set_eeprom()
754 struct dsa_switch *ds = p->parent; in dsa_slave_get_strings()
773 struct dsa_switch *ds = p->parent; in dsa_slave_get_ethtool_stats()
786 struct dsa_switch *ds = p->parent; in dsa_slave_get_sset_count()
804 struct dsa_switch *ds = p->parent; in dsa_slave_get_wol()
813 struct dsa_switch *ds = p->parent; in dsa_slave_set_wol()
825 struct dsa_switch *ds = p->parent; in dsa_slave_set_eee()
844 struct dsa_switch *ds = p->parent; in dsa_slave_get_eee()
865 struct dsa_switch *ds = p->parent; in dsa_slave_netpoll_setup()
960 struct dsa_switch *ds = p->parent; in dsa_slave_adjust_link()
989 struct dsa_switch *ds = p->parent; in dsa_slave_fixed_link_update()
1002 struct dsa_switch *ds = p->parent; in dsa_slave_phy_connect()
1020 struct dsa_switch *ds = p->parent; in dsa_slave_phy_setup()
1142 int dsa_slave_create(struct dsa_switch *ds, struct device *parent, in dsa_slave_create() argument
1166 SET_NETDEV_DEV(slave_dev, parent); in dsa_slave_create()
1172 p->parent = ds; in dsa_slave_create()