Home
last modified time | relevance | path

Searched refs:reg_w_val (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/usb/gspca/
Detoms.c168 static void reg_w_val(struct gspca_dev *gspca_dev, in reg_w_val() function
214 reg_w_val(gspca_dev, ET_I2C_BASE, 0x40); in i2c_w()
218 reg_w_val(gspca_dev, ET_I2C_COUNT, ptchcount); in i2c_w()
220 reg_w_val(gspca_dev, ET_I2C_REG, reg); in i2c_w()
222 reg_w_val(gspca_dev, ET_I2C_DATA0 + len, buffer[len]); in i2c_w()
230 reg_w_val(gspca_dev, ET_I2C_BASE, 0x40); in i2c_r()
233 reg_w_val(gspca_dev, ET_I2C_COUNT, 0x11); in i2c_r()
234 reg_w_val(gspca_dev, ET_I2C_REG, reg); /* set the register base */ in i2c_r()
235 reg_w_val(gspca_dev, ET_I2C_PREFETCH, 0x02); /* prefetch */ in i2c_r()
236 reg_w_val(gspca_dev, ET_I2C_PREFETCH, 0x00); in i2c_r()
[all …]
Dconex.c80 static void reg_w_val(struct gspca_dev *gspca_dev, in reg_w_val() function
197 reg_w_val(gspca_dev, 0x006a, 0x02); in cx11646_fw()
202 reg_w_val(gspca_dev, 0x006a, 0x00); in cx11646_fw()
240 reg_w_val(gspca_dev, 0x0092, 0x03); in cx_sensor()
258 reg_w_val(gspca_dev, 0x00f8, 0x00); in cx_sensor()
260 reg_w_val(gspca_dev, 0x0098, 0x41); in cx_sensor()
335 reg_w_val(gspca_dev, 0x009a, 0x01); in cx11646_initsize()
336 reg_w_val(gspca_dev, 0x0010, 0x10); in cx11646_initsize()
339 reg_w_val(gspca_dev, 0x00c0, 0x00); in cx11646_initsize()
340 reg_w_val(gspca_dev, 0x00c1, 0x04); in cx11646_initsize()
[all …]
Dspca561.c275 static void reg_w_val(struct gspca_dev *gspca_dev, __u16 index, __u8 value) in reg_w_val() function
297 reg_w_val(gspca_dev, data[i][1], data[i][0]); in write_vector()
330 reg_w_val(gspca_dev, 0x8801, reg); in i2c_write()
331 reg_w_val(gspca_dev, 0x8805, value); in i2c_write()
332 reg_w_val(gspca_dev, 0x8800, value >> 8); in i2c_write()
346 reg_w_val(gspca_dev, 0x8804, 0x92); in i2c_read()
347 reg_w_val(gspca_dev, 0x8801, reg); in i2c_read()
348 reg_w_val(gspca_dev, 0x8802, mode | 0x01); in i2c_read()
450 reg_w_val(gspca_dev, 0x8112, 0x30); in sd_init_72a()
464 reg_w_val(gspca_dev, reg + 0, val); /* R */ in setbrightness()
[all …]