Home
last modified time | relevance | path

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

12345678910>>...73

/Linux-v5.15/include/net/
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 …]
Dswitchdev.h39 struct net_device *orig_dev;
43 void (*complete)(struct net_device *dev, int err, void *priv);
72 struct net_device *orig_dev;
76 void (*complete)(struct net_device *dev, int err, void *priv);
103 struct net_device *p_port;
104 struct net_device *s_port;
162 struct net_device *i_port;
184 struct net_device *dev;
214 struct net_device *dev;
245 static inline struct net_device *
[all …]
Drtnetlink.h69 struct net_device *(*alloc)(struct nlattr *tb[],
74 void (*setup)(struct net_device *dev);
84 struct net_device *dev,
88 int (*changelink)(struct net_device *dev,
92 void (*dellink)(struct net_device *dev,
95 size_t (*get_size)(const struct net_device *dev);
97 const struct net_device *dev);
99 size_t (*get_xstats_size)(const struct net_device *dev);
101 const struct net_device *dev);
107 int (*slave_changelink)(struct net_device *dev,
[all …]
Dfailover.h10 int (*slave_pre_register)(struct net_device *slave_dev,
11 struct net_device *failover_dev);
12 int (*slave_register)(struct net_device *slave_dev,
13 struct net_device *failover_dev);
14 int (*slave_pre_unregister)(struct net_device *slave_dev,
15 struct net_device *failover_dev);
16 int (*slave_unregister)(struct net_device *slave_dev,
17 struct net_device *failover_dev);
18 int (*slave_link_change)(struct net_device *slave_dev,
19 struct net_device *failover_dev);
[all …]
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 *ni65_probe(int unit);
12 struct net_device *sonic_probe(int unit);
13 struct net_device *smc_init(int unit);
14 struct net_device *cs89x0_probe(int unit);
15 struct net_device *tc515_probe(int unit);
[all …]
/Linux-v5.15/include/linux/
Dethtool.h80 struct net_device;
84 u32 ethtool_op_get_link(struct net_device *dev);
85 int ethtool_op_get_ts_info(struct net_device *dev, struct ethtool_ts_info *eti);
173 __ethtool_get_link_ksettings(struct net_device *dev,
599 void (*get_drvinfo)(struct net_device *, struct ethtool_drvinfo *);
600 int (*get_regs_len)(struct net_device *);
601 void (*get_regs)(struct net_device *, struct ethtool_regs *, void *);
602 void (*get_wol)(struct net_device *, struct ethtool_wolinfo *);
603 int (*set_wol)(struct net_device *, struct ethtool_wolinfo *);
604 u32 (*get_msglevel)(struct net_device *);
[all …]
Dnetdevice.h75 void netdev_set_default_ethtool_ops(struct net_device *dev,
276 int (*create) (struct sk_buff *skb, struct net_device *dev,
282 const struct net_device *dev,
334 struct net_device *dev;
495 int dev_set_threaded(struct net_device *dev, bool threaded);
581 struct net_device *dev;
598 struct net_device *sb_dev;
723 bool rps_may_expire_flow(struct net_device *dev, u16 rxq_index, u32 flow_id,
736 struct net_device *dev;
842 typedef u16 (*select_queue_fallback_t)(struct net_device *dev,
[all …]
Dif_bridge.h72 int br_multicast_list_adjacent(struct net_device *dev,
74 bool br_multicast_has_querier_anywhere(struct net_device *dev, int proto);
75 bool br_multicast_has_querier_adjacent(struct net_device *dev, int proto);
76 bool br_multicast_has_router_adjacent(struct net_device *dev, int proto);
77 bool br_multicast_enabled(const struct net_device *dev);
78 bool br_multicast_router(const struct net_device *dev);
80 static inline int br_multicast_list_adjacent(struct net_device *dev, in br_multicast_list_adjacent()
85 static inline bool br_multicast_has_querier_anywhere(struct net_device *dev, in br_multicast_has_querier_anywhere()
90 static inline bool br_multicast_has_querier_adjacent(struct net_device *dev, in br_multicast_has_querier_adjacent()
96 static inline bool br_multicast_has_router_adjacent(struct net_device *dev, in br_multicast_has_router_adjacent()
[all …]
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 if_settings *ifs);
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 …]
Dlapb.h28 void (*connect_confirmation)(struct net_device *dev, int reason);
29 void (*connect_indication)(struct net_device *dev, int reason);
30 void (*disconnect_confirmation)(struct net_device *dev, int reason);
31 void (*disconnect_indication)(struct net_device *dev, int reason);
32 int (*data_indication)(struct net_device *dev, struct sk_buff *skb);
33 void (*data_transmit)(struct net_device *dev, struct sk_buff *skb);
48 extern int lapb_register(struct net_device *dev,
50 extern int lapb_unregister(struct net_device *dev);
51 extern int lapb_getparms(struct net_device *dev, struct lapb_parms_struct *parms);
52 extern int lapb_setparms(struct net_device *dev, struct lapb_parms_struct *parms);
[all …]
Dif_vlan.h72 static inline bool is_vlan_dev(const struct net_device *dev) in is_vlan_dev()
83 static inline int vlan_get_rx_ctag_filter_info(struct net_device *dev) in vlan_get_rx_ctag_filter_info()
89 static inline void vlan_drop_rx_ctag_filter_info(struct net_device *dev) in vlan_drop_rx_ctag_filter_info()
95 static inline int vlan_get_rx_stag_filter_info(struct net_device *dev) in vlan_get_rx_stag_filter_info()
101 static inline void vlan_drop_rx_stag_filter_info(struct net_device *dev) in vlan_drop_rx_stag_filter_info()
131 extern struct net_device *__vlan_find_dev_deep_rcu(struct net_device *real_dev,
133 extern int vlan_for_each(struct net_device *dev,
134 int (*action)(struct net_device *dev, int vid,
136 extern struct net_device *vlan_dev_real_dev(const struct net_device *dev);
137 extern u16 vlan_dev_vlan_id(const struct net_device *dev);
[all …]
/Linux-v5.15/net/8021q/
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()
67 static inline struct net_device *vlan_group_get_device(struct vlan_group *vg, in vlan_group_get_device()
81 struct net_device *dev) in vlan_group_set_device()
84 struct net_device **array; in vlan_group_set_device()
94 static inline struct net_device *vlan_find_dev(struct net_device *real_dev, in vlan_find_dev()
106 static inline netdev_features_t vlan_tnl_features(struct net_device *real_dev) in vlan_tnl_features()
128 void vlan_dev_set_ingress_priority(const struct net_device *dev,
[all …]
/Linux-v5.15/drivers/staging/rtl8192e/rtl8192e/
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 …]
Dr8192E_phy.h58 u8 rtl92e_is_legal_rf_path(struct net_device *dev, u32 eRFPath);
59 void rtl92e_set_bb_reg(struct net_device *dev, u32 dwRegAddr,
61 u32 rtl92e_get_bb_reg(struct net_device *dev, u32 dwRegAddr, u32 dwBitMask);
62 void rtl92e_set_rf_reg(struct net_device *dev, enum rf90_radio_path eRFPath,
64 u32 rtl92e_get_rf_reg(struct net_device *dev, enum rf90_radio_path eRFPath,
66 void rtl92e_config_mac(struct net_device *dev);
67 bool rtl92e_check_bb_and_rf(struct net_device *dev,
70 bool rtl92e_config_bb(struct net_device *dev);
71 void rtl92e_get_tx_power(struct net_device *dev);
72 void rtl92e_set_tx_power(struct net_device *dev, u8 channel);
[all …]
/Linux-v5.15/drivers/net/hyperv/
Dnetvsc.c34 int netvsc_switch_datapath(struct net_device *ndev, bool vf) in netvsc_switch_datapath()
129 struct netvsc_device *net_device; in alloc_net_device() local
131 net_device = kzalloc(sizeof(struct netvsc_device), GFP_KERNEL); in alloc_net_device()
132 if (!net_device) in alloc_net_device()
135 init_waitqueue_head(&net_device->wait_drain); in alloc_net_device()
136 net_device->destroy = false; in alloc_net_device()
137 net_device->tx_disable = true; in alloc_net_device()
139 net_device->max_pkt = RNDIS_MAX_PKT_DEFAULT; in alloc_net_device()
140 net_device->pkt_align = RNDIS_PKT_ALIGN_DEFAULT; in alloc_net_device()
142 init_completion(&net_device->channel_init_wait); in alloc_net_device()
[all …]
/Linux-v5.15/net/switchdev/
Dswitchdev.c25 typedef void switchdev_deferred_func_t(struct net_device *dev,
30 struct net_device *dev;
81 static int switchdev_deferred_enqueue(struct net_device *dev, in switchdev_deferred_enqueue()
102 struct net_device *dev, in switchdev_port_attr_notify()
128 static int switchdev_port_attr_set_now(struct net_device *dev, in switchdev_port_attr_set_now()
136 static void switchdev_port_attr_set_deferred(struct net_device *dev, in switchdev_port_attr_set_deferred()
150 static int switchdev_port_attr_set_defer(struct net_device *dev, in switchdev_port_attr_set_defer()
167 int switchdev_port_attr_set(struct net_device *dev, in switchdev_port_attr_set()
194 struct net_device *dev, in switchdev_port_obj_notify()
217 static void switchdev_port_obj_add_deferred(struct net_device *dev, in switchdev_port_obj_add_deferred()
[all …]
/Linux-v5.15/drivers/infiniband/ulp/ipoib/
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;
420 struct net_device *dev;
429 struct net_device *dev;
452 struct net_device *dev;
[all …]
/Linux-v5.15/drivers/net/ethernet/sfc/
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 …]
/Linux-v5.15/include/linux/can/
Ddev.h45 struct net_device *dev;
77 int (*do_set_bittiming)(struct net_device *dev);
78 int (*do_set_data_bittiming)(struct net_device *dev);
79 int (*do_set_mode)(struct net_device *dev, enum can_mode mode);
80 int (*do_set_termination)(struct net_device *dev, u16 term);
81 int (*do_get_state)(const struct net_device *dev,
83 int (*do_get_berr_counter)(const struct net_device *dev,
101 static inline void can_set_static_ctrlmode(struct net_device *dev, in can_set_static_ctrlmode()
115 void can_setup(struct net_device *dev);
117 struct net_device *alloc_candev_mqs(int sizeof_priv, unsigned int echo_skb_max,
[all …]
/Linux-v5.15/drivers/staging/rtl8192u/
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 …]
/Linux-v5.15/drivers/staging/octeon/
Docteon-ethernet.h57 struct net_device *netdev;
72 void (*poll)(struct net_device *dev);
79 int cvm_oct_rgmii_open(struct net_device *dev);
81 int cvm_oct_sgmii_init(struct net_device *dev);
82 int cvm_oct_sgmii_open(struct net_device *dev);
84 int cvm_oct_spi_init(struct net_device *dev);
85 void cvm_oct_spi_uninit(struct net_device *dev);
87 int cvm_oct_common_init(struct net_device *dev);
88 void cvm_oct_common_uninit(struct net_device *dev);
89 void cvm_oct_adjust_link(struct net_device *dev);
[all …]
/Linux-v5.15/drivers/net/ethernet/8390/
D8390.h27 void ei_poll(struct net_device *dev);
28 void eip_poll(struct net_device *dev);
33 void NS8390_init(struct net_device *dev, int startp);
34 int ei_open(struct net_device *dev);
35 int ei_close(struct net_device *dev);
37 void ei_tx_timeout(struct net_device *dev, unsigned int txqueue);
38 netdev_tx_t ei_start_xmit(struct sk_buff *skb, struct net_device *dev);
39 void ei_set_multicast_list(struct net_device *dev);
40 struct net_device_stats *ei_get_stats(struct net_device *dev);
44 struct net_device *__alloc_ei_netdev(int size);
[all …]
/Linux-v5.15/net/mac802154/
Dieee802154_i.h81 struct net_device *dev;
104 IEEE802154_DEV_TO_SUB_IF(const struct net_device *dev) in IEEE802154_DEV_TO_SUB_IF()
126 ieee802154_monitor_start_xmit(struct sk_buff *skb, struct net_device *dev);
128 ieee802154_subif_start_xmit(struct sk_buff *skb, struct net_device *dev);
132 void mac802154_dev_set_page_channel(struct net_device *dev, u8 page, u8 chan);
134 int mac802154_get_params(struct net_device *dev,
136 int mac802154_set_params(struct net_device *dev,
140 int mac802154_add_key(struct net_device *dev,
143 int mac802154_del_key(struct net_device *dev,
146 int mac802154_add_dev(struct net_device *dev,
[all …]
/Linux-v5.15/drivers/net/arcnet/
Darcdevice.h196 void (*rx)(struct net_device *dev, int bufnum,
198 int (*build_header)(struct sk_buff *skb, struct net_device *dev,
202 int (*prepare_tx)(struct net_device *dev, struct archdr *pkt,
204 int (*continue_tx)(struct net_device *dev, int bufnum);
205 int (*ack_tx)(struct net_device *dev, int acked);
267 struct net_device *dev;
318 void (*command)(struct net_device *dev, int cmd);
319 int (*status)(struct net_device *dev);
320 void (*intmask)(struct net_device *dev, int mask);
321 int (*reset)(struct net_device *dev, int really_reset);
[all …]
/Linux-v5.15/net/dsa/
Ddsa_priv.h55 struct net_device *br;
78 struct net_device *lag;
131 struct net_device *dev;
144 struct net_device *hsr;
152 struct net_device *dev);
182 int dsa_master_setup(struct net_device *dev, struct dsa_port *cpu_dp);
183 void dsa_master_teardown(struct net_device *dev);
185 static inline struct net_device *dsa_master_find_slave(struct net_device *dev, in dsa_master_find_slave()
208 int dsa_port_bridge_join(struct dsa_port *dp, struct net_device *br,
210 void dsa_port_pre_bridge_leave(struct dsa_port *dp, struct net_device *br);
[all …]

12345678910>>...73