Searched refs:I2cc (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/media/usb/gspca/ |
H A D | etoms.c | 399 __u8 I2cc[] = { 0x05, 0x02, 0x02, 0x05, 0x0d }; in setcolors() local 403 I2cc[3] = val; /* red */ in setcolors() 404 I2cc[0] = 15 - val; /* blue */ in setcolors() 405 /* green = 15 - ((((7*I2cc[0]) >> 2 ) + I2cc[3]) >> 1); */ in setcolors() 406 /* I2cc[1] = I2cc[2] = green; */ in setcolors() 409 i2c_w(gspca_dev, PAS106_REG9, I2cc, sizeof I2cc, 1); in setcolors()
|
/kernel/linux/linux-6.6/drivers/media/usb/gspca/ |
H A D | etoms.c | 399 __u8 I2cc[] = { 0x05, 0x02, 0x02, 0x05, 0x0d }; in setcolors() local 403 I2cc[3] = val; /* red */ in setcolors() 404 I2cc[0] = 15 - val; /* blue */ in setcolors() 405 /* green = 15 - ((((7*I2cc[0]) >> 2 ) + I2cc[3]) >> 1); */ in setcolors() 406 /* I2cc[1] = I2cc[2] = green; */ in setcolors() 409 i2c_w(gspca_dev, PAS106_REG9, I2cc, sizeof I2cc, 1); in setcolors()
|
Completed in 4 milliseconds