Searched refs:factor_toset (Results 1 – 2 of 2) sorted by relevance
281 u8 factor_toset; in rtl92ce_set_hw_reg() local287 factor_toset = *((u8 *) val); in rtl92ce_set_hw_reg()288 if (factor_toset <= 3) { in rtl92ce_set_hw_reg()289 factor_toset = (1 << (factor_toset + 2)); in rtl92ce_set_hw_reg()290 if (factor_toset > 0xf) in rtl92ce_set_hw_reg()291 factor_toset = 0xf; in rtl92ce_set_hw_reg()295 (factor_toset << 4)) in rtl92ce_set_hw_reg()298 (factor_toset << 4); in rtl92ce_set_hw_reg()301 factor_toset) in rtl92ce_set_hw_reg()304 (factor_toset); in rtl92ce_set_hw_reg()[all …]
1938 u8 factor_toset; in rtl92cu_set_hw_reg() local1943 factor_toset = *((u8 *) val); in rtl92cu_set_hw_reg()1944 if (factor_toset <= 3) { in rtl92cu_set_hw_reg()1945 factor_toset = (1 << (factor_toset + 2)); in rtl92cu_set_hw_reg()1946 if (factor_toset > 0xf) in rtl92cu_set_hw_reg()1947 factor_toset = 0xf; in rtl92cu_set_hw_reg()1950 (factor_toset << 4)) in rtl92cu_set_hw_reg()1953 | (factor_toset << 4); in rtl92cu_set_hw_reg()1955 factor_toset) in rtl92cu_set_hw_reg()1958 | (factor_toset); in rtl92cu_set_hw_reg()[all …]