Searched refs:index2val (Results 1 – 1 of 1) sorted by relevance
779 static const u8 index2val[] = { in vgxy61_apply_patgen() local782 u32 pattern = index2val[index]; in vgxy61_apply_patgen()804 static const u8 index2val[] = {0x0, 0x1, 0x3}; in vgxy61_apply_gpiox_strobe_mode() local808 val = index2val[mode] << (idx * VGXY61_SIGNALS_GPIO_ID_SHIFT); in vgxy61_apply_gpiox_strobe_mode()1000 static const u8 index2val[] = {0x1, 0x4, 0xa}; in vgxy61_apply_hdr() local1002 return cci_write(sensor->regmap, VGXY61_REG_HDR_CTRL, index2val[index], in vgxy61_apply_hdr()