Lines Matching full:quirk
3 * R-Car Generation 2 da9063(L)/da9210 regulator quirk
15 * To handle this, install a quirk that masks the interrupts in both the
16 * da9063 and da9210. This quirk has to run after the i2c master driver has
124 dev_info(dev, "IRQ2 is not asserted, removing quirk\n"); in regulator_quirk_notify()
143 struct regulator_quirk *quirk, *pos, *tmp; in rcar_gen2_regulator_quirk() local
167 quirk = kzalloc(sizeof(*quirk), GFP_KERNEL); in rcar_gen2_regulator_quirk()
168 if (!quirk) { in rcar_gen2_regulator_quirk()
174 argsa = &quirk->irq_args; in rcar_gen2_regulator_quirk()
175 memcpy(&quirk->i2c_msg, id->data, sizeof(quirk->i2c_msg)); in rcar_gen2_regulator_quirk()
177 quirk->id = id; in rcar_gen2_regulator_quirk()
178 quirk->np = of_node_get(np); in rcar_gen2_regulator_quirk()
179 quirk->i2c_msg.addr = addr; in rcar_gen2_regulator_quirk()
184 kfree(quirk); in rcar_gen2_regulator_quirk()
199 quirk->shared = true; in rcar_gen2_regulator_quirk()
203 list_add_tail(&quirk->list, &quirk_list); in rcar_gen2_regulator_quirk()
214 pr_debug("%s: IRQ2 is not asserted, not installing quirk\n", in rcar_gen2_regulator_quirk()
220 pr_info("IRQ2 is asserted, installing regulator quirk\n"); in rcar_gen2_regulator_quirk()