Home
last modified time | relevance | path

Searched refs:pnetdev (Results 1 – 25 of 41) sorted by relevance

12

/openbmc/linux/drivers/staging/rtl8723bs/include/
H A Dosdep_service_linux.h80 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()
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
98 netif_tx_stop_all_queues(pnetdev); in rtw_netif_stop_queue()
104 #define ADPT_ARG(adapter) adapter->pnetdev->name
[all …]
H A Dxmit_osdep.h28 extern void _rtw_xmit_entry(struct sk_buff *pkt, struct net_device *pnetdev);
29 extern netdev_tx_t rtw_xmit_entry(struct sk_buff *pkt, struct net_device *pnetdev);
H A Dosdep_intf.h52 int rtw_init_netdev_name(struct net_device *pnetdev, const char *ifname);
72 int netdev_open(struct net_device *pnetdev);
H A Dioctl_cfg80211.h112 …211_send_rx_assoc(adapter, bss, buf, len) cfg80211_send_rx_assoc((adapter)->pnetdev, bss, buf, len)
/openbmc/linux/drivers/staging/rtl8712/
H A Dos_intfs.c200 struct net_device *pnetdev; in r8712_init_netdev() local
203 if (!pnetdev) in r8712_init_netdev()
210 padapter->pnetdev = pnetdev; in r8712_init_netdev()
216 loadparam(padapter, pnetdev); in r8712_init_netdev()
217 netif_carrier_off(pnetdev); in r8712_init_netdev()
219 return pnetdev; in r8712_init_netdev()
401 eth_hw_addr_set(pnetdev, in netdev_open()
434 netif_wake_queue(pnetdev); in netdev_open()
445 netif_carrier_off(pnetdev); in netdev_open()
446 netif_stop_queue(pnetdev); in netdev_open()
[all …]
H A Dusb_intf.c201 pnetdev->netdev_ops->ndo_stop(pnetdev); in r871x_suspend()
203 netif_device_detach(pnetdev); in r871x_suspend()
219 netif_device_attach(pnetdev); in r871x_resume()
221 pnetdev->netdev_ops->ndo_open(pnetdev); in r871x_resume()
348 struct net_device *pnetdev; in r871xu_drv_init() local
359 pnetdev = r8712_init_netdev(); in r871xu_drv_init()
360 if (!pnetdev) in r871xu_drv_init()
370 pnetdev->dev.type = &wlan_type; in r871xu_drv_init()
564 eth_hw_addr_set(pnetdev, mac); in r871xu_drv_init()
577 free_netdev(pnetdev); in r871xu_drv_init()
[all …]
H A Drecv_linux.c88 wireless_send_event(adapter->pnetdev, IWEVMICHAELMICFAILURE, &wrqu, in r8712_handle_tkip_mic_err()
112 skb->dev = adapter->pnetdev; in r8712_recv_indicatepkt()
113 skb->protocol = eth_type_trans(skb, adapter->pnetdev); in r8712_recv_indicatepkt()
H A Dmlme_linux.c84 netif_carrier_on(adapter->pnetdev); in r8712_os_indicate_connect()
94 netif_carrier_off(adapter->pnetdev); in r8712_os_indicate_disconnect()
157 wireless_send_event(adapter->pnetdev, IWEVCUSTOM, &wrqu, buff); in r8712_report_sec_ie()
H A Dhal_init.c60 register_netdev(adapter->pnetdev); in rtl871x_load_fw_cb()
84 dev_err(&adapter->pnetdev->dev, "r8712u: Bad fw->size of %zu\n", in rtl871x_open_fw()
333 netdev_info(padapter->pnetdev, "1 RCR=0x%x\n", in rtl8712_hal_init()
339 netdev_info(padapter->pnetdev, "2 RCR=0x%x\n", in rtl8712_hal_init()
H A Drtl8712_recv.c68 pskb = netdev_alloc_skb(padapter->pnetdev, MAX_RECVBUF_SZ + in r8712_init_recv_priv()
95 netdev_warn(padapter->pnetdev, "r8712u: rx_skb_queue not empty\n"); in r8712_free_recv_priv()
98 netdev_warn(padapter->pnetdev, "r8712u: free_recv_skb_queue not empty %d\n", in r8712_free_recv_priv()
339 netdev_warn(padapter->pnetdev, "r8712u: nRemain_Length is %d and nSubframe_Length is: %d\n", in amsdu_to_msdu()
354 … netdev_warn(padapter->pnetdev, "r8712u: ParseSubframe(): Too many Subframes! Packets dropped!\n"); in amsdu_to_msdu()
398 eth_type_trans(sub_skb, padapter->pnetdev); in amsdu_to_msdu()
399 sub_skb->dev = padapter->pnetdev; in amsdu_to_msdu()
1035 pkt_copy = netdev_alloc_skb(padapter->pnetdev, alloc_sz); in recvbuf2recvframe()
H A Dxmit_osdep.h37 netdev_tx_t r8712_xmit_entry(_pkt *pkt, struct net_device *pnetdev);
H A Dusb_ops_linux.c234 netdev_err(padapter->pnetdev, "ERROR: URB IS IN PROGRESS!\n"); in r8712_usb_read_port_complete()
265 precvbuf->pskb = netdev_alloc_skb(adapter->pnetdev, in r8712_usb_read_port()
320 netdev_err(padapter->pnetdev, "xmit_bh => driver_stopped or surprise_removed\n"); in r8712_xmit_bh()
370 netdev_warn(padapter->pnetdev, in usb_write_port_complete()
H A Ddrv_types.h154 struct net_device *pnetdev; member
H A Dxmit_linux.c121 netdev_err(padapter->pnetdev, "pxmitbuf->pxmit_urb[i] == NULL\n"); in r8712_xmit_resource_alloc()
/openbmc/linux/drivers/staging/rtl8723bs/os_dep/
H A Dos_intfs.c448 netif_carrier_off(pnetdev); in rtw_init_netdev_name()
465 if (!pnetdev) in rtw_init_netdev()
469 padapter->pnetdev = pnetdev; in rtw_init_netdev()
481 return pnetdev; in rtw_init_netdev()
494 pnetdev = padapter->pnetdev; in rtw_unregister_netdevs()
788 struct net_device *pnetdev = padapter->pnetdev; in _rtw_drv_register_netdev() local
808 rtw_free_netdev(pnetdev); in _rtw_drv_register_netdev()
987 if (pnetdev) { in netdev_close()
1108 struct net_device *pnetdev = padapter->pnetdev; in rtw_suspend_normal() local
1110 if (pnetdev) { in rtw_suspend_normal()
[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
75 if (!pnetdev) in rtw_alloc_etherdev()
78 pnpi = netdev_priv(pnetdev); in rtw_alloc_etherdev()
82 free_netdev(pnetdev); in rtw_alloc_etherdev()
83 pnetdev = NULL; 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
352 if (pnetdev) in rtw_sdio_if1_deinit()
[all …]
H A Dmlme_linux.c51 netif_carrier_on(adapter->pnetdev); in rtw_os_indicate_connect()
126 …netif_carrier_off(adapter->pnetdev); /* Do it first for tx broadcast pkt after disconnection issu… in rtw_os_indicate_disconnect()
H A Dioctl_cfg80211.c390 netdev_dbg(padapter->pnetdev, in rtw_cfg80211_ibss_indicate_connect()
433 netdev_dbg(padapter->pnetdev, in rtw_cfg80211_indicate_connect()
458 cfg80211_roamed(padapter->pnetdev, &roam_info, GFP_ATOMIC); in rtw_cfg80211_indicate_connect()
485 cfg80211_disconnected(padapter->pnetdev, 0, in rtw_cfg80211_indicate_disconnect()
488 cfg80211_connect_result(padapter->pnetdev, NULL, NULL, 0, NULL, 0, in rtw_cfg80211_indicate_disconnect()
1925 struct net_device *ndev = padapter->pnetdev; in rtw_cfg80211_indicate_sta_assoc()
1945 struct net_device *ndev = padapter->pnetdev; in rtw_cfg80211_indicate_sta_disassoc()
2062 _rtw_xmit_entry(skb, padapter->pnetdev); in rtw_cfg80211_monitor_if_xmit_entry()
2744 struct net_device *pnetdev = padapter->pnetdev; in rtw_wdev_alloc() local
2770 wdev->netdev = pnetdev; in rtw_wdev_alloc()
[all …]
/openbmc/linux/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()
H A Drtw_ioctl_set.c145 netdev_dbg(padapter->pnetdev, "set ssid [%s] fw_state = 0x%08x\n", in rtw_set_802_11_ssid()
250 netdev_dbg(padapter->pnetdev, FUNC_ADPT_FMT " fw_state = 0x%08x\n", in rtw_set_802_11_connect()
/openbmc/linux/drivers/staging/rtl8723bs/hal/
H A Drtl8723bs_xmit.c132 netdev_emerg(padapter->pnetdev, in rtl8723bs_xmit_buf_handler()
263 netdev_err(padapter->pnetdev, in xmit_xmitframes()
297 netdev_err(padapter->pnetdev, in xmit_xmitframes()
368 netdev_emerg(padapter->pnetdev, "%s: SdioXmitStart fail!\n", in rtl8723bs_xmit_handler()
H A Dhal_com.c650 netdev_dbg(adapter->pnetdev, in SetHwReg()
670 netdev_dbg(adapter->pnetdev, in GetHwReg()
740 netdev_dbg(adapter->pnetdev, in SetHalDefVar()
790 netdev_dbg(adapter->pnetdev, in GetHalDefVar()

12