Searched refs:factor_toset (Results 1 – 7 of 7) sorted by relevance
282 u8 factor_toset; in rtl92de_set_hw_reg() local293 factor_toset = *val; in rtl92de_set_hw_reg()294 if (factor_toset <= 3) { in rtl92de_set_hw_reg()295 factor_toset = (1 << (factor_toset + 2)); in rtl92de_set_hw_reg()296 if (factor_toset > 0xf) in rtl92de_set_hw_reg()297 factor_toset = 0xf; in rtl92de_set_hw_reg()301 (factor_toset << 4)) in rtl92de_set_hw_reg()303 | (factor_toset << 4); in rtl92de_set_hw_reg()304 if ((*ptmp_byte & 0x0f) > factor_toset) in rtl92de_set_hw_reg()306 | (factor_toset); in rtl92de_set_hw_reg()[all …]
1712 u8 factor_toset; in rtl92cu_set_hw_reg() local1717 factor_toset = *val; in rtl92cu_set_hw_reg()1718 if (factor_toset <= 3) { in rtl92cu_set_hw_reg()1719 factor_toset = (1 << (factor_toset + 2)); in rtl92cu_set_hw_reg()1720 if (factor_toset > 0xf) in rtl92cu_set_hw_reg()1721 factor_toset = 0xf; in rtl92cu_set_hw_reg()1724 (factor_toset << 4)) in rtl92cu_set_hw_reg()1727 | (factor_toset << 4); in rtl92cu_set_hw_reg()1729 factor_toset) in rtl92cu_set_hw_reg()1732 | (factor_toset); in rtl92cu_set_hw_reg()[all …]
274 u8 factor_toset; in rtl92ce_set_hw_reg() local285 factor_toset = *(val); in rtl92ce_set_hw_reg()286 if (factor_toset <= 3) { in rtl92ce_set_hw_reg()287 factor_toset = (1 << (factor_toset + 2)); in rtl92ce_set_hw_reg()288 if (factor_toset > 0xf) in rtl92ce_set_hw_reg()289 factor_toset = 0xf; in rtl92ce_set_hw_reg()293 (factor_toset << 4)) in rtl92ce_set_hw_reg()296 (factor_toset << 4); in rtl92ce_set_hw_reg()299 factor_toset) in rtl92ce_set_hw_reg()302 (factor_toset); in rtl92ce_set_hw_reg()[all …]
279 u8 factor_toset; in rtl8723e_set_hw_reg() local290 factor_toset = *((u8 *)val); in rtl8723e_set_hw_reg()291 if (factor_toset <= 3) { in rtl8723e_set_hw_reg()292 factor_toset = (1 << (factor_toset + 2)); in rtl8723e_set_hw_reg()293 if (factor_toset > 0xf) in rtl8723e_set_hw_reg()294 factor_toset = 0xf; in rtl8723e_set_hw_reg()298 (factor_toset << 4)) in rtl8723e_set_hw_reg()301 (factor_toset << 4); in rtl8723e_set_hw_reg()304 factor_toset) in rtl8723e_set_hw_reg()307 (factor_toset); in rtl8723e_set_hw_reg()[all …]
494 u8 factor_toset; in rtl88ee_set_hw_reg() local500 factor_toset = *val; in rtl88ee_set_hw_reg()501 if (factor_toset <= 3) { in rtl88ee_set_hw_reg()502 factor_toset = (1 << (factor_toset + 2)); in rtl88ee_set_hw_reg()503 if (factor_toset > 0xf) in rtl88ee_set_hw_reg()504 factor_toset = 0xf; in rtl88ee_set_hw_reg()508 (factor_toset << 4)) in rtl88ee_set_hw_reg()511 (factor_toset << 4); in rtl88ee_set_hw_reg()514 factor_toset) in rtl88ee_set_hw_reg()517 (factor_toset); in rtl88ee_set_hw_reg()[all …]
529 u8 factor_toset; in rtl8723be_set_hw_reg() local535 factor_toset = *((u8 *)val); in rtl8723be_set_hw_reg()536 if (factor_toset <= 3) { in rtl8723be_set_hw_reg()537 factor_toset = (1 << (factor_toset + 2)); in rtl8723be_set_hw_reg()538 if (factor_toset > 0xf) in rtl8723be_set_hw_reg()539 factor_toset = 0xf; in rtl8723be_set_hw_reg()543 (factor_toset << 4)) in rtl8723be_set_hw_reg()546 (factor_toset << 4); in rtl8723be_set_hw_reg()548 if ((p_regtoset[index] & 0x0f) > factor_toset) in rtl8723be_set_hw_reg()551 (factor_toset); in rtl8723be_set_hw_reg()[all …]
207 u8 factor_toset; in rtl92se_set_hw_reg() local215 factor_toset = *val; in rtl92se_set_hw_reg()216 if (factor_toset <= 3) { in rtl92se_set_hw_reg()217 factor_toset = (1 << (factor_toset + 2)); in rtl92se_set_hw_reg()218 if (factor_toset > 0xf) in rtl92se_set_hw_reg()219 factor_toset = 0xf; in rtl92se_set_hw_reg()222 if (factorlevel[index] > factor_toset) in rtl92se_set_hw_reg()224 factor_toset; in rtl92se_set_hw_reg()242 factor_toset); in rtl92se_set_hw_reg()