Lines Matching refs:em28xx_write_reg
186 em28xx_write_reg(dev, EM28XX_R20_YGAIN, CONTRAST_DEFAULT); in em28xx_colorlevels_set_default()
187 em28xx_write_reg(dev, EM28XX_R21_YOFFSET, BRIGHTNESS_DEFAULT); in em28xx_colorlevels_set_default()
188 em28xx_write_reg(dev, EM28XX_R22_UVGAIN, SATURATION_DEFAULT); in em28xx_colorlevels_set_default()
189 em28xx_write_reg(dev, EM28XX_R23_UOFFSET, BLUE_BALANCE_DEFAULT); in em28xx_colorlevels_set_default()
190 em28xx_write_reg(dev, EM28XX_R24_VOFFSET, RED_BALANCE_DEFAULT); in em28xx_colorlevels_set_default()
191 em28xx_write_reg(dev, EM28XX_R25_SHARPNESS, SHARPNESS_DEFAULT); in em28xx_colorlevels_set_default()
193 em28xx_write_reg(dev, EM28XX_R14_GAMMA, 0x20); in em28xx_colorlevels_set_default()
194 em28xx_write_reg(dev, EM28XX_R15_RGAIN, 0x20); in em28xx_colorlevels_set_default()
195 em28xx_write_reg(dev, EM28XX_R16_GGAIN, 0x20); in em28xx_colorlevels_set_default()
196 em28xx_write_reg(dev, EM28XX_R17_BGAIN, 0x20); in em28xx_colorlevels_set_default()
197 em28xx_write_reg(dev, EM28XX_R18_ROFFSET, 0x00); in em28xx_colorlevels_set_default()
198 em28xx_write_reg(dev, EM28XX_R19_GOFFSET, 0x00); in em28xx_colorlevels_set_default()
199 return em28xx_write_reg(dev, EM28XX_R1A_BOFFSET, 0x00); in em28xx_colorlevels_set_default()
220 ret = em28xx_write_reg(dev, EM28XX_R27_OUTFMT, fmt); in em28xx_set_outfmt()
224 ret = em28xx_write_reg(dev, EM28XX_R10_VINMODE, v4l2->vinmode); in em28xx_set_outfmt()
231 em28xx_write_reg(dev, EM28XX_R34_VBI_START_H, 0x00); in em28xx_set_outfmt()
232 em28xx_write_reg(dev, EM28XX_R36_VBI_WIDTH, in em28xx_set_outfmt()
234 em28xx_write_reg(dev, EM28XX_R37_VBI_HEIGHT, v4l2->vbi_height); in em28xx_set_outfmt()
237 em28xx_write_reg(dev, EM28XX_R35_VBI_START_V, 0x09); in em28xx_set_outfmt()
240 em28xx_write_reg(dev, EM28XX_R35_VBI_START_V, 0x07); in em28xx_set_outfmt()
244 return em28xx_write_reg(dev, EM28XX_R11_VINCTRL, vinctrl); in em28xx_set_outfmt()
281 em28xx_write_reg(dev, 0x34, width >> 4); in em28xx_capture_area_set()
282 em28xx_write_reg(dev, 0x35, height >> 4); in em28xx_capture_area_set()
309 return em28xx_write_reg(dev, EM28XX_R26_COMPR, mode); in em28xx_scaler_set()
1349 ret = em28xx_write_reg(dev, EM28XX_R20_YGAIN, ctrl->val); in em28xx_s_ctrl()
1352 ret = em28xx_write_reg(dev, EM28XX_R21_YOFFSET, ctrl->val); in em28xx_s_ctrl()
1355 ret = em28xx_write_reg(dev, EM28XX_R22_UVGAIN, ctrl->val); in em28xx_s_ctrl()
1358 ret = em28xx_write_reg(dev, EM28XX_R23_UOFFSET, ctrl->val); in em28xx_s_ctrl()
1361 ret = em28xx_write_reg(dev, EM28XX_R24_VOFFSET, ctrl->val); in em28xx_s_ctrl()
1364 ret = em28xx_write_reg(dev, EM28XX_R25_SHARPNESS, ctrl->val); in em28xx_s_ctrl()
2658 ret = em28xx_write_reg(dev, EM2820_R08_GPIO_CTRL, 0xf7); in em28xx_v4l2_init()
2667 ret = em28xx_write_reg(dev, EM2820_R08_GPIO_CTRL, 0xff); in em28xx_v4l2_init()
2704 em28xx_write_reg(dev, EM28XX_R0F_XCLK, in em28xx_v4l2_init()