Home
last modified time | relevance | path

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

12345678910>>...66

/Linux-v4.19/include/net/
Ddcbnl.h31 int dcb_setapp(struct net_device *, struct dcb_app *);
32 u8 dcb_getapp(struct net_device *, struct dcb_app *);
33 int dcb_ieee_setapp(struct net_device *, struct dcb_app *);
34 int dcb_ieee_delapp(struct net_device *, struct dcb_app *);
35 u8 dcb_ieee_getapp_mask(struct net_device *, struct dcb_app *);
40 void dcb_ieee_getapp_prio_dscp_mask_map(const struct net_device *dev,
46 void dcb_ieee_getapp_dscp_prio_mask_map(const struct net_device *dev,
48 u8 dcb_ieee_getapp_default_prio_mask(const struct net_device *dev);
50 int dcbnl_ieee_notify(struct net_device *dev, int event, int cmd,
52 int dcbnl_cee_notify(struct net_device *dev, int event, int cmd,
[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 *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 …]
Drtnetlink.h65 void (*setup)(struct net_device *dev);
74 struct net_device *dev,
78 int (*changelink)(struct net_device *dev,
82 void (*dellink)(struct net_device *dev,
85 size_t (*get_size)(const struct net_device *dev);
87 const struct net_device *dev);
89 size_t (*get_xstats_size)(const struct net_device *dev);
91 const struct net_device *dev);
97 int (*slave_changelink)(struct net_device *dev,
98 struct net_device *slave_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 …]
Dswitchdev.h58 struct net_device *orig_dev;
62 void (*complete)(struct net_device *dev, int err, void *priv);
83 struct net_device *orig_dev;
87 void (*complete)(struct net_device *dev, int err, void *priv);
130 int (*switchdev_port_attr_get)(struct net_device *dev,
132 int (*switchdev_port_attr_set)(struct net_device *dev,
135 int (*switchdev_port_obj_add)(struct net_device *dev,
138 int (*switchdev_port_obj_del)(struct net_device *dev,
151 struct net_device *dev;
161 static inline struct net_device *
[all …]
Dl3mdev.h30 u32 (*l3mdev_fib_table)(const struct net_device *dev);
31 struct sk_buff * (*l3mdev_l3_rcv)(struct net_device *dev,
33 struct sk_buff * (*l3mdev_l3_out)(struct net_device *dev,
38 struct dst_entry * (*l3mdev_link_scope_lookup)(const struct net_device *dev,
49 int l3mdev_master_ifindex_rcu(const struct net_device *dev);
50 static inline int l3mdev_master_ifindex(struct net_device *dev) in l3mdev_master_ifindex()
63 struct net_device *dev; in l3mdev_master_ifindex_by_index()
80 struct net_device *l3mdev_master_dev_rcu(const struct net_device *_dev) in l3mdev_master_dev_rcu()
88 struct net_device *dev = (struct net_device *)_dev; in l3mdev_master_dev_rcu()
89 struct net_device *master; in l3mdev_master_dev_rcu()
[all …]
/Linux-v4.19/include/linux/
Dethtool.h83 struct net_device;
86 u32 ethtool_op_get_link(struct net_device *dev);
87 int ethtool_op_get_ts_info(struct net_device *dev, struct ethtool_ts_info *eti);
164 __ethtool_get_link_ksettings(struct net_device *dev,
332 int (*get_settings)(struct net_device *, struct ethtool_cmd *);
333 int (*set_settings)(struct net_device *, struct ethtool_cmd *);
334 void (*get_drvinfo)(struct net_device *, struct ethtool_drvinfo *);
335 int (*get_regs_len)(struct net_device *);
336 void (*get_regs)(struct net_device *, struct ethtool_regs *, void *);
337 void (*get_wol)(struct net_device *, struct ethtool_wolinfo *);
[all …]
Dnetdevice.h72 void netdev_set_default_ethtool_ops(struct net_device *dev,
268 int (*create) (struct sk_buff *skb, struct net_device *dev,
274 const struct net_device *dev,
335 struct net_device *dev;
568 struct net_device *dev;
585 struct net_device *sb_dev;
701 bool rps_may_expire_flow(struct net_device *dev, u16 rxq_index, u32 flow_id,
713 struct net_device *dev;
800 typedef u16 (*select_queue_fallback_t)(struct net_device *dev,
802 struct net_device *sb_dev);
[all …]
Dhdlc.h23 int (*open)(struct net_device *dev);
24 void (*close)(struct net_device *dev);
25 void (*start)(struct net_device *dev); /* if open & DCD */
26 void (*stop)(struct net_device *dev); /* if open & !DCD */
27 void (*detach)(struct net_device *dev);
28 int (*ioctl)(struct net_device *dev, struct ifreq *ifr);
29 __be16 (*type_trans)(struct sk_buff *skb, struct net_device *dev);
31 netdev_tx_t (*xmit)(struct sk_buff *skb, struct net_device *dev);
40 int (*attach)(struct net_device *dev,
44 netdev_tx_t (*xmit)(struct sk_buff *skb, struct net_device *dev);
[all …]
Dif_bridge.h63 int br_multicast_list_adjacent(struct net_device *dev,
65 bool br_multicast_has_querier_anywhere(struct net_device *dev, int proto);
66 bool br_multicast_has_querier_adjacent(struct net_device *dev, int proto);
67 bool br_multicast_enabled(const struct net_device *dev);
68 bool br_multicast_router(const struct net_device *dev);
70 static inline int br_multicast_list_adjacent(struct net_device *dev, in br_multicast_list_adjacent()
75 static inline bool br_multicast_has_querier_anywhere(struct net_device *dev, in br_multicast_has_querier_anywhere()
80 static inline bool br_multicast_has_querier_adjacent(struct net_device *dev, in br_multicast_has_querier_adjacent()
85 static inline bool br_multicast_enabled(const struct net_device *dev) in br_multicast_enabled()
89 static inline bool br_multicast_router(const struct net_device *dev) in br_multicast_router()
[all …]
Dif_frad.h57 struct net_device *master;
58 struct net_device *slave;
64 void (*receive)(struct sk_buff *skb, struct net_device *);
70 struct net_device *master[CONFIG_DLCI_MAX];
78 int (*activate)(struct net_device *, struct net_device *);
79 int (*deactivate)(struct net_device *, struct net_device *);
80 int (*assoc)(struct net_device *, struct net_device *);
81 int (*deassoc)(struct net_device *, struct net_device *);
82 int (*dlci_conf)(struct net_device *, struct net_device *, int get);
86 struct net_device *dev;
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 …]
/Linux-v4.19/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()
63 static inline struct net_device *vlan_group_get_device(struct vlan_group *vg, in vlan_group_get_device()
72 struct net_device *dev) in vlan_group_set_device()
74 struct net_device **array; in vlan_group_set_device()
83 static inline struct net_device *vlan_find_dev(struct net_device *real_dev, in vlan_find_dev()
104 void vlan_dev_set_ingress_priority(const struct net_device *dev,
106 int vlan_dev_set_egress_priority(const struct net_device *dev,
[all …]
/Linux-v4.19/drivers/net/hyperv/
Dnetvsc.c44 void netvsc_switch_datapath(struct net_device *ndev, bool vf) in netvsc_switch_datapath()
105 struct netvsc_device *net_device; in alloc_net_device() local
107 net_device = kzalloc(sizeof(struct netvsc_device), GFP_KERNEL); in alloc_net_device()
108 if (!net_device) in alloc_net_device()
111 init_waitqueue_head(&net_device->wait_drain); in alloc_net_device()
112 net_device->destroy = false; in alloc_net_device()
114 net_device->max_pkt = RNDIS_MAX_PKT_DEFAULT; in alloc_net_device()
115 net_device->pkt_align = RNDIS_PKT_ALIGN_DEFAULT; in alloc_net_device()
117 init_completion(&net_device->channel_init_wait); in alloc_net_device()
118 init_waitqueue_head(&net_device->subchan_open); in alloc_net_device()
[all …]
/Linux-v4.19/drivers/staging/rtl8192e/rtl8192e/
Dr8192E_dev.h26 bool rtl92e_is_halfn_supported_by_ap(struct net_device *dev);
27 bool rtl92e_get_nmode_support_by_sec(struct net_device *dev);
28 bool rtl92e_is_tx_stuck(struct net_device *dev);
29 bool rtl92e_is_rx_stuck(struct net_device *dev);
30 void rtl92e_ack_irq(struct net_device *dev, u32 *p_inta, u32 *p_intb);
31 void rtl92e_enable_rx(struct net_device *dev);
32 void rtl92e_enable_tx(struct net_device *dev);
33 void rtl92e_enable_irq(struct net_device *dev);
34 void rtl92e_disable_irq(struct net_device *dev);
35 void rtl92e_clear_irq(struct net_device *dev);
[all …]
Dr8192E_phy.h66 u8 rtl92e_is_legal_rf_path(struct net_device *dev, u32 eRFPath);
67 void rtl92e_set_bb_reg(struct net_device *dev, u32 dwRegAddr,
69 u32 rtl92e_get_bb_reg(struct net_device *dev, u32 dwRegAddr, u32 dwBitMask);
70 void rtl92e_set_rf_reg(struct net_device *dev, enum rf90_radio_path eRFPath,
72 u32 rtl92e_get_rf_reg(struct net_device *dev, enum rf90_radio_path eRFPath,
74 void rtl92e_config_mac(struct net_device *dev);
75 bool rtl92e_check_bb_and_rf(struct net_device *dev,
78 bool rtl92e_config_bb(struct net_device *dev);
79 void rtl92e_get_tx_power(struct net_device *dev);
80 void rtl92e_set_tx_power(struct net_device *dev, u8 channel);
[all …]
Drtl_core.h285 void (*get_eeprom_size)(struct net_device *dev);
286 void (*init_adapter_variable)(struct net_device *dev);
287 void (*init_before_adapter_start)(struct net_device *dev);
288 bool (*initialize_adapter)(struct net_device *dev);
289 void (*link_change)(struct net_device *dev);
290 void (*tx_fill_descriptor)(struct net_device *dev,
294 void (*tx_fill_cmd_descriptor)(struct net_device *dev,
298 bool (*rx_query_status_descriptor)(struct net_device *dev,
302 bool (*rx_command_packet_handler)(struct net_device *dev,
305 void (*stop_adapter)(struct net_device *dev, bool reset);
[all …]
/Linux-v4.19/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;
325 struct net_device *dev;
326 void (*next_priv_destructor)(struct net_device *dev);
396 struct net_device *parent;
418 struct net_device *dev;
427 struct net_device *dev;
450 struct net_device *dev;
[all …]
/Linux-v4.19/include/linux/can/
Ddev.h36 struct net_device *dev;
62 int (*do_set_bittiming)(struct net_device *dev);
63 int (*do_set_data_bittiming)(struct net_device *dev);
64 int (*do_set_mode)(struct net_device *dev, enum can_mode mode);
65 int (*do_set_termination)(struct net_device *dev, u16 term);
66 int (*do_get_state)(const struct net_device *dev,
68 int (*do_get_berr_counter)(const struct net_device *dev,
95 static inline bool can_dropped_invalid_skb(struct net_device *dev, in can_dropped_invalid_skb()
126 static inline void can_set_static_ctrlmode(struct net_device *dev, in can_set_static_ctrlmode()
146 struct net_device *alloc_candev_mqs(int sizeof_priv, unsigned int echo_skb_max,
[all …]
/Linux-v4.19/drivers/staging/rtl8192u/
Dr819xU_phy.h44 u8 rtl8192_phy_CheckIsLegalRFPath(struct net_device *dev, u32 e_rfpath);
45 void rtl8192_setBBreg(struct net_device *dev, u32 reg_addr,
47 u32 rtl8192_QueryBBReg(struct net_device *dev, u32 reg_addr, u32 bitmask);
48 void rtl8192_phy_SetRFReg(struct net_device *dev,
51 u32 rtl8192_phy_QueryRFReg(struct net_device *dev,
54 void rtl8192_phy_configmac(struct net_device *dev);
55 void rtl8192_phyConfigBB(struct net_device *dev, u8 ConfigType);
56 u8 rtl8192_phy_checkBBAndRF(struct net_device *dev,
59 void rtl8192_BBConfig(struct net_device *dev);
60 void rtl8192_phy_getTxPower(struct net_device *dev);
[all …]
/Linux-v4.19/drivers/staging/octeon/
Docteon-ethernet.h30 struct net_device *netdev;
43 void (*poll)(struct net_device *dev);
50 int cvm_oct_rgmii_open(struct net_device *dev);
52 int cvm_oct_sgmii_init(struct net_device *dev);
53 int cvm_oct_sgmii_open(struct net_device *dev);
55 int cvm_oct_spi_init(struct net_device *dev);
56 void cvm_oct_spi_uninit(struct net_device *dev);
58 int cvm_oct_common_init(struct net_device *dev);
59 void cvm_oct_common_uninit(struct net_device *dev);
60 void cvm_oct_adjust_link(struct net_device *dev);
[all …]
/Linux-v4.19/drivers/net/ethernet/8390/
D8390.h25 void ei_poll(struct net_device *dev);
26 void eip_poll(struct net_device *dev);
31 void NS8390_init(struct net_device *dev, int startp);
32 int ei_open(struct net_device *dev);
33 int ei_close(struct net_device *dev);
35 void ei_tx_timeout(struct net_device *dev);
36 netdev_tx_t ei_start_xmit(struct sk_buff *skb, struct net_device *dev);
37 void ei_set_multicast_list(struct net_device *dev);
38 struct net_device_stats *ei_get_stats(struct net_device *dev);
42 struct net_device *__alloc_ei_netdev(int size);
[all …]
/Linux-v4.19/net/mac802154/
Dieee802154_i.h89 struct net_device *dev;
112 IEEE802154_DEV_TO_SUB_IF(const struct net_device *dev) in IEEE802154_DEV_TO_SUB_IF()
134 ieee802154_monitor_start_xmit(struct sk_buff *skb, struct net_device *dev);
136 ieee802154_subif_start_xmit(struct sk_buff *skb, struct net_device *dev);
140 void mac802154_dev_set_page_channel(struct net_device *dev, u8 page, u8 chan);
142 int mac802154_get_params(struct net_device *dev,
144 int mac802154_set_params(struct net_device *dev,
148 int mac802154_add_key(struct net_device *dev,
151 int mac802154_del_key(struct net_device *dev,
154 int mac802154_add_dev(struct net_device *dev,
[all …]
/Linux-v4.19/drivers/net/ethernet/freescale/fs_enet/
Dfs_enet.h77 int (*setup_data)(struct net_device *dev);
78 int (*allocate_bd)(struct net_device *dev);
79 void (*free_bd)(struct net_device *dev);
80 void (*cleanup_data)(struct net_device *dev);
81 void (*set_multicast_list)(struct net_device *dev);
82 void (*adjust_link)(struct net_device *dev);
83 void (*restart)(struct net_device *dev);
84 void (*stop)(struct net_device *dev);
85 void (*napi_clear_event)(struct net_device *dev);
86 void (*napi_enable)(struct net_device *dev);
[all …]
/Linux-v4.19/drivers/net/arcnet/
Darcdevice.h201 void (*rx)(struct net_device *dev, int bufnum,
203 int (*build_header)(struct sk_buff *skb, struct net_device *dev,
207 int (*prepare_tx)(struct net_device *dev, struct archdr *pkt,
209 int (*continue_tx)(struct net_device *dev, int bufnum);
210 int (*ack_tx)(struct net_device *dev, int acked);
272 struct net_device *dev;
319 void (*command)(struct net_device *dev, int cmd);
320 int (*status)(struct net_device *dev);
321 void (*intmask)(struct net_device *dev, int mask);
322 int (*reset)(struct net_device *dev, int really_reset);
[all …]

12345678910>>...66