Home
last modified time | relevance | path

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

12

/drivers/media/usb/gspca/
Dconex.c70 static void reg_r(struct gspca_dev *gspca_dev, in reg_r() function
280 reg_r(gspca_dev, 0x00e8, 1); in cx_sensor()
282 reg_r(gspca_dev, 0x00e8, length); in cx_sensor()
285 reg_r(gspca_dev, 0x00e7, 8); in cx_sensor()
369 reg_r(gspca_dev, 0x0010, 1); in cx11646_initsize()
602 reg_r(gspca_dev, 0x0001, 1); in cx11646_jpegInit()
609 reg_r(gspca_dev, 0x0002, 1); in cx11646_jpegInit()
632 reg_r(gspca_dev, 0x0001, 1); in cx11646_jpeg()
670 reg_r(gspca_dev, 0x0002, 1); in cx11646_jpeg()
672 reg_r(gspca_dev, 0x0002, 1); in cx11646_jpeg()
[all …]
Dspca1528.c62 static void reg_r(struct gspca_dev *gspca_dev, in reg_r() function
143 reg_r(gspca_dev, 0x21, 0x0000, 1); in wait_status_0()
159 reg_r(gspca_dev, 0x21, 0x0001, 1); in wait_status_1()
163 reg_r(gspca_dev, 0x21, 0x0001, 1); in wait_status_1()
220 reg_r(gspca_dev, 0x20, 0x0000, 1); in sd_init()
221 reg_r(gspca_dev, 0x20, 0x0000, 5); in sd_init()
222 reg_r(gspca_dev, 0x23, 0x0000, 64); in sd_init()
225 reg_r(gspca_dev, 0x23, 0x0001, 64); in sd_init()
234 reg_r(gspca_dev, 0x00, 0x2520, 1); in sd_isoc_init()
242 reg_r(gspca_dev, 0x25, 0x0004, 1); in sd_isoc_init()
[all …]
Dsunplus.c247 static void reg_r(struct gspca_dev *gspca_dev, in reg_r() function
349 reg_r(gspca_dev, 0x01, 0x0001, 1); in spca504_acknowledged_command()
354 reg_r(gspca_dev, 0x01, 0x0001, 1); in spca504_acknowledged_command()
367 reg_r(gspca_dev, 0, i, 1); in spca504_read_info()
384 reg_r(gspca_dev, 0x01, 0x0001, 1); in spca504A_acknowledged_command()
396 reg_r(gspca_dev, 0x01, 0x0001, 1); in spca504A_acknowledged_command()
411 reg_r(gspca_dev, 0x21, 0, 1); in spca504B_PollingDataReady()
423 reg_r(gspca_dev, 0x21, 1, 1); in spca504B_WaitCmdStatus()
426 reg_r(gspca_dev, 0x21, 1, 1); in spca504B_WaitCmdStatus()
442 reg_r(gspca_dev, 0x20, 0, 5); in spca50x_GetFirmware()
[all …]
Dspca500.c318 static void reg_r(struct gspca_dev *gspca_dev, in reg_r() function
429 reg_r(gspca_dev, 0x0d04, 2); in spca500_ping310()
436 reg_r(gspca_dev, 0x0d05, 2); in spca500_clksmart310_init()
513 reg_r(gspca_dev, 0x0d00, 1); in spca500_synch310()
563 reg_r(gspca_dev, 0x816b, 1); in spca500_reinit()
625 reg_r(gspca_dev, 0x8a04, 1); in sd_start()
653 reg_r(gspca_dev, 0x816b, 1); in sd_start()
681 reg_r(gspca_dev, 0x816b, 1); in sd_start()
715 reg_r(gspca_dev, 0x816b, 1); in sd_start()
745 reg_r(gspca_dev, 0x816b, 1); in sd_start()
[all …]
Dstk014.c54 static u8 reg_r(struct gspca_dev *gspca_dev, in reg_r() function
140 reg_r(gspca_dev, 0x0704); in snd_val()
141 seq = reg_r(gspca_dev, 0x0705); in snd_val()
142 reg_r(gspca_dev, 0x0650); in snd_val()
236 ret = reg_r(gspca_dev, 0x0740); in sd_init()
279 reg_r(gspca_dev, 0x0630); in sd_start()
281 reg_r(gspca_dev, 0x0650); in sd_start()
310 reg_r(gspca_dev, 0x0630); in sd_stopN()
312 reg_r(gspca_dev, 0x0650); in sd_stopN()
Dspca561.c315 static void reg_r(struct gspca_dev *gspca_dev, in reg_r() function
346 reg_r(gspca_dev, 0x8803, 1); in i2c_write()
362 reg_r(gspca_dev, 0x8803, 1); in i2c_read()
364 reg_r(gspca_dev, 0x8800, 1); in i2c_read()
366 reg_r(gspca_dev, 0x8805, 1); in i2c_read()
416 reg_r(gspca_dev, 0x8104, 1); in sd_config()
418 reg_r(gspca_dev, 0x8105, 1); in sd_config()
421 reg_r(gspca_dev, 0x8106, 1); in sd_config()
423 reg_r(gspca_dev, 0x8107, 1); in sd_config()
675 reg_r(gspca_dev, 0x8621, 1); in do_autogain()
[all …]
Dt613.c306 static u8 reg_r(struct gspca_dev *gspca_dev, in reg_r() function
419 byte = reg_r(gspca_dev, 0x0060); in om6802_sensor_init()
424 byte = reg_r(gspca_dev, 0x0063); in om6802_sensor_init()
440 byte = reg_r(gspca_dev, 0x60); in om6802_sensor_init()
595 sensor_id = (reg_r(gspca_dev, 0x06) << 8) in sd_init()
596 | reg_r(gspca_dev, 0x07); in sd_init()
624 test_byte = reg_r(gspca_dev, 0x0063); in sd_init()
638 test_byte = reg_r(gspca_dev, read_indexs[i]); in sd_init()
649 test_byte = reg_r(gspca_dev, 0x80); in sd_init()
671 test_byte = reg_r(gspca_dev, 0x80); in sd_init()
[all …]
Dvc032x.c2924 static void reg_r(struct gspca_dev *gspca_dev, in reg_r() function
2977 reg_r(gspca_dev, 0xa1, 0xb33f, 1); in read_sensor_register()
2986 reg_r(gspca_dev, 0xa1, 0xb33b, 1); in read_sensor_register()
2992 reg_r(gspca_dev, 0xa1, 0xb33e, 1); in read_sensor_register()
2994 reg_r(gspca_dev, 0xa1, 0xb33d, 1); in read_sensor_register()
2996 reg_r(gspca_dev, 0xa1, 0xb33c, 1); in read_sensor_register()
3001 reg_r(gspca_dev, 0xa1, 0xb334, 1); in read_sensor_register()
3021 reg_r(gspca_dev, 0xa1, 0xbfcf, 1); in vc032x_probe_sensor()
3244 reg_r(gspca_dev, 0x8a, 0, 3); in sd_init()
3246 reg_r(gspca_dev, 0x8b, 0, 3); in sd_init()
[all …]
Dnw80x.c1570 static void reg_r(struct gspca_dev *gspca_dev, in reg_r() function
1615 reg_r(gspca_dev, 0x0505, 1); in i2c_w()
1709 reg_r(gspca_dev, 0x1004, 1); in setautogain()
1713 reg_r(gspca_dev, 0x1011, 8); in setautogain()
1733 reg_r(gspca_dev, index, 1); in nw802_test_reg()
1768 reg_r(gspca_dev, 0x0403, 1); /* GPIO */ in sd_config()
1953 reg_r(gspca_dev, sd->bridge == BRIDGE_NW801 ? 0x080d : 0x080c, 4); in do_autogain()
Dov534_9.c1144 static u8 reg_r(struct gspca_dev *gspca_dev, u16 reg) in reg_r() function
1171 data = reg_r(gspca_dev, OV534_REG_STATUS); in sccb_check_status()
1211 return reg_r(gspca_dev, OV534_REG_READ); in sccb_read()
1247 data = reg_r(gspca_dev, 0x21); in set_led()
1251 data = reg_r(gspca_dev, 0x23); in set_led()
1260 data = reg_r(gspca_dev, 0x21); in set_led()
Detoms.c160 static void reg_r(struct gspca_dev *gspca_dev, in reg_r() function
249 reg_r(gspca_dev, ET_I2C_DATA0, 1); /* read one byte */ in i2c_r()
258 reg_r(gspca_dev, ET_ClCK, 1); in Et_WaitStatus()
287 reg_r(gspca_dev, ET_GPIO_IN, 1); in Et_init2()
460 reg_r(gspca_dev, ET_GPIO_IN, 1); in Et_init1()
651 reg_r(gspca_dev, ET_LUMA_CENTER, 4); in do_autogain()
Dzc3xx.c5547 static u8 reg_r(struct gspca_dev *gspca_dev, in reg_r() function
5600 retbyte = reg_r(gspca_dev, 0x0091); /* read status */ in i2c_read()
5603 retval = reg_r(gspca_dev, 0x0095); /* read Lowbyte */ in i2c_read()
5604 retval |= reg_r(gspca_dev, 0x0096) << 8; /* read Hightbyte */ in i2c_read()
5622 retbyte = reg_r(gspca_dev, 0x0091); /* read status */ in i2c_write()
5637 reg_r(gspca_dev, action->idx); in usb_exchange()
5721 reg_r(gspca_dev, 0x01c8); in setsharpness()
5722 reg_r(gspca_dev, 0x01c9); in setsharpness()
5723 reg_r(gspca_dev, 0x01ca); in setsharpness()
5958 reg11 = reg_r(gspca_dev, 0x0011); in transfer_update()
[all …]
Dstk1135.c59 static u8 reg_r(struct gspca_dev *gspca_dev, u16 index) in reg_r() function
109 val = (reg_r(gspca_dev, index) & ~mask) | (val & mask); in reg_w_mask()
128 val = reg_r(gspca_dev, STK1135_REG_SICTL + 1); in stk1135_serial_wait_ready()
150 return reg_r(gspca_dev, STK1135_REG_SBUSR + 1); in sensor_read_8()
Dtopro.c1006 static void reg_r(struct gspca_dev *gspca_dev, u8 index) in reg_r() function
1043 reg_r(gspca_dev, TP6800_R11_SIF_CONTROL); in i2c_w()
1067 reg_r(gspca_dev, TP6800_R14_SIF_RX_DATA); in i2c_r()
1072 reg_r(gspca_dev, TP6800_R1B_SIF_RX_DATA2); in i2c_r()
1075 reg_r(gspca_dev, TP6800_R11_SIF_CONTROL); in i2c_r()
1119 reg_r(gspca_dev, TP6800_R18_GPIO_DATA); in probe_6810()
3957 reg_r(gspca_dev, 0x7b); in setframerate()
4056 reg_r(gspca_dev, TP6800_R18_GPIO_DATA); in sd_init()
4152 reg_r(gspca_dev, 0x7b); in sd_isoc_init()
4165 reg_r(gspca_dev, TP6800_R18_GPIO_DATA); in set_led()
Dspca506.c77 static void reg_r(struct gspca_dev *gspca_dev, in reg_r() function
117 reg_r(gspca_dev, 0x07, 0x0003, 2); in spca506_WriteI2c()
451 reg_r(gspca_dev, 0x04, 0x0001, 2); in sd_start()
Dsq930x.c425 static void reg_r(struct gspca_dev *gspca_dev, in reg_r() function
651 reg_r(gspca_dev, (sensor->i2c_addr << 8) | 0x001c, 1); in cmos_probe()
693 reg_r(gspca_dev, 0x031b, 1); in mt9v111_init()
842 reg_r(gspca_dev, SQ930_CTRL_GET_DEV_INFO, 8); in sd_init()
Dkonica.c112 static void reg_r(struct gspca_dev *gspca_dev, u16 value, u16 index) in reg_r() function
166 reg_r(gspca_dev, 0, 0x10); in sd_init()
Dov519.c2054 static int reg_r(struct sd *sd, u16 index) in reg_r() function
2139 ret = reg_r(sd, index); in reg_w_mask()
2196 rc = reg_r(sd, R511_I2C_CTL); in ov511_i2c_w()
2225 rc = reg_r(sd, R511_I2C_CTL); in ov511_i2c_r()
2249 rc = reg_r(sd, R511_I2C_CTL); in ov511_i2c_r()
2267 value = reg_r(sd, R51x_I2C_DATA); in ov511_i2c_r()
2327 value = reg_r(sd, R51x_I2C_DATA); in ov518_i2c_r()
2991 PDEBUG(D_PROBE, "Device custom id %x", reg_r(sd, R51x_SYS_CUST_ID)); in ov511_configure()
3060 sd->revision = reg_r(sd, R51x_SYS_CUST_ID) & 0x1f; in ov518_configure()
Dsonixb.c448 static void reg_r(struct gspca_dev *gspca_dev, in reg_r() function
512 reg_r(gspca_dev, 0x08); in i2c_w()
930 reg_r(gspca_dev, 0x00); in sd_config()
Dsonixj.c1154 static void reg_r(struct gspca_dev *gspca_dev, in reg_r() function
1329 reg_r(gspca_dev, 0x0a, 5); in i2c_r()
1390 reg_r(gspca_dev, 0x0a, 5); in mi0360_probe()
1559 reg_r(gspca_dev, 0x00, 1); in sd_init()
1561 reg_r(gspca_dev, 0x00, 1); /* get sonix chip id */ in sd_init()
Dsn9c20x.c908 static void reg_r(struct gspca_dev *gspca_dev, u16 reg, u16 length) in reg_r() function
963 reg_r(gspca_dev, 0x10c0, 1); in i2c_w()
1056 reg_r(gspca_dev, 0x10c2, 5); in i2c_r1()
1077 reg_r(gspca_dev, 0x10c2, 5); in i2c_r2()
1564 reg_r(gspca_dev, reg->reg, 1); in sd_dbg_g_register()
/drivers/media/usb/em28xx/
Dem28xx-input.c511 if (button->reg_r != dev->button_polling_addresses[i]) { in em28xx_query_buttons()
615 if (button->reg_r == dev->button_polling_addresses[j]) { in em28xx_init_buttons()
641 dev->button_polling_addresses[index] = button->reg_r; in em28xx_init_buttons()
Dem28xx.h431 u8 reg_r; member
Dem28xx-cards.c539 .reg_r = EM28XX_R0C_USBSUSP,
550 .reg_r = EM2874_R85_GPIO_P1_STATE,
556 .reg_r = EM2874_R84_GPIO_P0_STATE,
/drivers/net/wireless/intel/ipw2x00/
Dipw2200.h385 u32 reg_r; /**< 'read' reg (queue tail), addr in domain 1 */ member

12