Lines Matching refs:retword
6064 u16 retword; in vga_2wr_probe() local
6068 retword = i2c_read(gspca_dev, 0x01); in vga_2wr_probe()
6069 if (retword != 0) in vga_2wr_probe()
6074 retword = i2c_read(gspca_dev, 0x01); in vga_2wr_probe()
6075 if (retword != 0) in vga_2wr_probe()
6081 retword = i2c_read(gspca_dev, 0x11); in vga_2wr_probe()
6082 if (retword != 0) { in vga_2wr_probe()
6091 retword = i2c_read(gspca_dev, 0x15); in vga_2wr_probe()
6092 if (retword != 0) in vga_2wr_probe()
6097 retword = i2c_read(gspca_dev, 0x07); in vga_2wr_probe()
6098 if (retword != 0) in vga_2wr_probe()
6100 retword = i2c_read(gspca_dev, 0x03); in vga_2wr_probe()
6101 if (retword != 0) in vga_2wr_probe()
6103 retword = i2c_read(gspca_dev, 0x04); in vga_2wr_probe()
6104 if (retword != 0) in vga_2wr_probe()
6109 retword = i2c_read(gspca_dev, 0x01); in vga_2wr_probe()
6110 if (retword != 0) in vga_2wr_probe()
6117 retword = i2c_read(gspca_dev, 0x03); in vga_2wr_probe()
6118 if (retword != 0) { in vga_2wr_probe()
6125 retword = i2c_read(gspca_dev, 0x01); in vga_2wr_probe()
6126 if (retword != 0) in vga_2wr_probe()
6140 retword = i2c_read(gspca_dev, 0x0a) << 8; in vga_2wr_probe()
6141 retword |= i2c_read(gspca_dev, 0x0b); in vga_2wr_probe()
6142 gspca_dbg(gspca_dev, D_PROBE, "probe 2wr ov vga 0x%04x\n", retword); in vga_2wr_probe()
6143 switch (retword) { in vga_2wr_probe()
6153 return retword; in vga_2wr_probe()
6174 u16 retword; in vga_3wr_probe() local
6186 retword = i2c_read(gspca_dev, 0x14); in vga_3wr_probe()
6187 if (retword != 0) in vga_3wr_probe()
6189 retword = i2c_read(gspca_dev, 0x15); in vga_3wr_probe()
6190 if (retword != 0) in vga_3wr_probe()
6192 retword = i2c_read(gspca_dev, 0x16); in vga_3wr_probe()
6193 if (retword != 0) in vga_3wr_probe()
6197 retword = reg_r(gspca_dev, 0x000b) << 8; in vga_3wr_probe()
6198 retword |= reg_r(gspca_dev, 0x000a); in vga_3wr_probe()
6199 gspca_dbg(gspca_dev, D_PROBE, "probe 3wr vga 1 0x%04x\n", retword); in vga_3wr_probe()
6201 if ((retword & 0xff00) == 0x6400) in vga_3wr_probe()
6204 if (chipset_revision_sensor[i].revision == retword) { in vga_3wr_probe()
6205 sd->chip_revision = retword; in vga_3wr_probe()
6217 retword = i2c_read(gspca_dev, 0x00); in vga_3wr_probe()
6218 if (retword != 0) { in vga_3wr_probe()
6231 retword = i2c_read(gspca_dev, 0x00); in vga_3wr_probe()
6232 if (retword != 0) { in vga_3wr_probe()
6234 retword); in vga_3wr_probe()
6235 if (retword == 0x0011) /* gc0303 */ in vga_3wr_probe()
6237 if (retword == 0x0029) /* gc0305 */ in vga_3wr_probe()
6239 return retword; in vga_3wr_probe()
6263 retword = i2c_read(gspca_dev, 0x00) << 8; /* ID 0 */ in vga_3wr_probe()
6264 retword |= i2c_read(gspca_dev, 0x01); /* ID 1 */ in vga_3wr_probe()
6265 gspca_dbg(gspca_dev, D_PROBE, "probe 3wr vga 2 0x%04x\n", retword); in vga_3wr_probe()
6266 if (retword == 0x2030) { in vga_3wr_probe()
6274 return retword; in vga_3wr_probe()
6285 retword = i2c_read(gspca_dev, 0x01); in vga_3wr_probe()
6286 if (retword != 0) { in vga_3wr_probe()
6288 retword); in vga_3wr_probe()