Home
last modified time | relevance | path

Searched refs:reg_r (Results 1 – 25 of 26) sorted by relevance

12

/drivers/media/usb/gspca/
Dconex.c57 static void reg_r(struct gspca_dev *gspca_dev, in reg_r() function
268 reg_r(gspca_dev, 0x00e8, 1); in cx_sensor()
270 reg_r(gspca_dev, 0x00e8, length); in cx_sensor()
273 reg_r(gspca_dev, 0x00e7, 8); in cx_sensor()
357 reg_r(gspca_dev, 0x0010, 1); in cx11646_initsize()
590 reg_r(gspca_dev, 0x0001, 1); in cx11646_jpegInit()
597 reg_r(gspca_dev, 0x0002, 1); in cx11646_jpegInit()
620 reg_r(gspca_dev, 0x0001, 1); in cx11646_jpeg()
658 reg_r(gspca_dev, 0x0002, 1); in cx11646_jpeg()
660 reg_r(gspca_dev, 0x0002, 1); in cx11646_jpeg()
[all …]
Dspca1528.c49 static void reg_r(struct gspca_dev *gspca_dev, in reg_r() function
136 reg_r(gspca_dev, 0x21, 0x0000, 1); in wait_status_0()
152 reg_r(gspca_dev, 0x21, 0x0001, 1); in wait_status_1()
156 reg_r(gspca_dev, 0x21, 0x0001, 1); in wait_status_1()
213 reg_r(gspca_dev, 0x20, 0x0000, 1); in sd_init()
214 reg_r(gspca_dev, 0x20, 0x0000, 5); in sd_init()
215 reg_r(gspca_dev, 0x23, 0x0000, 64); in sd_init()
218 reg_r(gspca_dev, 0x23, 0x0001, 64); in sd_init()
227 reg_r(gspca_dev, 0x00, 0x2520, 1); in sd_isoc_init()
235 reg_r(gspca_dev, 0x25, 0x0004, 1); in sd_isoc_init()
[all …]
Dsunplus.c234 static void reg_r(struct gspca_dev *gspca_dev, in reg_r() function
345 reg_r(gspca_dev, 0x01, 0x0001, 1); in spca504_acknowledged_command()
351 reg_r(gspca_dev, 0x01, 0x0001, 1); in spca504_acknowledged_command()
365 reg_r(gspca_dev, 0, i, 1); in spca504_read_info()
381 reg_r(gspca_dev, 0x01, 0x0001, 1); in spca504A_acknowledged_command()
393 reg_r(gspca_dev, 0x01, 0x0001, 1); in spca504A_acknowledged_command()
408 reg_r(gspca_dev, 0x21, 0, 1); in spca504B_PollingDataReady()
420 reg_r(gspca_dev, 0x21, 1, 1); in spca504B_WaitCmdStatus()
423 reg_r(gspca_dev, 0x21, 1, 1); in spca504B_WaitCmdStatus()
439 reg_r(gspca_dev, 0x20, 0, 5); in spca50x_GetFirmware()
[all …]
Dspca500.c304 static void reg_r(struct gspca_dev *gspca_dev, in reg_r() function
416 reg_r(gspca_dev, 0x0d04, 2); in spca500_ping310()
423 reg_r(gspca_dev, 0x0d05, 2); in spca500_clksmart310_init()
500 reg_r(gspca_dev, 0x0d00, 1); in spca500_synch310()
551 reg_r(gspca_dev, 0x816b, 1); in spca500_reinit()
613 reg_r(gspca_dev, 0x8a04, 1); in sd_start()
641 reg_r(gspca_dev, 0x816b, 1); in sd_start()
669 reg_r(gspca_dev, 0x816b, 1); in sd_start()
703 reg_r(gspca_dev, 0x816b, 1); in sd_start()
733 reg_r(gspca_dev, 0x816b, 1); in sd_start()
[all …]
Dstk014.c41 static u8 reg_r(struct gspca_dev *gspca_dev, in reg_r() function
127 reg_r(gspca_dev, 0x0704); in snd_val()
128 seq = reg_r(gspca_dev, 0x0705); in snd_val()
129 reg_r(gspca_dev, 0x0650); in snd_val()
223 ret = reg_r(gspca_dev, 0x0740); in sd_init()
266 reg_r(gspca_dev, 0x0630); in sd_start()
268 reg_r(gspca_dev, 0x0650); in sd_start()
297 reg_r(gspca_dev, 0x0630); in sd_stopN()
299 reg_r(gspca_dev, 0x0650); in sd_stopN()
Dspca561.c303 static void reg_r(struct gspca_dev *gspca_dev, in reg_r() function
334 reg_r(gspca_dev, 0x8803, 1); in i2c_write()
350 reg_r(gspca_dev, 0x8803, 1); in i2c_read()
352 reg_r(gspca_dev, 0x8800, 1); in i2c_read()
354 reg_r(gspca_dev, 0x8805, 1); in i2c_read()
404 reg_r(gspca_dev, 0x8104, 1); in sd_config()
406 reg_r(gspca_dev, 0x8105, 1); in sd_config()
409 reg_r(gspca_dev, 0x8106, 1); in sd_config()
411 reg_r(gspca_dev, 0x8107, 1); in sd_config()
663 reg_r(gspca_dev, 0x8621, 1); in do_autogain()
[all …]
Dt613.c293 static u8 reg_r(struct gspca_dev *gspca_dev, in reg_r() function
406 byte = reg_r(gspca_dev, 0x0060); in om6802_sensor_init()
411 byte = reg_r(gspca_dev, 0x0063); in om6802_sensor_init()
427 byte = reg_r(gspca_dev, 0x60); in om6802_sensor_init()
582 sensor_id = (reg_r(gspca_dev, 0x06) << 8) in sd_init()
583 | reg_r(gspca_dev, 0x07); in sd_init()
611 test_byte = reg_r(gspca_dev, 0x0063); in sd_init()
625 test_byte = reg_r(gspca_dev, read_indexs[i]); in sd_init()
636 test_byte = reg_r(gspca_dev, 0x80); in sd_init()
658 test_byte = reg_r(gspca_dev, 0x80); in sd_init()
[all …]
Dvc032x.c2916 static void reg_r(struct gspca_dev *gspca_dev, in reg_r() function
2970 reg_r(gspca_dev, 0xa1, 0xb33f, 1); in read_sensor_register()
2979 reg_r(gspca_dev, 0xa1, 0xb33b, 1); in read_sensor_register()
2985 reg_r(gspca_dev, 0xa1, 0xb33e, 1); in read_sensor_register()
2987 reg_r(gspca_dev, 0xa1, 0xb33d, 1); in read_sensor_register()
2989 reg_r(gspca_dev, 0xa1, 0xb33c, 1); in read_sensor_register()
2994 reg_r(gspca_dev, 0xa1, 0xb334, 1); in read_sensor_register()
3014 reg_r(gspca_dev, 0xa1, 0xbfcf, 1); in vc032x_probe_sensor()
3239 reg_r(gspca_dev, 0x8a, 0, 3); in sd_init()
3241 reg_r(gspca_dev, 0x8b, 0, 3); in sd_init()
[all …]
Dnw80x.c1558 static void reg_r(struct gspca_dev *gspca_dev, in reg_r() function
1608 reg_r(gspca_dev, 0x0505, 1); in i2c_w()
1702 reg_r(gspca_dev, 0x1004, 1); in setautogain()
1706 reg_r(gspca_dev, 0x1011, 8); in setautogain()
1726 reg_r(gspca_dev, index, 1); in nw802_test_reg()
1761 reg_r(gspca_dev, 0x0403, 1); /* GPIO */ in sd_config()
1947 reg_r(gspca_dev, sd->bridge == BRIDGE_NW801 ? 0x080d : 0x080c, 4); in do_autogain()
Detoms.c147 static void reg_r(struct gspca_dev *gspca_dev, in reg_r() function
237 reg_r(gspca_dev, ET_I2C_DATA0, 1); /* read one byte */ in i2c_r()
246 reg_r(gspca_dev, ET_ClCK, 1); in Et_WaitStatus()
275 reg_r(gspca_dev, ET_GPIO_IN, 1); in Et_init2()
446 reg_r(gspca_dev, ET_GPIO_IN, 1); in Et_init1()
638 reg_r(gspca_dev, ET_LUMA_CENTER, 4); in do_autogain()
Dzc3xx.c5529 static u8 reg_r(struct gspca_dev *gspca_dev, in reg_r() function
5582 retbyte = reg_r(gspca_dev, 0x0091); /* read status */ in i2c_read()
5585 retval = reg_r(gspca_dev, 0x0095); /* read Lowbyte */ in i2c_read()
5586 retval |= reg_r(gspca_dev, 0x0096) << 8; /* read Hightbyte */ in i2c_read()
5604 retbyte = reg_r(gspca_dev, 0x0091); /* read status */ in i2c_write()
5619 reg_r(gspca_dev, action->idx); in usb_exchange()
5703 reg_r(gspca_dev, 0x01c8); in setsharpness()
5704 reg_r(gspca_dev, 0x01c9); in setsharpness()
5705 reg_r(gspca_dev, 0x01ca); in setsharpness()
5963 reg11 = reg_r(gspca_dev, 0x0011); in transfer_update()
[all …]
Dov534_9.c1131 static u8 reg_r(struct gspca_dev *gspca_dev, u16 reg) in reg_r() function
1160 data = reg_r(gspca_dev, OV534_REG_STATUS); in sccb_check_status()
1200 return reg_r(gspca_dev, OV534_REG_READ); in sccb_read()
1236 data = reg_r(gspca_dev, 0x21); in set_led()
1240 data = reg_r(gspca_dev, 0x23); in set_led()
1249 data = reg_r(gspca_dev, 0x21); in set_led()
Dstk1135.c46 static u8 reg_r(struct gspca_dev *gspca_dev, u16 index) in reg_r() function
97 val = (reg_r(gspca_dev, index) & ~mask) | (val & mask); in reg_w_mask()
116 val = reg_r(gspca_dev, STK1135_REG_SICTL + 1); in stk1135_serial_wait_ready()
138 return reg_r(gspca_dev, STK1135_REG_SBUSR + 1); in sensor_read_8()
Dtopro.c993 static void reg_r(struct gspca_dev *gspca_dev, u8 index) in reg_r() function
1030 reg_r(gspca_dev, TP6800_R11_SIF_CONTROL); in i2c_w()
1054 reg_r(gspca_dev, TP6800_R14_SIF_RX_DATA); in i2c_r()
1059 reg_r(gspca_dev, TP6800_R1B_SIF_RX_DATA2); in i2c_r()
1062 reg_r(gspca_dev, TP6800_R11_SIF_CONTROL); in i2c_r()
1106 reg_r(gspca_dev, TP6800_R18_GPIO_DATA); in probe_6810()
3944 reg_r(gspca_dev, 0x7b); in setframerate()
4043 reg_r(gspca_dev, TP6800_R18_GPIO_DATA); in sd_init()
4139 reg_r(gspca_dev, 0x7b); in sd_isoc_init()
4152 reg_r(gspca_dev, TP6800_R18_GPIO_DATA); in set_led()
Dspca506.c64 static void reg_r(struct gspca_dev *gspca_dev, in reg_r() function
104 reg_r(gspca_dev, 0x07, 0x0003, 2); in spca506_WriteI2c()
440 reg_r(gspca_dev, 0x04, 0x0001, 2); in sd_start()
Dsq930x.c412 static void reg_r(struct gspca_dev *gspca_dev, in reg_r() function
643 reg_r(gspca_dev, (sensor->i2c_addr << 8) | 0x001c, 1); in cmos_probe()
685 reg_r(gspca_dev, 0x031b, 1); in mt9v111_init()
834 reg_r(gspca_dev, SQ930_CTRL_GET_DEV_INFO, 8); in sd_init()
Dkonica.c99 static void reg_r(struct gspca_dev *gspca_dev, u16 value, u16 index) in reg_r() function
158 reg_r(gspca_dev, 0, 0x10); in sd_init()
Dov519.c2040 static int reg_r(struct sd *sd, u16 index) in reg_r() function
2135 ret = reg_r(sd, index); in reg_w_mask()
2192 rc = reg_r(sd, R511_I2C_CTL); in ov511_i2c_w()
2221 rc = reg_r(sd, R511_I2C_CTL); in ov511_i2c_r()
2245 rc = reg_r(sd, R511_I2C_CTL); in ov511_i2c_r()
2263 value = reg_r(sd, R51x_I2C_DATA); in ov511_i2c_r()
2323 value = reg_r(sd, R51x_I2C_DATA); in ov518_i2c_r()
2996 reg_r(sd, R51x_SYS_CUST_ID)); in ov511_configure()
3065 sd->revision = reg_r(sd, R51x_SYS_CUST_ID) & 0x1f; in ov518_configure()
Dsonixb.c435 static void reg_r(struct gspca_dev *gspca_dev, in reg_r() function
504 reg_r(gspca_dev, 0x08); in i2c_w()
922 reg_r(gspca_dev, 0x00); in sd_config()
Dsn9c20x.c901 static void reg_r(struct gspca_dev *gspca_dev, u16 reg, u16 length) in reg_r() function
961 reg_r(gspca_dev, 0x10c0, 1); in i2c_w()
1054 reg_r(gspca_dev, 0x10c2, 5); in i2c_r1()
1075 reg_r(gspca_dev, 0x10c2, 5); in i2c_r2()
1562 reg_r(gspca_dev, reg->reg, 1); in sd_dbg_g_register()
Dsonixj.c1141 static void reg_r(struct gspca_dev *gspca_dev, in reg_r() function
1322 reg_r(gspca_dev, 0x0a, 5); in i2c_r()
1383 reg_r(gspca_dev, 0x0a, 5); in mi0360_probe()
1553 reg_r(gspca_dev, 0x00, 1); in sd_init()
1555 reg_r(gspca_dev, 0x00, 1); /* get sonix chip id */ in sd_init()
/drivers/media/usb/em28xx/
Dem28xx-input.c531 if (button->reg_r != dev->button_polling_addresses[i]) { in em28xx_query_buttons()
634 if (button->reg_r == dev->button_polling_addresses[j]) { in em28xx_init_buttons()
662 dev->button_polling_addresses[index] = button->reg_r; in em28xx_init_buttons()
Dem28xx.h475 u8 reg_r; member
Dem28xx-cards.c573 .reg_r = EM28XX_R0C_USBSUSP,
584 .reg_r = EM2874_R85_GPIO_P1_STATE,
590 .reg_r = EM2874_R84_GPIO_P0_STATE,
/drivers/net/wireless/intel/ipw2x00/
Dipw2200.h371 u32 reg_r; /**< 'read' reg (queue tail), addr in domain 1 */ member

12