Lines Matching refs:quirk
142 struct regulator_quirk *quirk, *pos, *tmp; in rcar_gen2_regulator_quirk() local
164 quirk = kzalloc(sizeof(*quirk), GFP_KERNEL); in rcar_gen2_regulator_quirk()
165 if (!quirk) { in rcar_gen2_regulator_quirk()
170 argsa = &quirk->irq_args; in rcar_gen2_regulator_quirk()
171 memcpy(&quirk->i2c_msg, id->data, sizeof(quirk->i2c_msg)); in rcar_gen2_regulator_quirk()
173 quirk->id = id; in rcar_gen2_regulator_quirk()
174 quirk->np = np; in rcar_gen2_regulator_quirk()
175 quirk->i2c_msg.addr = addr; in rcar_gen2_regulator_quirk()
179 kfree(quirk); in rcar_gen2_regulator_quirk()
194 quirk->shared = true; in rcar_gen2_regulator_quirk()
198 list_add_tail(&quirk->list, &quirk_list); in rcar_gen2_regulator_quirk()