Home
last modified time | relevance | path

Searched refs:dec_ctrl (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/wireless/realtek/rtw89/
H A Dpci.c2608 u32 dec_ctrl; in rtw89_pci_ltr_set_v1() local
2617 dec_ctrl = rtw89_read32(rtwdev, R_AX_LTR_DEC_CTRL); in rtw89_pci_ltr_set_v1()
2618 if (rtw89_pci_ltr_is_err_reg_val(dec_ctrl)) in rtw89_pci_ltr_set_v1()
2628 dec_ctrl &= ~(LTR_EN_BITS | B_AX_LTR_IDX_DRV_MASK | B_AX_LTR_HW_DEC_EN); in rtw89_pci_ltr_set_v1()
2629 dec_ctrl |= FIELD_PREP(B_AX_LTR_IDX_DRV_MASK, PCIE_LTR_IDX_IDLE) | in rtw89_pci_ltr_set_v1()
2632 dec_ctrl |= B_AX_LTR_HW_DEC_EN; in rtw89_pci_ltr_set_v1()
2635 dec_ctrl &= ~B_AX_LTR_SPACE_IDX_V1_MASK; in rtw89_pci_ltr_set_v1()
2636 dec_ctrl |= FIELD_PREP(B_AX_LTR_SPACE_IDX_V1_MASK, PCI_LTR_SPC_500US); in rtw89_pci_ltr_set_v1()
2645 rtw89_write32(rtwdev, R_AX_LTR_DEC_CTRL, dec_ctrl); in rtw89_pci_ltr_set_v1()