Home
last modified time | relevance | path

Searched refs:pnetdev (Results 1 - 25 of 88) sorted by relevance

1234

/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/os_dep/
H A Dos_intfs.c179 static int netdev_close(struct net_device *pnetdev);
181 static void loadparam(struct adapter *padapter, struct net_device *pnetdev) in loadparam() argument
278 static int rtw_net_set_mac_address(struct net_device *pnetdev, void *p) in rtw_net_set_mac_address() argument
280 struct adapter *padapter = rtw_netdev_priv(pnetdev); in rtw_net_set_mac_address()
286 /* eth_hw_addr_set(pnetdev, addr->sa_data); */ in rtw_net_set_mac_address()
293 static struct net_device_stats *rtw_net_get_stats(struct net_device *pnetdev) in rtw_net_get_stats() argument
295 struct adapter *padapter = rtw_netdev_priv(pnetdev); in rtw_net_get_stats()
442 int rtw_init_netdev_name(struct net_device *pnetdev, const char *ifname) in rtw_init_netdev_name() argument
444 if (dev_alloc_name(pnetdev, ifname) < 0) { in rtw_init_netdev_name()
448 netif_carrier_off(pnetdev); in rtw_init_netdev_name()
457 struct net_device *pnetdev; rtw_init_netdev() local
487 struct net_device *pnetdev = NULL; rtw_unregister_netdevs() local
788 struct net_device *pnetdev = padapter->pnetdev; _rtw_drv_register_netdev() local
822 _netdev_open(struct net_device *pnetdev) _netdev_open() argument
879 netdev_open(struct net_device *pnetdev) netdev_open() argument
946 pm_netdev_open(struct net_device *pnetdev, u8 bnormal) pm_netdev_open() argument
964 netdev_close(struct net_device *pnetdev) netdev_close() argument
1108 struct net_device *pnetdev = padapter->pnetdev; rtw_suspend_normal() local
1178 struct net_device *pnetdev; rtw_resume_process_normal() local
[all...]
H A Dosdep_service.c54 struct net_device *pnetdev; in rtw_alloc_etherdev_with_old_priv() local
57 pnetdev = alloc_etherdev_mq(sizeof(struct rtw_netdev_priv_indicator), 4); in rtw_alloc_etherdev_with_old_priv()
58 if (!pnetdev) in rtw_alloc_etherdev_with_old_priv()
61 pnpi = netdev_priv(pnetdev); in rtw_alloc_etherdev_with_old_priv()
66 return pnetdev; in rtw_alloc_etherdev_with_old_priv()
71 struct net_device *pnetdev; in rtw_alloc_etherdev() local
74 pnetdev = alloc_etherdev_mq(sizeof(struct rtw_netdev_priv_indicator), 4); in rtw_alloc_etherdev()
75 if (!pnetdev) in rtw_alloc_etherdev()
78 pnpi = netdev_priv(pnetdev); in rtw_alloc_etherdev()
82 free_netdev(pnetdev); in rtw_alloc_etherdev()
[all...]
H A Dxmit_linux.c75 if (__netif_subqueue_stopped(padapter->pnetdev, queue) && in rtw_os_pkt_complete()
77 netif_wake_subqueue(padapter->pnetdev, queue); in rtw_os_pkt_complete()
79 if (__netif_subqueue_stopped(padapter->pnetdev, queue)) in rtw_os_pkt_complete()
80 netif_wake_subqueue(padapter->pnetdev, queue); in rtw_os_pkt_complete()
114 netif_stop_subqueue(padapter->pnetdev, queue); in rtw_check_xmit_resource()
117 if (!netif_tx_queue_stopped(netdev_get_tx_queue(padapter->pnetdev, queue))) in rtw_check_xmit_resource()
118 netif_stop_subqueue(padapter->pnetdev, queue); in rtw_check_xmit_resource()
184 void _rtw_xmit_entry(struct sk_buff *pkt, struct net_device *pnetdev) in _rtw_xmit_entry() argument
186 struct adapter *padapter = rtw_netdev_priv(pnetdev); in _rtw_xmit_entry()
220 netdev_tx_t rtw_xmit_entry(struct sk_buff *pkt, struct net_device *pnetdev) in rtw_xmit_entry() argument
[all...]
H A Drecv_linux.c115 struct net_device *pnetdev = (struct net_device *)padapter->pnetdev; in rtw_os_recv_indicate_pkt() local
117 pkt->dev = pnetdev; in rtw_os_recv_indicate_pkt()
120 _rtw_xmit_entry(pkt, pnetdev); in rtw_os_recv_indicate_pkt()
132 pkt->protocol = eth_type_trans(pkt, padapter->pnetdev); in rtw_os_recv_indicate_pkt()
133 pkt->dev = padapter->pnetdev; in rtw_os_recv_indicate_pkt()
137 rtw_netif_rx(padapter->pnetdev, pkt); in rtw_os_recv_indicate_pkt()
170 cfg80211_michael_mic_failure(padapter->pnetdev, (u8 *)&pmlmepriv->assoc_bssid[0], key_type, -1, in rtw_handle_tkip_mic_err()
H A Dsdio_intf.c102 netdev_err(dvobj->if1->pnetdev, in sdio_free_irq()
246 struct net_device *pnetdev; in rtw_sdio_if1_init() local
263 pnetdev = rtw_init_netdev(padapter); in rtw_sdio_if1_init()
264 if (!pnetdev) in rtw_sdio_if1_init()
267 SET_NETDEV_DEV(pnetdev, dvobj_to_dev(dvobj)); in rtw_sdio_if1_init()
269 padapter = rtw_netdev_priv(pnetdev); in rtw_sdio_if1_init()
323 if (pnetdev) in rtw_sdio_if1_init()
324 rtw_free_netdev(pnetdev); in rtw_sdio_if1_init()
335 struct net_device *pnetdev = if1->pnetdev; in rtw_sdio_if1_deinit() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/rtl8712/
H A Dos_intfs.c113 static int netdev_open(struct net_device *pnetdev);
114 static int netdev_close(struct net_device *pnetdev);
116 static void loadparam(struct _adapter *padapter, struct net_device *pnetdev) in loadparam() argument
163 static int r871x_net_set_mac_address(struct net_device *pnetdev, void *p) in r871x_net_set_mac_address() argument
165 struct _adapter *padapter = netdev_priv(pnetdev); in r871x_net_set_mac_address()
169 ether_addr_copy(pnetdev->dev_addr, addr->sa_data); in r871x_net_set_mac_address()
173 static struct net_device_stats *r871x_net_get_stats(struct net_device *pnetdev) in r871x_net_get_stats() argument
175 struct _adapter *padapter = netdev_priv(pnetdev); in r871x_net_get_stats()
200 struct net_device *pnetdev; in r8712_init_netdev() local
202 pnetdev in r8712_init_netdev()
371 netdev_open(struct net_device *pnetdev) netdev_open() argument
439 netdev_close(struct net_device *pnetdev) netdev_close() argument
[all...]
H A Dusb_intf.c195 struct net_device *pnetdev = usb_get_intfdata(pusb_intf); in r871x_suspend() local
196 struct _adapter *padapter = netdev_priv(pnetdev); in r871x_suspend()
198 netdev_info(pnetdev, "Suspending...\n"); in r871x_suspend()
201 if (pnetdev->netdev_ops->ndo_stop) in r871x_suspend()
202 pnetdev->netdev_ops->ndo_stop(pnetdev); in r871x_suspend()
204 netif_device_detach(pnetdev); in r871x_suspend()
216 struct net_device *pnetdev = usb_get_intfdata(pusb_intf); in r871x_resume() local
217 struct _adapter *padapter = netdev_priv(pnetdev); in r871x_resume()
219 netdev_info(pnetdev, "Resumin in r871x_resume()
349 struct net_device *pnetdev; r871xu_drv_init() local
592 struct net_device *pnetdev = usb_get_intfdata(pusb_intf); r871xu_dev_remove() local
[all...]
/kernel/linux/linux-6.6/drivers/staging/rtl8712/
H A Dos_intfs.c113 static int netdev_open(struct net_device *pnetdev);
114 static int netdev_close(struct net_device *pnetdev);
116 static void loadparam(struct _adapter *padapter, struct net_device *pnetdev) in loadparam() argument
163 static int r871x_net_set_mac_address(struct net_device *pnetdev, void *p) in r871x_net_set_mac_address() argument
165 struct _adapter *padapter = netdev_priv(pnetdev); in r871x_net_set_mac_address()
169 eth_hw_addr_set(pnetdev, addr->sa_data); in r871x_net_set_mac_address()
173 static struct net_device_stats *r871x_net_get_stats(struct net_device *pnetdev) in r871x_net_get_stats() argument
175 struct _adapter *padapter = netdev_priv(pnetdev); in r871x_net_get_stats()
200 struct net_device *pnetdev; in r8712_init_netdev() local
202 pnetdev in r8712_init_netdev()
388 netdev_open(struct net_device *pnetdev) netdev_open() argument
457 netdev_close(struct net_device *pnetdev) netdev_close() argument
[all...]
H A Dusb_intf.c194 struct net_device *pnetdev = usb_get_intfdata(pusb_intf); in r871x_suspend() local
195 struct _adapter *padapter = netdev_priv(pnetdev); in r871x_suspend()
197 netdev_info(pnetdev, "Suspending...\n"); in r871x_suspend()
200 if (pnetdev->netdev_ops->ndo_stop) in r871x_suspend()
201 pnetdev->netdev_ops->ndo_stop(pnetdev); in r871x_suspend()
203 netif_device_detach(pnetdev); in r871x_suspend()
215 struct net_device *pnetdev = usb_get_intfdata(pusb_intf); in r871x_resume() local
216 struct _adapter *padapter = netdev_priv(pnetdev); in r871x_resume()
218 netdev_info(pnetdev, "Resumin in r871x_resume()
348 struct net_device *pnetdev; r871xu_drv_init() local
589 struct net_device *pnetdev = usb_get_intfdata(pusb_intf); r871xu_dev_remove() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/os_dep/
H A Dosdep_service.c65 struct net_device *pnetdev; in rtw_alloc_etherdev_with_old_priv() local
68 pnetdev = alloc_etherdev_mq(sizeof(struct rtw_netdev_priv_indicator), 4); in rtw_alloc_etherdev_with_old_priv()
69 if (!pnetdev) in rtw_alloc_etherdev_with_old_priv()
72 pnpi = netdev_priv(pnetdev); in rtw_alloc_etherdev_with_old_priv()
77 return pnetdev; in rtw_alloc_etherdev_with_old_priv()
82 struct net_device *pnetdev; in rtw_alloc_etherdev() local
85 pnetdev = alloc_etherdev_mq(sizeof(struct rtw_netdev_priv_indicator), 4); in rtw_alloc_etherdev()
86 if (!pnetdev) in rtw_alloc_etherdev()
89 pnpi = netdev_priv(pnetdev); in rtw_alloc_etherdev()
93 free_netdev(pnetdev); in rtw_alloc_etherdev()
124 struct net_device *pnetdev; rtw_change_ifname() local
[all...]
H A Dos_intfs.c204 int _netdev_open(struct net_device *pnetdev);
205 int netdev_open(struct net_device *pnetdev);
206 static int netdev_close(struct net_device *pnetdev);
208 static void loadparam(struct adapter *padapter, _nic_hdl pnetdev) in loadparam() argument
311 static int rtw_net_set_mac_address(struct net_device *pnetdev, void *p) in rtw_net_set_mac_address() argument
313 struct adapter *padapter = (struct adapter *)rtw_netdev_priv(pnetdev); in rtw_net_set_mac_address()
320 /* memcpy(pnetdev->dev_addr, addr->sa_data, ETH_ALEN); */ in rtw_net_set_mac_address()
327 static struct net_device_stats *rtw_net_get_stats(struct net_device *pnetdev) in rtw_net_get_stats() argument
329 struct adapter *padapter = (struct adapter *)rtw_netdev_priv(pnetdev); in rtw_net_get_stats()
475 int rtw_init_netdev_name(struct net_device *pnetdev, cons argument
490 struct net_device *pnetdev; rtw_init_netdev() local
524 struct net_device *pnetdev = NULL; rtw_unregister_netdevs() local
852 struct net_device *pnetdev = padapter->pnetdev; _rtw_drv_register_netdev() local
889 _netdev_open(struct net_device *pnetdev) _netdev_open() argument
961 netdev_open(struct net_device *pnetdev) netdev_open() argument
1049 pm_netdev_open(struct net_device *pnetdev, u8 bnormal) pm_netdev_open() argument
1067 netdev_close(struct net_device *pnetdev) netdev_close() argument
1252 struct net_device *pnetdev = padapter->pnetdev; rtw_suspend_wow() local
1326 struct net_device *pnetdev = padapter->pnetdev; rtw_suspend_ap_wow() local
1376 struct net_device *pnetdev = padapter->pnetdev; rtw_suspend_normal() local
1482 struct net_device *pnetdev = padapter->pnetdev; rtw_resume_process_wow() local
1602 struct net_device *pnetdev = padapter->pnetdev; rtw_resume_process_ap_wow() local
1675 struct net_device *pnetdev; rtw_resume_process_normal() local
[all...]
H A Dxmit_linux.c77 if (__netif_subqueue_stopped(padapter->pnetdev, queue) && in rtw_os_pkt_complete()
79 netif_wake_subqueue(padapter->pnetdev, queue); in rtw_os_pkt_complete()
81 if (__netif_subqueue_stopped(padapter->pnetdev, queue)) in rtw_os_pkt_complete()
82 netif_wake_subqueue(padapter->pnetdev, queue); in rtw_os_pkt_complete()
117 netif_stop_subqueue(padapter->pnetdev, queue); in rtw_check_xmit_resource()
121 if (!netif_tx_queue_stopped(netdev_get_tx_queue(padapter->pnetdev, queue))) in rtw_check_xmit_resource()
122 netif_stop_subqueue(padapter->pnetdev, queue); in rtw_check_xmit_resource()
202 int _rtw_xmit_entry(_pkt *pkt, _nic_hdl pnetdev) in _rtw_xmit_entry() argument
204 struct adapter *padapter = (struct adapter *)rtw_netdev_priv(pnetdev); in _rtw_xmit_entry()
263 int rtw_xmit_entry(_pkt *pkt, _nic_hdl pnetdev) in rtw_xmit_entry() argument
[all...]
H A Dsdio_intf.c316 struct net_device *pnetdev; in rtw_sdio_if1_init() local
334 pnetdev = rtw_init_netdev(padapter); in rtw_sdio_if1_init()
335 if (!pnetdev) in rtw_sdio_if1_init()
338 SET_NETDEV_DEV(pnetdev, dvobj_to_dev(dvobj)); in rtw_sdio_if1_init()
340 padapter = rtw_netdev_priv(pnetdev); in rtw_sdio_if1_init()
407 if (pnetdev) in rtw_sdio_if1_init()
408 rtw_free_netdev(pnetdev); in rtw_sdio_if1_init()
419 struct net_device *pnetdev = if1->pnetdev; in rtw_sdio_if1_deinit() local
447 if (pnetdev) in rtw_sdio_if1_deinit()
[all...]
H A Drecv_linux.c120 struct net_device *pnetdev = (struct net_device*)padapter->pnetdev; in rtw_os_recv_indicate_pkt() local
122 pkt->dev = pnetdev; in rtw_os_recv_indicate_pkt()
125 _rtw_xmit_entry(pkt, pnetdev); in rtw_os_recv_indicate_pkt()
142 pkt->protocol = eth_type_trans(pkt, padapter->pnetdev); in rtw_os_recv_indicate_pkt()
143 pkt->dev = padapter->pnetdev; in rtw_os_recv_indicate_pkt()
155 ret = rtw_netif_rx(padapter->pnetdev, pkt); in rtw_os_recv_indicate_pkt()
192 cfg80211_michael_mic_failure(padapter->pnetdev, (u8 *)&pmlmepriv->assoc_bssid[0], key_type, -1, in rtw_handle_tkip_mic_err()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/
H A Dosdep_service_linux.h101 static inline int rtw_netif_queue_stopped(struct net_device *pnetdev) in rtw_netif_queue_stopped() argument
103 return (netif_tx_queue_stopped(netdev_get_tx_queue(pnetdev, 0)) && in rtw_netif_queue_stopped()
104 netif_tx_queue_stopped(netdev_get_tx_queue(pnetdev, 1)) && in rtw_netif_queue_stopped()
105 netif_tx_queue_stopped(netdev_get_tx_queue(pnetdev, 2)) && in rtw_netif_queue_stopped()
106 netif_tx_queue_stopped(netdev_get_tx_queue(pnetdev, 3))); in rtw_netif_queue_stopped()
109 static inline void rtw_netif_wake_queue(struct net_device *pnetdev) in rtw_netif_wake_queue() argument
111 netif_tx_wake_all_queues(pnetdev); in rtw_netif_wake_queue()
114 static inline void rtw_netif_start_queue(struct net_device *pnetdev) in rtw_netif_start_queue() argument
116 netif_tx_start_all_queues(pnetdev); in rtw_netif_start_queue()
119 static inline void rtw_netif_stop_queue(struct net_device *pnetdev) in rtw_netif_stop_queue() argument
[all...]
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/include/
H A Dosdep_service_linux.h78 static inline int rtw_netif_queue_stopped(struct net_device *pnetdev) in rtw_netif_queue_stopped() argument
80 return (netif_tx_queue_stopped(netdev_get_tx_queue(pnetdev, 0)) && in rtw_netif_queue_stopped()
81 netif_tx_queue_stopped(netdev_get_tx_queue(pnetdev, 1)) && in rtw_netif_queue_stopped()
82 netif_tx_queue_stopped(netdev_get_tx_queue(pnetdev, 2)) && in rtw_netif_queue_stopped()
83 netif_tx_queue_stopped(netdev_get_tx_queue(pnetdev, 3))); in rtw_netif_queue_stopped()
86 static inline void rtw_netif_wake_queue(struct net_device *pnetdev) in rtw_netif_wake_queue() argument
88 netif_tx_wake_all_queues(pnetdev); in rtw_netif_wake_queue()
91 static inline void rtw_netif_start_queue(struct net_device *pnetdev) in rtw_netif_start_queue() argument
93 netif_tx_start_all_queues(pnetdev); in rtw_netif_start_queue()
96 static inline void rtw_netif_stop_queue(struct net_device *pnetdev) in rtw_netif_stop_queue() argument
[all...]
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/os_dep/
H A Dos_intfs.c137 static int netdev_close(struct net_device *pnetdev);
139 static void loadparam(struct adapter *padapter, struct net_device *pnetdev) in loadparam() argument
188 static int rtw_net_set_mac_address(struct net_device *pnetdev, void *p) in rtw_net_set_mac_address() argument
190 struct adapter *padapter = rtw_netdev_priv(pnetdev); in rtw_net_set_mac_address()
199 static struct net_device_stats *rtw_net_get_stats(struct net_device *pnetdev) in rtw_net_get_stats() argument
201 struct adapter *padapter = rtw_netdev_priv(pnetdev); in rtw_net_get_stats()
295 int rtw_init_netdev_name(struct net_device *pnetdev, const char *ifname) in rtw_init_netdev_name() argument
297 if (dev_alloc_name(pnetdev, ifname) < 0) in rtw_init_netdev_name()
300 netif_carrier_off(pnetdev); in rtw_init_netdev_name()
311 struct net_device *pnetdev in rtw_init_netdev() local
542 _netdev_open(struct net_device *pnetdev) _netdev_open() argument
612 netdev_open(struct net_device *pnetdev) netdev_open() argument
699 netdev_close(struct net_device *pnetdev) netdev_close() argument
[all...]
H A Dusb_intf.c203 struct net_device *pnetdev = padapter->pnetdev; in rtw_suspend() local
224 if (pnetdev) { in rtw_suspend()
225 netif_carrier_off(pnetdev); in rtw_suspend()
226 netif_tx_stop_all_queues(pnetdev); in rtw_suspend()
268 struct net_device *pnetdev; in rtw_resume_process() local
276 pnetdev = padapter->pnetdev; in rtw_resume_process()
287 if (netdev_open(pnetdev) != 0) { in rtw_resume_process()
292 netif_device_attach(pnetdev); in rtw_resume_process()
330 struct net_device *pnetdev = NULL; rtw_usb_if1_init() local
432 struct net_device *pnetdev = if1->pnetdev; rtw_usb_if1_deinit() local
[all...]
H A Drecv_linux.c60 wireless_send_event(padapter->pnetdev, IWEVMICHAELMICFAILURE, in rtw_handle_tkip_mic_err()
99 struct net_device *pnetdev; in rtw_recv_indicatepkt() local
101 pnetdev = (struct net_device *)padapter->pnetdev; in rtw_recv_indicatepkt()
102 skb->dev = pnetdev; in rtw_recv_indicatepkt()
105 rtw_xmit_entry(skb, pnetdev); in rtw_recv_indicatepkt()
116 skb->dev = padapter->pnetdev; in rtw_recv_indicatepkt()
117 skb->protocol = eth_type_trans(skb, padapter->pnetdev); in rtw_recv_indicatepkt()
H A Dxmit_linux.c56 if (__netif_subqueue_stopped(padapter->pnetdev, queue) && in rtw_os_pkt_complete()
58 netif_wake_subqueue(padapter->pnetdev, queue); in rtw_os_pkt_complete()
60 if (__netif_subqueue_stopped(padapter->pnetdev, queue)) in rtw_os_pkt_complete()
61 netif_wake_subqueue(padapter->pnetdev, queue); in rtw_os_pkt_complete()
101 netif_stop_subqueue(padapter->pnetdev, queue); in rtw_check_xmit_resource()
104 if (!netif_tx_queue_stopped(netdev_get_tx_queue(padapter->pnetdev, queue))) in rtw_check_xmit_resource()
105 netif_stop_subqueue(padapter->pnetdev, queue); in rtw_check_xmit_resource()
165 int rtw_xmit_entry(struct sk_buff *pkt, struct net_device *pnetdev) in rtw_xmit_entry() argument
167 struct adapter *padapter = rtw_netdev_priv(pnetdev); in rtw_xmit_entry()
H A Dmlme_linux.c27 netif_carrier_on(adapter->pnetdev); in rtw_os_indicate_connect()
79 netif_carrier_off(adapter->pnetdev); in rtw_os_indicate_disconnect()
109 wireless_send_event(adapter->pnetdev, IWEVCUSTOM, &wrqu, buff); in rtw_report_sec_ie()
149 wireless_send_event(padapter->pnetdev, IWEVREGISTERED, &wrqu, NULL); in rtw_indicate_sta_assoc_event()
172 wireless_send_event(padapter->pnetdev, IWEVEXPIRED, &wrqu, NULL); in rtw_indicate_sta_disassoc_event()
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/core/
H A Drtw_debug.c22 netdev_dbg(adapter->pnetdev, "0x%03x 0x%08x 0x%08x 0x%08x 0x%08x\n", in dump_4_regs()
30 netdev_dbg(adapter->pnetdev, "======= MAC REG =======\n"); in mac_reg_dump()
40 netdev_dbg(adapter->pnetdev, "======= BB REG =======\n"); in bb_reg_dump()
55 netdev_dbg(adapter->pnetdev, "0x%02x 0x%08x 0x%08x 0x%08x 0x%08x\n", in dump_4_rf_regs()
63 netdev_dbg(adapter->pnetdev, "======= RF REG =======\n"); in rf_reg_dump()
65 netdev_dbg(adapter->pnetdev, "RF_Path(%x)\n", path); in rf_reg_dump()
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/include/
H A Dosdep_service.h56 static inline int rtw_netif_queue_stopped(struct net_device *pnetdev) in rtw_netif_queue_stopped() argument
58 return netif_tx_queue_stopped(netdev_get_tx_queue(pnetdev, 0)) && in rtw_netif_queue_stopped()
59 netif_tx_queue_stopped(netdev_get_tx_queue(pnetdev, 1)) && in rtw_netif_queue_stopped()
60 netif_tx_queue_stopped(netdev_get_tx_queue(pnetdev, 2)) && in rtw_netif_queue_stopped()
61 netif_tx_queue_stopped(netdev_get_tx_queue(pnetdev, 3)); in rtw_netif_queue_stopped()
85 #define FUNC_ADPT_ARG(adapter) __func__, adapter->pnetdev->name
H A Dosdep_intf.h26 int rtw_init_netdev_name(struct net_device *pnetdev, const char *ifname);
30 int netdev_open(struct net_device *pnetdev);
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/
H A Drtw_pwrctrl.c18 struct net_device *pnetdev = padapter->pnetdev; in rtw_hw_suspend() local
35 if (pnetdev) { in rtw_hw_suspend()
36 netif_carrier_off(pnetdev); in rtw_hw_suspend()
37 netif_tx_stop_all_queues(pnetdev); in rtw_hw_suspend()
79 struct net_device *pnetdev = padapter->pnetdev; in rtw_hw_resume() local
87 if (ips_netdrv_open(rtw_netdev_priv(pnetdev)) != _SUCCESS) { in rtw_hw_resume()
92 netif_device_attach(pnetdev); in rtw_hw_resume()
93 netif_carrier_on(pnetdev); in rtw_hw_resume()
[all...]

Completed in 13 milliseconds

1234