Home
last modified time | relevance | path

Searched refs:net_device (Results 1 - 25 of 78) sorted by relevance

1234

/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Dwldev_common.h35 /* wl_dev_ioctl - get/set IOCTLs, will call net_device's do_ioctl (or
37 * @dev: the net_device handle
40 struct net_device *dev, u32 cmd, void *arg, u32 len, u32 set);
43 struct net_device *dev, u32 cmd, void *arg, u32 len);
46 struct net_device *dev, u32 cmd, const void *arg, u32 len);
52 struct net_device *dev, s8 *iovar_name,
59 struct net_device *dev, s8 *iovar_name,
63 struct net_device *dev, s8 *iovar, s32 val);
66 struct net_device *dev, s8 *iovar, s32 *pval);
80 struct net_device *de
[all...]
H A Dwl_android.h116 int wl_android_wifi_on(struct net_device *dev);
117 int wl_android_wifi_off(struct net_device *dev, bool on_failure);
118 int wl_android_priv_cmd(struct net_device *net, struct ifreq *ifr);
119 int wl_handle_private_cmd(struct net_device *net, char *command, u32 cmd_len);
121 int wl_ext_genl_init(struct net_device *net);
122 void wl_ext_genl_deinit(struct net_device *net);
125 int wl_ext_iapsta_attach_netdev(struct net_device *net, int ifidx, uint8 bssidx);
126 int wl_ext_iapsta_attach_name(struct net_device *net, int ifidx);
127 int wl_ext_iapsta_dettach_netdev(struct net_device *net, int ifidx);
128 int wl_ext_iapsta_update_net_device(struct net_device *ne
[all...]
H A Dwl_escan.h20 struct net_device *dev;
58 bool wl_escan_mesh_info(struct net_device *dev,
61 bool wl_escan_mesh_peer(struct net_device *dev,
66 int wl_escan_set_scan(struct net_device *dev, dhd_pub_t *dhdp,
68 int wl_escan_get_scan(struct net_device *dev, dhd_pub_t *dhdp,
70 int wl_escan_attach(struct net_device *dev, dhd_pub_t *dhdp);
71 void wl_escan_detach(struct net_device *dev, dhd_pub_t *dhdp);
72 int wl_escan_event_attach(struct net_device *dev, dhd_pub_t *dhdp);
73 int wl_escan_event_dettach(struct net_device *dev, dhd_pub_t *dhdp);
74 int wl_escan_up(struct net_device *de
[all...]
H A Dhdf_public_ap6275s.h26 #include "net_device.h"
38 extern struct net_device *GetLinuxInfByNetDevice(const struct NetDevice *netDevice);
41 extern int32_t wl_get_all_sta(struct net_device *ndev, uint32_t *num);
42 extern s32 wl_get_all_sta_info(struct net_device *ndev, char* mac, uint32_t num);
46 extern struct NetDevice* GetHdfNetDeviceByLinuxInf(struct net_device *dev);
52 void dhd_get_mac_address(struct net_device *dev, unsigned char **addr);
54 int32_t wal_cfg80211_cancel_remain_on_channel(struct wiphy *wiphy, struct net_device *netDev);
55 int32_t wal_cfg80211_remain_on_channel(struct wiphy *wiphy, struct net_device *netDev, int32_t freq,
61 int hdf_cfgp2p_register_ndev(struct net_device *p2p_netdev, struct net_device *primary_netde
[all...]
H A Dwl_linux_mon.c54 int dhd_add_monitor(const char *name, struct net_device **new_ndev);
55 int magiclink_add_p2p(const char *name, struct ether_addr *p2p_dev_addr, struct net_device **new_ndev);
56 extern netdev_tx_t dhd_start_xmit(struct sk_buff *skb, struct net_device *net);
57 int dhd_del_monitor(struct net_device *ndev);
72 struct net_device* real_ndev; /* The real interface that the monitor is on */
73 struct net_device* mon_ndev;
85 static struct net_device* lookup_real_netdev(const char *name);
86 static monitor_interface* ndev_to_monif(struct net_device *ndev);
87 static int dhd_mon_if_open(struct net_device *ndev);
88 static int dhd_mon_if_stop(struct net_device *nde
[all...]
H A Dwl_cfg80211.h750 struct net_device *ndev;
902 struct net_device *ndev;
917 struct net_device *dev;
1041 struct net_device *nan_ndev;
1137 struct net_device *ndev;
1161 struct net_device *p2p_net; /* reference to p2p0 interface */
1372 struct net_device *static_ndev;
1527 wl_alloc_netinfo(struct bcm_cfg80211 *cfg, struct net_device *ndev, in wl_alloc_netinfo()
1675 struct net_device *ndev, u32 op) in wl_set_status_by_netdev()
1754 struct net_device *nde in wl_get_status_by_netdev()
[all...]
H A Ddhd_cfg80211.c60 #include "net_device.h"
61 struct NetDevice * GetHdfNetDeviceByLinuxInf(struct net_device *dev);
65 static s32 wl_dongle_up(struct net_device *ndev);
66 static s32 wl_dongle_down(struct net_device *ndev);
86 struct net_device *ndev; in dhd_cfg80211_down()
138 wl_cfg80211_update_iflist_info(struct bcm_cfg80211 *cfg, struct net_device *ndev, in wl_cfg80211_update_iflist_info()
145 struct net_device* wl_cfg80211_allocate_if(struct bcm_cfg80211 *cfg, int ifidx, const char *name, in wl_cfg80211_allocate_if()
152 int ifidx, struct net_device* ndev, bool rtnl_lock_reqd) in wl_cfg80211_register_if()
158 int ifidx, struct net_device* ndev, bool rtnl_lock_reqd) in wl_cfg80211_remove_if()
163 void wl_cfg80211_cleanup_if(struct net_device *ne
[all...]
H A Ddhd_pno.h490 dhd_dev_pno_enable(struct net_device *dev, int enable);
493 dhd_dev_pno_stop_for_ssid(struct net_device *dev);
496 dhd_dev_pno_set_for_ssid(struct net_device *dev, wlc_ssid_ext_t* ssids_local, int nssid,
500 dhd_dev_pno_set_for_batch(struct net_device *dev,
504 dhd_dev_pno_get_for_batch(struct net_device *dev, char *buf, int bufsize);
507 dhd_dev_pno_stop_for_batch(struct net_device *dev);
510 dhd_dev_pno_set_for_hotlist(struct net_device *dev, wl_pfn_bssid_t *p_pfn_bssid,
512 extern bool dhd_dev_is_legacy_pno_enabled(struct net_device *dev);
515 dhd_dev_pno_get_gscan(struct net_device *dev, dhd_pno_gscan_cmd_cfg_t type, void *info,
520 dhd_dev_pno_set_cfg_gscan(struct net_device *de
[all...]
H A Dwl_iw.h118 struct net_device *dev;
130 extern int wl_iw_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
131 extern int wl_iw_get_wireless_stats(struct net_device *dev, struct iw_statistics *wstats);
132 int wl_iw_send_priv_event(struct net_device *dev, char *flag);
137 int wl_iw_attach(struct net_device *dev, dhd_pub_t *dhdp);
138 void wl_iw_detach(struct net_device *dev, dhd_pub_t *dhdp);
139 int wl_iw_up(struct net_device *dev, dhd_pub_t *dhdp);
140 void wl_iw_down(struct net_device *dev, dhd_pub_t *dhdp);
141 s32 wl_iw_autochannel(struct net_device *dev, char* command, int total_len);
H A Dwldev_common.c63 extern int dhd_ioctl_entry_local(struct net_device *net, wl_ioctl_t *ioc, int cmd);
66 struct net_device *dev, u32 cmd, void *arg, u32 len, u32 set) in wldev_ioctl()
87 struct net_device *dev, u32 cmd, const void *arg, u32 len) in wldev_ioctl_set()
102 struct net_device *dev, u32 cmd, void *arg, u32 len) in wldev_ioctl_get()
122 struct net_device *dev, s8 *iovar_name, in wldev_iovar_getbuf()
152 struct net_device *dev, s8 *iovar_name, in wldev_iovar_setbuf()
172 struct net_device *dev, s8 *iovar, s32 val) in wldev_iovar_setint()
183 struct net_device *dev, s8 *iovar, s32 *pval) in wldev_iovar_getint()
256 struct net_device *dev, s8 *iovar_name, in wldev_iovar_getbuf_bsscfg()
274 struct net_device *de in wldev_iovar_setbuf_bsscfg()
[all...]
H A Dwl_cfgscan.h58 struct net_device *ndev, struct cfg80211_scan_request *request);
59 extern s32 __wl_cfg80211_scan(struct wiphy *wiphy, struct net_device *ndev,
64 extern s32 wl_cfg80211_scan(struct wiphy *wiphy, struct net_device *ndev,
81 extern void wl_cfg80211_set_passive_scan(struct net_device *dev, char *command);
92 extern int wl_cfg80211_sched_scan_start(struct wiphy *wiphy, struct net_device *dev,
95 extern int wl_cfg80211_sched_scan_stop(struct wiphy *wiphy, struct net_device *dev, u64 reqid);
97 extern int wl_cfg80211_sched_scan_stop(struct wiphy *wiphy, struct net_device *dev);
H A Dwl_android.c88 #include "net_device.h"
326 extern bool dhd_debug_uart_is_running(struct net_device *dev);
385 typedef int (natoe_cmd_handler_t)(struct net_device *dev,
397 static int wl_android_process_natoe_cmd(struct net_device *dev,
399 static int wl_android_natoe_subcmd_enable(struct net_device *dev,
401 static int wl_android_natoe_subcmd_config_ips(struct net_device *dev,
403 static int wl_android_natoe_subcmd_config_ports(struct net_device *dev,
405 static int wl_android_natoe_subcmd_dbg_stats(struct net_device *dev,
407 static int wl_android_natoe_subcmd_tbl_cnt(struct net_device *dev,
463 typedef int (drv_cmd_handler_t)(struct net_device *de
[all...]
H A Dwl_cfgnan.h671 extern int wl_cfgnan_config_eventmask(struct net_device *ndev, struct bcm_cfg80211 *cfg,
673 extern int wl_cfgnan_start_handler(struct net_device *ndev,
675 extern int wl_cfgnan_stop_handler(struct net_device *ndev, struct bcm_cfg80211 *cfg);
677 extern int wl_cfgnan_config_handler(struct net_device *ndev,
679 extern int wl_cfgnan_support_handler(struct net_device *ndev,
681 extern int wl_cfgnan_status_handler(struct net_device *ndev,
683 extern int wl_cfgnan_publish_handler(struct net_device *ndev,
685 extern int wl_cfgnan_subscribe_handler(struct net_device *ndev,
687 extern int wl_cfgnan_cancel_pub_handler(struct net_device *ndev,
689 extern int wl_cfgnan_cancel_sub_handler(struct net_device *nde
[all...]
H A Dwl_cfgp2p.h69 struct net_device *dev;
248 #define bcm_struct_cfgdev struct net_device
293 wl_cfgp2p_enable_discovery(struct bcm_cfg80211 *cfg, struct net_device *dev, const u8 *ie,
298 wl_cfgp2p_escan(struct bcm_cfg80211 *cfg, struct net_device *dev, u16 active, u32 num_chans,
304 wl_cfgp2p_act_frm_search(struct bcm_cfg80211 *cfg, struct net_device *ndev,
319 wl_cfgp2p_set_management_ie(struct bcm_cfg80211 *cfg, struct net_device *ndev, s32 bssidx,
324 extern struct net_device *
343 wl_cfgp2p_tx_action_frame(struct bcm_cfg80211 *cfg, struct net_device *dev,
353 wl_cfgp2p_supported(struct bcm_cfg80211 *cfg, struct net_device *ndev);
359 wl_cfgp2p_set_p2p_noa(struct bcm_cfg80211 *cfg, struct net_device *nde
[all...]
H A Ddhd_rtt.h414 dhd_dev_rtt_set_cfg(struct net_device *dev, void *buf);
417 dhd_dev_rtt_cancel_cfg(struct net_device *dev, struct ether_addr *mac_list, int mac_cnt);
420 dhd_dev_rtt_register_noti_callback(struct net_device *dev, void *ctx,
424 dhd_dev_rtt_unregister_noti_callback(struct net_device *dev, dhd_rtt_compl_noti_fn noti_fn);
427 dhd_dev_rtt_capability(struct net_device *dev, rtt_capabilities_t *capa);
430 dhd_dev_rtt_avail_channel(struct net_device *dev, wifi_channel_info *channel_info);
433 dhd_dev_rtt_enable_responder(struct net_device *dev, wifi_channel_info *channel_info);
436 dhd_dev_rtt_cancel_responder(struct net_device *dev);
493 dhd_rtt_invalid_states(struct net_device *ndev, struct ether_addr *peer_addr);
H A Dwl_cfg80211.c205 #include "net_device.h"
211 struct NetDevice * GetHdfNetDeviceByLinuxInf(struct net_device *dev);
213 int ChangNewSta(struct net_device *dev, const uint8_t *macAddr, uint8_t addrLen,
215 int ChangDelSta(struct net_device *dev,const uint8_t *macAddr, uint8_t addrLen);
216 extern void HdfInformBssFrameEventCallback(struct net_device *ndev, const struct InnerBssInfo *innerBssInfo);
217 extern int32_t HdfConnectResultEventCallback(struct net_device *ndev, const struct InnerConnetResult *innerConnResult);
413 static s32 wl_cfg80211_start_bssload_report(struct net_device *ndev);
463 struct net_device *ndev, char *vndr_oui, u32 vndr_oui_len);
504 static s32 wl_cfg80211_join_ibss(struct wiphy *wiphy, struct net_device *dev,
507 struct net_device *de
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/net/ethernet/realtek/r8168/
H A Dr8168_fiber.h56 void rtl8168_hw_init_fiber_nic(struct net_device *dev);
57 void rtl8168_hw_fiber_nic_d3_para(struct net_device *dev);
58 void rtl8168_hw_fiber_phy_config(struct net_device *dev);
59 void rtl8168_hw_switch_mdi_to_fiber(struct net_device *dev);
60 void rtl8168_hw_switch_mdi_to_nic(struct net_device *dev);
61 unsigned int rtl8168_hw_fiber_link_ok(struct net_device *dev);
62 void rtl8168_check_fiber_link_status(struct net_device *dev);
63 void rtl8168_check_hw_fiber_mode_support(struct net_device *dev);
64 void rtl8168_set_fiber_mode_software_variable(struct net_device *dev);
H A Dr8168_realwow.h113 int rtl8168_realwow_ioctl(struct net_device *dev, struct ifreq *ifr);
114 void rtl8168_realwow_hw_init(struct net_device *dev);
115 void rtl8168_get_realwow_hw_version(struct net_device *dev);
116 void rtl8168_set_realwow_d3_para(struct net_device *dev);
/device/soc/rockchip/common/sdk_linux/include/linux/usb/
H A Dusbnet.h49 struct net_device *net;
240 extern int usbnet_open(struct net_device *net);
241 extern int usbnet_stop(struct net_device *net);
242 extern netdev_tx_t usbnet_start_xmit(struct sk_buff *skb, struct net_device *net);
243 extern void usbnet_tx_timeout(struct net_device *net, unsigned int txqueue);
244 extern int usbnet_change_mtu(struct net_device *net, int new_mtu);
256 extern int usbnet_get_link_ksettings(struct net_device *net, struct ethtool_link_ksettings *cmd);
257 extern int usbnet_set_link_ksettings(struct net_device *net, const struct ethtool_link_ksettings *cmd);
258 extern u32 usbnet_get_link(struct net_device *net);
259 extern u32 usbnet_get_msglevel(struct net_device *);
[all...]
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
H A Doal_cfg80211.c82 hi_void oal_kobject_uevent_env_sta_join(oal_net_device_stru *net_device, const hi_u8 *mac_addr) in oal_kobject_uevent_env_sta_join() argument
89 kobject_uevent_env(&(net_device->dev.kobj), KOBJ_CHANGE, g_env.envp); in oal_kobject_uevent_env_sta_join()
91 kobject_uevent_env(&(net_device->dev.kobj), KOBJ_CHANGE, (char **)&g_env); in oal_kobject_uevent_env_sta_join()
94 hi_unref_param(net_device); in oal_kobject_uevent_env_sta_join()
99 hi_void oal_kobject_uevent_env_sta_leave(oal_net_device_stru *net_device, const hi_u8 *mac_addr) in oal_kobject_uevent_env_sta_leave() argument
105 kobject_uevent_env(&(net_device->dev.kobj), KOBJ_CHANGE, g_env.envp); in oal_kobject_uevent_env_sta_leave()
107 hi_unref_param(net_device); in oal_kobject_uevent_env_sta_leave()
152 hi_u32 oal_cfg80211_connect_result(oal_net_device_stru *net_device, const oal_connet_result_stru *connect_result) in oal_cfg80211_connect_result() argument
155 cfg80211_connect_result(net_device, connect_result->auc_bssid, connect_result->puc_req_ie, in oal_cfg80211_connect_result()
159 HdfWifiEventConnectResult(net_device, (struc in oal_cfg80211_connect_result()
183 oal_cfg80211_del_sta(oal_net_device_stru *net_device, const hi_u8 *mac_addr, hi_u8 addr_len, oal_gfp_enum_uint8 en_gfp) oal_cfg80211_del_sta() argument
200 oal_cfg80211_new_sta(oal_net_device_stru *net_device, const hi_u8 *mac_addr, hi_u8 addr_len, oal_station_info_stru *station_info, oal_gfp_enum_uint8 en_gfp) oal_cfg80211_new_sta() argument
221 oal_cfg80211_mic_failure(oal_net_device_stru *net_device, const hi_u8 *mac_addr, enum nl80211_key_type key_type, hi_s32 key_id, const hi_u8 *tsc, oal_gfp_enum_uint8 en_gfp) oal_cfg80211_mic_failure() argument
[all...]
H A Doal_cfg80211.h83 hi_void oal_kobject_uevent_env_sta_join(oal_net_device_stru *net_device, const hi_u8 *mac_addr);
84 hi_void oal_kobject_uevent_env_sta_leave(oal_net_device_stru *net_device, const hi_u8 *mac_addr);
85 hi_void oal_cfg80211_mic_failure(oal_net_device_stru *net_device, const hi_u8 *mac_addr,
98 hi_u32 oal_cfg80211_new_sta(oal_net_device_stru *net_device, const hi_u8 *mac_addr, hi_u8 addr_len,
100 hi_u32 oal_cfg80211_del_sta(oal_net_device_stru *net_device, const hi_u8 *mac_addr, hi_u8 addr_len,
102 hi_u32 oal_cfg80211_connect_result(oal_net_device_stru *net_device, const oal_connet_result_stru *connect_result);
/device/soc/rockchip/rk3588/kernel/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac.h166 struct net_device *dev;
256 int stmmac_mdio_unregister(struct net_device *ndev);
257 int stmmac_mdio_register(struct net_device *ndev);
259 void stmmac_set_ethtool_ops(struct net_device *netdev);
272 int stmmac_reinit_queues(struct net_device *dev, u32 rx_cnt, u32 tx_cnt);
273 int stmmac_reinit_ringparam(struct net_device *dev, u32 rx_size, u32 tx_size);
277 void stmmac_selftest_run(struct net_device *dev,
282 static inline void stmmac_selftest_run(struct net_device *dev, in stmmac_selftest_run()
/device/soc/rockchip/rk3588/kernel/include/linux/
H A Dstmmac.h166 struct net_device *dev;
256 int stmmac_mdio_unregister(struct net_device *ndev);
257 int stmmac_mdio_register(struct net_device *ndev);
259 void stmmac_set_ethtool_ops(struct net_device *netdev);
272 int stmmac_reinit_queues(struct net_device *dev, u32 rx_cnt, u32 tx_cnt);
273 int stmmac_reinit_ringparam(struct net_device *dev, u32 rx_size, u32 tx_size);
277 void stmmac_selftest_run(struct net_device *dev,
282 static inline void stmmac_selftest_run(struct net_device *dev, in stmmac_selftest_run()
/device/board/hihope/rk3568/wifi/bcmdhd_wifi6/hdfadapt/
H A Dhdfinit_bdh.c37 int hdf_cfgp2p_register_ndev(struct net_device *p2p_netdev, struct net_device *primary_netdev, struct wiphy *wiphy);
110 static int32_t InitPrimaryInterface(struct NetDevice *netDevice, struct net_device *netdev) in InitPrimaryInterface()
137 static int32_t InitP2pInterface(struct NetDevice *netDevice, struct net_device *netdev) in InitP2pInterface()
141 struct net_device *p2p_netdev = NULL; in InitP2pInterface()
181 struct net_device *netdev = NULL; in BDH6Init()
182 struct net_device *p2p_netdev = NULL; in BDH6Init()
197 HDF_LOGE("%s net_device is null!", __func__); in BDH6Init()
H A Dnet_bdh_adpater.c43 void set_krn_netdev(struct NetDevice *hnetdev, struct net_device *netdev, int ifidx) in set_krn_netdev()
54 struct net_device *get_krn_netdev(int ifidx) in get_krn_netdev()
68 struct net_device *GetLinuxInfByNetDevice(const struct NetDevice *netDevice);
100 struct net_device *netdev = get_krn_netdev(0); in wal_get_dev_addr()
146 struct net_device *netdev = NULL; in P2pInitNetdev()
177 HDF_LOGE("%s net_device is null!", __func__); in P2pInitNetdev()
259 struct net_device *netdev = GetLinuxInfByNetDevice(netDev); in hdf_bdh6_netdev_open()
301 struct net_device *netdev = GetLinuxInfByNetDevice(netDev); in hdf_bdh6_netdev_stop()
331 struct net_device *netdev = GetLinuxInfByNetDevice(netDev); in hdf_bdh6_netdev_xmit()
361 struct net_device *netde in hdf_bdh6_netdev_ioctl()
[all...]

Completed in 32 milliseconds

1234