Home
last modified time | relevance | path

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

12345678910>>...95

/linux-6.15/include/net/
H A Ddcbnl.h13 struct net_device;
27 u8 dcb_getapp(struct net_device *, struct dcb_app *);
82 u8 (*getstate)(struct net_device *);
83 u8 (*setstate)(struct net_device *, u8);
95 u8 (*setall)(struct net_device *);
96 u8 (*getcap)(struct net_device *, int, u8 *);
99 u8 (*getpfcstate)(struct net_device *);
100 void (*setpfcstate)(struct net_device *, u8);
106 int (*getapp)(struct net_device *, u8, u16);
111 u8 (*getdcbx)(struct net_device *);
[all …]
H A Dswitchdev.h52 struct net_device *orig_dev;
88 struct net_device *orig_dev;
126 struct net_device *p_port;
127 struct net_device *s_port;
185 struct net_device *i_port;
205 struct net_device *dev;
236 struct net_device *dev;
337 int (*mod_cb)(struct net_device *dev, struct net_device *orig_dev,
430 struct net_device *dev, in call_switchdev_notifiers()
451 struct net_device *dev, in call_switchdev_blocking_notifiers()
[all …]
H A 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);
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);
21 struct net_device *failover_dev);
[all …]
H A Drtnetlink.h152 void (*setup)(struct net_device *dev);
162 int (*newlink)(struct net_device *dev,
165 int (*changelink)(struct net_device *dev,
169 void (*dellink)(struct net_device *dev,
174 const struct net_device *dev);
178 const struct net_device *dev);
185 struct net_device *slave_dev,
192 const struct net_device *dev,
198 const struct net_device *dev,
227 const struct net_device *dev,
[all …]
/linux-6.15/include/linux/
H A Dif_bridge.h73 int br_multicast_list_adjacent(struct net_device *dev,
78 bool br_multicast_enabled(const struct net_device *dev);
79 bool br_multicast_router(const struct net_device *dev);
114 bool br_vlan_enabled(const struct net_device *dev);
118 int br_vlan_get_info(const struct net_device *dev, u16 vid,
122 bool br_mst_enabled(const struct net_device *dev);
176 struct net_device *br_fdb_find_port(const struct net_device *br_dev,
181 u8 br_port_get_stp_state(const struct net_device *dev);
182 clock_t br_get_ageing_time(const struct net_device *br_dev);
184 static inline struct net_device *
[all …]
H A Dnetdevice.h1530 struct net_device* (*ndo_get_xmit_slave)(struct net_device *dev,
1533 struct net_device* (*ndo_sk_get_lower_dev)(struct net_device *dev,
1628 struct net_device * (*ndo_xdp_get_xmit_slave)(struct net_device *dev,
1635 struct net_device * (*ndo_get_peer_dev)(struct net_device *dev);
2080 struct net_device { struct
3380 struct net_device *netdev_get_xmit_slave(struct net_device *dev,
3383 struct net_device *netdev_sk_get_lowest_dev(struct net_device *dev,
4891 int dev_uc_sync(struct net_device *to, struct net_device *from);
4893 void dev_uc_unsync(struct net_device *to, struct net_device *from);
4935 int dev_mc_sync(struct net_device *to, struct net_device *from);
[all …]
H A Dethtool.h127 struct net_device;
1024 int (*nway_reset)(struct net_device *);
1025 u32 (*get_link)(struct net_device *);
1031 int (*get_eeprom)(struct net_device *,
1033 int (*set_eeprom)(struct net_device *,
1035 int (*get_coalesce)(struct net_device *,
1062 int (*begin)(struct net_device *);
1063 void (*complete)(struct net_device *);
1067 int (*get_rxnfc)(struct net_device *,
1104 int (*get_tunable)(struct net_device *,
[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 */
24 void (*detach)(struct net_device *dev);
37 int (*attach)(struct net_device *dev,
61 void unregister_hdlc_device(struct net_device *dev);
67 struct net_device *alloc_hdlcdev(void *priv);
90 int hdlc_open(struct net_device *dev);
92 void hdlc_close(struct net_device *dev);
99 int detach_hdlc_protocol(struct net_device *dev);
[all …]
H A Dlapb.h12 struct net_device;
33 void (*connect_confirmation)(struct net_device *dev, int reason);
34 void (*connect_indication)(struct net_device *dev, int reason);
35 void (*disconnect_confirmation)(struct net_device *dev, int reason);
36 void (*disconnect_indication)(struct net_device *dev, int reason);
37 int (*data_indication)(struct net_device *dev, struct sk_buff *skb);
38 void (*data_transmit)(struct net_device *dev, struct sk_buff *skb);
53 extern int lapb_register(struct net_device *dev,
55 extern int lapb_unregister(struct net_device *dev);
58 extern int lapb_connect_request(struct net_device *dev);
[all …]
H A Dif_vlan.h141 extern struct net_device *__vlan_find_dev_deep_rcu(struct net_device *real_dev,
143 extern int vlan_for_each(struct net_device *dev,
146 extern struct net_device *vlan_dev_real_dev(const struct net_device *dev);
191 struct net_device *real_dev;
233 const struct net_device *by_dev);
235 const struct net_device *by_dev);
240 static inline struct net_device *
248 vlan_for_each(struct net_device *dev, in vlan_for_each()
255 static inline struct net_device *vlan_dev_real_dev(const struct net_device *dev) in vlan_dev_real_dev()
294 const struct net_device *by_dev) in vlan_vids_add_by_dev()
[all …]
/linux-6.15/net/8021q/
H A Dvlan.h25 struct net_device **vlan_devices_arrays[VLAN_PROTO_NUM]
56 struct net_device **array; 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()
137 int vlan_check_real_dev(struct net_device *real_dev,
140 void vlan_setup(struct net_device *dev);
143 bool vlan_dev_inherit_address(struct net_device *dev,
144 struct net_device *real_dev);
157 int vlan_gvrp_init_applicant(struct net_device *dev);
[all …]
/linux-6.15/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);
18 void efx_ethtool_self_test(struct net_device *net_dev,
22 int efx_ethtool_set_pauseparam(struct net_device *net_dev,
30 void efx_ethtool_get_stats(struct net_device *net_dev,
37 int efx_ethtool_get_fecparam(struct net_device *net_dev,
39 int efx_ethtool_set_fecparam(struct net_device *net_dev,
41 int efx_ethtool_get_rxnfc(struct net_device *net_dev,
43 int efx_ethtool_set_rxnfc(struct net_device *net_dev,
47 int efx_ethtool_get_rxfh(struct net_device *net_dev,
[all …]
/linux-6.15/net/core/
H A Ddev.h32 struct net_device *__netdev_put_lock(struct net_device *dev);
33 struct net_device *
50 void linkwatch_init_dev(struct net_device *dev);
53 void dev_addr_flush(struct net_device *dev);
54 int dev_addr_init(struct net_device *dev);
55 void dev_addr_check(struct net_device *dev);
58 void net_shaper_flush_netdev(struct net_device *dev);
83 struct net_device *dev;
106 int dev_get_phys_port_id(struct net_device *dev,
108 int dev_get_phys_port_name(struct net_device *dev,
[all …]
/linux-6.15/drivers/infiniband/ulp/ipoib/
H A Dipoib.h180 struct net_device *dev;
239 struct net_device *dev;
249 struct net_device *dev;
324 struct net_device *dev;
401 struct net_device *parent;
423 struct net_device *dev;
432 struct net_device *dev;
455 struct net_device *dev;
475 struct net_device *dev);
495 int ipoib_open(struct net_device *dev);
[all …]
/linux-6.15/drivers/net/ethernet/sfc/siena/
H A Dethtool_common.h14 void efx_siena_ethtool_get_drvinfo(struct net_device *net_dev,
16 u32 efx_siena_ethtool_get_msglevel(struct net_device *net_dev);
18 void efx_siena_ethtool_self_test(struct net_device *net_dev,
22 int efx_siena_ethtool_set_pauseparam(struct net_device *net_dev,
27 void efx_siena_ethtool_get_stats(struct net_device *net_dev,
34 int efx_siena_ethtool_get_fecparam(struct net_device *net_dev,
36 int efx_siena_ethtool_set_fecparam(struct net_device *net_dev,
38 int efx_siena_ethtool_get_rxnfc(struct net_device *net_dev,
40 int efx_siena_ethtool_set_rxnfc(struct net_device *net_dev,
44 int efx_siena_ethtool_get_rxfh(struct net_device *net_dev,
[all …]
/linux-6.15/drivers/net/hyperv/
H A Dnetvsc.c133 if (!net_device) in alloc_net_device()
147 return net_device; in alloc_net_device()
451 net_device->recv_completion_cnt = net_device->recv_section_cnt + 1; in netvsc_init_buf()
528 net_device->send_section_cnt = buf_size / net_device->send_section_size; in netvsc_init_buf()
531 net_device->send_section_size, net_device->send_section_cnt); in netvsc_init_buf()
534 net_device->send_section_map = bitmap_zalloc(net_device->send_section_cnt, in netvsc_init_buf()
1246 if (unlikely(!net_device || net_device->destroy)) in netvsc_send()
1695 struct netvsc_device *net_device = nvchan->net_device; in netvsc_poll() local
1771 if (!net_device) in netvsc_device_add()
1793 nvchan->net_device = net_device; in netvsc_device_add()
[all …]
/linux-6.15/net/switchdev/
H A Dswitchdev.c59 struct net_device *dev;
132 struct net_device *dev, in switchdev_port_attr_notify()
224 struct net_device *dev, in switchdev_port_obj_notify()
561 const struct net_device *dev;
562 struct net_device *lower_dev;
572 const struct net_device *dev; in switchdev_lower_dev_walk()
586 static struct net_device *
607 static struct net_device *
634 int (*mod_cb)(struct net_device *dev, struct net_device *orig_dev, in __switchdev_handle_fdb_event_to_device()
694 int (*mod_cb)(struct net_device *dev, struct net_device *orig_dev, in switchdev_handle_fdb_event_to_device()
[all …]
/linux-6.15/drivers/net/ethernet/wangxun/libwx/
H A Dwx_ethtool.h9 void wx_get_ethtool_stats(struct net_device *netdev,
11 void wx_get_mac_stats(struct net_device *netdev,
13 void wx_get_pause_stats(struct net_device *netdev,
16 int wx_nway_reset(struct net_device *netdev);
23 int wx_set_pauseparam(struct net_device *netdev,
29 int wx_get_coalesce(struct net_device *netdev,
33 int wx_set_coalesce(struct net_device *netdev,
37 void wx_get_channels(struct net_device *dev,
39 int wx_set_channels(struct net_device *dev,
43 int wx_get_ts_info(struct net_device *dev,
[all …]
/linux-6.15/include/linux/can/
H A Ddev.h45 struct net_device *dev;
79 int (*do_set_bittiming)(struct net_device *dev);
83 int (*do_get_state)(const struct net_device *dev,
171 void can_setup(struct net_device *dev);
179 void free_candev(struct net_device *dev);
184 int open_candev(struct net_device *dev);
185 void close_candev(struct net_device *dev);
191 int register_candev(struct net_device *dev);
192 void unregister_candev(struct net_device *dev);
194 int can_restart_now(struct net_device *dev);
[all …]
/linux-6.15/net/dsa/
H A Duser.h14 struct net_device;
23 struct net_device *dev);
40 void dsa_user_destroy(struct net_device *user_dev);
41 int dsa_user_suspend(struct net_device *user_dev);
42 int dsa_user_resume(struct net_device *user_dev);
47 void dsa_user_sync_ha(struct net_device *dev);
48 void dsa_user_unsync_ha(struct net_device *dev);
49 void dsa_user_setup_tagger(struct net_device *user);
51 int dsa_user_change_conduit(struct net_device *dev, struct net_device *conduit,
63 static inline struct net_device *
[all …]
/linux-6.15/drivers/staging/octeon/
H A 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);
91 int cvm_oct_common_open(struct net_device *dev,
92 void (*link_poll)(struct net_device *));
95 void cvm_oct_link_poll(struct net_device *dev);
[all …]
/linux-6.15/drivers/net/ethernet/8390/
H A D8390.h29 void ei_poll(struct net_device *dev);
30 void eip_poll(struct net_device *dev);
36 int ei_open(struct net_device *dev);
37 int ei_close(struct net_device *dev);
41 void ei_set_multicast_list(struct net_device *dev);
46 struct net_device *__alloc_ei_netdev(int size);
54 int eip_open(struct net_device *dev);
55 int eip_close(struct net_device *dev);
64 struct net_device *__alloc_eip_netdev(int size);
73 void (*reset_8390)(struct net_device *dev);
[all …]
/linux-6.15/drivers/net/arcnet/
H A Darcdevice.h199 void (*rx)(struct net_device *dev, int bufnum,
208 int (*ack_tx)(struct net_device *dev, int acked);
270 struct net_device *dev;
322 int (*status)(struct net_device *dev);
325 void (*open)(struct net_device *dev);
326 void (*close)(struct net_device *dev);
361 struct net_device *alloc_arcdev(const char *name);
362 void free_arcdev(struct net_device *dev);
364 int arcnet_open(struct net_device *dev);
365 int arcnet_close(struct net_device *dev);
[all …]
/linux-6.15/net/wireless/
H A Dwext-compat.h8 int cfg80211_ibss_wext_siwfreq(struct net_device *dev,
11 int cfg80211_ibss_wext_giwfreq(struct net_device *dev,
14 int cfg80211_ibss_wext_siwap(struct net_device *dev,
17 int cfg80211_ibss_wext_giwap(struct net_device *dev,
20 int cfg80211_ibss_wext_siwessid(struct net_device *dev,
27 int cfg80211_mgd_wext_siwfreq(struct net_device *dev,
30 int cfg80211_mgd_wext_giwfreq(struct net_device *dev,
33 int cfg80211_mgd_wext_siwap(struct net_device *dev,
36 int cfg80211_mgd_wext_giwap(struct net_device *dev,
46 int cfg80211_wext_siwmlme(struct net_device *dev,
[all …]
/linux-6.15/drivers/net/ethernet/qlogic/qede/
H A Dqede_dcbnl.c13 static u8 qede_dcbnl_getstate(struct net_device *netdev) in qede_dcbnl_getstate()
20 static u8 qede_dcbnl_setstate(struct net_device *netdev, u8 state) in qede_dcbnl_setstate()
27 static void qede_dcbnl_getpermhwaddr(struct net_device *netdev, in qede_dcbnl_getpermhwaddr()
43 static void qede_dcbnl_getpgbwgcfgtx(struct net_device *netdev, in qede_dcbnl_getpgbwgcfgtx()
61 static void qede_dcbnl_getpgbwgcfgrx(struct net_device *netdev, in qede_dcbnl_getpgbwgcfgrx()
99 static u8 qede_dcbnl_getpfcstate(struct net_device *netdev) in qede_dcbnl_getpfcstate()
113 static u8 qede_dcbnl_getdcbx(struct net_device *netdev) in qede_dcbnl_getdcbx()
154 static u8 qede_dcbnl_setall(struct net_device *netdev) in qede_dcbnl_setall()
238 static int qede_dcbnl_ieee_getpfc(struct net_device *netdev, in qede_dcbnl_ieee_getpfc()
246 static int qede_dcbnl_ieee_setpfc(struct net_device *netdev, in qede_dcbnl_ieee_setpfc()
[all …]

12345678910>>...95