Lines Matching defs:patch
362 struct reg_sequence patch[2];
381 patch[0].reg = 2;
382 patch[0].def = rval[2] + 1;
383 patch[0].delay_us = 0;
384 patch[1].reg = 5;
385 patch[1].def = rval[5] + 1;
386 patch[1].delay_us = 0;
387 KUNIT_EXPECT_EQ(test, 0, regmap_register_patch(map, patch,
388 ARRAY_SIZE(patch)));
759 struct reg_sequence patch[2];
778 patch[0].reg = 2;
779 patch[0].def = rval[2] + 1;
780 patch[0].delay_us = 0;
781 patch[1].reg = 5;
782 patch[1].def = rval[5] + 1;
783 patch[1].delay_us = 0;
784 KUNIT_EXPECT_EQ(test, 0, regmap_register_patch(map, patch,
785 ARRAY_SIZE(patch)));
793 /* The patch should be on the device but not in the cache */