Lines Matching refs:variant_id
42 int variant_id; member
175 variant_parameters[chip->variant_id].current_range; in da9121_get_current_limit()
206 variant_parameters[chip->variant_id].current_range; in da9121_ceiling_selector()
246 variant_parameters[chip->variant_id].current_range; in da9121_set_current_limit()
377 if (pdata->num_buck > variant_parameters[chip->variant_id].num_bucks) { in da9121_of_parse_cb()
389 if (variant_parameters[chip->variant_id].num_bucks == 2) { in da9121_of_parse_cb()
575 bool relevant = (item->buck_id <= variant_parameters[chip->variant_id].num_bucks); in da9121_status_poll_on()
646 bool relevant = (item->buck_id <= variant_parameters[chip->variant_id].num_bucks); in da9121_irq_handler()
706 unsigned int max_matches = variant_parameters[chip->variant_id].num_bucks; in da9121_set_regulator_config()
712 local_da9121_regulators[chip->variant_id][i]; in da9121_set_regulator_config()
825 u32 variant_id; in da9121_check_device_type() local
837 ret = regmap_read(chip->regmap, DA9121_REG_OTP_VARIANT_ID, &variant_id); in da9121_check_device_type()
849 variant_vrc = variant_id & DA9121_MASK_OTP_VARIANT_ID_VRC; in da9121_check_device_type()
887 device_id, variant_id, type); in da9121_check_device_type()
895 variant_mrc = (variant_id & DA9121_MASK_OTP_VARIANT_ID_MRC) in da9121_check_device_type()
922 chip->variant_id = DA9121_TYPE_DA9121_DA9130; in da9121_assign_chip_model()
926 chip->variant_id = DA9121_TYPE_DA9217; in da9121_assign_chip_model()
931 chip->variant_id = DA9121_TYPE_DA9122_DA9131; in da9121_assign_chip_model()
936 chip->variant_id = DA9121_TYPE_DA9220_DA9132; in da9121_assign_chip_model()
944 da9121_matches[0].desc = local_da9121_regulators[chip->variant_id][0]; in da9121_assign_chip_model()
945 da9121_matches[1].desc = local_da9121_regulators[chip->variant_id][1]; in da9121_assign_chip_model()