/linux-6.12.1/drivers/staging/rtl8712/ |
D | rtl871x_mlme.h | 163 void r8712_survey_event_callback(struct _adapter *adapter, u8 *pbuf); 164 void r8712_surveydone_event_callback(struct _adapter *adapter, u8 *pbuf); 165 void r8712_joinbss_event_callback(struct _adapter *adapter, u8 *pbuf); 166 void r8712_stassoc_event_callback(struct _adapter *adapter, u8 *pbuf); 167 void r8712_stadel_event_callback(struct _adapter *adapter, u8 *pbuf); 168 void r8712_atimdone_event_callback(struct _adapter *adapter, u8 *pbuf); 169 void r8712_cpwm_event_callback(struct _adapter *adapter, u8 *pbuf); 170 void r8712_wpspbc_event_callback(struct _adapter *adapter, u8 *pbuf); 171 void r8712_free_network_queue(struct _adapter *adapter); 172 int r8712_init_mlme_priv(struct _adapter *adapter); [all …]
|
D | rtl871x_mp.h | 55 struct _adapter *padapter; 71 struct _adapter *papdater; 244 void mp871xinit(struct _adapter *padapter); 245 void mp871xdeinit(struct _adapter *padapter); 246 u32 r8712_bb_reg_read(struct _adapter *Adapter, u16 offset); 247 u8 r8712_bb_reg_write(struct _adapter *Adapter, u16 offset, u32 value); 248 u32 r8712_rf_reg_read(struct _adapter *Adapter, u8 path, u8 offset); 249 u8 r8712_rf_reg_write(struct _adapter *Adapter, u8 path, 251 u32 r8712_get_bb_reg(struct _adapter *Adapter, u16 offset, u32 bitmask); 252 u8 r8712_set_bb_reg(struct _adapter *Adapter, u16 offset, [all …]
|
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() 147 static int mp_start_test(struct _adapter *padapter) in mp_start_test() 212 static int mp_stop_test(struct _adapter *padapter) in mp_stop_test() 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() [all …]
|
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);
|
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,
|
D | rtl871x_cmd.h | 52 struct _adapter *padapter; 718 void r8712_setMacAddr_cmd(struct _adapter *padapter, const u8 *mac_addr); 719 u8 r8712_sitesurvey_cmd(struct _adapter *padapter, struct ndis_802_11_ssid *pssid); 720 int r8712_createbss_cmd(struct _adapter *padapter); 721 void r8712_setstakey_cmd(struct _adapter *padapter, u8 *psta, u8 unicast_key); 722 int r8712_joinbss_cmd(struct _adapter *padapter, struct wlan_network *pnetwork); 723 void r8712_disassoc_cmd(struct _adapter *padapter); 724 void r8712_setopmode_cmd(struct _adapter *padapter, enum NDIS_802_11_NETWORK_INFRASTRUCTURE network… 725 int r8712_setdatarate_cmd(struct _adapter *padapter, u8 *rateset); 726 void r8712_set_chplan_cmd(struct _adapter *padapter, int chplan); [all …]
|
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);
|
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,
|
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,
|
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()
|
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() 103 static void r871x_internal_cmd_hdl(struct _adapter *padapter, u8 *pbuf) in r871x_internal_cmd_hdl() 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() 130 void (*pcmd_callback)(struct _adapter *dev, struct cmd_obj *pcmd); in write_bbreg_hdl() 141 static u8 read_rfreg_hdl(struct _adapter *padapter, u8 *pbuf) in read_rfreg_hdl() 144 void (*pcmd_callback)(struct _adapter *dev, struct cmd_obj *pcmd); in read_rfreg_hdl() 157 static u8 write_rfreg_hdl(struct _adapter *padapter, u8 *pbuf) in write_rfreg_hdl() [all …]
|
D | rtl871x_pwrctrl.c | 26 void r8712_set_rpwm(struct _adapter *padapter, u8 val8) in r8712_set_rpwm() 58 void r8712_set_ps_mode(struct _adapter *padapter, uint ps_mode, uint smart_ps) in r8712_set_ps_mode() 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() [all …]
|
D | rtl871x_mp.c | 73 void mp871xinit(struct _adapter *padapter) in mp871xinit() 81 void mp871xdeinit(struct _adapter *padapter) in mp871xdeinit() 91 static u32 fw_iocmd_read(struct _adapter *pAdapter, struct IOCMD_STRUCT iocmd) in fw_iocmd_read() 106 static u8 fw_iocmd_write(struct _adapter *pAdapter, in fw_iocmd_write() 121 u32 r8712_bb_reg_read(struct _adapter *pAdapter, u16 offset) in r8712_bb_reg_read() 145 u8 r8712_bb_reg_write(struct _adapter *pAdapter, u16 offset, u32 value) in r8712_bb_reg_write() 172 u32 r8712_rf_reg_read(struct _adapter *pAdapter, u8 path, u8 offset) in r8712_rf_reg_read() 183 u8 r8712_rf_reg_write(struct _adapter *pAdapter, u8 path, u8 offset, u32 value) in r8712_rf_reg_write() 204 static u32 get_bb_reg(struct _adapter *pAdapter, u16 offset, u32 bitmask) in get_bb_reg() 213 static u8 set_bb_reg(struct _adapter *pAdapter, in set_bb_reg() [all …]
|
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
|
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);
|
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); 230 void r8712_write_mem(struct _adapter *adapter, u32 addr, u32 cnt, u8 *pmem); [all …]
|
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()
|
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);
|
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 …]
|
D | rtl871x_xmit.h | 150 struct _adapter *padapter; 216 struct _adapter *adapter; 254 void r8712_update_protection(struct _adapter *padapter, u8 *ie, uint ie_len); 260 int r8712_xmit_classifier(struct _adapter *padapter, 262 sint r8712_xmitframe_coalesce(struct _adapter *padapter, _pkt *pkt, 266 int r8712_update_attrib(struct _adapter *padapter, _pkt *pkt, 268 int r8712_txframes_sta_ac_pending(struct _adapter *padapter, 271 struct _adapter *padapter); 275 int r8712_pre_xmit(struct _adapter *padapter, struct xmit_frame *pxmitframe); 276 int r8712_xmit_enqueue(struct _adapter *padapter, [all …]
|
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()
|
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 …]
|
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,
|
D | os_intfs.c | 116 static void loadparam(struct _adapter *padapter, struct net_device *pnetdev) in loadparam() 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() 243 static void start_drv_timers(struct _adapter *padapter) in start_drv_timers() 251 void r8712_stop_drv_timers(struct _adapter *padapter) in r8712_stop_drv_timers() 261 static void init_default_value(struct _adapter *padapter) in init_default_value() [all …]
|
D | rtl871x_cmd.c | 171 u8 r8712_sitesurvey_cmd(struct _adapter *padapter, in r8712_sitesurvey_cmd() 209 int r8712_setdatarate_cmd(struct _adapter *padapter, u8 *rateset) in r8712_setdatarate_cmd() 231 void r8712_set_chplan_cmd(struct _adapter *padapter, int chplan) in r8712_set_chplan_cmd() 250 int r8712_setrfreg_cmd(struct _adapter *padapter, u8 offset, u32 val) in r8712_setrfreg_cmd() 271 int r8712_getrfreg_cmd(struct _adapter *padapter, u8 offset, u8 *pval) in r8712_getrfreg_cmd() 296 void r8712_getbbrfreg_cmdrsp_callback(struct _adapter *padapter, in r8712_getbbrfreg_cmdrsp_callback() 304 void r8712_readtssi_cmdrsp_callback(struct _adapter *padapter, struct cmd_obj *pcmd) in r8712_readtssi_cmdrsp_callback() 312 int r8712_createbss_cmd(struct _adapter *padapter) in r8712_createbss_cmd() 337 int r8712_joinbss_cmd(struct _adapter *padapter, struct wlan_network *pnetwork) in r8712_joinbss_cmd() 456 void r8712_disassoc_cmd(struct _adapter *padapter) /* for sta_mode */ in r8712_disassoc_cmd() [all …]
|