Searched refs:reg_w (Results 1 - 22 of 22) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/video/gspca/
H A Dw996Xcf.c62 static int reg_w(struct sd *sd, __u16 index, __u16 value);
96 /* We don't use reg_w here, as that would cause all writes when
150 ret += reg_w(sd, 0x39, 0x0010); /* JPEG clock enable */
155 ret += reg_w(sd, 0x40+i, a);
156 ret += reg_w(sd, 0x60+i, b);
158 ret += reg_w(sd, 0x39, 0x0012); /* JPEG encoder enable */
363 ret += reg_w(sd, 0x00, 0xff00); /* power-down */
364 ret += reg_w(sd, 0x00, 0xbf17); /* reset everything */
365 ret += reg_w(sd, 0x00, 0xbf10); /* normal operation */
366 ret += reg_w(s
[all...]
H A Dspca506.c164 static void reg_w(struct usb_device *dev, function
179 reg_w(gspca_dev->dev, 0x07, SAA7113_I2C_BASE_WRITE, 0x0004);
187 reg_w(gspca_dev->dev, 0x07, reg, 0x0001);
188 reg_w(gspca_dev->dev, 0x07, valeur, 0x0000);
217 reg_w(gspca_dev->dev, 0x08, videomask, 0x0000);
254 reg_w(dev, 0x04, (0x18 | (code & 0x07)), 0x0000);
256 reg_w(dev, 0x04, 0x41, 0x0001);
257 reg_w(dev, 0x04, 0x00, 0x0002);
259 reg_w(dev, 0x04, 0x00, 0x0003);
262 reg_w(de
[all...]
H A Dspca500.c387 static int reg_w(struct gspca_dev *gspca_dev, function
452 ret = reg_w(gspca_dev, data[i][0], data[i][2], data[i][1]);
470 err = reg_w(gspca_dev, request, ybase + i, qtable[0][i]);
477 err = reg_w(gspca_dev, request, cbase + i, qtable[1][i]);
496 reg_w(gspca_dev, 0x00, 0x8167, 0x5a);
499 reg_w(gspca_dev, 0x00, 0x8168, 0x22);
500 reg_w(gspca_dev, 0x00, 0x816a, 0xc0);
501 reg_w(gspca_dev, 0x00, 0x816b, 0x0b);
502 reg_w(gspca_dev, 0x00, 0x8169, 0x25);
503 reg_w(gspca_de
[all...]
H A Dstk014.c153 static void reg_w(struct gspca_dev *gspca_dev, function
170 PDEBUG(D_ERR, "reg_w err %d", ret);
182 reg_w(gspca_dev, 0x634, (ads >> 16) & 0xff);
183 reg_w(gspca_dev, 0x635, (ads >> 8) & 0xff);
184 reg_w(gspca_dev, 0x636, ads & 0xff);
185 reg_w(gspca_dev, 0x637, 0);
186 reg_w(gspca_dev, 0x638, 4); /* len & 0xff */
187 reg_w(gspca_dev, 0x639, 0); /* len >> 8 */
188 reg_w(gspca_dev, 0x63a, 0);
189 reg_w(gspca_de
[all...]
H A Dpac7311.c287 static void reg_w(struct gspca_dev *gspca_dev, function
303 PDEBUG(D_ERR, "reg_w(): "
314 reg_w(gspca_dev, seq[0], seq[1]);
415 reg_w(gspca_dev, 0xff, 0x04);
416 reg_w(gspca_dev, 0x10, sd->contrast >> 4);
418 reg_w(gspca_dev, 0x11, 0x01);
430 reg_w(gspca_dev, 0xff, 0x04); /* page 4 */
431 reg_w(gspca_dev, 0x0e, 0x00);
432 reg_w(gspca_dev, 0x0f, gain);
435 reg_w(gspca_de
[all...]
H A Dmars.c141 static int reg_w(struct gspca_dev *gspca_dev, function
167 reg_w(gspca_dev, 4);
211 err_code = reg_w(gspca_dev, 2);
235 err_code = reg_w(gspca_dev, 11);
242 err_code = reg_w(gspca_dev, 2);
253 err_code = reg_w(gspca_dev, 2);
267 err_code = reg_w(gspca_dev, 6);
275 err_code = reg_w(gspca_dev, 3);
283 err_code = reg_w(gspca_dev, 4);
289 err_code = reg_w(gspca_de
[all...]
H A Dov519.c1871 static int reg_w(struct sd *sd, __u16 index, __u16 value) function
1989 return reg_w(sd, index, value);
2025 rc = reg_w(sd, R51x_I2C_SADDR_3, reg);
2030 rc = reg_w(sd, R51x_I2C_DATA, value);
2035 rc = reg_w(sd, R511_I2C_CTL, 0x01);
2064 rc = reg_w(sd, R51x_I2C_SADDR_2, reg);
2069 rc = reg_w(sd, R511_I2C_CTL, 0x03);
2084 reg_w(sd, R511_I2C_CTL, 0x10);
2095 rc = reg_w(sd, R511_I2C_CTL, 0x05);
2110 rc = reg_w(s
[all...]
H A Dpac7302.c419 static void reg_w(struct gspca_dev *gspca_dev, function
435 PDEBUG(D_ERR, "reg_w(): "
446 reg_w(gspca_dev, seq[0], seq[1]);
560 reg_w(gspca_dev, 0xff, 0x00); /* page 0 */
570 reg_w(gspca_dev, 0xa2 + i, v);
572 reg_w(gspca_dev, 0xdc, 0x01);
585 reg_w(gspca_dev, 0xff, 0x03); /* page 3 */
586 reg_w(gspca_dev, 0x11, 0x01);
587 reg_w(gspca_dev, 0xff, 0x00); /* page 0 */
590 reg_w(gspca_de
[all...]
H A Dbenq.c48 static void reg_w(struct gspca_dev *gspca_dev, function
65 PDEBUG(D_ERR, "reg_w err %d", ret);
97 /* reg_w(gspca_dev, 0x0003, 0x0002); */
150 reg_w(gspca_dev, 0x003c, 0x0003);
151 reg_w(gspca_dev, 0x003c, 0x0004);
152 reg_w(gspca_dev, 0x003c, 0x0005);
153 reg_w(gspca_dev, 0x003c, 0x0006);
154 reg_w(gspca_dev, 0x003c, 0x0007);
H A Dconex.c163 static void reg_w(struct gspca_dev *gspca_dev, function
172 err("reg_w: buffer overflow");
267 reg_w(gspca_dev, 0x006b, cx11646_fw1[i], 3);
305 reg_w(gspca_dev, 0x0020, reg20, 8);
306 reg_w(gspca_dev, 0x0028, reg28, 8);
307 reg_w(gspca_dev, 0x0010, reg10, 8);
312 reg_w(gspca_dev, 0x0071, reg71a, 4);
315 reg_w(gspca_dev, 0x0071, reg71b, 4);
319 reg_w(gspca_dev, 0x0071, reg71c, 4);
322 reg_w(gspca_de
[all...]
H A Dspca1528.c179 static void reg_w(struct gspca_dev *gspca_dev, function
196 PDEBUG(D_ERR, "reg_w err %d", ret);
220 PDEBUG(D_ERR, "reg_w err %d", ret);
317 reg_w(gspca_dev, 0x00, 0x0001, 0x2067);
318 reg_w(gspca_dev, 0x00, 0x00d0, 0x206b);
319 reg_w(gspca_dev, 0x00, 0x0000, 0x206c);
320 reg_w(gspca_dev, 0x00, 0x0001, 0x2069);
322 reg_w(gspca_dev, 0x00, 0x00c0, 0x206b);
323 reg_w(gspca_dev, 0x00, 0x0000, 0x206c);
324 reg_w(gspca_de
[all...]
H A Dt613.c550 static void reg_w(struct gspca_dev *gspca_dev, function
666 reg_w(gspca_dev, 0x3c80);
677 reg_w(gspca_dev, 0x3c80);
737 reg_w(gspca_dev, reg_to_write);
746 reg_w(gspca_dev, reg_to_write);
787 reg_w(gspca_dev, reg80);
788 reg_w(gspca_dev, reg80);
807 reg_w(gspca_dev, (sd->red_gain << 8) + 0x87);
808 reg_w(gspca_dev, (sd->blue_gain << 8) + 0x88);
809 reg_w(gspca_de
[all...]
H A Dov534_9.c788 PDEBUG(D_ERR, "reg_w failed %d", ret);
793 static void reg_w(struct gspca_dev *gspca_dev, u16 reg, u8 val) function
795 PDEBUG(D_USBO, "reg_w [%04x] = %02x", reg, val);
856 reg_w(gspca_dev, OV534_REG_SUBADDR, reg);
857 reg_w(gspca_dev, OV534_REG_OPERATION, OV534_OP_WRITE_2);
861 reg_w(gspca_dev, OV534_REG_OPERATION, OV534_OP_READ_2);
873 reg_w(gspca_dev, (*data)[0], (*data)[1]);
903 reg_w(gspca_dev, 0x21, data);
911 reg_w(gspca_dev, 0x23, data);
916 reg_w(gspca_de
[all...]
H A Dzc3xx.c5736 static void reg_w(struct gspca_dev *gspca_dev, function
5793 reg_w(gspca_dev, action->val, action->idx);
5867 reg_w(gspca_dev, matrix[i], 0x010a + i);
5882 reg_w(gspca_dev, sharpness_tb[sharpness][0], 0x01c6);
5886 reg_w(gspca_dev, sharpness_tb[sharpness][1], 0x01cb);
5929 reg_w(gspca_dev, g, 0x0120 + i); /* gamma */
5943 reg_w(gspca_dev, gr[i], 0x0130 + i); /* gradient */
5960 reg_w(gspca_dev, QUANT_VAL, 0x0008);
5962 reg_w(gspca_dev, frxt, 0x0007);
5972 reg_w(gspca_de
[all...]
H A Dsonixb.c585 static void reg_w(struct gspca_dev *gspca_dev, function
592 PDEBUG(D_ERR|D_PACK, "reg_w: buffer overflow");
612 reg_w(gspca_dev, 0x08, buffer, 8);
629 reg_w(gspca_dev, 0x08, *buffer, 8);
784 reg_w(gspca_dev, 0x10, buf, 2);
799 reg_w(gspca_dev, 0x19, &reg, 1);
1074 reg_w(gspca_dev, 0x01, &stop, 1);
1115 reg_w(gspca_dev, 0x01, &sn9c10x[0x01 - 1], 1);
1117 reg_w(gspca_dev, 0x17, &sn9c10x[0x17 - 1], 1);
1119 reg_w(gspca_de
[all...]
H A Dsn9c20x.c1090 static int reg_w(struct gspca_dev *gspca_dev, u16 reg, function
1114 return reg_w(gspca_dev, reg, data, 1);
1120 reg_w(gspca_dev, 0x10c0, buffer, 8);
1492 return reg_w(gspca_dev, 0x10e1, cmatrix, 21);
1520 return reg_w(gspca_dev, 0x1190, gamma, 17);
2016 if (reg_w(gspca_dev, bridge_init[i][0], &value, 1) < 0) {
2027 if (reg_w(gspca_dev, 0x10c0, i2c_init, 9) < 0) {
2195 reg_w(gspca_dev, 0x1100, &sd->jpeg_hdr[JPEG_QT0_OFFSET], 64);
2196 reg_w(gspca_dev, 0x1140, &sd->jpeg_hdr[JPEG_QT1_OFFSET], 64);
2197 reg_w(gspca_de
[all...]
H A Dsonixj.c1360 static void reg_w(struct gspca_dev *gspca_dev, function
1365 PDEBUG(D_USBO, "reg_w [%04x] = %02x %02x ..",
1369 err("reg_w: buffer overflow");
1662 reg_w(gspca_dev, 0x01, reg0102, 2);
1663 reg_w(gspca_dev, 0x08, &sn9c1xx[8], 2);
1664 reg_w(gspca_dev, 0x17, &sn9c1xx[0x17], 5);
1678 reg_w(gspca_dev, 0x9a, reg9a, 6);
1680 reg_w(gspca_dev, 0xd4, regd4, sizeof regd4);
1682 reg_w(gspca_dev, 0x03, &sn9c1xx[3], 0x0f);
1843 reg_w(gspca_de
[all...]
H A Dvc032x.c3207 PDEBUG(D_ERR, "reg_w err %d", ret);
3211 static void reg_w(struct gspca_dev *gspca_dev, function
3236 reg_w(gspca_dev, 0xa0, address, 0xb33a);
3237 reg_w(gspca_dev, 0xa0, 0x02, 0xb339);
3269 reg_w(gspca_dev, 0xa0, 0x01, 0xb301);
3270 reg_w(gspca_dev, 0x89, 0xf0ff, 0xffff);
3285 reg_w(gspca_dev, 0xa0, 0x02, 0xb334);
3286 reg_w(gspca_dev, 0xa0, ptsensor_info->m1, 0xb300);
3287 reg_w(gspca_dev, 0xa0, ptsensor_info->m2, 0xb300);
3288 reg_w(gspca_de
[all...]
H A Detoms.c268 static void reg_w(struct gspca_dev *gspca_dev, function
277 err("reg_w: buffer overflow");
452 reg_w(gspca_dev, 0x62, FormLine, 6);
482 reg_w(gspca_dev, ET_G_RED, RGBG, 6);
622 reg_w(gspca_dev, ET_G_RED, GainRGBG, 6);
H A Dsq930x.c476 static void reg_w(struct gspca_dev *gspca_dev, u16 value, u16 index) function
482 PDEBUG(D_USBO, "reg_w v: %04x i: %04x", value, index);
491 PDEBUG(D_ERR, "reg_w %04x %04x failed %d", value, index, ret);
633 reg_w(gspca_dev, 0x0100 | SQ930_CTRL_GPIO,
641 reg_w(gspca_dev, 0x0300 | SQ930_CTRL_GPIO,
927 reg_w(gspca_dev, SQ930_CTRL_CAP_STOP, 0);
968 reg_w(gspca_dev, SQ930_CTRL_CAP_STOP, 0x0000);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/wireless/ipw2x00/
H A Dipw2200.h386 u32 reg_w; /**< 'write' reg (queue head), addr in domain 1 */ member in struct:clx2_queue
H A Dipw2200.c3740 q->reg_w = write;
5072 ipw_write32(priv, q->reg_w, q->first_empty);
10379 ipw_write32(priv, q->reg_w, q->first_empty);

Completed in 311 milliseconds