Lines Matching refs:bckp
451 struct rtw_backup_info *bckp) in download_firmware_reg_backup() argument
457 bckp[bckp_idx].len = 1; in download_firmware_reg_backup()
458 bckp[bckp_idx].reg = REG_TXDMA_PQ_MAP + 1; in download_firmware_reg_backup()
459 bckp[bckp_idx].val = rtw_read8(rtwdev, REG_TXDMA_PQ_MAP + 1); in download_firmware_reg_backup()
465 bckp[bckp_idx].len = 1; in download_firmware_reg_backup()
466 bckp[bckp_idx].reg = REG_CR; in download_firmware_reg_backup()
467 bckp[bckp_idx].val = rtw_read8(rtwdev, REG_CR); in download_firmware_reg_backup()
469 bckp[bckp_idx].len = 4; in download_firmware_reg_backup()
470 bckp[bckp_idx].reg = REG_H2CQ_CSR; in download_firmware_reg_backup()
471 bckp[bckp_idx].val = BIT_H2CQ_FULL; in download_firmware_reg_backup()
478 bckp[bckp_idx].len = 2; in download_firmware_reg_backup()
479 bckp[bckp_idx].reg = REG_FIFOPAGE_INFO_1; in download_firmware_reg_backup()
480 bckp[bckp_idx].val = rtw_read16(rtwdev, REG_FIFOPAGE_INFO_1); in download_firmware_reg_backup()
482 bckp[bckp_idx].len = 4; in download_firmware_reg_backup()
483 bckp[bckp_idx].reg = REG_RQPN_CTRL_2; in download_firmware_reg_backup()
484 bckp[bckp_idx].val = rtw_read32(rtwdev, REG_RQPN_CTRL_2) | BIT_LD_RQPN; in download_firmware_reg_backup()
487 rtw_write32(rtwdev, REG_RQPN_CTRL_2, bckp[bckp_idx - 1].val); in download_firmware_reg_backup()
494 bckp[bckp_idx].len = 1; in download_firmware_reg_backup()
495 bckp[bckp_idx].reg = REG_BCN_CTRL; in download_firmware_reg_backup()
496 bckp[bckp_idx].val = tmp; in download_firmware_reg_backup()
513 struct rtw_backup_info *bckp, in download_firmware_reg_restore() argument
516 rtw_restore_reg(rtwdev, bckp, bckp_num); in download_firmware_reg_restore()
770 struct rtw_backup_info bckp[DLFW_RESTORE_REG_NUM]; in __rtw_download_firmware() local
784 download_firmware_reg_backup(rtwdev, bckp); in __rtw_download_firmware()
791 download_firmware_reg_restore(rtwdev, bckp, DLFW_RESTORE_REG_NUM); in __rtw_download_firmware()