drivers/media/pci/bt8xx/bt878.c
178
btwrite((bt->line_count << 16) | bt->line_bytes, BT878_APACK_LEN);
drivers/media/pci/bt8xx/bt878.c
198
btwrite(bt->risc_dma, BT878_ARISC_START);
drivers/media/pci/bt8xx/bt878.c
215
btwrite(int_mask, BT878_AINT_MASK);
drivers/media/pci/bt8xx/bt878.c
216
btwrite(controlreg, BT878_AGPIO_DMA_CTL);
drivers/media/pci/bt8xx/bt878.c
226
btwrite(0, BT878_AINT_MASK);
drivers/media/pci/bt8xx/bt878.c
262
btwrite(astat, BT878_AINT_STAT); /* try to clear interrupt condition */
drivers/media/pci/bt8xx/bt878.c
309
btwrite(0, BT878_AINT_MASK);
drivers/media/pci/bt8xx/bt878.c
451
btwrite(0, BT848_INT_MASK);
drivers/media/pci/bt8xx/bt878.c
478
btwrite(0, BT878_AINT_MASK);
drivers/media/pci/bt8xx/bt878.c
508
btwrite(0, BT878_AINT_MASK);
drivers/media/pci/bt8xx/bt878.c
509
btwrite(~0U, BT878_AINT_STAT);
drivers/media/pci/bt8xx/bt878.c
54
#define btand(dat,adr) btwrite((dat) & btread(adr), adr)
drivers/media/pci/bt8xx/bt878.c
55
#define btor(dat,adr) btwrite((dat) | btread(adr), adr)
drivers/media/pci/bt8xx/bt878.c
56
#define btaor(dat,mask,adr) btwrite((dat) | ((mask) & btread(adr)), adr)
drivers/media/pci/bt8xx/bttv-cards.c
3203
btwrite(0x000000, BT848_GPIO_REG_INP);
drivers/media/pci/bt8xx/bttv-cards.c
3283
btwrite((1<<7), 0x058);
drivers/media/pci/bt8xx/bttv-cards.c
3285
btwrite( 0, 0x058);
drivers/media/pci/bt8xx/bttv-cards.c
4164
btwrite(BT848_ADC_RESERVED|BT848_ADC_AGC_EN, BT848_ADC);
drivers/media/pci/bt8xx/bttv-cards.c
4181
btwrite(val, BT848_GPIO_DMA_CTL);
drivers/media/pci/bt8xx/bttv-cards.c
4242
btwrite (0x00c3feff, BT848_GPIO_OUT_EN);
drivers/media/pci/bt8xx/bttv-cards.c
4244
btwrite (0 + watchdog_value, BT848_GPIO_DATA);
drivers/media/pci/bt8xx/bttv-cards.c
4246
btwrite (0x10 + watchdog_value, BT848_GPIO_DATA);
drivers/media/pci/bt8xx/bttv-cards.c
4248
btwrite (0 + watchdog_value, BT848_GPIO_DATA);
drivers/media/pci/bt8xx/bttv-cards.c
4257
btwrite (0x4400 + watchdog_value, BT848_GPIO_DATA);
drivers/media/pci/bt8xx/bttv-cards.c
4259
btwrite (0x4410 + watchdog_value, BT848_GPIO_DATA);
drivers/media/pci/bt8xx/bttv-cards.c
4261
btwrite (watchdog_value, BT848_GPIO_DATA);
drivers/media/pci/bt8xx/bttv-cards.c
4311
btwrite(0x080002, BT848_GPIO_OUT_EN);
drivers/media/pci/bt8xx/bttv-cards.c
4323
btwrite(0x080000, BT848_GPIO_DATA);
drivers/media/pci/bt8xx/bttv-cards.c
4325
btwrite(0x000000, BT848_GPIO_DATA);
drivers/media/pci/bt8xx/bttv-cards.c
4582
btwrite (0x08<<16,BT848_GPIO_DATA);/*GPIO[19] [==> 4053 B+C] set to 1 */
drivers/media/pci/bt8xx/bttv-cards.c
4583
btwrite (0x04<<16,BT848_GPIO_DATA);/*GPIO[18] [==> 4053 A] set to 1*/
drivers/media/pci/bt8xx/bttv-cards.c
4591
btwrite (input<<20,BT848_GPIO_DATA);
drivers/media/pci/bt8xx/bttv-cards.c
4718
btwrite(bitmask, BT848_GPIO_OUT_EN);
drivers/media/pci/bt8xx/bttv-cards.c
4725
btwrite(bitmask,BT848_GPIO_DATA);
drivers/media/pci/bt8xx/bttv-driver.c
1124
btwrite(tvnorm->adelay, BT848_ADELAY);
drivers/media/pci/bt8xx/bttv-driver.c
1125
btwrite(tvnorm->bdelay, BT848_BDELAY);
drivers/media/pci/bt8xx/bttv-driver.c
1128
btwrite(tvnorm->vbipack, BT848_VBI_PACK_SIZE);
drivers/media/pci/bt8xx/bttv-driver.c
1129
btwrite(1, BT848_VBI_PACK_DEL);
drivers/media/pci/bt8xx/bttv-driver.c
1172
btwrite(0xfffffUL, BT848_INT_STAT);
drivers/media/pci/bt8xx/bttv-driver.c
1176
btwrite(BT848_INT_I2CDONE,
drivers/media/pci/bt8xx/bttv-driver.c
1180
btwrite((btv->triton1) |
drivers/media/pci/bt8xx/bttv-driver.c
1199
btwrite(0x00, BT848_CAP_CTL);
drivers/media/pci/bt8xx/bttv-driver.c
1200
btwrite(BT848_COLOR_CTL_GAMMA, BT848_COLOR_CTL);
drivers/media/pci/bt8xx/bttv-driver.c
1201
btwrite(BT848_IFORM_XTAUTO | BT848_IFORM_AUTO, BT848_IFORM);
drivers/media/pci/bt8xx/bttv-driver.c
1205
btwrite(BT848_GPIO_DMA_CTL_PKTP_32|
drivers/media/pci/bt8xx/bttv-driver.c
1212
btwrite(0x20, BT848_E_VSCALE_HI);
drivers/media/pci/bt8xx/bttv-driver.c
1213
btwrite(0x20, BT848_O_VSCALE_HI);
drivers/media/pci/bt8xx/bttv-driver.c
1274
btwrite(val, BT848_E_SCLOOP);
drivers/media/pci/bt8xx/bttv-driver.c
1275
btwrite(val, BT848_O_SCLOOP);
drivers/media/pci/bt8xx/bttv-driver.c
1293
btwrite(BT848_ADC_RESERVED |
drivers/media/pci/bt8xx/bttv-driver.c
1301
btwrite(c->val, BT848_WC_UP);
drivers/media/pci/bt8xx/bttv-driver.c
1304
btwrite(c->val, BT848_WC_DOWN);
drivers/media/pci/bt8xx/bttv-driver.c
1783
btwrite(reg->val, reg->reg & 0xfff);
drivers/media/pci/bt8xx/bttv-driver.c
2974
btwrite(stat,BT848_INT_STAT);
drivers/media/pci/bt8xx/bttv-driver.c
3046
btwrite(0, BT848_INT_MASK);
drivers/media/pci/bt8xx/bttv-driver.c
3054
btwrite(btread(BT848_INT_MASK) & (-1 ^ BT848_INT_GPINT),
drivers/media/pci/bt8xx/bttv-driver.c
3298
btwrite(0, BT848_INT_MASK);
drivers/media/pci/bt8xx/bttv-driver.c
3376
btwrite(0x00, BT848_GPIO_REG_INP);
drivers/media/pci/bt8xx/bttv-driver.c
3377
btwrite(0x00, BT848_GPIO_OUT_EN);
drivers/media/pci/bt8xx/bttv-driver.c
3470
btwrite(0, BT848_INT_MASK);
drivers/media/pci/bt8xx/bttv-driver.c
3471
btwrite(~0x0, BT848_INT_STAT);
drivers/media/pci/bt8xx/bttv-driver.c
3472
btwrite(0x0, BT848_GPIO_OUT_EN);
drivers/media/pci/bt8xx/bttv-driver.c
3527
btwrite(0, BT848_INT_MASK);
drivers/media/pci/bt8xx/bttv-driver.c
722
btwrite(crop, BT848_E_CROP);
drivers/media/pci/bt8xx/bttv-driver.c
723
btwrite(0xfe, BT848_E_VDELAY_LO);
drivers/media/pci/bt8xx/bttv-driver.c
724
btwrite(crop, BT848_O_CROP);
drivers/media/pci/bt8xx/bttv-driver.c
725
btwrite(0xfe, BT848_O_VDELAY_LO);
drivers/media/pci/bt8xx/bttv-driver.c
775
btwrite(fl, BT848_PLL_F_LO);
drivers/media/pci/bt8xx/bttv-driver.c
776
btwrite(fh, BT848_PLL_F_HI);
drivers/media/pci/bt8xx/bttv-driver.c
777
btwrite(fi|BT848_PLL_X, BT848_PLL_XCI);
drivers/media/pci/bt8xx/bttv-driver.c
799
btwrite(0x00,BT848_TGCTRL);
drivers/media/pci/bt8xx/bttv-driver.c
800
btwrite(0x00,BT848_PLL_XCI);
drivers/media/pci/bt8xx/bttv-driver.c
816
btwrite(0,BT848_DSTATUS);
drivers/media/pci/bt8xx/bttv-driver.c
818
btwrite(0x08,BT848_TGCTRL);
drivers/media/pci/bt8xx/bttv-driver.c
843
btwrite(0x00, BT848_TGCTRL);
drivers/media/pci/bt8xx/bttv-driver.c
844
btwrite(0x02, BT848_TGCTRL);
drivers/media/pci/bt8xx/bttv-driver.c
845
btwrite(0x00, BT848_TGCTRL);
drivers/media/pci/bt8xx/bttv-driver.c
849
btwrite(SRAM_Table[table_idx][i],BT848_TGLB);
drivers/media/pci/bt8xx/bttv-driver.c
853
btwrite(0x11, BT848_TGCTRL);
drivers/media/pci/bt8xx/bttv-driver.c
854
btwrite(0x41, BT848_DVSIF);
drivers/media/pci/bt8xx/bttv-driver.c
858
btwrite(0x0, BT848_DVSIF);
drivers/media/pci/bt8xx/bttv-driver.c
873
btwrite(value & 0xff, BT848_BRIGHT);
drivers/media/pci/bt8xx/bttv-driver.c
884
btwrite(value & 0xff, BT848_HUE);
drivers/media/pci/bt8xx/bttv-driver.c
896
btwrite(value & 0xff, BT848_CONTRAST_LO);
drivers/media/pci/bt8xx/bttv-driver.c
912
btwrite(val_u & 0xff, BT848_SAT_U_LO);
drivers/media/pci/bt8xx/bttv-driver.c
913
btwrite(val_v & 0xff, BT848_SAT_V_LO);
drivers/media/pci/bt8xx/bttv-gpio.c
138
btwrite(data,BT848_GPIO_OUT_EN);
drivers/media/pci/bt8xx/bttv-gpio.c
155
btwrite(value,BT848_GPIO_DATA);
drivers/media/pci/bt8xx/bttv-gpio.c
168
btwrite(data,BT848_GPIO_DATA);
drivers/media/pci/bt8xx/bttv-i2c.c
138
btwrite(xmit, BT848_I2C);
drivers/media/pci/bt8xx/bttv-i2c.c
153
btwrite(xmit, BT848_I2C);
drivers/media/pci/bt8xx/bttv-i2c.c
195
btwrite(xmit, BT848_I2C);
drivers/media/pci/bt8xx/bttv-i2c.c
230
btwrite(BT848_INT_I2CDONE|BT848_INT_RACK, BT848_INT_STAT);
drivers/media/pci/bt8xx/bttv-i2c.c
54
btwrite(btv->i2c_state, BT848_I2C);
drivers/media/pci/bt8xx/bttv-i2c.c
66
btwrite(btv->i2c_state, BT848_I2C);
drivers/media/pci/bt8xx/bttv-risc.c
346
btwrite(geo->vtc, BT848_E_VTC+off);
drivers/media/pci/bt8xx/bttv-risc.c
347
btwrite(geo->hscale >> 8, BT848_E_HSCALE_HI+off);
drivers/media/pci/bt8xx/bttv-risc.c
348
btwrite(geo->hscale & 0xff, BT848_E_HSCALE_LO+off);
drivers/media/pci/bt8xx/bttv-risc.c
350
btwrite(geo->vscale & 0xff, BT848_E_VSCALE_LO+off);
drivers/media/pci/bt8xx/bttv-risc.c
351
btwrite(geo->width & 0xff, BT848_E_HACTIVE_LO+off);
drivers/media/pci/bt8xx/bttv-risc.c
352
btwrite(geo->hdelay & 0xff, BT848_E_HDELAY_LO+off);
drivers/media/pci/bt8xx/bttv-risc.c
353
btwrite(geo->sheight & 0xff, BT848_E_VACTIVE_LO+off);
drivers/media/pci/bt8xx/bttv-risc.c
354
btwrite(geo->vdelay & 0xff, BT848_E_VDELAY_LO+off);
drivers/media/pci/bt8xx/bttv-risc.c
355
btwrite(geo->crop, BT848_E_CROP+off);
drivers/media/pci/bt8xx/bttv-risc.c
356
btwrite(geo->vtotal>>8, BT848_VTOTAL_HI);
drivers/media/pci/bt8xx/bttv-risc.c
357
btwrite(geo->vtotal & 0xff, BT848_VTOTAL_LO);
drivers/media/pci/bt8xx/bttv-risc.c
405
btwrite(btv->main.dma, BT848_RISC_STRT_ADD);
drivers/media/pci/bt8xx/bttv-risc.c
580
btwrite(vdelay, BT848_E_VDELAY_LO);
drivers/media/pci/bt8xx/bttv-risc.c
581
btwrite(crop, BT848_E_CROP);
drivers/media/pci/bt8xx/bttv-risc.c
582
btwrite(vdelay, BT848_O_VDELAY_LO);
drivers/media/pci/bt8xx/bttv-risc.c
583
btwrite(crop, BT848_O_CROP);
drivers/media/pci/bt8xx/bttvp.h
494
#define btand(dat,adr) btwrite((dat) & btread(adr), adr)
drivers/media/pci/bt8xx/bttvp.h
495
#define btor(dat,adr) btwrite((dat) | btread(adr), adr)
drivers/media/pci/bt8xx/bttvp.h
496
#define btaor(dat,mask,adr) btwrite((dat) | ((mask) & btread(adr)), adr)
drivers/media/pci/zoran/zoran.h
302
#define btand(dat, adr) btwrite((dat) & btread(adr), (adr))
drivers/media/pci/zoran/zoran.h
303
#define btor(dat, adr) btwrite((dat) | btread(adr), (adr))
drivers/media/pci/zoran/zoran.h
304
#define btaor(dat, mask, adr) btwrite((dat) | ((mask) & btread(adr)), (adr))
drivers/media/pci/zoran/zoran_card.c
1088
btwrite(0, ZR36057_SPGPPCR);
drivers/media/pci/zoran/zoran_card.c
1417
btwrite(0, ZR36057_SPGPPCR);
drivers/media/pci/zoran/zoran_card.c
675
btwrite(zr->i2cbr, ZR36057_I2CBR);
drivers/media/pci/zoran/zoran_card.c
686
btwrite(zr->i2cbr, ZR36057_I2CBR);
drivers/media/pci/zoran/zoran_device.c
131
btwrite(por, ZR36057_POR);
drivers/media/pci/zoran/zoran_device.c
141
btwrite(por, ZR36057_POR);
drivers/media/pci/zoran/zoran_device.c
201
btwrite(reg, ZR36057_VFEHCR);
drivers/media/pci/zoran/zoran_device.c
216
btwrite(reg, ZR36057_VFEHCR);
drivers/media/pci/zoran/zoran_device.c
276
btwrite(reg, ZR36057_VFEHCR);
drivers/media/pci/zoran/zoran_device.c
295
btwrite(reg, ZR36057_VFEVCR);
drivers/media/pci/zoran/zoran_device.c
320
btwrite(reg, ZR36057_VFESPFR);
drivers/media/pci/zoran/zoran_device.c
331
btwrite(reg, ZR36057_VDCR);
drivers/media/pci/zoran/zoran_device.c
351
btwrite(IRQ_MASK, ZR36057_ISR); // Clear Interrupts
drivers/media/pci/zoran/zoran_device.c
426
btwrite(0, ZR36057_JPC);
drivers/media/pci/zoran/zoran_device.c
453
btwrite(reg, ZR36057_JMC);
drivers/media/pci/zoran/zoran_device.c
459
btwrite(reg, ZR36057_VSP);
drivers/media/pci/zoran/zoran_device.c
462
btwrite(reg, ZR36057_FVAP);
drivers/media/pci/zoran/zoran_device.c
471
btwrite(reg, ZR36057_HSP);
drivers/media/pci/zoran/zoran_device.c
475
btwrite(reg, ZR36057_FHAP);
drivers/media/pci/zoran/zoran_device.c
483
btwrite(reg, ZR36057_FPP);
drivers/media/pci/zoran/zoran_device.c
489
btwrite(zr->p_sc, ZR36057_JCBA);
drivers/media/pci/zoran/zoran_device.c
511
btwrite(reg, ZR36057_JCFT);
drivers/media/pci/zoran/zoran_device.c
541
btwrite(ZR36057_ISR_GIRQ1, ZR36057_ISR);
drivers/media/pci/zoran/zoran_device.c
545
btwrite(ZR36057_ISR_GIRQ0, ZR36057_ISR);
drivers/media/pci/zoran/zoran_device.c
549
btwrite(ZR36057_ISR_COD_REP_IRQ, ZR36057_ISR);
drivers/media/pci/zoran/zoran_device.c
553
btwrite(ZR36057_ISR_JPEG_REP_IRQ, ZR36057_ISR);
drivers/media/pci/zoran/zoran_device.c
567
btwrite(ZR36057_JPC_P_RESET, ZR36057_JPC);
drivers/media/pci/zoran/zoran_device.c
574
btwrite(IRQ_MASK, ZR36057_ISR);
drivers/media/pci/zoran/zoran_device.c
576
btwrite(zr->card.jpeg_int | ZR36057_ICR_JPEG_REP_IRQ | ZR36057_ICR_INT_PIN_EN,
drivers/media/pci/zoran/zoran_device.c
584
btwrite(reg, ZR36057_JCGI);
drivers/media/pci/zoran/zoran_device.c
65
btwrite(reg, ZR36057_VFESPFR);
drivers/media/pci/zoran/zoran_device.c
705
btwrite(zr->card.jpeg_int | ZR36057_ICR_JPEG_REP_IRQ,
drivers/media/pci/zoran/zoran_device.c
714
btwrite(0, ZR36057_JPC); // \P_Reset,\CodTrnsEn,\Active
drivers/media/pci/zoran/zoran_device.c
72
btwrite(reg, ZR36057_VDCR);
drivers/media/pci/zoran/zoran_device.c
938
btwrite(IRQ_MASK, ZR36057_ISR); // Clears interrupts
drivers/media/pci/zoran/zoran_device.c
943
btwrite(0, ZR36057_SPGPPCR);
drivers/media/pci/zoran/zoran_device.c
949
btwrite(0, ZR36057_JPC);
drivers/media/pci/zoran/zoran_device.c
951
btwrite(ZR36057_SPGPPCR_SOFT_RESET | 0, ZR36057_SPGPPCR);
drivers/media/pci/zoran/zoran_device.c
954
btwrite((0x81 << 24) | 0x8888, ZR36057_GPPGCR1);
drivers/media/pci/zoran/zoran_device.c
98
btwrite(reg, ZR36057_GPPGCR1);
drivers/media/pci/zoran/zoran_driver.c
848
btwrite(reg, ZR36057_VDTR);
drivers/media/pci/zoran/zoran_driver.c
851
btwrite(reg, ZR36057_VDBR);
drivers/media/pci/zoran/zoran_driver.c
860
btwrite(reg, ZR36057_VSSFGR);