Home
last modified time | relevance | path

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

12345678910>>...95

/openbmc/linux/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.h88 void (*setup)(struct net_device *dev);
98 struct net_device *dev,
102 int (*changelink)(struct net_device *dev,
106 void (*dellink)(struct net_device *dev,
111 const struct net_device *dev);
115 const struct net_device *dev);
122 struct net_device *slave_dev,
129 const struct net_device *dev,
135 const struct net_device *dev,
164 const struct net_device *dev,
[all …]
/openbmc/linux/include/linux/
H 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 …]
H A Dnetdevice.h1541 struct net_device* (*ndo_get_xmit_slave)(struct net_device *dev,
1544 struct net_device* (*ndo_sk_get_lower_dev)(struct net_device *dev,
1631 struct net_device * (*ndo_xdp_get_xmit_slave)(struct net_device *dev,
1637 struct net_device * (*ndo_get_peer_dev)(struct net_device *dev);
2067 struct net_device { struct
3136 struct net_device *netdev_get_xmit_slave(struct net_device *dev,
3139 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 …]
H A Dethtool.h117 struct net_device;
797 int (*nway_reset)(struct net_device *);
798 u32 (*get_link)(struct net_device *);
804 int (*get_eeprom)(struct net_device *,
806 int (*set_eeprom)(struct net_device *,
808 int (*get_coalesce)(struct net_device *,
835 int (*begin)(struct net_device *);
836 void (*complete)(struct net_device *);
840 int (*get_rxnfc)(struct net_device *,
869 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 …]
/openbmc/linux/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 …]
/openbmc/linux/drivers/staging/rtl8192e/rtl8192e/
H A Dr8192E_dev.h14 bool rtl92e_is_tx_stuck(struct net_device *dev);
15 bool rtl92e_is_rx_stuck(struct net_device *dev);
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_init_variables(struct net_device *dev);
22 void rtl92e_start_beacon(struct net_device *dev);
24 void rtl92e_get_eeprom_size(struct net_device *dev);
25 bool rtl92e_start_adapter(struct net_device *dev);
[all …]
H A Dr8192E_phy.h28 void rtl92e_set_bb_reg(struct net_device *dev, u32 dwRegAddr,
35 void rtl92e_config_mac(struct net_device *dev);
36 bool rtl92e_check_bb_and_rf(struct net_device *dev,
39 bool rtl92e_config_bb(struct net_device *dev);
40 void rtl92e_get_tx_power(struct net_device *dev);
41 void rtl92e_set_tx_power(struct net_device *dev, u8 channel);
44 u8 rtl92e_set_channel(struct net_device *dev, u8 channel);
45 void rtl92e_set_bw_mode(struct net_device *dev,
48 void rtl92e_init_gain(struct net_device *dev, u8 Operation);
50 void rtl92e_set_rf_off(struct net_device *dev);
[all …]
/openbmc/linux/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,
20 void efx_siena_ethtool_get_pauseparam(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,
[all …]
/openbmc/linux/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,
20 void efx_ethtool_get_pauseparam(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,
[all …]
/openbmc/linux/net/core/
H A Ddev.h8 struct net_device;
32 void linkwatch_init_dev(struct net_device *dev);
33 void linkwatch_forget_dev(struct net_device *dev);
36 void dev_addr_flush(struct net_device *dev);
37 int dev_addr_init(struct net_device *dev);
38 void dev_addr_check(struct net_device *dev);
58 struct net_device *dev;
76 int dev_set_mtu_ext(struct net_device *dev, int mtu,
79 int dev_get_phys_port_id(struct net_device *dev,
81 int dev_get_phys_port_name(struct net_device *dev,
[all …]
/openbmc/linux/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()
1199 if (unlikely(!net_device || net_device->destroy)) in netvsc_send()
1648 struct netvsc_device *net_device = nvchan->net_device; in netvsc_poll() local
1724 if (!net_device) in netvsc_device_add()
1746 nvchan->net_device = net_device; in netvsc_device_add()
[all …]
/openbmc/linux/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;
399 struct net_device *parent;
421 struct net_device *dev;
430 struct net_device *dev;
453 struct net_device *dev;
473 struct net_device *dev);
493 int ipoib_open(struct net_device *dev);
[all …]
/openbmc/linux/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()
459 const struct net_device *dev;
460 struct net_device *lower_dev;
470 const struct net_device *dev; in switchdev_lower_dev_walk()
484 static struct net_device *
505 static struct net_device *
532 int (*mod_cb)(struct net_device *dev, struct net_device *orig_dev, in __switchdev_handle_fdb_event_to_device()
592 int (*mod_cb)(struct net_device *dev, struct net_device *orig_dev, in switchdev_handle_fdb_event_to_device()
[all …]
/openbmc/linux/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 …]
/openbmc/linux/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 …]
/openbmc/linux/drivers/staging/rtl8192u/
H A Dr819xU_phy.h53 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);
66 void rtl8192_phy_RFConfig(struct net_device *dev);
67 void rtl8192_phy_updateInitGain(struct net_device *dev);
72 void rtl8192_SetBWMode(struct net_device *dev,
75 void rtl8192_SwChnl_WorkItem(struct net_device *dev);
[all …]
/openbmc/linux/net/dsa/
H A Dslave.h14 struct net_device;
23 struct net_device *dev);
40 void dsa_slave_destroy(struct net_device *slave_dev);
41 int dsa_slave_suspend(struct net_device *slave_dev);
42 int dsa_slave_resume(struct net_device *slave_dev);
45 void dsa_slave_sync_ha(struct net_device *dev);
46 void dsa_slave_unsync_ha(struct net_device *dev);
47 void dsa_slave_setup_tagger(struct net_device *slave);
49 int dsa_slave_change_master(struct net_device *dev, struct net_device *master,
61 static inline struct net_device *
[all …]
/openbmc/linux/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 …]
/openbmc/linux/drivers/net/arcnet/
H A Darcdevice.h198 void (*rx)(struct net_device *dev, int bufnum,
207 int (*ack_tx)(struct net_device *dev, int acked);
269 struct net_device *dev;
321 int (*status)(struct net_device *dev);
324 void (*open)(struct net_device *dev);
325 void (*close)(struct net_device *dev);
360 struct net_device *alloc_arcdev(const char *name);
361 void free_arcdev(struct net_device *dev);
363 int arcnet_open(struct net_device *dev);
364 int arcnet_close(struct net_device *dev);
[all …]
/openbmc/linux/net/wireless/
H A Dwext-compat.h14 int cfg80211_ibss_wext_siwfreq(struct net_device *dev,
17 int cfg80211_ibss_wext_giwfreq(struct net_device *dev,
20 int cfg80211_ibss_wext_siwap(struct net_device *dev,
23 int cfg80211_ibss_wext_giwap(struct net_device *dev,
26 int cfg80211_ibss_wext_siwessid(struct net_device *dev,
33 int cfg80211_mgd_wext_siwfreq(struct net_device *dev,
36 int cfg80211_mgd_wext_giwfreq(struct net_device *dev,
39 int cfg80211_mgd_wext_siwap(struct net_device *dev,
42 int cfg80211_mgd_wext_giwap(struct net_device *dev,
52 int cfg80211_wext_siwmlme(struct net_device *dev,
[all …]

12345678910>>...95