Home
last modified time | relevance | path

Searched refs:net_device (Results 1 – 25 of 3033) sorted by relevance

12345678910>>...122

/OK3568_Linux_fs/kernel/include/net/
H A Ddcbnl.h20 int dcb_setapp(struct net_device *, struct dcb_app *);
21 u8 dcb_getapp(struct net_device *, struct dcb_app *);
22 int dcb_ieee_setapp(struct net_device *, struct dcb_app *);
23 int dcb_ieee_delapp(struct net_device *, struct dcb_app *);
24 u8 dcb_ieee_getapp_mask(struct net_device *, struct dcb_app *);
29 void dcb_ieee_getapp_prio_dscp_mask_map(const struct net_device *dev,
35 void dcb_ieee_getapp_dscp_prio_mask_map(const struct net_device *dev,
37 u8 dcb_ieee_getapp_default_prio_mask(const struct net_device *dev);
39 int dcbnl_ieee_notify(struct net_device *dev, int event, int cmd,
41 int dcbnl_cee_notify(struct net_device *dev, int event, int cmd,
[all …]
H A DSpace.h6 struct net_device *hp100_probe(int unit);
7 struct net_device *ultra_probe(int unit);
8 struct net_device *wd_probe(int unit);
9 struct net_device *ne_probe(int unit);
10 struct net_device *fmv18x_probe(int unit);
11 struct net_device *i82596_probe(int unit);
12 struct net_device *ni65_probe(int unit);
13 struct net_device *sonic_probe(int unit);
14 struct net_device *smc_init(int unit);
15 struct net_device *atarilance_probe(int unit);
[all …]
H A Dswitchdev.h50 struct net_device *orig_dev;
54 void (*complete)(struct net_device *dev, int err, void *priv);
87 struct net_device *orig_dev;
91 void (*complete)(struct net_device *dev, int err, void *priv);
120 struct net_device *p_port;
121 struct net_device *s_port;
178 struct net_device *i_port;
220 struct net_device *dev;
246 static inline struct net_device *
261 int switchdev_port_attr_set(struct net_device *dev,
[all …]
H A Drtnetlink.h66 void (*setup)(struct net_device *dev);
76 struct net_device *dev,
80 int (*changelink)(struct net_device *dev,
84 void (*dellink)(struct net_device *dev,
87 size_t (*get_size)(const struct net_device *dev);
89 const struct net_device *dev);
91 size_t (*get_xstats_size)(const struct net_device *dev);
93 const struct net_device *dev);
99 int (*slave_changelink)(struct net_device *dev,
100 struct net_device *slave_dev,
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Dethtool.h80 struct net_device;
83 u32 ethtool_op_get_link(struct net_device *dev);
84 int ethtool_op_get_ts_info(struct net_device *dev, struct ethtool_ts_info *eti);
173 __ethtool_get_link_ksettings(struct net_device *dev,
420 void (*get_drvinfo)(struct net_device *, struct ethtool_drvinfo *);
421 int (*get_regs_len)(struct net_device *);
422 void (*get_regs)(struct net_device *, struct ethtool_regs *, void *);
423 void (*get_wol)(struct net_device *, struct ethtool_wolinfo *);
424 int (*set_wol)(struct net_device *, struct ethtool_wolinfo *);
425 u32 (*get_msglevel)(struct net_device *);
[all …]
H A Dnetdevice.h75 void netdev_set_default_ethtool_ops(struct net_device *dev,
272 int (*create) (struct sk_buff *skb, struct net_device *dev,
278 const struct net_device *dev,
345 struct net_device *dev;
597 struct net_device *dev;
614 struct net_device *sb_dev;
758 bool rps_may_expire_flow(struct net_device *dev, u16 rxq_index, u32 flow_id,
770 struct net_device *dev;
865 typedef u16 (*select_queue_fallback_t)(struct net_device *dev,
867 struct net_device *sb_dev);
[all …]
H A Dif_bridge.h65 int br_multicast_list_adjacent(struct net_device *dev,
67 bool br_multicast_has_querier_anywhere(struct net_device *dev, int proto);
68 bool br_multicast_has_querier_adjacent(struct net_device *dev, int proto);
69 bool br_multicast_enabled(const struct net_device *dev);
70 bool br_multicast_router(const struct net_device *dev);
72 static inline int br_multicast_list_adjacent(struct net_device *dev, in br_multicast_list_adjacent()
77 static inline bool br_multicast_has_querier_anywhere(struct net_device *dev, in br_multicast_has_querier_anywhere()
82 static inline bool br_multicast_has_querier_adjacent(struct net_device *dev, in br_multicast_has_querier_adjacent()
87 static inline bool br_multicast_enabled(const struct net_device *dev) in br_multicast_enabled()
91 static inline bool br_multicast_router(const struct net_device *dev) in br_multicast_router()
[all …]
H A Dhdlc.h20 int (*open)(struct net_device *dev);
21 void (*close)(struct net_device *dev);
22 void (*start)(struct net_device *dev); /* if open & DCD */
23 void (*stop)(struct net_device *dev); /* if open & !DCD */
24 void (*detach)(struct net_device *dev);
25 int (*ioctl)(struct net_device *dev, struct ifreq *ifr);
26 __be16 (*type_trans)(struct sk_buff *skb, struct net_device *dev);
28 netdev_tx_t (*xmit)(struct sk_buff *skb, struct net_device *dev);
37 int (*attach)(struct net_device *dev,
41 netdev_tx_t (*xmit)(struct sk_buff *skb, struct net_device *dev);
[all …]
/OK3568_Linux_fs/kernel/drivers/net/hyperv/
H A Dnetvsc.c33 void netvsc_switch_datapath(struct net_device *ndev, bool vf) in netvsc_switch_datapath()
94 struct netvsc_device *net_device; in alloc_net_device() local
96 net_device = kzalloc(sizeof(struct netvsc_device), GFP_KERNEL); in alloc_net_device()
97 if (!net_device) in alloc_net_device()
100 init_waitqueue_head(&net_device->wait_drain); in alloc_net_device()
101 net_device->destroy = false; in alloc_net_device()
102 net_device->tx_disable = true; in alloc_net_device()
104 net_device->max_pkt = RNDIS_MAX_PKT_DEFAULT; in alloc_net_device()
105 net_device->pkt_align = RNDIS_PKT_ALIGN_DEFAULT; in alloc_net_device()
107 init_completion(&net_device->channel_init_wait); in alloc_net_device()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Dwl_iapsta.h41 int wl_ext_iapsta_attach_dwds_netdev(struct net_device *net, int ifidx, uint8 bssidx);
42 int wl_ext_iapsta_dettach_dwds_netdev(struct net_device *net, int ifidx, uint8 bssidx);
44 int wl_ext_iapsta_attach_netdev(struct net_device *net, int ifidx, uint8 bssidx);
45 int wl_ext_iapsta_attach_name(struct net_device *net, int ifidx);
46 int wl_ext_iapsta_dettach_netdev(struct net_device *net, int ifidx);
47 int wl_ext_iapsta_update_net_device(struct net_device *net, int ifidx);
48 int wl_ext_iapsta_alive_preinit(struct net_device *dev);
49 int wl_ext_iapsta_alive_postinit(struct net_device *dev);
50 int wl_ext_iapsta_attach(struct net_device *net);
51 void wl_ext_iapsta_dettach(struct net_device *net);
[all …]
H A Dwl_cfgvif.h78 extern bool wl_cfg80211_check_vif_in_use(struct net_device *ndev);
96 extern s32 wl_cfg80211_dfs_ap_move(struct net_device *ndev, char *data,
98 extern s32 wl_cfg80211_get_band_chanspecs(struct net_device *ndev,
109 int wl_set_ap_beacon_rate(struct net_device *dev, int val, char *ifname);
110 int wl_get_ap_basic_rate(struct net_device *dev, char* command, char *ifname, int total_len);
113 int wl_get_ap_rps(struct net_device *dev, char* command, char *ifname, int total_len);
114 int wl_set_ap_rps(struct net_device *dev, bool enable, char *ifname);
115 int wl_update_ap_rps_params(struct net_device *dev, ap_rps_info_t* rps, char *ifname);
118 int wl_cfg80211_iface_count(struct net_device *dev);
119 struct net_device* wl_get_ap_netdev(struct bcm_cfg80211 *cfg, char *ifname);
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dwl_iapsta.h39 int wl_ext_iapsta_attach_dwds_netdev(struct net_device *net, int ifidx, uint8 bssidx);
40 int wl_ext_iapsta_dettach_dwds_netdev(struct net_device *net, int ifidx, uint8 bssidx);
42 int wl_ext_iapsta_attach_netdev(struct net_device *net, int ifidx, uint8 bssidx);
43 int wl_ext_iapsta_attach_name(struct net_device *net, int ifidx);
44 int wl_ext_iapsta_dettach_netdev(struct net_device *net, int ifidx);
45 int wl_ext_iapsta_update_net_device(struct net_device *net, int ifidx);
46 int wl_ext_iapsta_alive_preinit(struct net_device *dev);
47 int wl_ext_iapsta_alive_postinit(struct net_device *dev);
48 int wl_ext_iapsta_attach(struct net_device *net);
49 void wl_ext_iapsta_dettach(struct net_device *net);
[all …]
H A Dwl_cfgvif.h78 extern bool wl_cfg80211_check_vif_in_use(struct net_device *ndev);
96 extern s32 wl_cfg80211_dfs_ap_move(struct net_device *ndev, char *data,
98 extern s32 wl_cfg80211_get_band_chanspecs(struct net_device *ndev,
109 int wl_set_ap_beacon_rate(struct net_device *dev, int val, char *ifname);
110 int wl_get_ap_basic_rate(struct net_device *dev, char* command, char *ifname, int total_len);
113 int wl_get_ap_rps(struct net_device *dev, char* command, char *ifname, int total_len);
114 int wl_set_ap_rps(struct net_device *dev, bool enable, char *ifname);
115 int wl_update_ap_rps_params(struct net_device *dev, ap_rps_info_t* rps, char *ifname);
118 int wl_cfg80211_iface_count(struct net_device *dev);
119 struct net_device* wl_get_ap_netdev(struct bcm_cfg80211 *cfg, char *ifname);
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Dwldev_common.h42 struct net_device *dev, u32 cmd, void *arg, u32 len);
45 struct net_device *dev, u32 cmd, const void *arg, u32 len);
51 struct net_device *dev, s8 *iovar_name,
58 struct net_device *dev, s8 *iovar_name,
62 struct net_device *dev, s8 *iovar, s32 val);
65 struct net_device *dev, s8 *iovar, s32 *pval);
79 struct net_device *dev, s8 *iovar_name, void *param, s32 paramlen,
86 struct net_device *dev, const s8 *iovar_name, const void *param, s32 paramlen,
90 struct net_device *dev, s8 *iovar, s32 *pval, s32 bssidx);
93 struct net_device *dev, s8 *iovar, s32 val, s32 bssidx);
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Dwldev_common.h42 struct net_device *dev, u32 cmd, void *arg, u32 len);
45 struct net_device *dev, u32 cmd, const void *arg, u32 len);
51 struct net_device *dev, s8 *iovar_name,
58 struct net_device *dev, s8 *iovar_name,
62 struct net_device *dev, s8 *iovar, s32 val);
65 struct net_device *dev, s8 *iovar, s32 *pval);
79 struct net_device *dev, s8 *iovar_name, void *param, s32 paramlen,
86 struct net_device *dev, const s8 *iovar_name, const void *param, s32 paramlen,
90 struct net_device *dev, s8 *iovar, s32 *pval, s32 bssidx);
93 struct net_device *dev, s8 *iovar, s32 val, s32 bssidx);
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Dwldev_common.h42 struct net_device *dev, u32 cmd, void *arg, u32 len);
45 struct net_device *dev, u32 cmd, const void *arg, u32 len);
51 struct net_device *dev, s8 *iovar_name,
58 struct net_device *dev, s8 *iovar_name,
62 struct net_device *dev, s8 *iovar, s32 val);
65 struct net_device *dev, s8 *iovar, s32 *pval);
79 struct net_device *dev, s8 *iovar_name, void *param, s32 paramlen,
86 struct net_device *dev, const s8 *iovar_name, const void *param, s32 paramlen,
90 struct net_device *dev, s8 *iovar, s32 *pval, s32 bssidx);
93 struct net_device *dev, s8 *iovar, s32 val, s32 bssidx);
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/
H A Dwldev_common.h33 struct net_device *dev, u32 cmd, void *arg, u32 len, u32 set);
36 struct net_device *dev, u32 cmd, void *arg, u32 len);
39 struct net_device *dev, u32 cmd, const void *arg, u32 len);
45 struct net_device *dev, s8 *iovar_name,
52 struct net_device *dev, s8 *iovar_name,
56 struct net_device *dev, s8 *iovar, s32 val);
59 struct net_device *dev, s8 *iovar, s32 *pval);
73 struct net_device *dev, s8 *iovar_name, void *param, s32 paramlen,
80 struct net_device *dev, const s8 *iovar_name, const void *param, s32 paramlen,
84 struct net_device *dev, s8 *iovar, s32 *pval, s32 bssidx);
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/
H A Dwldev_common.h33 struct net_device *dev, u32 cmd, void *arg, u32 len, u32 set);
36 struct net_device *dev, u32 cmd, void *arg, u32 len);
39 struct net_device *dev, u32 cmd, const void *arg, u32 len);
45 struct net_device *dev, s8 *iovar_name,
52 struct net_device *dev, s8 *iovar_name,
56 struct net_device *dev, s8 *iovar, s32 val);
59 struct net_device *dev, s8 *iovar, s32 *pval);
73 struct net_device *dev, s8 *iovar_name, void *param, s32 paramlen,
80 struct net_device *dev, const s8 *iovar_name, const void *param, s32 paramlen,
84 struct net_device *dev, s8 *iovar, s32 *pval, s32 bssidx);
[all …]
/OK3568_Linux_fs/kernel/net/8021q/
H A Dvlan.h25 struct net_device **vlan_devices_arrays[VLAN_PROTO_NUM]
30 struct net_device *real_dev; /* The ethernet(like) device
52 static inline struct net_device *__vlan_group_get_device(struct vlan_group *vg, in __vlan_group_get_device()
56 struct net_device **array; in __vlan_group_get_device()
63 static inline struct net_device *vlan_group_get_device(struct vlan_group *vg, in vlan_group_get_device()
77 struct net_device *dev) in vlan_group_set_device()
80 struct net_device **array; in vlan_group_set_device()
90 static inline struct net_device *vlan_find_dev(struct net_device *real_dev, in vlan_find_dev()
102 static inline netdev_features_t vlan_tnl_features(struct net_device *real_dev) in vlan_tnl_features()
123 void vlan_dev_set_ingress_priority(const struct net_device *dev,
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Dwldev_common.h40 struct net_device *dev, u32 cmd, void *arg, u32 len, u32 set);
43 struct net_device *dev, u32 cmd, void *arg, u32 len);
46 struct net_device *dev, u32 cmd, const void *arg, u32 len);
52 struct net_device *dev, s8 *iovar_name,
59 struct net_device *dev, s8 *iovar_name,
63 struct net_device *dev, s8 *iovar, s32 val);
66 struct net_device *dev, s8 *iovar, s32 *pval);
80 struct net_device *dev, s8 *iovar_name, void *param, s32 paramlen,
87 struct net_device *dev, s8 *iovar_name, void *param, s32 paramlen,
91 struct net_device *dev, s8 *iovar, s32 *pval, s32 bssidx);
[all …]
/OK3568_Linux_fs/kernel/drivers/infiniband/ulp/ipoib/
H A Dipoib.h153 static inline struct ipoib_dev_priv *ipoib_priv(const struct net_device *dev) in ipoib_priv()
180 struct net_device *dev;
239 struct net_device *dev;
249 struct net_device *dev;
324 struct net_device *dev;
325 void (*next_priv_destructor)(struct net_device *dev);
399 struct net_device *parent;
421 struct net_device *dev;
430 struct net_device *dev;
453 struct net_device *dev;
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/rtl8192e/rtl8192e/
H A Dr8192E_dev.h12 bool rtl92e_is_halfn_supported_by_ap(struct net_device *dev);
13 bool rtl92e_get_nmode_support_by_sec(struct net_device *dev);
14 bool rtl92e_is_tx_stuck(struct net_device *dev);
15 bool rtl92e_is_rx_stuck(struct net_device *dev);
16 void rtl92e_ack_irq(struct net_device *dev, u32 *p_inta, u32 *p_intb);
17 void rtl92e_enable_rx(struct net_device *dev);
18 void rtl92e_enable_tx(struct net_device *dev);
19 void rtl92e_enable_irq(struct net_device *dev);
20 void rtl92e_disable_irq(struct net_device *dev);
21 void rtl92e_clear_irq(struct net_device *dev);
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/
H A Dethtool_common.h14 void efx_ethtool_get_drvinfo(struct net_device *net_dev,
16 u32 efx_ethtool_get_msglevel(struct net_device *net_dev);
17 void efx_ethtool_set_msglevel(struct net_device *net_dev, u32 msg_enable);
18 void efx_ethtool_self_test(struct net_device *net_dev,
20 void efx_ethtool_get_pauseparam(struct net_device *net_dev,
22 int efx_ethtool_set_pauseparam(struct net_device *net_dev,
27 int efx_ethtool_get_sset_count(struct net_device *net_dev, int string_set);
28 void efx_ethtool_get_strings(struct net_device *net_dev, u32 string_set,
30 void efx_ethtool_get_stats(struct net_device *net_dev,
33 int efx_ethtool_get_link_ksettings(struct net_device *net_dev,
[all …]
/OK3568_Linux_fs/kernel/include/linux/can/
H A Ddev.h37 struct net_device *dev;
63 int (*do_set_bittiming)(struct net_device *dev);
64 int (*do_set_data_bittiming)(struct net_device *dev);
65 int (*do_set_mode)(struct net_device *dev, enum can_mode mode);
66 int (*do_set_termination)(struct net_device *dev, u16 term);
67 int (*do_get_state)(const struct net_device *dev,
69 int (*do_get_berr_counter)(const struct net_device *dev,
111 static inline bool can_skb_headroom_valid(struct net_device *dev, in can_skb_headroom_valid()
141 static inline bool can_dropped_invalid_skb(struct net_device *dev, in can_dropped_invalid_skb()
175 static inline void can_set_static_ctrlmode(struct net_device *dev, in can_set_static_ctrlmode()
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/rtl8192u/
H A Dr819xU_phy.h49 u8 rtl8192_phy_CheckIsLegalRFPath(struct net_device *dev, u32 e_rfpath);
50 void rtl8192_setBBreg(struct net_device *dev, u32 reg_addr,
52 u32 rtl8192_QueryBBReg(struct net_device *dev, u32 reg_addr, u32 bitmask);
53 void rtl8192_phy_SetRFReg(struct net_device *dev,
56 u32 rtl8192_phy_QueryRFReg(struct net_device *dev,
59 void rtl8192_phy_configmac(struct net_device *dev);
60 u8 rtl8192_phy_checkBBAndRF(struct net_device *dev,
63 void rtl8192_BBConfig(struct net_device *dev);
64 void rtl8192_phy_getTxPower(struct net_device *dev);
65 void rtl8192_phy_setTxPower(struct net_device *dev, u8 channel);
[all …]

12345678910>>...122