Home
last modified time | relevance | path

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

12345678910>>...85

/linux/include/net/
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 …]
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 …]
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 …]
A Drtnetlink.h107 void (*setup)(struct net_device *dev);
117 struct net_device *dev,
121 int (*changelink)(struct net_device *dev,
125 void (*dellink)(struct net_device *dev,
130 const struct net_device *dev);
134 const struct net_device *dev);
141 struct net_device *slave_dev,
148 const struct net_device *dev,
154 const struct net_device *dev,
183 const struct net_device *dev,
[all …]
/linux/include/linux/
A Dnetdevice.h1493 struct net_device* (*ndo_get_xmit_slave)(struct net_device *dev,
1496 struct net_device* (*ndo_sk_get_lower_dev)(struct net_device *dev,
1588 struct net_device * (*ndo_xdp_get_xmit_slave)(struct net_device *dev,
1595 struct net_device * (*ndo_get_peer_dev)(struct net_device *dev);
2016 struct net_device { struct
3125 struct net_device *netdev_get_xmit_slave(struct net_device *dev,
3128 struct net_device *netdev_sk_get_lowest_dev(struct net_device *dev,
4618 int dev_uc_sync(struct net_device *to, struct net_device *from);
4620 void dev_uc_unsync(struct net_device *to, struct net_device *from);
4662 int dev_mc_sync(struct net_device *to, struct net_device *from);
[all …]
A Dif_bridge.h75 int br_multicast_list_adjacent(struct net_device *dev,
80 bool br_multicast_enabled(const struct net_device *dev);
81 bool br_multicast_router(const struct net_device *dev);
116 bool br_vlan_enabled(const struct net_device *dev);
120 int br_vlan_get_info(const struct net_device *dev, u16 vid,
124 bool br_mst_enabled(const struct net_device *dev);
178 struct net_device *br_fdb_find_port(const struct net_device *br_dev,
183 u8 br_port_get_stp_state(const struct net_device *dev);
184 clock_t br_get_ageing_time(const struct net_device *br_dev);
186 static inline struct net_device *
[all …]
A Dethtool.h120 struct net_device;
972 int (*nway_reset)(struct net_device *);
973 u32 (*get_link)(struct net_device *);
979 int (*get_eeprom)(struct net_device *,
981 int (*set_eeprom)(struct net_device *,
983 int (*get_coalesce)(struct net_device *,
1010 int (*begin)(struct net_device *);
1011 void (*complete)(struct net_device *);
1015 int (*get_rxnfc)(struct net_device *,
1052 int (*get_tunable)(struct net_device *,
[all …]
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 …]
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 …]
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);
190 struct net_device *real_dev;
232 const struct net_device *by_dev);
234 const struct net_device *by_dev);
239 static inline struct net_device *
247 vlan_for_each(struct net_device *dev, in vlan_for_each()
254 static inline struct net_device *vlan_dev_real_dev(const struct net_device *dev) in vlan_dev_real_dev()
293 const struct net_device *by_dev) in vlan_vids_add_by_dev()
[all …]
/linux/net/8021q/
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/drivers/net/hyperv/
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()
1201 if (unlikely(!net_device || net_device->destroy)) in netvsc_send()
1650 struct netvsc_device *net_device = nvchan->net_device; in netvsc_poll() local
1726 if (!net_device) in netvsc_device_add()
1748 nvchan->net_device = net_device; in netvsc_device_add()
[all …]
/linux/drivers/net/ethernet/sfc/
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/drivers/infiniband/ulp/ipoib/
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/drivers/net/ethernet/sfc/siena/
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/net/switchdev/
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()
550 const struct net_device *dev;
551 struct net_device *lower_dev;
561 const struct net_device *dev; in switchdev_lower_dev_walk()
575 static struct net_device *
596 static struct net_device *
623 int (*mod_cb)(struct net_device *dev, struct net_device *orig_dev, in __switchdev_handle_fdb_event_to_device()
683 int (*mod_cb)(struct net_device *dev, struct net_device *orig_dev, in switchdev_handle_fdb_event_to_device()
[all …]
/linux/drivers/staging/rtl8192e/rtl8192e/
A Dr8192E_dev.h12 bool rtl92e_is_halfn_supported_by_ap(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);
17 void rtl92e_enable_rx(struct net_device *dev);
18 void rtl92e_enable_tx(struct net_device *dev);
19 void rtl92e_init_variables(struct net_device *dev);
21 void rtl92e_get_eeprom_size(struct net_device *dev);
22 bool rtl92e_start_adapter(struct net_device *dev);
23 void rtl92e_link_change(struct net_device *dev);
[all …]
A Dr8192E_phy.h26 void rtl92e_set_bb_reg(struct net_device *dev, u32 dwRegAddr,
33 void rtl92e_config_mac(struct net_device *dev);
34 bool rtl92e_check_bb_and_rf(struct net_device *dev,
37 bool rtl92e_config_bb(struct net_device *dev);
38 void rtl92e_get_tx_power(struct net_device *dev);
39 void rtl92e_set_tx_power(struct net_device *dev, u8 channel);
42 void rtl92e_set_channel(struct net_device *dev, u8 channel);
43 void rtl92e_set_bw_mode(struct net_device *dev,
46 void rtl92e_init_gain(struct net_device *dev, u8 operation);
48 void rtl92e_set_rf_off(struct net_device *dev);
[all …]
/linux/include/linux/can/
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/net/core/
A Ddev.h31 void linkwatch_init_dev(struct net_device *dev);
34 void dev_addr_flush(struct net_device *dev);
35 int dev_addr_init(struct net_device *dev);
36 void dev_addr_check(struct net_device *dev);
54 struct net_device *dev;
71 int dev_validate_mtu(struct net_device *dev, int mtu,
73 int dev_set_mtu_ext(struct net_device *dev, int mtu,
76 int dev_get_phys_port_id(struct net_device *dev,
78 int dev_get_phys_port_name(struct net_device *dev,
93 void __dev_set_rx_mode(struct net_device *dev);
[all …]
/linux/drivers/net/ethernet/wangxun/libwx/
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,
25 void wx_get_ringparam(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,
[all …]
/linux/net/dsa/
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/drivers/staging/octeon/
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/drivers/net/ethernet/8390/
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/drivers/net/arcnet/
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 …]

Completed in 76 milliseconds

12345678910>>...85