Lines Matching defs:ndev
77 static void cpsw_set_promiscious(struct net_device *ndev, bool enable) in cpsw_set_promiscious()
122 static int cpsw_set_mc(struct net_device *ndev, const u8 *addr, in cpsw_set_mc()
176 static int cpsw_add_mc_addr(struct net_device *ndev, const u8 *addr, int num) in cpsw_add_mc_addr()
193 static int cpsw_del_mc_addr(struct net_device *ndev, const u8 *addr, int num) in cpsw_del_mc_addr()
234 static int cpsw_purge_all_mc(struct net_device *ndev, const u8 *addr, int num) in cpsw_purge_all_mc()
249 static void cpsw_ndo_set_rx_mode(struct net_device *ndev) in cpsw_ndo_set_rx_mode()
288 struct net_device *ndev; in cpsw_rx_handler() local
444 static int cpsw_ndo_vlan_rx_add_vid(struct net_device *ndev, in cpsw_ndo_vlan_rx_add_vid()
654 static void cpsw_adjust_link(struct net_device *ndev) in cpsw_adjust_link()
793 static int cpsw_ndo_stop(struct net_device *ndev) in cpsw_ndo_stop()
831 static int cpsw_ndo_open(struct net_device *ndev) in cpsw_ndo_open()
922 struct net_device *ndev) in cpsw_ndo_start_xmit()
982 static int cpsw_ndo_set_mac_address(struct net_device *ndev, void *p) in cpsw_ndo_set_mac_address()
1018 static int cpsw_ndo_vlan_rx_kill_vid(struct net_device *ndev, in cpsw_ndo_vlan_rx_kill_vid()
1073 static int cpsw_ndo_get_phys_port_name(struct net_device *ndev, char *name, in cpsw_ndo_get_phys_port_name()
1088 static void cpsw_ndo_poll_controller(struct net_device *ndev) in cpsw_ndo_poll_controller()
1099 static int cpsw_ndo_xdp_xmit(struct net_device *ndev, int n, in cpsw_ndo_xdp_xmit()
1124 static int cpsw_get_port_parent_id(struct net_device *ndev, in cpsw_get_port_parent_id()
1157 static void cpsw_get_drvinfo(struct net_device *ndev, in cpsw_get_drvinfo()
1169 static int cpsw_set_pauseparam(struct net_device *ndev, in cpsw_set_pauseparam()
1192 static int cpsw_set_channels(struct net_device *ndev, in cpsw_set_channels()
1383 struct net_device *ndev, *napi_ndev = NULL; in cpsw_create_ports() local
1488 bool cpsw_port_dev_check(const struct net_device *ndev) in cpsw_port_dev_check()
1518 static int cpsw_netdevice_port_link(struct net_device *ndev, in cpsw_netdevice_port_link()
1541 static void cpsw_netdevice_port_unlink(struct net_device *ndev) in cpsw_netdevice_port_unlink()
1558 struct net_device *ndev = netdev_notifier_info_to_dev(ptr); in cpsw_netdevice_event() local
2088 struct net_device *ndev = cpsw->slaves[i].ndev; in cpsw_suspend() local
2116 struct net_device *ndev = cpsw->slaves[i].ndev; in cpsw_resume() local