Searched refs:factor_toset (Results 1 – 7 of 7) sorted by relevance
208 u8 factor_toset; in rtl92d_set_hw_reg() local219 factor_toset = *val; in rtl92d_set_hw_reg()220 if (factor_toset <= 3) { in rtl92d_set_hw_reg()221 factor_toset = (1 << (factor_toset + 2)); in rtl92d_set_hw_reg()222 if (factor_toset > 0xf) in rtl92d_set_hw_reg()223 factor_toset = 0xf; in rtl92d_set_hw_reg()227 (factor_toset << 4)) in rtl92d_set_hw_reg()229 | (factor_toset << 4); in rtl92d_set_hw_reg()230 if ((*ptmp_byte & 0x0f) > factor_toset) in rtl92d_set_hw_reg()232 | (factor_toset); in rtl92d_set_hw_reg()[all …]
252 u8 factor_toset; in rtl8723e_set_hw_reg() local263 factor_toset = *((u8 *)val); in rtl8723e_set_hw_reg()264 if (factor_toset <= 3) { in rtl8723e_set_hw_reg()265 factor_toset = (1 << (factor_toset + 2)); in rtl8723e_set_hw_reg()266 if (factor_toset > 0xf) in rtl8723e_set_hw_reg()267 factor_toset = 0xf; in rtl8723e_set_hw_reg()271 (factor_toset << 4)) in rtl8723e_set_hw_reg()274 (factor_toset << 4); in rtl8723e_set_hw_reg()277 factor_toset) in rtl8723e_set_hw_reg()280 (factor_toset); in rtl8723e_set_hw_reg()[all …]
1609 u8 factor_toset; in rtl92cu_set_hw_reg() local1614 factor_toset = *val; in rtl92cu_set_hw_reg()1615 if (factor_toset <= 3) { in rtl92cu_set_hw_reg()1616 factor_toset = (1 << (factor_toset + 2)); in rtl92cu_set_hw_reg()1617 if (factor_toset > 0xf) in rtl92cu_set_hw_reg()1618 factor_toset = 0xf; in rtl92cu_set_hw_reg()1621 (factor_toset << 4)) in rtl92cu_set_hw_reg()1624 | (factor_toset << 4); in rtl92cu_set_hw_reg()1626 factor_toset) in rtl92cu_set_hw_reg()1629 | (factor_toset); in rtl92cu_set_hw_reg()[all …]
249 u8 factor_toset; in rtl92ce_set_hw_reg() local260 factor_toset = *(val); in rtl92ce_set_hw_reg()261 if (factor_toset <= 3) { in rtl92ce_set_hw_reg()262 factor_toset = (1 << (factor_toset + 2)); in rtl92ce_set_hw_reg()263 if (factor_toset > 0xf) in rtl92ce_set_hw_reg()264 factor_toset = 0xf; in rtl92ce_set_hw_reg()268 (factor_toset << 4)) in rtl92ce_set_hw_reg()271 (factor_toset << 4); in rtl92ce_set_hw_reg()274 factor_toset) in rtl92ce_set_hw_reg()277 (factor_toset); in rtl92ce_set_hw_reg()[all …]
470 u8 factor_toset; in rtl88ee_set_hw_reg() local476 factor_toset = *val; in rtl88ee_set_hw_reg()477 if (factor_toset <= 3) { in rtl88ee_set_hw_reg()478 factor_toset = (1 << (factor_toset + 2)); in rtl88ee_set_hw_reg()479 if (factor_toset > 0xf) in rtl88ee_set_hw_reg()480 factor_toset = 0xf; in rtl88ee_set_hw_reg()484 (factor_toset << 4)) in rtl88ee_set_hw_reg()487 (factor_toset << 4); in rtl88ee_set_hw_reg()490 factor_toset) in rtl88ee_set_hw_reg()493 (factor_toset); in rtl88ee_set_hw_reg()[all …]
504 u8 factor_toset; in rtl8723be_set_hw_reg() local510 factor_toset = *((u8 *)val); in rtl8723be_set_hw_reg()511 if (factor_toset <= 3) { in rtl8723be_set_hw_reg()512 factor_toset = (1 << (factor_toset + 2)); in rtl8723be_set_hw_reg()513 if (factor_toset > 0xf) in rtl8723be_set_hw_reg()514 factor_toset = 0xf; in rtl8723be_set_hw_reg()518 (factor_toset << 4)) in rtl8723be_set_hw_reg()521 (factor_toset << 4); in rtl8723be_set_hw_reg()523 if ((p_regtoset[index] & 0x0f) > factor_toset) in rtl8723be_set_hw_reg()526 (factor_toset); in rtl8723be_set_hw_reg()[all …]
185 u8 factor_toset; in rtl92se_set_hw_reg() local193 factor_toset = *val; in rtl92se_set_hw_reg()194 if (factor_toset <= 3) { in rtl92se_set_hw_reg()195 factor_toset = (1 << (factor_toset + 2)); in rtl92se_set_hw_reg()196 if (factor_toset > 0xf) in rtl92se_set_hw_reg()197 factor_toset = 0xf; in rtl92se_set_hw_reg()200 if (factorlevel[index] > factor_toset) in rtl92se_set_hw_reg()202 factor_toset; in rtl92se_set_hw_reg()220 factor_toset); in rtl92se_set_hw_reg()