Home
last modified time | relevance | path

Searched defs:padapter (Results 1 – 25 of 38) sorted by relevance

12

/linux-3.3/drivers/staging/rtl8712/
Drtl8712_cmd.c56 static void check_hw_pbc(struct _adapter *padapter) in check_hw_pbc()
82 static void query_fw_rx_phy_status(struct _adapter *padapter) in query_fw_rx_phy_status()
107 static void StatusWatchdogCallback(struct _adapter *padapter) in StatusWatchdogCallback()
113 static void r871x_internal_cmd_hdl(struct _adapter *padapter, u8 *pbuf) in r871x_internal_cmd_hdl()
130 static u8 read_macreg_hdl(struct _adapter *padapter, u8 *pbuf) in read_macreg_hdl()
144 static u8 write_macreg_hdl(struct _adapter *padapter, u8 *pbuf) in write_macreg_hdl()
158 static u8 read_bbreg_hdl(struct _adapter *padapter, u8 *pbuf) in read_bbreg_hdl()
176 static u8 write_bbreg_hdl(struct _adapter *padapter, u8 *pbuf) in write_bbreg_hdl()
191 static u8 read_rfreg_hdl(struct _adapter *padapter, u8 *pbuf) in read_rfreg_hdl()
209 static u8 write_rfreg_hdl(struct _adapter *padapter, u8 *pbuf) in write_rfreg_hdl()
[all …]
Drtl8712_led.c87 static void InitLed871x(struct _adapter *padapter, struct LED_871x *pLed, in InitLed871x()
120 static void SwLedOn(struct _adapter *padapter, struct LED_871x *pLed) in SwLedOn()
149 static void SwLedOff(struct _adapter *padapter, struct LED_871x *pLed) in SwLedOff()
181 void r8712_InitSwLeds(struct _adapter *padapter) in r8712_InitSwLeds()
193 void r8712_DeInitSwLeds(struct _adapter *padapter) in r8712_DeInitSwLeds()
207 struct _adapter *padapter = pLed->padapter; in SwLedBlink() local
287 struct _adapter *padapter = pLed->padapter; in SwLedBlink1() local
437 struct _adapter *padapter = pLed->padapter; in SwLedBlink2() local
502 struct _adapter *padapter = pLed->padapter; in SwLedBlink3() local
595 struct _adapter *padapter = pLed->padapter; in SwLedBlink4() local
[all …]
Dos_intfs.c130 static uint loadparam(struct _adapter *padapter, struct net_device *pnetdev) in loadparam()
181 struct _adapter *padapter = (struct _adapter *)netdev_priv(pnetdev); in r871x_net_set_mac_address() local
191 struct _adapter *padapter = (struct _adapter *) netdev_priv(pnetdev); in r871x_net_get_stats() local
215 struct _adapter *padapter; in r8712_init_netdev() local
240 static u32 start_drv_threads(struct _adapter *padapter) in start_drv_threads()
249 void r8712_stop_drv_threads(struct _adapter *padapter) in r8712_stop_drv_threads()
258 static void start_drv_timers(struct _adapter *padapter) in start_drv_timers()
265 void r8712_stop_drv_timers(struct _adapter *padapter) in r8712_stop_drv_timers()
276 static u8 init_default_value(struct _adapter *padapter) in init_default_value()
314 u8 r8712_init_drv_sw(struct _adapter *padapter) in r8712_init_drv_sw()
[all …]
Drtl871x_eeprom.c34 static void up_clk(struct _adapter *padapter, u16 *x) in up_clk()
41 static void down_clk(struct _adapter *padapter, u16 *x) in down_clk()
48 static void shift_out_bits(struct _adapter *padapter, u16 data, u16 count) in shift_out_bits()
76 static u16 shift_in_bits(struct _adapter *padapter) in shift_in_bits()
100 static void standby(struct _adapter *padapter) in standby()
113 static u16 wait_eeprom_cmd_done(struct _adapter *padapter) in wait_eeprom_cmd_done()
128 static void eeprom_clean(struct _adapter *padapter) in eeprom_clean()
147 void r8712_eeprom_write16(struct _adapter *padapter, u16 reg, u16 data) in r8712_eeprom_write16()
195 u16 r8712_eeprom_read16(struct _adapter *padapter, u16 reg) /*ReadEEprom*/ in r8712_eeprom_read16()
Drtl871x_cmd.c223 u8 r8712_sitesurvey_cmd(struct _adapter *padapter, in r8712_sitesurvey_cmd()
258 u8 r8712_setdatarate_cmd(struct _adapter *padapter, u8 *rateset) in r8712_setdatarate_cmd()
281 u8 r8712_set_chplan_cmd(struct _adapter *padapter, int chplan) in r8712_set_chplan_cmd()
303 u8 r8712_setbasicrate_cmd(struct _adapter *padapter, u8 *rateset) in r8712_setbasicrate_cmd()
326 u8 r8712_setptm_cmd(struct _adapter *padapter, u8 type) in r8712_setptm_cmd()
347 u8 r8712_setfwdig_cmd(struct _adapter *padapter, u8 type) in r8712_setfwdig_cmd()
368 u8 r8712_setfwra_cmd(struct _adapter *padapter, u8 type) in r8712_setfwra_cmd()
389 u8 r8712_setrfreg_cmd(struct _adapter *padapter, u8 offset, u32 val) in r8712_setrfreg_cmd()
411 u8 r8712_getrfreg_cmd(struct _adapter *padapter, u8 offset, u8 *pval) in r8712_getrfreg_cmd()
436 void r8712_getbbrfreg_cmdrsp_callback(struct _adapter *padapter, in r8712_getbbrfreg_cmdrsp_callback()
[all …]
Drtl871x_pwrctrl.c38 void r8712_set_rpwm(struct _adapter *padapter, u8 val8) in r8712_set_rpwm()
70 void r8712_set_ps_mode(struct _adapter *padapter, uint ps_mode, uint smart_ps) in r8712_set_ps_mode()
98 void r8712_cpwm_int_hdl(struct _adapter *padapter, in r8712_cpwm_int_hdl()
131 static void _rpwm_check_handler (struct _adapter *padapter) in _rpwm_check_handler()
146 struct _adapter *padapter = container_of(pwrpriv, in SetPSModeWorkItemCallback() local
160 struct _adapter *padapter = container_of(pwrpriv, in rpwm_workitem_callback() local
178 void r8712_init_pwrctrl_priv(struct _adapter *padapter) in r8712_init_pwrctrl_priv()
212 sint r8712_register_cmd_alive(struct _adapter *padapter) in r8712_register_cmd_alive()
235 void r8712_unregister_cmd_alive(struct _adapter *padapter) in r8712_unregister_cmd_alive()
Drecv_linux.c44 int r8712_os_recv_resource_alloc(struct _adapter *padapter, in r8712_os_recv_resource_alloc()
52 int r8712_os_recvbuf_resource_alloc(struct _adapter *padapter, in r8712_os_recvbuf_resource_alloc()
75 int r8712_os_recvbuf_resource_free(struct _adapter *padapter, in r8712_os_recvbuf_resource_free()
87 void r8712_handle_tkip_mic_err(struct _adapter *padapter, u8 bgroup) in r8712_handle_tkip_mic_err()
106 void r8712_recv_indicatepkt(struct _adapter *padapter, in r8712_recv_indicatepkt()
145 void r8712_os_read_port(struct _adapter *padapter, struct recv_buf *precvbuf) in r8712_os_read_port()
169 struct _adapter *padapter = preorder_ctrl->padapter; in r8712_init_recv_timer() local
Drtl8712_efuse.c38 static void efuse_reg_ctrl(struct _adapter *padapter, u8 bPowerOn) in efuse_reg_ctrl()
68 u8 r8712_efuse_reg_init(struct _adapter *padapter) in r8712_efuse_reg_init()
73 void r8712_efuse_reg_uninit(struct _adapter *padapter) in r8712_efuse_reg_uninit()
78 static u8 efuse_one_byte_read(struct _adapter *padapter, u16 addr, u8 *data) in efuse_one_byte_read()
100 static u8 efuse_one_byte_write(struct _adapter *padapter, u16 addr, u8 data) in efuse_one_byte_write()
120 static u8 efuse_one_byte_rw(struct _adapter *padapter, u8 bRead, u16 addr, in efuse_one_byte_rw()
156 static u8 efuse_is_empty(struct _adapter *padapter, u8 *empty) in efuse_is_empty()
171 void r8712_efuse_change_max_size(struct _adapter *padapter) in r8712_efuse_change_max_size()
187 int r8712_efuse_get_max_size(struct _adapter *padapter) in r8712_efuse_get_max_size()
218 u16 r8712_efuse_get_current_size(struct _adapter *padapter) in r8712_efuse_get_current_size()
[all …]
Drtl871x_ioctl_set.c58 static u8 do_join(struct _adapter *padapter) in do_join()
128 u8 r8712_set_802_11_bssid(struct _adapter *padapter, u8 *bssid) in r8712_set_802_11_bssid()
178 void r8712_set_802_11_ssid(struct _adapter *padapter, in r8712_set_802_11_ssid()
246 void r8712_set_802_11_infrastructure_mode(struct _adapter *padapter, in r8712_set_802_11_infrastructure_mode()
295 u8 r8712_set_802_11_disassociate(struct _adapter *padapter) in r8712_set_802_11_disassociate()
310 u8 r8712_set_802_11_bssid_list_scan(struct _adapter *padapter) in r8712_set_802_11_bssid_list_scan()
334 u8 r8712_set_802_11_authentication_mode(struct _adapter *padapter, in r8712_set_802_11_authentication_mode()
350 u8 r8712_set_802_11_add_wep(struct _adapter *padapter, in r8712_set_802_11_add_wep()
Drtl871x_ioctl_rtl.c51 struct _adapter *padapter = (struct _adapter *) in oid_rt_get_small_packet_crc_hdl() local
67 struct _adapter *padapter = (struct _adapter *) in oid_rt_get_middle_packet_crc_hdl() local
83 struct _adapter *padapter = (struct _adapter *) in oid_rt_get_large_packet_crc_hdl() local
114 struct _adapter *padapter = (struct _adapter *) in oid_rt_get_rx_total_packet_hdl() local
145 struct _adapter *padapter = (struct _adapter *) in oid_rt_get_rx_icv_err_hdl() local
169 struct _adapter *padapter = (struct _adapter *) in oid_rt_get_preamble_mode_hdl() local
198 struct _adapter *padapter = (struct _adapter *) in oid_rt_get_channelplan_hdl() local
212 struct _adapter *padapter = (struct _adapter *) in oid_rt_set_channelplan_hdl() local
225 struct _adapter *padapter = (struct _adapter *) in oid_rt_set_preamble_mode_hdl() local
262 struct _adapter *padapter = (struct _adapter *) in oid_rt_get_total_tx_bytes_hdl() local
[all …]
Dhal_init.c47 struct _adapter *padapter = context; in rtl871x_load_fw_cb() local
67 int rtl871x_load_fw(struct _adapter *padapter) in rtl871x_load_fw()
83 static u32 rtl871x_open_fw(struct _adapter *padapter, const u8 **ppmappedfw) in rtl871x_open_fw()
96 static void fill_fwpriv(struct _adapter *padapter, struct fw_priv *pfwpriv) in fill_fwpriv()
163 static u8 rtl8712_dl_fw(struct _adapter *padapter) in rtl8712_dl_fw()
329 uint rtl8712_hal_init(struct _adapter *padapter) in rtl8712_hal_init()
365 uint rtl8712_hal_deinit(struct _adapter *padapter) in rtl8712_hal_deinit()
388 uint rtl871x_hal_init(struct _adapter *padapter) in rtl871x_hal_init()
Drtl871x_ioctl_linux.c101 void r8712_indicate_wx_assoc_event(struct _adapter *padapter) in r8712_indicate_wx_assoc_event()
112 void r8712_indicate_wx_disassoc_event(struct _adapter *padapter) in r8712_indicate_wx_disassoc_event()
123 struct _adapter *padapter) in handle_pairwise_key()
140 struct _adapter *padapter) in handle_group_key()
164 static inline char *translate_scan(struct _adapter *padapter, in translate_scan()
370 struct _adapter *padapter = (struct _adapter *) netdev_priv(dev); in wpa_set_auth_algs() local
402 struct _adapter *padapter = (struct _adapter *)netdev_priv(dev); in wpa_set_encryption() local
517 static int r871x_set_wpa_ie(struct _adapter *padapter, char *pie, in r871x_set_wpa_ie()
644 struct _adapter *padapter = (struct _adapter *)netdev_priv(dev); in r8711_wx_get_name() local
700 struct _adapter *padapter = (struct _adapter *)netdev_priv(dev); in r8711_wx_set_freq() local
[all …]
Drtl8712_recv.c49 int r8712_init_recv_priv(struct recv_priv *precvpriv, struct _adapter *padapter) in r8712_init_recv_priv()
109 struct _adapter *padapter = precvpriv->adapter; in r8712_free_recv_priv() local
126 int r8712_init_recvbuf(struct _adapter *padapter, struct recv_buf *precvbuf) in r8712_init_recvbuf()
146 struct _adapter *padapter = precvframe->u.hdr.adapter; in r8712_free_recvframe() local
264 union recv_frame *r8712_recvframe_chk_defrag(struct _adapter *padapter, in r8712_recvframe_chk_defrag()
342 static int amsdu_to_msdu(struct _adapter *padapter, union recv_frame *prframe) in amsdu_to_msdu()
443 void r8712_rxcmd_event_hdl(struct _adapter *padapter, void *prxcmdbuf) in r8712_rxcmd_event_hdl()
526 int r8712_recv_indicatepkts_in_order(struct _adapter *padapter, in r8712_recv_indicatepkts_in_order()
586 static int recv_indicatepkt_reorder(struct _adapter *padapter, in recv_indicatepkt_reorder()
645 struct _adapter *padapter = preorder_ctrl->padapter; in r8712_reordering_ctrl_timeout_handler() local
[all …]
Drtl8712_xmit.c65 int r8712_txframes_sta_ac_pending(struct _adapter *padapter, in r8712_txframes_sta_ac_pending()
99 struct _adapter *padapter = pxmitframe->padapter; in get_ff_hwaddr() local
239 void r8712_do_queue_select(struct _adapter *padapter, in r8712_do_queue_select()
285 struct _adapter *padapter = pxmitframe->padapter; in r8712_construct_txaggr_cmd_hdr() local
302 struct _adapter *padapter = pxmitframe->padapter; in r8712_append_mpdu_unit() local
378 struct _adapter *padapter = pxmitframe->padapter; in r8712_dump_aggr_xframe() local
419 struct _adapter *padapter = pxmitframe->padapter; in update_txdesc() local
610 int r8712_xmitframe_complete(struct _adapter *padapter, in r8712_xmitframe_complete()
700 static void dump_xframe(struct _adapter *padapter, in dump_xframe()
742 int r8712_xmit_direct(struct _adapter *padapter, struct xmit_frame *pxmitframe) in r8712_xmit_direct()
[all …]
Drtl871x_xmit.c66 struct _adapter *padapter) in _r8712_init_xmit_priv()
167 struct _adapter *padapter = pxmitpriv->adapter; in _free_xmit_priv() local
188 sint r8712_update_attrib(struct _adapter *padapter, _pkt *pkt, in r8712_update_attrib()
350 static sint xmitframe_addmic(struct _adapter *padapter, in xmitframe_addmic()
455 static sint xmitframe_swencrypt(struct _adapter *padapter, in xmitframe_swencrypt()
479 static sint make_wlanhdr(struct _adapter *padapter , u8 *hdr, in make_wlanhdr()
587 sint r8712_xmitframe_coalesce(struct _adapter *padapter, _pkt *pkt, in r8712_xmitframe_coalesce()
710 void r8712_update_protection(struct _adapter *padapter, u8 *ie, uint ie_len) in r8712_update_protection()
829 struct _adapter *padapter = pxmitpriv->adapter; in r8712_free_xmitframe() local
874 static inline struct tx_servq *get_sta_pending(struct _adapter *padapter, in get_sta_pending()
[all …]
Dusb_intf.c254 static uint r8712_usb_dvobj_init(struct _adapter *padapter) in r8712_usb_dvobj_init()
288 static void r8712_usb_dvobj_deinit(struct _adapter *padapter) in r8712_usb_dvobj_deinit()
292 void rtl871x_intf_stop(struct _adapter *padapter) in rtl871x_intf_stop()
308 void r871x_dev_unload(struct _adapter *padapter) in r871x_dev_unload()
334 struct _adapter *padapter) in disable_ht_for_spec_devid()
371 struct _adapter *padapter = NULL; in r871xu_drv_init() local
621 struct _adapter *padapter = netdev_priv(pnetdev); in r871xu_dev_remove() local
Dxmit_linux.c113 struct _adapter *padapter = container_of(work, struct _adapter, in r8712_SetFilter() local
131 int r8712_xmit_resource_alloc(struct _adapter *padapter, in r8712_xmit_resource_alloc()
147 void r8712_xmit_resource_free(struct _adapter *padapter, in r8712_xmit_resource_free()
160 void r8712_xmit_complete(struct _adapter *padapter, struct xmit_frame *pxframe) in r8712_xmit_complete()
170 struct _adapter *padapter = (struct _adapter *)netdev_priv(pnetdev); in r8712_xmit_entry() local
Dusb_halinit.c36 u8 r8712_usb_hal_bus_init(struct _adapter *padapter) in r8712_usb_hal_bus_init()
293 unsigned int r8712_usb_inirp_init(struct _adapter *padapter) in r8712_usb_inirp_init()
313 unsigned int r8712_usb_inirp_deinit(struct _adapter *padapter) in r8712_usb_inirp_deinit()
Dusb_ops_linux.c45 void *padapter; member
160 struct _adapter *padapter = (struct _adapter *)pintf->adapter; in usb_write_mem_complete() local
175 struct _adapter *padapter = (struct _adapter *)pintfhdl->adapter; in r8712_usb_write_mem() local
200 struct _adapter *padapter = (struct _adapter *)precvbuf->adapter; in r8712_usb_read_port_complete() local
318 void r8712_usb_read_port_cancel(struct _adapter *padapter) in r8712_usb_read_port_cancel()
334 struct _adapter *padapter = (struct _adapter *)priv; in r8712_xmit_bh() local
354 struct _adapter *padapter = pxmitframe->padapter; in usb_write_port_complete() local
406 struct _adapter *padapter = (struct _adapter *)pintfhdl->adapter; in r8712_usb_write_port() local
474 void r8712_usb_write_port_cancel(struct _adapter *padapter) in r8712_usb_write_port_cancel()
Drtl871x_sta_mgt.c172 void r8712_free_stainfo(struct _adapter *padapter, struct sta_info *psta) in r8712_free_stainfo()
220 void r8712_free_all_stainfo(struct _adapter *padapter) in r8712_free_all_stainfo()
273 void r8712_init_bcmc_stainfo(struct _adapter *padapter) in r8712_init_bcmc_stainfo()
286 struct sta_info *r8712_get_bcmc_stainfo(struct _adapter *padapter) in r8712_get_bcmc_stainfo()
Drtl871x_mlme.c42 static sint _init_mlme_priv(struct _adapter *padapter) in _init_mlme_priv()
166 static void _free_network_queue(struct _adapter *padapter) in _free_network_queue()
185 sint r8712_if_up(struct _adapter *padapter) in r8712_if_up()
229 int r8712_init_mlme_priv(struct _adapter *padapter) in r8712_init_mlme_priv()
335 struct _adapter *padapter) in update_network()
674 void r8712_indicate_connect(struct _adapter *padapter) in r8712_indicate_connect()
690 void r8712_ind_disconnect(struct _adapter *padapter) in r8712_ind_disconnect()
1681 void r8712_joinbss_reset(struct _adapter *padapter) in r8712_joinbss_reset()
1703 unsigned int r8712_restructure_ht_ie(struct _adapter *padapter, u8 *in_ie, in r8712_restructure_ht_ie()
1744 static void update_ht_cap(struct _adapter *padapter, u8 *pie, uint ie_len) in update_ht_cap()
[all …]
Drtl871x_recv.c63 struct _adapter *padapter) in _r8712_init_recv_priv()
111 struct _adapter *padapter; in r8712_alloc_recvframe() local
219 union recv_frame *r8712_decryptor(struct _adapter *padapter, in r8712_decryptor()
662 struct _adapter *padapter; in r8712_recv_entry() local
Drtl871x_security.c168 void r8712_wep_encrypt(struct _adapter *padapter, u8 *pxmitframe) in r8712_wep_encrypt()
223 void r8712_wep_decrypt(struct _adapter *padapter, u8 *precvframe) in r8712_wep_decrypt()
574 u32 r8712_tkip_encrypt(struct _adapter *padapter, u8 *pxmitframe) in r8712_tkip_encrypt()
651 u32 r8712_tkip_decrypt(struct _adapter *padapter, u8 *precvframe) in r8712_tkip_decrypt()
1152 u32 r8712_aes_encrypt(struct _adapter *padapter, u8 *pxmitframe) in r8712_aes_encrypt()
1360 u32 r8712_aes_decrypt(struct _adapter *padapter, u8 *precvframe) in r8712_aes_decrypt()
1401 struct _adapter *padapter = (struct _adapter *)FunctionContext; in r8712_use_tkipkey_handler() local
Drtl871x_io.c50 static uint _init_intf_hdl(struct _adapter *padapter, in _init_intf_hdl()
Dmlme_linux.c71 void r8712_init_mlme_timer(struct _adapter *padapter) in r8712_init_mlme_timer()

12