Searched refs:netdev (Results 1 - 25 of 75) sorted by relevance

123

/netgear-R7800-V1.0.2.28/package/qca-nss-gmac/src/include/
H A Dnss_gmac_network_interface.h44 struct net_device *netdev);
45 int32_t nss_gmac_linux_close(struct net_device *netdev);
46 int32_t nss_gmac_linux_open(struct net_device *netdev);
47 int32_t nss_gmac_linux_change_mtu(struct net_device *netdev, int32_t newmtu);
48 void nss_gmac_linux_tx_timeout(struct net_device *netdev);
51 void nss_gmac_receive(struct net_device *netdev, struct sk_buff *skb,
56 void nss_gmac_ethtool_register(struct net_device *netdev);
61 void nss_gmac_adjust_link(struct net_device *netdev);
/netgear-R7800-V1.0.2.28/package/qca-nss-gmac/src/ipq806x/include/
H A Dnss_gmac_network_interface.h40 struct net_device *netdev);
41 int32_t nss_gmac_close(struct net_device *netdev);
42 int32_t nss_gmac_open(struct net_device *netdev);
43 int32_t nss_gmac_change_mtu(struct net_device *netdev, int32_t newmtu);
44 void nss_gmac_tx_timeout(struct net_device *netdev);
47 void nss_gmac_receive(struct net_device *netdev, struct sk_buff *skb,
52 void nss_gmac_ethtool_register(struct net_device *netdev);
57 void nss_gmac_adjust_link(struct net_device *netdev);
/netgear-R7800-V1.0.2.28/package/qca-nss-gmac/src/qca-nss-gmac/ipq806x/include/
H A Dnss_gmac_network_interface.h40 struct net_device *netdev);
41 int32_t nss_gmac_close(struct net_device *netdev);
42 int32_t nss_gmac_open(struct net_device *netdev);
43 int32_t nss_gmac_change_mtu(struct net_device *netdev, int32_t newmtu);
44 void nss_gmac_tx_timeout(struct net_device *netdev);
47 void nss_gmac_receive(struct net_device *netdev, struct sk_buff *skb,
52 void nss_gmac_ethtool_register(struct net_device *netdev);
57 void nss_gmac_adjust_link(struct net_device *netdev);
/netgear-R7800-V1.0.2.28/target/linux/ar71xx/files/arch/mips/ath79/
H A Ddev-dsa.h17 void ath79_register_dsa(struct device *netdev,
H A Ddev-dsa.c24 void __init ath79_register_dsa(struct device *netdev, argument
30 d->netdev = netdev;
/netgear-R7800-V1.0.2.28/package/qca-nss-gmac/src/ipq806x/
H A Dnss_gmac_tx_rx_offload.c166 netdev_dbg(gmacdev->netdev, "Total size of memory required for Tx Descriptors in Ring Mode = 0x%08x\n"
172 netdev_dbg(gmacdev->netdev,
180 netdev_dbg(gmacdev->netdev, "Tx Descriptors in Ring Mode: No. of descriptors = %d base = 0x%08x dma = 0x%08x\n"
237 netdev_dbg(gmacdev->netdev, "total size of memory required for Rx Descriptors in Ring Mode = 0x%08x\n"
243 netdev_dbg(gmacdev->netdev, "Error in Rx Descriptor Memory allocation in Ring mode\n");
250 netdev_dbg(gmacdev->netdev, "Rx Descriptors in Ring Mode: No. of descriptors = %d base = 0x%08x dma = 0x%08x\n",
276 skb = __netdev_alloc_skb(gmacdev->netdev,
279 netdev_dbg(gmacdev->netdev, "Unable to allocate skb, will try next time\n");
283 dma_addr = dma_map_single(&gmacdev->netdev->dev, skb->data,
319 dma_unmap_single(&gmacdev->netdev
470 struct net_device *netdev = (struct net_device *)app_data; local
496 struct net_device *netdev = (struct net_device *)app_data; local
537 nss_gmac_slowpath_if_set_features(struct net_device *netdev) argument
639 struct net_device *netdev = NULL; local
694 nss_gmac_receive(struct net_device *netdev, struct sk_buff *skb, struct napi_struct *napi) argument
826 struct net_device *netdev = NULL; local
876 struct net_device *netdev = gmacdev->netdev; local
941 struct net_device *netdev = gmacdev->netdev; local
961 nss_gmac_adjust_link(struct net_device *netdev) argument
1021 nss_gmac_xmit_frames(struct sk_buff *skb, struct net_device *netdev) argument
1081 nss_gmac_open(struct net_device *netdev) argument
1174 nss_gmac_close(struct net_device *netdev) argument
1211 nss_gmac_tx_timeout(struct net_device *netdev) argument
1233 nss_gmac_change_mtu(struct net_device *netdev, int32_t newmtu) argument
1266 nss_gmac_is_in_open_state(struct net_device *netdev) argument
1280 nss_gmac_reset_netdev_features(struct net_device *netdev) argument
1296 nss_gmac_override_data_plane(struct net_device *netdev, struct nss_gmac_data_plane_ops *dp_ops, void *ctx) argument
1334 nss_gmac_start_data_plane(struct net_device *netdev, void *ctx) argument
1356 nss_gmac_restore_data_plane(struct net_device *netdev) argument
[all...]
H A Dnss_gmac_ctrl.c221 netdev_dbg(gmacdev->netdev, "Memory allocated %08x for Rx Descriptors (ring) is given back\n"
277 netdev_dbg(gmacdev->netdev, "Memory allocated %08x for Tx Descriptors (ring) is given back\n"
323 struct rtnl_link_stats64 *nss_gmac_get_stats64(struct net_device *netdev, argument
328 gmacdev = (struct nss_gmac_dev *)netdev_priv(netdev);
345 static int32_t nss_gmac_set_mac_address(struct net_device *netdev, argument
351 gmacdev = (struct nss_gmac_dev *)netdev_priv(netdev);
353 BUG_ON(gmacdev->netdev != netdev);
355 netdev_dbg(netdev, "%s: AddrFamily: %d, %0x:%0x:%0x:%0x:%0x:%0x\n",
366 netdev
708 nss_gmac_do_ioctl(struct net_device *netdev, struct ifreq *ifr, int32_t cmd) argument
754 nss_gmac_mdio_mii_ioctl_read(struct net_device *netdev, int phy_addr, int mmd, uint16_t addr) argument
793 nss_gmac_mdio_mii_ioctl_write(struct net_device *netdev, int phy_addr, int mmd, uint16_t addr, uint16_t value) argument
833 nss_gmac_set_rx_mode(struct net_device *netdev) argument
862 nss_gmac_set_features(struct net_device *netdev, netdev_features_t features) argument
955 nss_gmac_of_get_pdata(struct device_node *np, struct net_device *netdev, struct msm_nss_gmac_platform_data *gmaccfg) argument
1119 struct net_device *netdev = NULL; local
[all...]
H A Dnss_gmac_ethtool.c116 static int32_t nss_gmac_get_strset_count(struct net_device *netdev, argument
128 netdev_dbg(netdev, "%s: Invalid string set\n", __func__);
140 static void nss_gmac_get_strings(struct net_device *netdev, uint32_t stringset, argument
173 static void nss_gmac_get_ethtool_stats(struct net_device *netdev, argument
176 struct nss_gmac_dev *gmacdev = netdev_priv(netdev);
211 static void nss_gmac_get_pauseparam(struct net_device *netdev, argument
216 gmacdev = (struct nss_gmac_dev *)netdev_priv(netdev);
218 BUG_ON(gmacdev->netdev != netdev);
231 static int nss_gmac_set_pauseparam(struct net_device *netdev, argument
277 nss_gmac_nway_reset(struct net_device *netdev) argument
309 nss_gmac_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) argument
320 nss_gmac_get_msglevel(struct net_device *netdev) argument
330 nss_gmac_get_settings(struct net_device *netdev, struct ethtool_cmd *ecmd) argument
431 nss_gmac_set_settings(struct net_device *netdev, struct ethtool_cmd *ecmd) argument
477 nss_gmac_set_priv_flags(struct net_device *netdev, u32 flags) argument
513 nss_gmac_get_priv_flags(struct net_device *netdev) argument
545 nss_gmac_ethtool_register(struct net_device *netdev) argument
[all...]
H A Dnss_gmac_dev.c177 netdev_dbg(gmacdev->netdev, "Error: Reading uninitialized PHY...\n");
199 netdev_dbg(gmacdev->netdev, "Error: Writing uninitialized PHY...\n");
223 netdev_dbg(gmacdev->netdev, "Phy %u reset OK\n", phyid);
254 struct net_device *netdev = NULL; local
256 netdev = gmacdev->netdev;
259 netdev_dbg(netdev, "%s: %s resetting...\n",
260 __func__, netdev->name);
273 netdev_dbg(netdev, "GMAC reset completed in %d jiffies; dma_bus_mode - 0x%x\n", (int)(jiffies - reset_time), data);
852 netdev_dbg(gmacdev->netdev, "
1439 struct net_device *netdev = NULL; local
[all...]
/netgear-R7800-V1.0.2.28/package/qca-nss-gmac/src/qca-nss-gmac/ipq806x/
H A Dnss_gmac_tx_rx_offload.c86 netdev_dbg(gmacdev->netdev, "Total size of memory required for Tx Descriptors in Ring Mode = 0x%08x\n"
92 netdev_dbg(gmacdev->netdev,
100 netdev_dbg(gmacdev->netdev, "Tx Descriptors in Ring Mode: No. of descriptors = %d base = 0x%08x dma = 0x%08x\n"
157 netdev_dbg(gmacdev->netdev, "total size of memory required for Rx Descriptors in Ring Mode = 0x%08x\n"
163 netdev_dbg(gmacdev->netdev, "Error in Rx Descriptor Memory allocation in Ring mode\n");
170 netdev_dbg(gmacdev->netdev, "Rx Descriptors in Ring Mode: No. of descriptors = %d base = 0x%08x dma = 0x%08x\n",
196 skb = __netdev_alloc_skb(gmacdev->netdev,
199 netdev_dbg(gmacdev->netdev, "Unable to allocate skb, will try next time\n");
203 dma_addr = dma_map_single(&gmacdev->netdev->dev, skb->data,
239 dma_unmap_single(&gmacdev->netdev
390 struct net_device *netdev = (struct net_device *)app_data; local
416 struct net_device *netdev = (struct net_device *)app_data; local
457 nss_gmac_slowpath_if_set_features(struct net_device *netdev) argument
553 struct net_device *netdev = NULL; local
598 nss_gmac_receive(struct net_device *netdev, struct sk_buff *skb, struct napi_struct *napi) argument
630 struct net_device *netdev = NULL; local
680 struct net_device *netdev = gmacdev->netdev; local
745 struct net_device *netdev = gmacdev->netdev; local
765 nss_gmac_adjust_link(struct net_device *netdev) argument
825 nss_gmac_xmit_frames(struct sk_buff *skb, struct net_device *netdev) argument
870 nss_gmac_open(struct net_device *netdev) argument
963 nss_gmac_close(struct net_device *netdev) argument
1000 nss_gmac_tx_timeout(struct net_device *netdev) argument
1022 nss_gmac_change_mtu(struct net_device *netdev, int32_t newmtu) argument
1055 nss_gmac_is_in_open_state(struct net_device *netdev) argument
1069 nss_gmac_reset_netdev_features(struct net_device *netdev) argument
1085 nss_gmac_override_data_plane(struct net_device *netdev, struct nss_gmac_data_plane_ops *dp_ops, void *ctx) argument
1123 nss_gmac_start_data_plane(struct net_device *netdev, void *ctx) argument
1145 nss_gmac_restore_data_plane(struct net_device *netdev) argument
[all...]
H A Dnss_gmac_ctrl.c191 netdev_dbg(gmacdev->netdev, "Memory allocated %08x for Rx Descriptors (ring) is given back\n"
247 netdev_dbg(gmacdev->netdev, "Memory allocated %08x for Tx Descriptors (ring) is given back\n"
293 struct rtnl_link_stats64 *nss_gmac_get_stats64(struct net_device *netdev, argument
298 gmacdev = (struct nss_gmac_dev *)netdev_priv(netdev);
315 static int32_t nss_gmac_set_mac_address(struct net_device *netdev, argument
321 gmacdev = (struct nss_gmac_dev *)netdev_priv(netdev);
323 BUG_ON(gmacdev->netdev != netdev);
325 netdev_dbg(netdev, "%s: AddrFamily: %d, %0x:%0x:%0x:%0x:%0x:%0x\n",
336 netdev
350 nss_gmac_mdio_mii_ioctl_read(struct net_device *netdev, int phy_addr, int mmd, uint16_t addr) argument
389 nss_gmac_mdio_mii_ioctl_write(struct net_device *netdev, int phy_addr, int mmd, uint16_t addr, uint16_t value) argument
431 nss_gmac_do_ioctl(struct net_device *netdev, struct ifreq *ifr, int32_t cmd) argument
468 nss_gmac_set_rx_mode(struct net_device *netdev) argument
497 nss_gmac_set_features(struct net_device *netdev, netdev_features_t features) argument
590 nss_gmac_of_get_pdata(struct device_node *np, struct net_device *netdev, struct msm_nss_gmac_platform_data *gmaccfg) argument
754 struct net_device *netdev = NULL; local
[all...]
H A Dnss_gmac_ethtool.c116 static int32_t nss_gmac_get_strset_count(struct net_device *netdev, argument
128 netdev_dbg(netdev, "%s: Invalid string set\n", __func__);
140 static void nss_gmac_get_strings(struct net_device *netdev, uint32_t stringset, argument
173 static void nss_gmac_get_ethtool_stats(struct net_device *netdev, argument
176 struct nss_gmac_dev *gmacdev = netdev_priv(netdev);
211 static void nss_gmac_get_pauseparam(struct net_device *netdev, argument
216 gmacdev = (struct nss_gmac_dev *)netdev_priv(netdev);
218 BUG_ON(gmacdev->netdev != netdev);
231 static int nss_gmac_set_pauseparam(struct net_device *netdev, argument
277 nss_gmac_nway_reset(struct net_device *netdev) argument
309 nss_gmac_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol) argument
320 nss_gmac_get_msglevel(struct net_device *netdev) argument
330 nss_gmac_get_settings(struct net_device *netdev, struct ethtool_cmd *ecmd) argument
431 nss_gmac_set_settings(struct net_device *netdev, struct ethtool_cmd *ecmd) argument
477 nss_gmac_set_priv_flags(struct net_device *netdev, u32 flags) argument
513 nss_gmac_get_priv_flags(struct net_device *netdev) argument
545 nss_gmac_ethtool_register(struct net_device *netdev) argument
[all...]
H A Dnss_gmac_dev.c177 netdev_dbg(gmacdev->netdev, "Error: Reading uninitialized PHY...\n");
199 netdev_dbg(gmacdev->netdev, "Error: Writing uninitialized PHY...\n");
223 netdev_dbg(gmacdev->netdev, "Phy %u reset OK\n", phyid);
254 struct net_device *netdev = NULL; local
256 netdev = gmacdev->netdev;
259 netdev_dbg(netdev, "%s: %s resetting...\n",
260 __func__, netdev->name);
273 netdev_dbg(netdev, "GMAC reset completed in %d jiffies; dma_bus_mode - 0x%x\n", (int)(jiffies - reset_time), data);
852 netdev_dbg(gmacdev->netdev, "
1439 struct net_device *netdev = NULL; local
[all...]
/netgear-R7800-V1.0.2.28/target/linux/x86/xen_domu/
H A Dtarget.mk2 DEFAULT_PACKAGES += kmod-xen-fs kmod-xen-evtchn kmod-xen-netdev kmod-xen-kbddev
/netgear-R7800-V1.0.2.28/package/qca-nss-drv/src/
H A Dnss_data_plane.c105 static void nss_data_plane_set_features(struct net_device *netdev) argument
107 netdev->features |= NSS_DP_SUPPORTED_FEATURES;
108 netdev->hw_features |= NSS_DP_SUPPORTED_FEATURES;
109 netdev->vlan_features |= NSS_DP_SUPPORTED_FEATURES;
110 netdev->wanted_features |= NSS_DP_SUPPORTED_FEATURES;
142 struct net_device *netdev; local
149 netdev = nss_gmac_get_netdev_by_macid(if_num);
150 if (!netdev) {
155 is_open = nss_gmac_is_in_open_state(netdev);
156 ndpp->dev = netdev;
[all...]
/netgear-R7800-V1.0.2.28/package/qca-nss-gmac/src/ipq806x/exports/
H A Dnss_gmac_api_if.h60 void (*set_features)(struct net_device *netdev);
117 extern void nss_gmac_receive(struct net_device *netdev, struct sk_buff *skb,
121 void nss_gmac_start_data_plane(struct net_device *netdev, void *ctx);
122 extern int nss_gmac_override_data_plane(struct net_device *netdev,
124 extern void nss_gmac_restore_data_plane(struct net_device *netdev);
126 extern bool nss_gmac_is_in_open_state(struct net_device *netdev);
/netgear-R7800-V1.0.2.28/package/qca-nss-gmac/src/qca-nss-gmac/ipq806x/exports/
H A Dnss_gmac_api_if.h60 void (*set_features)(struct net_device *netdev);
117 extern void nss_gmac_receive(struct net_device *netdev, struct sk_buff *skb,
121 void nss_gmac_start_data_plane(struct net_device *netdev, void *ctx);
122 extern int nss_gmac_override_data_plane(struct net_device *netdev,
124 extern void nss_gmac_restore_data_plane(struct net_device *netdev);
126 extern bool nss_gmac_is_in_open_state(struct net_device *netdev);
/netgear-R7800-V1.0.2.28/package/qca-nss-gmac/src/exports/
H A Dnss_gmac_api_if.h116 extern void nss_gmac_receive(struct net_device *netdev, struct sk_buff *skb,
120 void nss_gmac_start_data_plane(struct net_device *netdev, void *ctx);
121 extern int nss_gmac_override_data_plane(struct net_device *netdev,
123 extern void nss_gmac_restore_data_plane(struct net_device *netdev);
125 extern bool nss_gmac_is_in_open_state(struct net_device *netdev);
/netgear-R7800-V1.0.2.28/package/qca-nss-clients/src/
H A Dnss_connmgr_tunipip6.c74 void nss_tunipip6_exception(struct net_device *netdev, struct sk_buff *skb, __attribute__((unused)) struct napi_struct *napi);
84 struct net_device *netdev; member in struct:nss_tunipip6_tunnel
120 void nss_tunipip6_dev_up( struct net_device * netdev) argument
129 * Validate netdev for ipv6-in-ipv4 Tunnel
131 if (netdev->type != ARPHRD_TUNNEL6 ) {
135 tunnel = (struct ip6_tnl *)netdev_priv(netdev);
157 netdev,
212 void nss_tunipip6_dev_down( struct net_device * netdev) argument
226 * Validate netdev for ipv6-in-ipv4 Tunnel
228 if (netdev
270 struct net_device *netdev = (struct net_device *)dev; local
371 struct net_device *netdev = NULL; local
[all...]
H A Dnss_connmgr_tun6rd.c126 struct net_device *netdev = if_ctx; local
130 nss_tun6rd_update_dev_stats(netdev, (struct nss_tun6rd_sync_stats_msg *)&tnlmsg->msg.stats);
182 static int nss_tun6rd_dev_up(struct net_device *netdev) argument
195 * Validate netdev for ipv6-in-ipv4 Tunnel
197 if (netdev->type != ARPHRD_SIT) {
201 tunnel = (struct ip_tunnel *)netdev_priv(netdev);
252 netdev,
317 static int nss_tun6rd_dev_down(struct net_device *netdev) argument
325 * Validate netdev for ipv6-in-ipv4 Tunnel
327 if (netdev
379 struct net_device *netdev = (struct net_device *)dev; local
[all...]
/netgear-R7800-V1.0.2.28/package/qca-nss-drv/src/exports/
H A Dnss_tunipip6.h106 typedef void (*nss_tunipip6_callback_t)(struct net_device *netdev, struct sk_buff *skb, struct napi_struct *napi);
114 * @param netdev netdevice associated with the DS-Lite
120 nss_tunipip6_msg_callback_t event_callback, struct net_device *netdev, uint32_t features);
H A Dnss_virt_if.h117 typedef void (*nss_virt_if_data_callback_t)(struct net_device *netdev, struct sk_buff *skb, struct napi_struct *napi);
137 * @param netdev net device associated with client
143 extern int nss_virt_if_create(struct net_device *netdev, nss_virt_if_msg_callback_t cb, void *app_data);
148 * @param netdev net device associated with WiFi
152 extern struct nss_virt_if_handle *nss_virt_if_create_sync(struct net_device *netdev);
200 * @param netdev netdevice structure associated with WiFi
206 struct net_device *netdev);
H A Dnss_wifi_if.h109 typedef void (*nss_wifi_if_data_callback_t)(struct net_device *netdev, struct sk_buff *skb, struct napi_struct *napi);
139 * @param netdev netdevice structure of VAP
145 struct net_device *netdev);
159 * @param netdev net device associated with Wifi
163 extern struct nss_wifi_if_handle *nss_wifi_if_create(struct net_device *netdev);
/netgear-R7800-V1.0.2.28/target/linux/lantiq/ar9/
H A Dtarget.mk7 kmod-input-gpio-keys-polled kmod-ledtrig-netdev kmod-leds-gpio kmod-button-hotplug \
/netgear-R7800-V1.0.2.28/target/linux/lantiq/danube/
H A Dtarget.mk7 kmod-input-gpio-keys-polled kmod-ledtrig-netdev kmod-leds-gpio kmod-button-hotplug \

Completed in 172 milliseconds

123