Searched refs:reg_code (Results 1 – 3 of 3) sorted by relevance
363 unsigned int ichg_reg_code, reg_code; in bq2515x_get_battery_current_now() local395 reg_code = pchrgctrl & BQ2515X_PRECHARGE_MASK; in bq2515x_get_battery_current_now()402 reg_code = ichg_reg_code; in bq2515x_get_battery_current_now()414 return reg_code * (ichg_multiplier * ichg_measurement / in bq2515x_get_battery_current_now()
991 u32 reg_code; in ath6kl_wmi_regdomain_event() local994 reg_code = le32_to_cpu(ev->reg_code); in ath6kl_wmi_regdomain_event()996 if ((reg_code >> ATH6KL_COUNTRY_RD_SHIFT) & COUNTRY_ERD_FLAG) { in ath6kl_wmi_regdomain_event()997 country = ath6kl_regd_find_country((u16) reg_code); in ath6kl_wmi_regdomain_event()998 } else if (!(((u16) reg_code & WORLD_SKU_MASK) == WORLD_SKU_PREFIX)) { in ath6kl_wmi_regdomain_event()999 regpair = ath6kl_get_regpair((u16) reg_code); in ath6kl_wmi_regdomain_event()1000 country = ath6kl_regd_find_country_by_rd((u16) reg_code); in ath6kl_wmi_regdomain_event()1006 reg_code); in ath6kl_wmi_regdomain_event()
1585 __le32 reg_code; member