Home
last modified time | relevance | path

Searched refs:i2c_read (Results 1 – 9 of 9) sorted by relevance

/drivers/media/video/gspca/
Dzc3xx.c5699 static u16 i2c_read(struct gspca_dev *gspca_dev, in i2c_read() function
5903 sd->ctrls[EXPOSURE].val = (i2c_read(gspca_dev, 0x25) << 9) in getexposure()
5904 | (i2c_read(gspca_dev, 0x26) << 1) in getexposure()
5905 | (i2c_read(gspca_dev, 0x27) >> 7); in getexposure()
6229 checkword = ((i2c_read(gspca_dev, 0x00) & 0x0f) << 4) in sif_probe()
6230 | ((i2c_read(gspca_dev, 0x01) & 0xf0) >> 4); in sif_probe()
6245 retword = i2c_read(gspca_dev, 0x01); in vga_2wr_probe()
6251 retword = i2c_read(gspca_dev, 0x01); in vga_2wr_probe()
6258 retword = i2c_read(gspca_dev, 0x11); in vga_2wr_probe()
6268 retword = i2c_read(gspca_dev, 0x15); in vga_2wr_probe()
[all …]
Dspca561.c375 static int i2c_read(struct gspca_dev *gspca_dev, __u16 reg, __u8 mode) in i2c_read() function
742 expotimes = i2c_read(gspca_dev, 0x09, 0x10); in do_autogain()
748 gainG = i2c_read(gspca_dev, 0x35, 0x10); in do_autogain()
/drivers/staging/media/cxd2099/
Dcxd2099.c103 static int i2c_read(struct i2c_adapter *adapter, u8 adr, in i2c_read() function
125 status = i2c_read(ci->i2c, ci->cfg.adr, 1, data, n); in read_block()
143 status = i2c_read(ci->i2c, ci->cfg.adr, 3, data, n); in read_pccard()
168 status = i2c_read(ci->i2c, ci->cfg.adr, 3, val, 1); in read_io()
192 status = i2c_read(ci->i2c, ci->cfg.adr, 3, data, n);
/drivers/i2c/busses/
Di2c-au1550.c170 static int i2c_read(struct i2c_au1550_data *adap, unsigned char *buf, in i2c_read() function
243 err = i2c_read(adap, p->buf, p->len); in au1550_xfer()
/drivers/media/dvb/ngene/
Dngene-cards.c178 static int i2c_read(struct i2c_adapter *adapter, u8 adr, u8 *val) in i2c_read() function
208 if (i2c_read(i2c, 0x29+port, &val) < 0) in port_has_drxk()
/drivers/media/dvb/ddbridge/
Dddbridge-core.c55 static int i2c_read(struct i2c_adapter *adapter, u8 adr, u8 *val) in i2c_read() function
1168 if (i2c_read(&port->i2c->adap, 0x29, &val) < 0) in port_has_drxks()
1170 if (i2c_read(&port->i2c->adap, 0x2a, &val) < 0) in port_has_drxks()
/drivers/media/dvb/frontends/
Ddrxd_hard.c218 static int i2c_read(struct i2c_adapter *adap, in i2c_read() function
252 if (i2c_read(state->i2c, adr, mm1, 4, mm2, 2) < 0) in Read16()
267 if (i2c_read(state->i2c, adr, mm1, 4, mm2, 4) < 0) in Read32()
Ddrxk_hard.c343 static int i2c_read(struct i2c_adapter *adap, in i2c_read() function
397 status = i2c_read(state->i2c, adr, mm1, len, mm2, 2); in read16_flags()
431 status = i2c_read(state->i2c, adr, mm1, len, mm2, 4); in read32_flags()
/drivers/media/video/
Dvino.c1684 static int i2c_read(struct i2c_algo_sgi_data *adap, unsigned char *buf, in i2c_read() function
1729 err = i2c_read(adap, p->buf, p->len); in sgi_xfer()