Searched refs:reg_w1 (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/media/usb/gspca/ |
H A D | tv8532.c | 105 static void reg_w1(struct gspca_dev *gspca_dev, in reg_w1() function 135 reg_w1(gspca_dev, R01_TIMING_CONTROL_LOW, CMD_EEprom_Open); in tv_8532WriteEEprom() 137 reg_w1(gspca_dev, R03_TABLE_ADDR, i); in tv_8532WriteEEprom() 138 reg_w1(gspca_dev, R04_WTRAM_DATA_L, eeprom_data[i][2]); in tv_8532WriteEEprom() 139 reg_w1(gspca_dev, R05_WTRAM_DATA_M, eeprom_data[i][1]); in tv_8532WriteEEprom() 140 reg_w1(gspca_dev, R06_WTRAM_DATA_H, eeprom_data[i][0]); in tv_8532WriteEEprom() 141 reg_w1(gspca_dev, R08_RAM_WRITE_ACTION, 0); in tv_8532WriteEEprom() 143 reg_w1(gspca_dev, R07_TABLE_LEN, i); in tv_8532WriteEEprom() 144 reg_w1(gspca_dev, R01_TIMING_CONTROL_LOW, CMD_EEprom_Close); in tv_8532WriteEEprom() 162 reg_w1(gspca_dev, R3B_Test3, 0x0a); /* Test0Sel = 10 */ in tv_8532_setReg() [all …]
|
H A D | sonixj.c | 1173 static void reg_w1(struct gspca_dev *gspca_dev, in reg_w1() function 1343 reg_w1(gspca_dev, 0x02, 0x66); /* Gpio on */ in hv7131r_probe() 1378 reg_w1(gspca_dev, 0x17, 0x62); in mi0360_probe() 1379 reg_w1(gspca_dev, 0x01, 0x08); in mi0360_probe() 1387 reg_w1(gspca_dev, 0x01, 0x29); in mi0360_probe() 1388 reg_w1(gspca_dev, 0x17, 0x42); in mi0360_probe() 1419 reg_w1(gspca_dev, 0x17, 0x62); in ov7630_probe() 1420 reg_w1(gspca_dev, 0x01, 0x08); in ov7630_probe() 1424 reg_w1(gspca_dev, 0x01, 0x29); in ov7630_probe() 1425 reg_w1(gspca_dev, 0x17, 0x42); in ov7630_probe() [all …]
|
H A D | sn9c20x.c | 953 static void reg_w1(struct gspca_dev *gspca_dev, u16 reg, const u8 value) in reg_w1() function 1361 reg_w1(gspca_dev, 0x118c, red); in set_redblue() 1362 reg_w1(gspca_dev, 0x118f, blue); in set_redblue() 1387 reg_w1(gspca_dev, 0x1182, sd->vstart); in set_hvflip() 1541 reg_w1(gspca_dev, 0x1007, 0x60); in set_led_mode() 1542 reg_w1(gspca_dev, 0x1006, val ? 0x40 : 0x00); in set_led_mode() 1550 reg_w1(gspca_dev, 0x1061, 0x01); /* stop transfer */ in set_quality() 1551 reg_w1(gspca_dev, 0x10e0, sd->fmt | 0x20); /* write QTAB */ in set_quality() 1554 reg_w1(gspca_dev, 0x1061, 0x03); /* restart transfer */ in set_quality() 1555 reg_w1(gspca_dev, 0x10e0, sd->fmt); in set_quality() [all …]
|