Searched refs:rate_cfg (Results 1 – 2 of 2) sorted by relevance
175 u16 rate_cfg = ((u16 *) val)[0]; in rtl92ce_set_hw_reg() local177 rate_cfg &= 0x15f; in rtl92ce_set_hw_reg()178 rate_cfg |= 0x01; in rtl92ce_set_hw_reg()179 rtl_write_byte(rtlpriv, REG_RRSR, rate_cfg & 0xff); in rtl92ce_set_hw_reg()181 (rate_cfg >> 8)&0xff); in rtl92ce_set_hw_reg()182 while (rate_cfg > 0x1) { in rtl92ce_set_hw_reg()183 rate_cfg = (rate_cfg >> 1); in rtl92ce_set_hw_reg()
1806 u16 rate_cfg = ((u16 *) val)[0]; in rtl92cu_set_hw_reg() local1809 rate_cfg &= 0x15f; in rtl92cu_set_hw_reg()1815 rate_cfg |= 0x01; in rtl92cu_set_hw_reg()1816 rtl_write_byte(rtlpriv, REG_RRSR, rate_cfg & 0xff); in rtl92cu_set_hw_reg()1818 (rate_cfg >> 8) & 0xff); in rtl92cu_set_hw_reg()1819 while (rate_cfg > 0x1) { in rtl92cu_set_hw_reg()1820 rate_cfg >>= 1; in rtl92cu_set_hw_reg()