Lines Matching refs:patch
650 struct reg_sequence patch[2]; in register_patch() local
668 patch[0].reg = 2; in register_patch()
669 patch[0].def = rval[2] + 1; in register_patch()
670 patch[0].delay_us = 0; in register_patch()
671 patch[1].reg = 5; in register_patch()
672 patch[1].def = rval[5] + 1; in register_patch()
673 patch[1].delay_us = 0; in register_patch()
674 KUNIT_EXPECT_EQ(test, 0, regmap_register_patch(map, patch, in register_patch()
675 ARRAY_SIZE(patch))); in register_patch()
1146 struct reg_sequence patch[2]; in cache_sync_patch() local
1164 patch[0].reg = param->from_reg + 2; in cache_sync_patch()
1165 patch[0].def = rval[2] + 1; in cache_sync_patch()
1166 patch[0].delay_us = 0; in cache_sync_patch()
1167 patch[1].reg = param->from_reg + 5; in cache_sync_patch()
1168 patch[1].def = rval[5] + 1; in cache_sync_patch()
1169 patch[1].delay_us = 0; in cache_sync_patch()
1170 KUNIT_EXPECT_EQ(test, 0, regmap_register_patch(map, patch, in cache_sync_patch()
1171 ARRAY_SIZE(patch))); in cache_sync_patch()