/openbmc/linux/drivers/staging/rtl8712/ |
H A D | rtl871x_mlme.h | 171 void r8712_free_network_queue(struct _adapter *adapter); 172 int r8712_init_mlme_priv(struct _adapter *adapter); 175 int r8712_set_key(struct _adapter *adapter, 177 int r8712_set_auth(struct _adapter *adapter, 184 void r8712_free_assoc_resources(struct _adapter *adapter); 185 void r8712_ind_disconnect(struct _adapter *adapter); 186 void r8712_indicate_connect(struct _adapter *adapter); 194 void _r8712_join_timeout_handler(struct _adapter *adapter); 195 void r8712_scan_timeout_handler(struct _adapter *adapter); 198 sint r8712_if_up(struct _adapter *padapter); [all …]
|
H A D | rtl871x_mp.h | 55 struct _adapter *padapter; 71 struct _adapter *papdater; 244 void mp871xinit(struct _adapter *padapter); 245 void mp871xdeinit(struct _adapter *padapter); 249 u8 r8712_rf_reg_write(struct _adapter *Adapter, u8 path, 252 u8 r8712_set_bb_reg(struct _adapter *Adapter, u16 offset, 259 void r8712_SetChannel(struct _adapter *pAdapter); 260 void r8712_SetTxPower(struct _adapter *pAdapte); 262 void r8712_SetDataRate(struct _adapter *pAdapter); 263 void r8712_SwitchBandwidth(struct _adapter *pAdapter); [all …]
|
H A D | rtl871x_mp_ioctl.c | 32 struct _adapter *Adapter = (struct _adapter *) in oid_rt_wireless_mode_hdl() 58 struct _adapter *Adapter = (struct _adapter *) in oid_rt_pro_write_bb_reg_hdl() 79 struct _adapter *Adapter = (struct _adapter *) in oid_rt_pro_read_bb_reg_hdl() 101 struct _adapter *Adapter = (struct _adapter *) in oid_rt_pro_write_rf_reg_hdl() 124 struct _adapter *Adapter = (struct _adapter *) in oid_rt_pro_read_rf_reg_hdl() 241 struct _adapter *Adapter = (struct _adapter *) in oid_rt_pro_set_data_rate_hdl() 259 struct _adapter *Adapter = (struct _adapter *) in oid_rt_pro_start_test_hdl() 288 struct _adapter *Adapter = (struct _adapter *) in oid_rt_pro_stop_test_hdl() 300 struct _adapter *Adapter = (struct _adapter *) in oid_rt_pro_set_channel_direct_call_hdl() 318 struct _adapter *Adapter = (struct _adapter *) in oid_rt_pro_set_antenna_bb_hdl() [all …]
|
H A D | usb_osintf.h | 22 unsigned int r8712_usb_inirp_init(struct _adapter *padapter); 23 unsigned int r8712_usb_inirp_deinit(struct _adapter *padapter); 24 uint rtl871x_hal_init(struct _adapter *padapter); 25 uint rtl8712_hal_deinit(struct _adapter *padapter); 27 void rtl871x_intf_stop(struct _adapter *padapter); 28 void r871x_dev_unload(struct _adapter *padapter); 29 void r8712_stop_drv_threads(struct _adapter *padapter); 30 void r8712_stop_drv_timers(struct _adapter *padapter); 31 int r8712_init_drv_sw(struct _adapter *padapter); 32 void r8712_free_drv_sw(struct _adapter *padapter);
|
H A D | rtl8712_efuse.h | 28 u8 r8712_efuse_reg_init(struct _adapter *padapter); 29 void r8712_efuse_reg_uninit(struct _adapter *padapter); 30 u16 r8712_efuse_get_current_size(struct _adapter *padapter); 31 int r8712_efuse_get_max_size(struct _adapter *padapter); 32 void r8712_efuse_change_max_size(struct _adapter *padapter); 33 u8 r8712_efuse_pg_packet_read(struct _adapter *padapter, 35 u8 r8712_efuse_pg_packet_write(struct _adapter *padapter, 38 u8 r8712_efuse_access(struct _adapter *padapter, u8 bRead, 40 u8 r8712_efuse_map_read(struct _adapter *padapter, u16 addr, 42 u8 r8712_efuse_map_write(struct _adapter *padapter, u16 addr,
|
H A D | mlme_osdep.h | 20 void r8712_init_mlme_timer(struct _adapter *padapter); 21 void r8712_os_indicate_disconnect(struct _adapter *adapter); 22 void r8712_os_indicate_connect(struct _adapter *adapter); 23 void r8712_report_sec_ie(struct _adapter *adapter, u8 authmode, u8 *sec_ie); 24 int r8712_recv_indicatepkts_in_order(struct _adapter *adapter, 27 void r8712_indicate_wx_assoc_event(struct _adapter *padapter); 28 void r8712_indicate_wx_disassoc_event(struct _adapter *padapter);
|
H A D | rtl871x_cmd.h | 52 struct _adapter *padapter; 719 u8 r8712_sitesurvey_cmd(struct _adapter *padapter, 721 int r8712_createbss_cmd(struct _adapter *padapter); 723 int r8712_joinbss_cmd(struct _adapter *padapter, 725 void r8712_disassoc_cmd(struct _adapter *padapter); 726 void r8712_setopmode_cmd(struct _adapter *padapter, 732 void r8712_addbareq_cmd(struct _adapter *padapter, u8 tid); 733 void r8712_wdg_wk_cmd(struct _adapter *padapter); 734 void r8712_survey_cmd_callback(struct _adapter *padapter, 736 void r8712_disassoc_cmd_callback(struct _adapter *padapter, [all …]
|
H A D | rtl871x_ioctl_set.h | 26 u8 r8712_set_802_11_authentication_mode(struct _adapter *pdapter, 29 u8 r8712_set_802_11_bssid(struct _adapter *padapter, u8 *bssid); 31 int r8712_set_802_11_add_wep(struct _adapter *padapter, 34 u8 r8712_set_802_11_disassociate(struct _adapter *padapter); 36 u8 r8712_set_802_11_bssid_list_scan(struct _adapter *padapter); 38 void r8712_set_802_11_infrastructure_mode(struct _adapter *padapter, 41 void r8712_set_802_11_ssid(struct _adapter *padapter,
|
H A D | recv_osdep.h | 22 struct _adapter *padapter); 25 void r8712_recv_indicatepkt(struct _adapter *adapter, 27 void r8712_handle_tkip_mic_err(struct _adapter *padapter, u8 bgroup); 29 struct _adapter *padapter); 31 void r8712_os_recv_resource_alloc(struct _adapter *padapter, 33 int r8712_os_recvbuf_resource_alloc(struct _adapter *padapter, 35 void r8712_os_recvbuf_resource_free(struct _adapter *padapter,
|
H A D | rtl8712_io.c | 25 u8 r8712_read8(struct _adapter *adapter, u32 addr) in r8712_read8() 32 u16 r8712_read16(struct _adapter *adapter, u32 addr) in r8712_read16() 39 u32 r8712_read32(struct _adapter *adapter, u32 addr) in r8712_read32() 46 void r8712_write8(struct _adapter *adapter, u32 addr, u8 val) in r8712_write8() 53 void r8712_write16(struct _adapter *adapter, u32 addr, u16 val) in r8712_write16() 60 void r8712_write32(struct _adapter *adapter, u32 addr, u32 val) in r8712_write32() 67 void r8712_read_mem(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem) in r8712_read_mem() 77 void r8712_write_mem(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem) in r8712_write_mem() 84 void r8712_read_port(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem) in r8712_read_port() 94 void r8712_write_port(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem) in r8712_write_port()
|
H A D | rtl871x_pwrctrl.c | 26 void r8712_set_rpwm(struct _adapter *padapter, u8 val8) in r8712_set_rpwm() 86 void r8712_cpwm_int_hdl(struct _adapter *padapter, in r8712_cpwm_int_hdl() 116 static void _rpwm_check_handler (struct _adapter *padapter) in _rpwm_check_handler() 130 struct _adapter *padapter = container_of(pwrpriv, in SetPSModeWorkItemCallback() 131 struct _adapter, pwrctrlpriv); in SetPSModeWorkItemCallback() 144 struct _adapter *padapter = container_of(pwrpriv, in rpwm_workitem_callback() 145 struct _adapter, pwrctrlpriv); in rpwm_workitem_callback() 157 struct _adapter *adapter = in rpwm_check_handler() 163 void r8712_init_pwrctrl_priv(struct _adapter *padapter) in r8712_init_pwrctrl_priv() 190 int r8712_register_cmd_alive(struct _adapter *padapter) in r8712_register_cmd_alive() [all …]
|
H A D | rtl8712_cmd.c | 43 static void check_hw_pbc(struct _adapter *padapter) in check_hw_pbc() 72 static void query_fw_rx_phy_status(struct _adapter *padapter) in query_fw_rx_phy_status() 97 static void StatusWatchdogCallback(struct _adapter *padapter) in StatusWatchdogCallback() 120 static u8 read_bbreg_hdl(struct _adapter *padapter, u8 *pbuf) in read_bbreg_hdl() 128 static u8 write_bbreg_hdl(struct _adapter *padapter, u8 *pbuf) in write_bbreg_hdl() 141 static u8 read_rfreg_hdl(struct _adapter *padapter, u8 *pbuf) in read_rfreg_hdl() 157 static u8 write_rfreg_hdl(struct _adapter *padapter, u8 *pbuf) in write_rfreg_hdl() 170 static u8 sys_suspend_hdl(struct _adapter *padapter, u8 *pbuf) in sys_suspend_hdl() 230 u8 r8712_fw_cmd(struct _adapter *pAdapter, u32 cmd) in r8712_fw_cmd() 261 struct _adapter *padapter = context; in r8712_cmd_thread() [all …]
|
H A D | rtl871x_mp.c | 73 void mp871xinit(struct _adapter *padapter) in mp871xinit() 81 void mp871xdeinit(struct _adapter *padapter) in mp871xdeinit() 106 static u8 fw_iocmd_write(struct _adapter *pAdapter, in fw_iocmd_write() 213 static u8 set_bb_reg(struct _adapter *pAdapter, in set_bb_reg() 261 void r8712_SetChannel(struct _adapter *pAdapter) in r8712_SetChannel() 303 void r8712_SetTxPower(struct _adapter *pAdapter) in r8712_SetTxPower() 323 void r8712_SetDataRate(struct _adapter *pAdapter) in r8712_SetDataRate() 333 void r8712_SwitchBandwidth(struct _adapter *pAdapter) in r8712_SwitchBandwidth() 410 void r8712_SwitchAntenna(struct _adapter *pAdapter) in r8712_SwitchAntenna() 487 static u32 ReadRFThermalMeter(struct _adapter *pAdapter) in ReadRFThermalMeter() [all …]
|
H A D | rtl871x_pwrctrl.h | 103 void r8712_init_pwrctrl_priv(struct _adapter *adapter); 104 int r8712_register_cmd_alive(struct _adapter *padapter); 105 void r8712_unregister_cmd_alive(struct _adapter *padapter); 106 void r8712_cpwm_int_hdl(struct _adapter *padapter, 108 void r8712_set_ps_mode(struct _adapter *padapter, uint ps_mode, 110 void r8712_set_rpwm(struct _adapter *padapter, u8 val8); 111 void r8712_flush_rwctrl_works(struct _adapter *padapter);
|
H A D | drv_types.h | 23 struct _adapter; 116 struct _adapter *padapter; 119 uint (*inirp_init)(struct _adapter *adapter); 120 uint (*inirp_deinit)(struct _adapter *adapter); 129 struct _adapter { struct 152 uint (*dvobj_init)(struct _adapter *adapter); argument 153 void (*dvobj_deinit)(struct _adapter *adapter); argument 172 u8 r8712_usb_hal_bus_init(struct _adapter *adapter); argument
|
H A D | rtl871x_led.h | 77 struct _adapter *padapter; 103 void (*LedControlHandler)(struct _adapter *padapter, 112 void r8712_InitSwLeds(struct _adapter *padapter); 113 void r8712_DeInitSwLeds(struct _adapter *padapter); 114 void LedControl871x(struct _adapter *padapter, enum LED_CTL_MODE LedAction); 115 void r8712_flush_led_works(struct _adapter *padapter);
|
H A D | mlme_linux.c | 25 struct _adapter *adapter = in sitesurvey_ctrl_handler() 36 struct _adapter *adapter = in join_timeout_handler() 44 struct _adapter *adapter = in _scan_timeout_handler() 52 struct _adapter *adapter = in dhcp_timeout_handler() 60 struct _adapter *adapter = in wdg_timeout_handler() 69 void r8712_init_mlme_timer(struct _adapter *adapter) in r8712_init_mlme_timer() 81 void r8712_os_indicate_connect(struct _adapter *adapter) in r8712_os_indicate_connect() 88 void r8712_os_indicate_disconnect(struct _adapter *adapter) in r8712_os_indicate_disconnect() 135 void r8712_report_sec_ie(struct _adapter *adapter, u8 authmode, u8 *sec_ie) in r8712_report_sec_ie()
|
H A D | rtl871x_io.h | 108 void (*_async_io_callback)(struct _adapter *padapter, 222 u8 r8712_read8(struct _adapter *adapter, u32 addr); 223 u16 r8712_read16(struct _adapter *adapter, u32 addr); 224 u32 r8712_read32(struct _adapter *adapter, u32 addr); 225 void r8712_read_mem(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem); 226 void r8712_read_port(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem); 227 void r8712_write8(struct _adapter *adapter, u32 addr, u8 val); 228 void r8712_write16(struct _adapter *adapter, u32 addr, u16 val); 229 void r8712_write32(struct _adapter *adapter, u32 addr, u32 val); 233 uint r8712_alloc_io_queue(struct _adapter *adapter); [all …]
|
H A D | rtl871x_xmit.h | 150 struct _adapter *padapter; 216 struct _adapter *adapter; 255 void r8712_update_protection(struct _adapter *padapter, u8 *ie, uint ie_len); 261 int r8712_xmit_classifier(struct _adapter *padapter, 263 sint r8712_xmitframe_coalesce(struct _adapter *padapter, _pkt *pkt, 267 int r8712_update_attrib(struct _adapter *padapter, _pkt *pkt, 269 int r8712_txframes_sta_ac_pending(struct _adapter *padapter, 272 struct _adapter *padapter); 276 int r8712_pre_xmit(struct _adapter *padapter, struct xmit_frame *pxmitframe); 277 int r8712_xmit_enqueue(struct _adapter *padapter, [all …]
|
H A D | rtl871x_ioctl_rtl.c | 40 struct _adapter *padapter = poid_par_priv->adapter_context; in oid_rt_get_small_packet_crc_hdl() 56 struct _adapter *padapter = poid_par_priv->adapter_context; in oid_rt_get_middle_packet_crc_hdl() 72 struct _adapter *padapter = poid_par_priv->adapter_context; in oid_rt_get_large_packet_crc_hdl() 103 struct _adapter *padapter = poid_par_priv->adapter_context; in oid_rt_get_rx_total_packet_hdl() 134 struct _adapter *padapter = poid_par_priv->adapter_context; in oid_rt_get_rx_icv_err_hdl() 158 struct _adapter *padapter = poid_par_priv->adapter_context; in oid_rt_get_preamble_mode_hdl() 187 struct _adapter *padapter = poid_par_priv->adapter_context; in oid_rt_get_channelplan_hdl() 200 struct _adapter *padapter = poid_par_priv->adapter_context; in oid_rt_set_channelplan_hdl() 212 struct _adapter *padapter = poid_par_priv->adapter_context; in oid_rt_set_preamble_mode_hdl() 249 struct _adapter *padapter = poid_par_priv->adapter_context; in oid_rt_get_total_tx_bytes_hdl() [all …]
|
H A D | rtl871x_recv.h | 17 struct _adapter *padapter; 87 struct _adapter *adapter; 132 int recv_func(struct _adapter *padapter, void *pcontext); 196 sint r8712_recvframe_chkmic(struct _adapter *adapter, 198 union recv_frame *r8712_decryptor(struct _adapter *adapter, 200 union recv_frame *r8712_recvframe_chk_defrag(struct _adapter *adapter, 202 int r8712_validate_recv_frame(struct _adapter *adapter, 204 union recv_frame *r8712_portctrl(struct _adapter *adapter,
|
H A D | rtl871x_eeprom.c | 22 static void up_clk(struct _adapter *padapter, u16 *x) in up_clk() 29 static void down_clk(struct _adapter *padapter, u16 *x) in down_clk() 36 static void shift_out_bits(struct _adapter *padapter, u16 data, u16 count) in shift_out_bits() 64 static u16 shift_in_bits(struct _adapter *padapter) in shift_in_bits() 88 static void standby(struct _adapter *padapter) in standby() 101 static u16 wait_eeprom_cmd_done(struct _adapter *padapter) in wait_eeprom_cmd_done() 116 static void eeprom_clean(struct _adapter *padapter) in eeprom_clean() 135 void r8712_eeprom_write16(struct _adapter *padapter, u16 reg, u16 data) in r8712_eeprom_write16() 183 u16 r8712_eeprom_read16(struct _adapter *padapter, u16 reg) /*ReadEEprom*/ in r8712_eeprom_read16()
|
H A D | rtl8712_efuse.c | 26 static void efuse_reg_ctrl(struct _adapter *adapter, u8 bPowerOn) in efuse_reg_ctrl() 56 u8 r8712_efuse_reg_init(struct _adapter *adapter) in r8712_efuse_reg_init() 61 void r8712_efuse_reg_uninit(struct _adapter *adapter) in r8712_efuse_reg_uninit() 66 static u8 efuse_one_byte_read(struct _adapter *adapter, u16 addr, u8 *data) in efuse_one_byte_read() 89 static u8 efuse_one_byte_write(struct _adapter *adapter, u16 addr, u8 data) in efuse_one_byte_write() 110 static u8 efuse_one_byte_rw(struct _adapter *adapter, u8 bRead, u16 addr, in efuse_one_byte_rw() 146 static u8 efuse_is_empty(struct _adapter *adapter, u8 *empty) in efuse_is_empty() 162 void r8712_efuse_change_max_size(struct _adapter *adapter) in r8712_efuse_change_max_size() 178 int r8712_efuse_get_max_size(struct _adapter *adapter) in r8712_efuse_get_max_size() 209 u16 r8712_efuse_get_current_size(struct _adapter *adapter) in r8712_efuse_get_current_size() [all …]
|
H A D | os_intfs.c | 165 struct _adapter *padapter = netdev_priv(pnetdev); in r871x_net_set_mac_address() 175 struct _adapter *padapter = netdev_priv(pnetdev); in r871x_net_get_stats() 199 struct _adapter *padapter; in r8712_init_netdev() 202 pnetdev = alloc_etherdev(sizeof(struct _adapter)); in r8712_init_netdev() 222 static u32 start_drv_threads(struct _adapter *padapter) in start_drv_threads() 231 void r8712_stop_drv_threads(struct _adapter *padapter) in r8712_stop_drv_threads() 251 void r8712_stop_drv_timers(struct _adapter *padapter) in r8712_stop_drv_timers() 297 int r8712_init_drv_sw(struct _adapter *padapter) in r8712_init_drv_sw() 347 void r8712_free_drv_sw(struct _adapter *padapter) in r8712_free_drv_sw() 390 struct _adapter *padapter = netdev_priv(pnetdev); in netdev_open() [all …]
|
H A D | sta_info.h | 97 struct _adapter *padapter; 124 void r8712_free_stainfo(struct _adapter *padapter, struct sta_info *psta); 125 void r8712_free_all_stainfo(struct _adapter *padapter); 127 void r8712_init_bcmc_stainfo(struct _adapter *padapter); 128 struct sta_info *r8712_get_bcmc_stainfo(struct _adapter *padapter);
|