Lines Matching refs:hif_func
566 const struct wilc_hif_func *hif_func = wilc->hif_func; in chip_allow_sleep() local
590 ret = hif_func->hif_read_reg(wilc, to_host_from_fw_reg, ®); in chip_allow_sleep()
600 ret = hif_func->hif_read_reg(wilc, wakeup_reg, ®); in chip_allow_sleep()
605 ret = hif_func->hif_write_reg(wilc, wakeup_reg, reg); in chip_allow_sleep()
610 ret = hif_func->hif_read_reg(wilc, from_host_to_fw_reg, ®); in chip_allow_sleep()
615 ret = hif_func->hif_write_reg(wilc, from_host_to_fw_reg, reg); in chip_allow_sleep()
630 const struct wilc_hif_func *hif_func = wilc->hif_func; in chip_wakeup() local
649 ret = hif_func->hif_write_reg(wilc, from_host_to_fw_reg, in chip_wakeup()
655 ret = hif_func->hif_write_reg(wilc, wakeup_reg, in chip_wakeup()
661 ret = hif_func->hif_read_reg(wilc, clk_status_reg, in chip_wakeup()
680 wilc->hif_func->hif_reset(wilc); in chip_wakeup()
687 wilc->hif_func->hif_write_reg(wilc, WILC_CORTUS_INTERRUPT_2, 1); in host_wakeup_notify()
695 wilc->hif_func->hif_write_reg(wilc, WILC_CORTUS_INTERRUPT_1, 1); in host_sleep_notify()
795 func = wilc->hif_func; in wilc_wlan_handle_txq()
1020 wilc->hif_func->hif_clear_int_ext(wilc, 0); in wilc_unknown_isr_ext()
1035 wilc->hif_func->hif_read_size(wilc, &size); in wilc_wlan_handle_isr_ext()
1048 wilc->hif_func->hif_clear_int_ext(wilc, DATA_INT_CLR | ENABLE_RX_VMM); in wilc_wlan_handle_isr_ext()
1049 ret = wilc->hif_func->hif_block_rx_ext(wilc, 0, buffer, size); in wilc_wlan_handle_isr_ext()
1070 wilc->hif_func->hif_read_int(wilc, &int_status); in wilc_handle_isr()
1102 wilc->hif_func->hif_read_reg(wilc, WILC_GLB_RESET_0, ®); in wilc_wlan_firmware_download()
1104 ret = wilc->hif_func->hif_write_reg(wilc, WILC_GLB_RESET_0, reg); in wilc_wlan_firmware_download()
1105 wilc->hif_func->hif_read_reg(wilc, WILC_GLB_RESET_0, ®); in wilc_wlan_firmware_download()
1122 ret = wilc->hif_func->hif_block_tx(wilc, addr, in wilc_wlan_firmware_download()
1160 ret = wilc->hif_func->hif_write_reg(wilc, WILC_VMM_CORE_CFG, reg); in wilc_wlan_start()
1168 ret = wilc->hif_func->hif_write_reg(wilc, WILC_GP_REG_1, reg); in wilc_wlan_start()
1172 wilc->hif_func->hif_sync_ext(wilc, NUM_INT_EXT); in wilc_wlan_start()
1174 ret = wilc->hif_func->hif_read_reg(wilc, WILC_CHIPID, &chipid); in wilc_wlan_start()
1178 wilc->hif_func->hif_read_reg(wilc, WILC_GLB_RESET_0, ®); in wilc_wlan_start()
1181 wilc->hif_func->hif_write_reg(wilc, WILC_GLB_RESET_0, reg); in wilc_wlan_start()
1182 wilc->hif_func->hif_read_reg(wilc, WILC_GLB_RESET_0, ®); in wilc_wlan_start()
1186 ret = wilc->hif_func->hif_write_reg(wilc, WILC_GLB_RESET_0, reg); in wilc_wlan_start()
1187 wilc->hif_func->hif_read_reg(wilc, WILC_GLB_RESET_0, ®); in wilc_wlan_start()
1201 ret = wilc->hif_func->hif_read_reg(wilc, WILC_GP_REG_0, ®); in wilc_wlan_stop()
1207 ret = wilc->hif_func->hif_write_reg(wilc, WILC_GP_REG_0, in wilc_wlan_stop()
1214 ret = wilc->hif_func->hif_read_reg(wilc, WILC_FW_HOST_COMM, ®); in wilc_wlan_stop()
1221 ret = wilc->hif_func->hif_write_reg(wilc, WILC_FW_HOST_COMM, reg); in wilc_wlan_stop()
1261 wilc->hif_func->hif_deinit(wilc); in wilc_wlan_cleanup()
1418 ret = wilc->hif_func->hif_read_reg(wilc, in init_chip()
1426 ret = wilc->hif_func->hif_write_reg(wilc, in init_chip()
1433 ret = wilc->hif_func->hif_write_reg(wilc, in init_chip()
1454 wilc->hif_func->hif_read_reg(wilc, WILC_CHIPID, &chipid); in wilc_get_chipid()
1455 wilc->hif_func->hif_read_reg(wilc, WILC_RF_REVISION_ID, in wilc_get_chipid()
1486 if (!wilc->hif_func->hif_is_init(wilc)) { in wilc_wlan_init()
1488 ret = wilc->hif_func->hif_init(wilc, false); in wilc_wlan_init()