Searched refs:i2c_r (Results 1 – 5 of 5) sorted by relevance
/linux-5.19.10/drivers/i2c/busses/ |
D | i2c-cp2615.c | 143 struct cp2615_i2c_transfer_result *i2c_r; in cp2615_i2c_recv() local 157 i2c_r = (struct cp2615_i2c_transfer_result *)&msg->data; in cp2615_i2c_recv() 158 if (msg->msg != htons(iop_I2cTransferResult) || i2c_r->tag != tag) { in cp2615_i2c_recv() 163 res = cp2615_check_status(i2c_r->status); in cp2615_i2c_recv() 165 memcpy(buf, &i2c_r->data, i2c_r->read_len); in cp2615_i2c_recv()
|
/linux-5.19.10/drivers/media/usb/gspca/ |
D | ov519.c | 2409 static int i2c_r(struct sd *sd, u8 reg) in i2c_r() function 2454 rc = i2c_r(sd, reg); in i2c_w_mask() 2548 if (i2c_r(sd, OV7610_REG_ID_HIGH) == 0x7f && in init_ov_sensor() 2549 i2c_r(sd, OV7610_REG_ID_LOW) == 0xa2) { in init_ov_sensor() 2562 if (i2c_r(sd, 0x00) < 0) in init_ov_sensor() 2629 high = i2c_r(sd, 0x0a); in ov_hires_configure() 2630 low = i2c_r(sd, 0x0b); in ov_hires_configure() 2672 rc = i2c_r(sd, OV7610_REG_COM_I); in ov8xx0_configure() 2695 rc = i2c_r(sd, OV7610_REG_COM_I); in ov7xx0_configure() 2705 high = i2c_r(sd, 0x0a); in ov7xx0_configure() [all …]
|
D | topro.c | 1046 static int i2c_r(struct gspca_dev *gspca_dev, u8 index, int len) in i2c_r() function 1128 ret = i2c_r(gspca_dev, 0x00, 1); in probe_6810() 1136 ret = i2c_r(gspca_dev, 0x00, 1); in probe_6810() 1140 ret = i2c_r(gspca_dev, 0x01, 1); in probe_6810() 1149 ret = i2c_r(gspca_dev, 0x00, 2); in probe_6810() 1157 ret = i2c_r(gspca_dev, 0x36, 2); in probe_6810() 1174 ret = i2c_r(gspca_dev, 0x00, 1); in probe_6810()
|
D | sonixj.c | 1294 static void i2c_r(struct gspca_dev *gspca_dev, u8 reg, int len) in i2c_r() function 1345 i2c_r(gspca_dev, 0, 5); /* read sensor id */ in hv7131r_probe() 1422 i2c_r(gspca_dev, 0x0a, 2); in ov7630_probe() 1448 i2c_r(gspca_dev, 0x0a, 2); in ov7648_probe() 1461 i2c_r(gspca_dev, 0x00, 2); in ov7648_probe() 1486 i2c_r(gspca_dev, 0x00, 1); in po2030n_probe() 1500 i2c_r(gspca_dev, 0x00, 2); in po2030n_probe()
|
D | etoms.c | 226 static int i2c_r(struct gspca_dev *gspca_dev, in i2c_r() function 419 i2c_r(gspca_dev, PAS106_REG9 + 3); /* red */ in getcolors() 596 i2c_r(gspca_dev, PAS106_REG0e); in Et_getgainG()
|