| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/hal/halmac/halmac_88xx/ |
| H A D | halmac_api_88xx_sdio.c | 15 VOID *pDriver_adapter = NULL; in halmac_init_sdio_cfg_88xx() local 26 pDriver_adapter = pHalmac_adapter->pDriver_adapter; in halmac_init_sdio_cfg_88xx() 29 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_INIT, HALMAC_DBG_TRACE, "halmac_init_sdio_cfg_88xx … in halmac_init_sdio_cfg_88xx() 34 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_INIT, HALMAC_DBG_TRACE, "halmac_init_sdio_cfg_88xx … in halmac_init_sdio_cfg_88xx() 50 VOID *pDriver_adapter = NULL; in halmac_deinit_sdio_cfg_88xx() local 60 pDriver_adapter = pHalmac_adapter->pDriver_adapter; in halmac_deinit_sdio_cfg_88xx() 62 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_INIT, HALMAC_DBG_TRACE, "halmac_deinit_sdio_cfg_88x… in halmac_deinit_sdio_cfg_88xx() 64 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_INIT, HALMAC_DBG_TRACE, "halmac_deinit_sdio_cfg_88x… in halmac_deinit_sdio_cfg_88xx() 84 VOID *pDriver_adapter = NULL; in halmac_cfg_rx_aggregation_88xx_sdio() local 95 pDriver_adapter = pHalmac_adapter->pDriver_adapter; in halmac_cfg_rx_aggregation_88xx_sdio() [all …]
|
| H A D | halmac_api_88xx_usb.c | 15 VOID *pDriver_adapter = NULL; in halmac_init_usb_cfg_88xx() local 26 pDriver_adapter = pHalmac_adapter->pDriver_adapter; in halmac_init_usb_cfg_88xx() 28 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_INIT, HALMAC_DBG_TRACE, "halmac_init_usb_cfg_88xx =… in halmac_init_usb_cfg_88xx() 32 if (PLATFORM_REG_READ_8(pDriver_adapter, REG_SYS_CFG2 + 3) == 0x20) { /* usb3.0 */ in halmac_init_usb_cfg_88xx() 35 if ((PLATFORM_REG_READ_8(pDriver_adapter, REG_USB_USBSTAT) & 0x3) == 0x1) /* usb2.0 */ in halmac_init_usb_cfg_88xx() 41 PLATFORM_REG_WRITE_8(pDriver_adapter, REG_RXDMA_MODE, value8); in halmac_init_usb_cfg_88xx() 42 …PLATFORM_REG_WRITE_16(pDriver_adapter, REG_TXDMA_OFFSET_CHK, PLATFORM_REG_READ_16(pDriver_adapter,… in halmac_init_usb_cfg_88xx() 44 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_INIT, HALMAC_DBG_TRACE, "halmac_init_usb_cfg_88xx <… in halmac_init_usb_cfg_88xx() 60 VOID *pDriver_adapter = NULL; in halmac_deinit_usb_cfg_88xx() local 70 pDriver_adapter = pHalmac_adapter->pDriver_adapter; in halmac_deinit_usb_cfg_88xx() [all …]
|
| H A D | halmac_api_88xx_pcie.c | 15 VOID *pDriver_adapter = NULL; in halmac_init_pcie_cfg_88xx() local 25 pDriver_adapter = pHalmac_adapter->pDriver_adapter; in halmac_init_pcie_cfg_88xx() 27 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_INIT, HALMAC_DBG_TRACE, "halmac_init_pcie_cfg_88xx … in halmac_init_pcie_cfg_88xx() 29 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_INIT, HALMAC_DBG_TRACE, "halmac_init_pcie_cfg_88xx … in halmac_init_pcie_cfg_88xx() 45 VOID *pDriver_adapter = NULL; in halmac_deinit_pcie_cfg_88xx() local 55 pDriver_adapter = pHalmac_adapter->pDriver_adapter; in halmac_deinit_pcie_cfg_88xx() 57 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_INIT, HALMAC_DBG_TRACE, "halmac_deinit_pcie_cfg_88x… in halmac_deinit_pcie_cfg_88xx() 59 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_INIT, HALMAC_DBG_TRACE, "halmac_deinit_pcie_cfg_88x… in halmac_deinit_pcie_cfg_88xx() 77 VOID *pDriver_adapter = NULL; in halmac_cfg_rx_aggregation_88xx_pcie() local 87 pDriver_adapter = pHalmac_adapter->pDriver_adapter; in halmac_cfg_rx_aggregation_88xx_pcie() [all …]
|
| H A D | halmac_api_88xx.c | 78 …PLATFORM_RTL_MEMSET(pHalmac_adapter->pDriver_adapter, pHalmac_adapter->api_record.api_array, HALMA… in halmac_init_adapter_para_88xx() 148 VOID *pDriver_adapter = pHalmac_adapter->pDriver_adapter; in halmac_mount_api_88xx() local 153 …pHalmac_adapter->pHalmac_api = (PHALMAC_API)PLATFORM_RTL_MALLOC(pDriver_adapter, sizeof(HALMAC_API… in halmac_mount_api_88xx() 158 PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_INIT, HALMAC_DBG_ERR, HALMAC_SVN_VER_88XX"\n"); in halmac_mount_api_88xx() 159 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_INIT, HALMAC_DBG_ERR, "HALMAC_MAJOR_VER_88XX = %x\n… in halmac_mount_api_88xx() 160 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_INIT, HALMAC_DBG_ERR, "HALMAC_PROTOTYPE_88XX = %x\n… in halmac_mount_api_88xx() 161 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_INIT, HALMAC_DBG_ERR, "HALMAC_MINOR_VER_88XX = %x\n… in halmac_mount_api_88xx() 289 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_INIT, HALMAC_DBG_ERR, "Set halmac io function Error… in halmac_mount_api_88xx() 334 PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_INIT, HALMAC_DBG_ERR, "Chip ID undefine!!\n"); in halmac_mount_api_88xx() 448 VOID *pDriver_adapter = NULL; in halmac_download_firmware_88xx() local [all …]
|
| H A D | halmac_func_88xx.c | 146 VOID *pDriver_adapter = NULL; in halmac_dump_efuse_88xx() local 150 pDriver_adapter = pHalmac_adapter->pDriver_adapter; in halmac_dump_efuse_88xx() 169 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_EFUSE, HALMAC_DBG_ERR, "halmac_read_efuse error = %… in halmac_dump_efuse_88xx() 184 VOID *pDriver_adapter = NULL; in halmac_func_read_efuse_88xx() local 186 pDriver_adapter = pHalmac_adapter->pDriver_adapter; in halmac_func_read_efuse_88xx() 189 …PLATFORM_MSG_PRINT(pHalmac_adapter->pDriver_adapter, HALMAC_MSG_EFUSE, HALMAC_DBG_ERR, "Malloc for… in halmac_func_read_efuse_88xx() 194 PLATFORM_RTL_MEMCPY(pDriver_adapter, pEfuse_map, pHalmac_adapter->pHalEfuse_map + offset, size); in halmac_func_read_efuse_88xx() 214 VOID *pDriver_adapter = NULL; in halmac_read_hw_efuse_88xx() local 217 pDriver_adapter = pHalmac_adapter->pDriver_adapter; in halmac_read_hw_efuse_88xx() 237 …PLATFORM_MSG_PRINT(pHalmac_adapter->pDriver_adapter, HALMAC_MSG_EFUSE, HALMAC_DBG_ERR, "HALMAC_RET… in halmac_read_hw_efuse_88xx() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/hal/halmac/ |
| H A D | halmac_api.c | 22 IN VOID *pDriver_adapter, 39 IN VOID *pDriver_adapter, in halmac_init_adapter() argument 58 status = halmac_check_platform_api(pDriver_adapter, halmac_interface, pHalmac_platform_api); in halmac_init_adapter() 61 …pHalmac_platform_api->MSG_PRINT(pDriver_adapter, HALMAC_MSG_INIT, HALMAC_DBG_ERR, HALMAC_SVN_VER "… in halmac_init_adapter() 62 …pHalmac_platform_api->MSG_PRINT(pDriver_adapter, HALMAC_MSG_INIT, HALMAC_DBG_ERR, "HALMAC_MAJOR_VE… in halmac_init_adapter() 63 …pHalmac_platform_api->MSG_PRINT(pDriver_adapter, HALMAC_MSG_INIT, HALMAC_DBG_ERR, "HALMAC_PROTOTYP… in halmac_init_adapter() 64 …pHalmac_platform_api->MSG_PRINT(pDriver_adapter, HALMAC_MSG_INIT, HALMAC_DBG_ERR, "HALMAC_MINOR_VE… in halmac_init_adapter() 66 …pHalmac_platform_api->MSG_PRINT(pDriver_adapter, HALMAC_MSG_INIT, HALMAC_DBG_ERR, "halmac_init_ada… in halmac_init_adapter() 70 …pHalmac_platform_api->MSG_PRINT(pDriver_adapter, HALMAC_MSG_INIT, HALMAC_DBG_ERR, "Endian setting … in halmac_init_adapter() 75 …pHalmac_adapter = (PHALMAC_ADAPTER)pHalmac_platform_api->RTL_MALLOC(pDriver_adapter, sizeof(HALMAC… in halmac_init_adapter() [all …]
|
| H A D | halmac_type.h | 62 #define PLATFORM_MSG_PRINT(pDriver_adapter, msg_type, msg_level, fmt, ...) argument 1220 u8 (*SDIO_CMD52_READ)(VOID *pDriver_adapter, u32 offset); 1221 u8 (*SDIO_CMD53_READ_8)(VOID *pDriver_adapter, u32 offset); 1222 u16 (*SDIO_CMD53_READ_16)(VOID *pDriver_adapter, u32 offset); 1223 u32 (*SDIO_CMD53_READ_32)(VOID *pDriver_adapter, u32 offset); 1224 VOID (*SDIO_CMD52_WRITE)(VOID *pDriver_adapter, u32 offset, u8 value); 1225 VOID (*SDIO_CMD53_WRITE_8)(VOID *pDriver_adapter, u32 offset, u8 value); 1226 VOID (*SDIO_CMD53_WRITE_16)(VOID *pDriver_adapter, u32 offset, u16 value); 1227 VOID (*SDIO_CMD53_WRITE_32)(VOID *pDriver_adapter, u32 offset, u32 value); 1228 u8 (*REG_READ_8)(VOID *pDriver_adapter, u32 offset); [all …]
|
| H A D | halmac_api.h | 72 IN VOID *pDriver_adapter,
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/hal/halmac/halmac_88xx/halmac_8822b/ |
| H A D | halmac_api_8822b_sdio.c | 19 VOID *pDriver_adapter = NULL; in halmac_mac_power_switch_8822b_sdio() local 30 pDriver_adapter = pHalmac_adapter->pDriver_adapter; in halmac_mac_power_switch_8822b_sdio() 33 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_PWR, HALMAC_DBG_ERR, "halmac_mac_power_switch_88xx_… in halmac_mac_power_switch_8822b_sdio() 51 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_PWR, HALMAC_DBG_WARN, "halmac_mac_power_switch powe… in halmac_mac_power_switch_8822b_sdio() 56 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_PWR, HALMAC_DBG_ERR, "Handle power off cmd error\n"… in halmac_mac_power_switch_8822b_sdio() 66 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_PWR, HALMAC_DBG_ERR, "Handle power on cmd error\n"); in halmac_mac_power_switch_8822b_sdio() 75 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_PWR, HALMAC_DBG_ERR, "halmac_mac_power_switch_88xx_… in halmac_mac_power_switch_8822b_sdio() 100 VOID *pDriver_adapter = NULL; in halmac_tx_allowed_sdio_8822b() local 111 pDriver_adapter = pHalmac_adapter->pDriver_adapter; in halmac_tx_allowed_sdio_8822b() 113 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_INIT, HALMAC_DBG_TRACE, "halmac_tx_allowed_sdio_882… in halmac_tx_allowed_sdio_8822b() [all …]
|
| H A D | halmac_api_8822b_usb.c | 19 VOID *pDriver_adapter = NULL; in halmac_mac_power_switch_8822b_usb() local 30 pDriver_adapter = pHalmac_adapter->pDriver_adapter; in halmac_mac_power_switch_8822b_usb() 33 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_PWR, HALMAC_DBG_ERR, "halmac_mac_power_switch_88xx_… in halmac_mac_power_switch_8822b_usb() 42 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_PWR, HALMAC_DBG_WARN, "halmac_mac_power_switch powe… in halmac_mac_power_switch_8822b_usb() 47 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_PWR, HALMAC_DBG_ERR, "Handle power off cmd error\n"… in halmac_mac_power_switch_8822b_usb() 57 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_PWR, HALMAC_DBG_ERR, "Handle power on cmd error\n"); in halmac_mac_power_switch_8822b_usb() 66 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_PWR, HALMAC_DBG_ERR, "halmac_mac_power_switch_88xx_… in halmac_mac_power_switch_8822b_usb()
|
| H A D | halmac_api_8822b_pcie.c | 20 VOID *pDriver_adapter = NULL; in halmac_mac_power_switch_8822b_pcie() local 31 pDriver_adapter = pHalmac_adapter->pDriver_adapter; in halmac_mac_power_switch_8822b_pcie() 34 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_PWR, HALMAC_DBG_ERR, "halmac_mac_power_switch_88xx_… in halmac_mac_power_switch_8822b_pcie() 42 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_PWR, HALMAC_DBG_WARN, "halmac_mac_power_switch powe… in halmac_mac_power_switch_8822b_pcie() 47 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_PWR, HALMAC_DBG_ERR, "Handle power off cmd error\n"… in halmac_mac_power_switch_8822b_pcie() 57 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_PWR, HALMAC_DBG_ERR, "Handle power on cmd error\n"); in halmac_mac_power_switch_8822b_pcie() 66 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_PWR, HALMAC_DBG_ERR, "halmac_mac_power_switch_88xx_… in halmac_mac_power_switch_8822b_pcie()
|
| H A D | halmac_api_8822b.c | 70 VOID *pDriver_adapter = NULL; in halmac_init_trx_cfg_8822b() local 82 pDriver_adapter = pHalmac_adapter->pDriver_adapter; in halmac_init_trx_cfg_8822b() 86 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_INIT, HALMAC_DBG_ERR, "halmac_init_trx_cfg ========… in halmac_init_trx_cfg_8822b() 91 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_INIT, HALMAC_DBG_TRACE, "halmac_txdma_queue_mapping… in halmac_init_trx_cfg_8822b() 106 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_INIT, HALMAC_DBG_TRACE, "halmac_txdma_queue_mapping… in halmac_init_trx_cfg_8822b() 110 PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_INIT, HALMAC_DBG_TRACE, "Init Network type\n"); in halmac_init_trx_cfg_8822b() 145 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_INIT, HALMAC_DBG_ERR, "get h2c free space error!\n"… in halmac_init_trx_cfg_8822b() 149 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_INIT, HALMAC_DBG_ERR, "halmac_init_trx_cfg <=======… in halmac_init_trx_cfg_8822b() 167 VOID *pDriver_adapter = NULL; in halmac_init_h2c_8822b() local 176 pDriver_adapter = pHalmac_adapter->pDriver_adapter; in halmac_init_h2c_8822b() [all …]
|
| H A D | halmac_func_8822b.c | 11 VOID *pDriver_adapter = NULL; in halmac_txdma_queue_mapping_8822b() local 14 pDriver_adapter = pHalmac_adapter->pDriver_adapter; in halmac_txdma_queue_mapping_8822b() 54 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_INIT, HALMAC_DBG_ERR, "halmac_init_trx_cfg_8822b 0 … in halmac_txdma_queue_mapping_8822b() 100 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_INIT, HALMAC_DBG_ERR, "halmac_init_trx_cfg_8822b 1 … in halmac_txdma_queue_mapping_8822b() 143 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_INIT, HALMAC_DBG_ERR, "halmac_init_trx_cfg_8822b 2 … in halmac_txdma_queue_mapping_8822b() 174 VOID *pDriver_adapter = NULL; in halmac_priority_queue_config_8822b() local 177 pDriver_adapter = pHalmac_adapter->pDriver_adapter; in halmac_priority_queue_config_8822b() 239 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_INIT, HALMAC_DBG_ERR, "halmac_init_trx_cfg_8822b 3 … in halmac_priority_queue_config_8822b() 284 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_INIT, HALMAC_DBG_ERR, "halmac_init_trx_cfg_8822b 4 … in halmac_priority_queue_config_8822b() 326 …PLATFORM_MSG_PRINT(pDriver_adapter, HALMAC_MSG_INIT, HALMAC_DBG_ERR, "halmac_init_trx_cfg_8822b 5 … in halmac_priority_queue_config_8822b() [all …]
|