Searched refs:net_device (Results 126 - 150 of 2453) sorted by relevance

1234567891011>>

/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_vfr.h22 struct net_device *bnxt_get_vf_rep(struct bnxt *bp, u16 cfa_code);
26 static inline u16 bnxt_vf_rep_get_fid(struct net_device *dev)
34 bool bnxt_dev_is_vf_rep(struct net_device *dev);
58 static inline struct net_device *bnxt_get_vf_rep(struct bnxt *bp, u16 cfa_code)
63 static inline u16 bnxt_vf_rep_get_fid(struct net_device *dev)
68 static inline bool bnxt_dev_is_vf_rep(struct net_device *dev)
/linux-master/drivers/net/ethernet/8390/
H A D8390.h29 void ei_poll(struct net_device *dev);
30 void eip_poll(struct net_device *dev);
35 void NS8390_init(struct net_device *dev, int startp);
36 int ei_open(struct net_device *dev);
37 int ei_close(struct net_device *dev);
39 void ei_tx_timeout(struct net_device *dev, unsigned int txqueue);
40 netdev_tx_t ei_start_xmit(struct sk_buff *skb, struct net_device *dev);
41 void ei_set_multicast_list(struct net_device *dev);
42 struct net_device_stats *ei_get_stats(struct net_device *dev);
46 struct net_device *__alloc_ei_netde
[all...]
/linux-master/net/switchdev/
H A Dswitchdev.c54 typedef void switchdev_deferred_func_t(struct net_device *dev,
59 struct net_device *dev;
111 static int switchdev_deferred_enqueue(struct net_device *dev,
132 struct net_device *dev,
158 static int switchdev_port_attr_set_now(struct net_device *dev,
166 static void switchdev_port_attr_set_deferred(struct net_device *dev,
180 static int switchdev_port_attr_set_defer(struct net_device *dev,
197 int switchdev_port_attr_set(struct net_device *dev,
224 struct net_device *dev,
247 static void switchdev_obj_id_to_helpful_msg(struct net_device *de
[all...]
/linux-master/include/linux/
H A Drtnetlink.h29 void rtmsg_ifinfo(int type, struct net_device *dev, unsigned int change, gfp_t flags,
31 void rtmsg_ifinfo_newnet(int type, struct net_device *dev, unsigned int change,
33 struct sk_buff *rtmsg_ifinfo_build_skb(int type, struct net_device *dev,
38 void rtmsg_ifinfo_send(struct sk_buff *skb, struct net_device *dev,
98 static inline struct netdev_queue *dev_ingress_queue(struct net_device *dev)
103 static inline struct netdev_queue *dev_ingress_queue_rcu(struct net_device *dev)
108 struct netdev_queue *dev_ingress_queue_create(struct net_device *dev);
131 struct net_device *dev,
132 struct net_device *filter_dev,
136 struct net_device *de
[all...]
H A Dif_vlan.h82 static inline bool is_vlan_dev(const struct net_device *dev)
93 static inline int vlan_get_rx_ctag_filter_info(struct net_device *dev)
99 static inline void vlan_drop_rx_ctag_filter_info(struct net_device *dev)
105 static inline int vlan_get_rx_stag_filter_info(struct net_device *dev)
111 static inline void vlan_drop_rx_stag_filter_info(struct net_device *dev)
141 extern struct net_device *__vlan_find_dev_deep_rcu(struct net_device *real_dev,
143 extern int vlan_for_each(struct net_device *dev,
144 int (*action)(struct net_device *dev, int vid,
146 extern struct net_device *vlan_dev_real_de
[all...]
H A Dphy_fixed.h17 struct net_device;
20 extern int fixed_phy_change_carrier(struct net_device *dev, bool new_carrier);
34 int (*link_update)(struct net_device *,
61 int (*link_update)(struct net_device *,
66 static inline int fixed_phy_change_carrier(struct net_device *dev, bool new_carrier)
/linux-master/drivers/net/ethernet/sun/
H A Dsunvnet_common.h54 * port, and the net_device can be found from ->dev. If the
55 * vsw bit is not set, the net_device is available from ->vp->dev.
71 struct net_device *dev;
117 struct net_device *dev;
128 /* Def used by common code to get the net_device from the proper location */
134 int sunvnet_open_common(struct net_device *dev);
135 int sunvnet_close_common(struct net_device *dev);
136 void sunvnet_set_rx_mode_common(struct net_device *dev, struct vnet *vp);
137 int sunvnet_set_mac_addr_common(struct net_device *dev, void *p);
138 void sunvnet_tx_timeout_common(struct net_device *de
[all...]
/linux-master/drivers/net/ethernet/sfc/siena/
H A Defx_common.h18 struct net_device *net_dev);
34 void efx_siena_net_stats(struct net_device *net_dev,
57 void efx_siena_watchdog(struct net_device *net_dev, unsigned int txqueue);
100 int efx_siena_set_mac_address(struct net_device *net_dev, void *data);
101 void efx_siena_set_rx_mode(struct net_device *net_dev);
102 int efx_siena_set_features(struct net_device *net_dev, netdev_features_t data);
105 int efx_siena_change_mtu(struct net_device *net_dev, int new_mtu);
110 struct net_device *dev,
113 int efx_siena_get_phys_port_id(struct net_device *net_dev,
116 int efx_siena_get_phys_port_name(struct net_device *net_de
[all...]
H A Dsriov.h15 int efx_sriov_set_vf_mac(struct net_device *net_dev, int vf_i, u8 *mac)
26 int efx_sriov_set_vf_vlan(struct net_device *net_dev, int vf_i, u16 vlan,
46 int efx_sriov_set_vf_spoofchk(struct net_device *net_dev, int vf_i,
58 int efx_sriov_get_vf_config(struct net_device *net_dev, int vf_i,
70 int efx_sriov_set_vf_link_state(struct net_device *net_dev, int vf_i,
/linux-master/include/linux/can/
H A Dskb.h19 void can_flush_echo_skb(struct net_device *dev);
20 int can_put_echo_skb(struct sk_buff *skb, struct net_device *dev,
22 struct sk_buff *__can_get_echo_skb(struct net_device *dev, unsigned int idx,
25 unsigned int __must_check can_get_echo_skb(struct net_device *dev,
28 void can_free_echo_skb(struct net_device *dev, unsigned int idx,
30 struct sk_buff *alloc_can_skb(struct net_device *dev, struct can_frame **cf);
31 struct sk_buff *alloc_canfd_skb(struct net_device *dev,
33 struct sk_buff *alloc_canxl_skb(struct net_device *dev,
36 struct sk_buff *alloc_can_err_skb(struct net_device *dev,
38 bool can_dropped_invalid_skb(struct net_device *de
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rep.h113 struct net_device *netdev;
142 struct net_device *neigh_dev;
215 struct net_device *out_dev;
244 int mlx5e_rep_bond_enslave(struct mlx5_eswitch *esw, struct net_device *netdev,
245 struct net_device *lag_dev);
247 const struct net_device *netdev,
248 const struct net_device *lag_dev);
251 bool mlx5e_rep_has_offload_stats(const struct net_device *dev, int attr_id);
252 int mlx5e_rep_get_offload_stats(int attr_id, const struct net_device *dev,
261 bool mlx5e_eswitch_vf_rep(const struct net_device *netde
[all...]
/linux-master/drivers/net/ethernet/huawei/hinic/
H A Dhinic_sriov.h79 int hinic_ndo_set_vf_mac(struct net_device *netdev, int vf, u8 *mac);
81 int hinic_ndo_set_vf_vlan(struct net_device *netdev, int vf, u16 vlan, u8 qos,
84 int hinic_ndo_get_vf_config(struct net_device *netdev,
87 int hinic_ndo_set_vf_trust(struct net_device *netdev, int vf, bool setting);
89 int hinic_ndo_set_vf_bw(struct net_device *netdev,
92 int hinic_ndo_set_vf_spoofchk(struct net_device *netdev, int vf, bool setting);
94 int hinic_ndo_set_vf_link_state(struct net_device *netdev, int vf_id, int link);
/linux-master/drivers/staging/rtl8192e/rtl8192e/
H A Drtl_dm.h146 void rtl92e_dm_init(struct net_device *dev);
147 void rtl92e_dm_deinit(struct net_device *dev);
149 void rtl92e_dm_watchdog(struct net_device *dev);
151 void rtl92e_init_adaptive_rate(struct net_device *dev);
154 void rtl92e_dm_cck_txpower_adjust(struct net_device *dev, bool binch14);
156 void rtl92e_dm_init_edca_turbo(struct net_device *dev);
158 void rtl92e_dm_init_txpower_tracking(struct net_device *dev);
H A Drtl_eeprom.c13 static void _rtl92e_gpio_write_bit(struct net_device *dev, int no, bool val)
26 static bool _rtl92e_gpio_get_bit(struct net_device *dev, int no)
33 static void _rtl92e_eeprom_ck_cycle(struct net_device *dev)
39 static u16 _rtl92e_eeprom_xfer(struct net_device *dev, u16 data, int tx_len)
66 u32 rtl92e_eeprom_read(struct net_device *dev, u32 addr)
/linux-master/drivers/net/ethernet/qlogic/qede/
H A Dqede_dcbnl.c13 static u8 qede_dcbnl_getstate(struct net_device *netdev)
20 static u8 qede_dcbnl_setstate(struct net_device *netdev, u8 state)
27 static void qede_dcbnl_getpermhwaddr(struct net_device *netdev,
33 static void qede_dcbnl_getpgtccfgtx(struct net_device *netdev, int prio,
43 static void qede_dcbnl_getpgbwgcfgtx(struct net_device *netdev,
51 static void qede_dcbnl_getpgtccfgrx(struct net_device *netdev, int prio,
61 static void qede_dcbnl_getpgbwgcfgrx(struct net_device *netdev,
69 static void qede_dcbnl_getpfccfg(struct net_device *netdev, int prio,
77 static void qede_dcbnl_setpfccfg(struct net_device *netdev, int prio,
85 static u8 qede_dcbnl_getcap(struct net_device *netde
[all...]
/linux-master/net/wireless/
H A Dnl80211.h59 struct net_device *netdev,
62 struct net_device *netdev,
65 struct net_device *netdev,
69 struct net_device *netdev,
73 struct net_device *netdev,
76 struct net_device *netdev,
79 struct net_device *netdev,
83 struct net_device *netdev,
89 struct net_device *netdev, const u8 *peer_addr,
92 struct net_device *netde
[all...]
/linux-master/drivers/net/ethernet/sfc/
H A Defx_common.h33 void efx_net_stats(struct net_device *net_dev, struct rtnl_link_stats64 *stats);
54 void efx_watchdog(struct net_device *net_dev, unsigned int txqueue);
97 int efx_set_mac_address(struct net_device *net_dev, void *data);
98 void efx_set_rx_mode(struct net_device *net_dev);
99 int efx_set_features(struct net_device *net_dev, netdev_features_t data);
102 int efx_change_mtu(struct net_device *net_dev, int new_mtu);
106 netdev_features_t efx_features_check(struct sk_buff *skb, struct net_device *dev,
109 int efx_get_phys_port_id(struct net_device *net_dev,
112 int efx_get_phys_port_name(struct net_device *net_dev,
H A Dsriov.c11 int efx_sriov_set_vf_mac(struct net_device *net_dev, int vf_i, u8 *mac)
21 int efx_sriov_set_vf_vlan(struct net_device *net_dev, int vf_i, u16 vlan,
40 int efx_sriov_set_vf_spoofchk(struct net_device *net_dev, int vf_i,
51 int efx_sriov_get_vf_config(struct net_device *net_dev, int vf_i,
62 int efx_sriov_set_vf_link_state(struct net_device *net_dev, int vf_i,
/linux-master/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_dcbnl.c7 static int hns3_dcbnl_ieee_getets(struct net_device *ndev, struct ieee_ets *ets)
20 static int hns3_dcbnl_ieee_setets(struct net_device *ndev, struct ieee_ets *ets)
33 static int hns3_dcbnl_ieee_getpfc(struct net_device *ndev, struct ieee_pfc *pfc)
46 static int hns3_dcbnl_ieee_setpfc(struct net_device *ndev, struct ieee_pfc *pfc)
59 static int hns3_dcbnl_ieee_setapp(struct net_device *ndev, struct dcb_app *app)
72 static int hns3_dcbnl_ieee_delapp(struct net_device *ndev, struct dcb_app *app)
86 static u8 hns3_dcbnl_getdcbx(struct net_device *ndev)
97 static u8 hns3_dcbnl_setdcbx(struct net_device *ndev, u8 mode)
124 struct net_device *dev = handle->kinfo.netdev;
/linux-master/include/net/
H A Dwext.h15 struct iw_statistics *get_wireless_stats(struct net_device *dev);
16 int call_commit_handler(struct net_device *dev);
45 int ioctl_private_call(struct net_device *dev, struct iwreq *iwr,
48 int compat_private_call(struct net_device *dev, struct iwreq *iwr,
51 int iw_handler_get_private(struct net_device * dev,
H A Dudp_tunnel.h126 void udp_tunnel_push_rx_port(struct net_device *dev, struct socket *sock,
128 void udp_tunnel_drop_rx_port(struct net_device *dev, struct socket *sock,
133 static inline void udp_tunnel_get_rx_info(struct net_device *dev)
141 static inline void udp_tunnel_drop_rx_info(struct net_device *dev)
157 struct net_device *dev,
166 struct net_device *dev,
173 struct net_device *dev,
235 struct net_device *dev;
270 int (*set_port)(struct net_device *dev,
273 int (*unset_port)(struct net_device *de
[all...]
/linux-master/drivers/staging/rtl8723bs/include/
H A Dosdep_intf.h50 int rtw_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
52 int rtw_init_netdev_name(struct net_device *pnetdev, const char *ifname);
53 struct net_device *rtw_init_netdev(struct adapter *padapter);
67 void rtw_ndev_destructor(struct net_device *ndev);
72 int netdev_open(struct net_device *pnetdev);
/linux-master/net/dsa/
H A Dnetlink.c14 static int dsa_changelink(struct net_device *dev, struct nlattr *tb[],
25 struct net_device *conduit;
39 static size_t dsa_get_size(const struct net_device *dev)
45 static int dsa_fill_info(struct sk_buff *skb, const struct net_device *dev)
47 struct net_device *conduit = dsa_user_to_conduit(dev);
/linux-master/net/mac802154/
H A Dieee802154_i.h118 struct net_device *dev;
151 IEEE802154_DEV_TO_SUB_IF(const struct net_device *dev)
204 ieee802154_monitor_start_xmit(struct sk_buff *skb, struct net_device *dev);
206 ieee802154_subif_start_xmit(struct sk_buff *skb, struct net_device *dev);
241 void mac802154_dev_set_page_channel(struct net_device *dev, u8 page, u8 chan);
243 int mac802154_get_params(struct net_device *dev,
245 int mac802154_set_params(struct net_device *dev,
249 int mac802154_add_key(struct net_device *dev,
252 int mac802154_del_key(struct net_device *dev,
255 int mac802154_add_dev(struct net_device *de
[all...]
/linux-master/drivers/net/ethernet/ti/icssg/
H A Dicssg_ethtool.c11 static void emac_get_drvinfo(struct net_device *ndev,
22 static u32 emac_get_msglevel(struct net_device *ndev)
29 static void emac_set_msglevel(struct net_device *ndev, u32 value)
36 static int emac_get_link_ksettings(struct net_device *ndev,
42 static int emac_set_link_ksettings(struct net_device *ndev,
48 static int emac_get_eee(struct net_device *ndev, struct ethtool_keee *edata)
56 static int emac_set_eee(struct net_device *ndev, struct ethtool_keee *edata)
64 static int emac_nway_reset(struct net_device *ndev)
69 static int emac_get_sset_count(struct net_device *ndev, int stringset)
79 static void emac_get_strings(struct net_device *nde
[all...]

Completed in 309 milliseconds

1234567891011>>