Home
last modified time | relevance | path

Searched refs:em28xx_write_regs (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/media/usb/em28xx/
H A Dem28xx-core.c177 int em28xx_write_regs(struct em28xx *dev, u16 reg, char *buf, int len) in em28xx_write_regs() function
181 EXPORT_SYMBOL_GPL(em28xx_write_regs);
186 return em28xx_write_regs(dev, reg, &val, 1); in em28xx_write_reg()
207 return em28xx_write_regs(dev, reg, &newval, 1); in em28xx_write_reg_bits()
269 ret = em28xx_write_regs(dev, EM28XX_R42_AC97ADDR, &addr, 1); in em28xx_read_ac97()
298 ret = em28xx_write_regs(dev, EM28XX_R40_AC97LSB, (u8 *)&value, 2); in em28xx_write_ac97()
302 ret = em28xx_write_regs(dev, EM28XX_R42_AC97ADDR, &addr, 1); in em28xx_write_ac97()
363 ret = em28xx_write_regs(dev, EM2800_R08_AUDIOSRC, &input, 1); in em28xx_set_audio_source()
H A Dem28xx-video.c253 em28xx_write_regs(dev, EM28XX_R28_XMIN, &xmin, 1); in em28xx_accumulator_set()
254 em28xx_write_regs(dev, EM28XX_R29_XMAX, &xmax, 1); in em28xx_accumulator_set()
255 em28xx_write_regs(dev, EM28XX_R2A_YMIN, &ymin, 1); in em28xx_accumulator_set()
256 return em28xx_write_regs(dev, EM28XX_R2B_YMAX, &ymax, 1); in em28xx_accumulator_set()
272 em28xx_write_regs(dev, EM28XX_R1C_HSTART, &hstart, 1); in em28xx_capture_area_set()
273 em28xx_write_regs(dev, EM28XX_R1D_VSTART, &vstart, 1); in em28xx_capture_area_set()
274 em28xx_write_regs(dev, EM28XX_R1E_CWIDTH, &cwidth, 1); in em28xx_capture_area_set()
275 em28xx_write_regs(dev, EM28XX_R1F_CHEIGHT, &cheight, 1); in em28xx_capture_area_set()
276 em28xx_write_regs(dev, EM28XX_R1B_OFLOW, &overflow, 1); in em28xx_capture_area_set()
298 em28xx_write_regs(dev, EM28XX_R30_HSCALELOW, (char *)buf, 2); in em28xx_scaler_set()
[all …]
H A Dem28xx-cards.c3010 em28xx_write_regs(dev, EM28XX_R0F_XCLK, "\x07", 1); in em28xx_pre_card_setup()
3011 em28xx_write_regs(dev, EM28XX_R06_I2C_CLK, "\x40", 1); in em28xx_pre_card_setup()
3012 em28xx_write_regs(dev, 0x0d, "\x42", 1); in em28xx_pre_card_setup()
3013 em28xx_write_regs(dev, 0x08, "\xfd", 1); in em28xx_pre_card_setup()
3015 em28xx_write_regs(dev, 0x08, "\xff", 1); in em28xx_pre_card_setup()
3017 em28xx_write_regs(dev, 0x08, "\x7f", 1); in em28xx_pre_card_setup()
3019 em28xx_write_regs(dev, 0x08, "\x6b", 1); in em28xx_pre_card_setup()
3023 em28xx_write_regs(dev, 0x08, "\xf8", 1); in em28xx_pre_card_setup()
3533 dev->em28xx_write_regs = em28xx_write_regs; in em28xx_init_dev()
H A Dem28xx.h745 int (*em28xx_write_regs)(struct em28xx *dev, u16 reg, member
801 int em28xx_write_regs(struct em28xx *dev, u16 reg, char *buf, int len);
H A Dem28xx-i2c.c93 ret = dev->em28xx_write_regs(dev, 4 - len, &b2[4 - len], 2 + len); in em2800_i2c_send_bytes()
138 ret = dev->em28xx_write_regs(dev, 0x04, buf2, 2); in em2800_i2c_recv_bytes()
973 if (WARN_ON(!dev->em28xx_write_regs || !dev->em28xx_read_reg || in em28xx_i2c_register()
H A Dem28xx-input.c439 em28xx_write_regs(dev, EM2874_R50_IR_CONFIG, &ir_config, 1); in em2874_ir_change_protocol()