Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/media/usb/gspca/
Dzc3xx.c5590 static u16 i2c_read(struct gspca_dev *gspca_dev, in i2c_read() function
5787 return (i2c_read(gspca_dev, 0x25) << 9) in getexposure()
5788 | (i2c_read(gspca_dev, 0x26) << 1) in getexposure()
5789 | (i2c_read(gspca_dev, 0x27) >> 7); in getexposure()
6048 checkword = ((i2c_read(gspca_dev, 0x00) & 0x0f) << 4) in sif_probe()
6049 | ((i2c_read(gspca_dev, 0x01) & 0xf0) >> 4); in sif_probe()
6064 retword = i2c_read(gspca_dev, 0x01); in vga_2wr_probe()
6070 retword = i2c_read(gspca_dev, 0x01); in vga_2wr_probe()
6077 retword = i2c_read(gspca_dev, 0x11); in vga_2wr_probe()
6087 retword = i2c_read(gspca_dev, 0x15); in vga_2wr_probe()
[all …]
Dspca561.c353 static int i2c_read(struct gspca_dev *gspca_dev, __u16 reg, __u8 mode) in i2c_read() function
690 expotimes = i2c_read(gspca_dev, 0x09, 0x10); in do_autogain()
696 gainG = i2c_read(gspca_dev, 0x35, 0x10); in do_autogain()
/linux-4.4.14/drivers/staging/media/cxd2099/
Dcxd2099.c102 static int i2c_read(struct i2c_adapter *adapter, u8 adr, in i2c_read() function
124 status = i2c_read(ci->i2c, ci->cfg.adr, 1, data, n); in read_block()
142 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);
/linux-4.4.14/drivers/gpu/drm/
Ddrm_dp_mst_topology.c264 buf[idx] = (req->u.i2c_read.port_number & 0xf) << 4; in drm_dp_encode_sideband_req()
265 buf[idx] |= (req->u.i2c_read.num_transactions & 0x3); in drm_dp_encode_sideband_req()
267 for (i = 0; i < (req->u.i2c_read.num_transactions & 0x3); i++) { in drm_dp_encode_sideband_req()
268 buf[idx] = req->u.i2c_read.transactions[i].i2c_dev_id & 0x7f; in drm_dp_encode_sideband_req()
270 buf[idx] = req->u.i2c_read.transactions[i].num_bytes; in drm_dp_encode_sideband_req()
272 …memcpy(&buf[idx], req->u.i2c_read.transactions[i].bytes, req->u.i2c_read.transactions[i].num_bytes… in drm_dp_encode_sideband_req()
273 idx += req->u.i2c_read.transactions[i].num_bytes; in drm_dp_encode_sideband_req()
275 buf[idx] = (req->u.i2c_read.transactions[i].no_stop_bit & 0x1) << 5; in drm_dp_encode_sideband_req()
276 buf[idx] |= (req->u.i2c_read.transactions[i].i2c_transaction_delay & 0xf); in drm_dp_encode_sideband_req()
279 buf[idx] = (req->u.i2c_read.read_i2c_device_id) & 0x7f; in drm_dp_encode_sideband_req()
[all …]
/linux-4.4.14/drivers/i2c/busses/
Di2c-au1550.c164 static int i2c_read(struct i2c_au1550_data *adap, unsigned char *buf, in i2c_read() function
237 err = i2c_read(adap, p->buf, p->len); in au1550_xfer()
/linux-4.4.14/drivers/staging/rdma/hfi1/
Dqsfp.h217 int i2c_read(struct hfi1_pportdata *ppd, u32 target, int i2c_addr,
Dqsfp.c174 int i2c_read(struct hfi1_pportdata *ppd, u32 target, int i2c_addr, int offset, in i2c_read() function
Ddebugfs.c523 total_read = i2c_read(ppd, target, i2c_addr, offset, buff, count); in __i2c_debugfs_read()
/linux-4.4.14/drivers/media/pci/ngene/
Dngene-cards.c180 static int i2c_read(struct i2c_adapter *adapter, u8 adr, u8 *val) in i2c_read() function
210 if (i2c_read(i2c, 0x29+port, &val) < 0) in port_has_drxk()
/linux-4.4.14/include/drm/
Ddrm_dp_mst_helper.h322 struct drm_dp_remote_i2c_read i2c_read; member
/linux-4.4.14/include/trace/events/
Di2c.h62 TRACE_EVENT_FN(i2c_read,
/linux-4.4.14/drivers/media/pci/ddbridge/
Dddbridge-core.c54 static int i2c_read(struct i2c_adapter *adapter, u8 adr, u8 *val) in i2c_read() function
1163 if (i2c_read(&port->i2c->adap, 0x29, &val) < 0) in port_has_drxks()
1165 if (i2c_read(&port->i2c->adap, 0x2a, &val) < 0) in port_has_drxks()
/linux-4.4.14/drivers/media/dvb-frontends/
Ddrxd_hard.c214 static int i2c_read(struct i2c_adapter *adap, in i2c_read() function
248 if (i2c_read(state->i2c, adr, mm1, 4, mm2, 2) < 0) in Read16()
263 if (i2c_read(state->i2c, adr, mm1, 4, mm2, 4) < 0) in Read32()
Ddrxk_hard.c276 static int i2c_read(struct drxk_state *state, in i2c_read() function
330 status = i2c_read(state, adr, mm1, len, mm2, 2); in read16_flags()
364 status = i2c_read(state, adr, mm1, len, mm2, 4); in read32_flags()