Home
last modified time | relevance | path

Searched refs:btread (Results 1 – 11 of 11) sorted by relevance

/drivers/media/pci/bt8xx/
Dbt878.c69 #define btread(adr) bmtread(bt->bt878_mem+(adr)) macro
71 #define btand(dat,adr) btwrite((dat) & btread(adr), adr)
72 #define btor(dat,adr) btwrite((dat) | btread(adr), adr)
73 #define btaor(dat,mask,adr) btwrite((dat) | ((mask) & btread(adr)), adr)
247 stat = btread(BT878_AINT_STAT); in bt878_stop()
274 stat = btread(BT878_AINT_STAT); in bt878_irq()
275 mask = btread(BT878_AINT_MASK); in bt878_irq()
290 "", btread(BT878_ARISC_PC)); in bt878_irq()
303 "", btread(BT878_ARISC_PC)); in bt878_irq()
315 btread(BT878_ARISC_PC)); in bt878_irq()
Dbttv-i2c.c69 btread(BT848_I2C); in bttv_bit_setscl()
81 btread(BT848_I2C); in bttv_bit_setsda()
89 state = btread(BT848_I2C) & 0x02 ? 1 : 0; in bttv_bit_getscl()
98 state = btread(BT848_I2C) & 0x01; in bttv_bit_getsda()
215 msg->buf[cnt] = ((u32)btread(BT848_I2C) >> 8) & 0xff; in bttv_i2c_readbytes()
Dbttv-gpio.c148 data = btread(BT848_GPIO_OUT_EN); in bttv_gpio_inout()
160 value = btread(BT848_GPIO_DATA); in bttv_gpio_read()
178 data = btread(BT848_GPIO_DATA); in bttv_gpio_bits()
Dbttvp.h529 #define btread(adr) readl(btv->bt848_mmio+(adr)) macro
531 #define btand(dat,adr) btwrite((dat) & btread(adr), adr)
532 #define btor(dat,adr) btwrite((dat) | btread(adr), adr)
533 #define btaor(dat,mask,adr) btwrite((dat) | ((mask) & btread(adr)), adr)
Dbttv-driver.c765 crop = btread(BT848_E_CROP) | 0xc0; in disclaim_video_lines()
861 if (btread(BT848_DSTATUS) & BT848_DSTATUS_PLOCK) { in set_pll()
1008 signal = btread(BT848_DSTATUS) & BT848_DSTATUS_HLOC; in audio_mux_gpio()
1488 outbits = btread(BT848_GPIO_OUT_EN); in bttv_gpio_tracking()
1489 data = btread(BT848_GPIO_DATA); in bttv_gpio_tracking()
1754 if (btread(BT848_DSTATUS) & BT848_DSTATUS_NUML) in bttv_querystd()
1784 __u32 dstatus = btread(BT848_DSTATUS); in bttv_enum_input()
1906 reg->val = btread(reg->reg); in bttv_g_register()
2788 if (btread(BT848_DSTATUS)&BT848_DSTATUS_HLOC) in bttv_g_tuner()
3508 if (0 == (btread(BT848_DSTATUS) & BT848_DSTATUS_HLOC)) { in bttv_irq_debug_low_latency()
[all …]
Dbttv-cards.c4187 val = btread(BT848_GPIO_DMA_CTL); in init_PXC200()
4258 dataRead = btread (BT848_GPIO_DATA); in init_RTV24()
4271 dataRead = btread (BT848_GPIO_DATA); in init_RTV24()
4321 state = (btread(BT848_GPIO_DATA) >> 21) & 7; in init_PCI8604PW()
4352 state = (state << 4) | ((btread(BT848_GPIO_DATA) >> 21) & 7); in init_PCI8604PW()
4728 bitmask = btread(BT848_GPIO_DATA); in PXC200_muxsel()
Dbttv-risc.c615 crop = btread(BT848_E_CROP); in bttv_buffer_activate_vbi()
616 vdelay = btread(BT848_E_VDELAY_LO) + ((crop & 0xc0) << 2); in bttv_buffer_activate_vbi()
/drivers/media/pci/zoran/
Dzoran_procfs.c99 reg = reg0 = btread(zr67[i].reg); in setparam()
127 btread(i), btread(i+4), btread(i+8), btread(i+12)); in zoran_show()
Dzoran.h400 #define btread(adr) readl(zr->zr36057_mem+(adr)) macro
402 #define btand(dat,adr) btwrite((dat) & btread(adr), adr)
403 #define btor(dat,adr) btwrite((dat) | btread(adr), adr)
404 #define btaor(dat,mask,adr) btwrite((dat) | ((mask) & btread(adr)), adr)
Dzoran_device.c99 reg = btread(ZR36057_GPPGCR1) & ~mask; in GPIO()
117 while ((por = btread(ZR36057_POR)) & ZR36057_POR_POPen) { in post_office_wait()
159 return btread(ZR36057_POR) & 0xFF; in post_office_read()
248 ZR_DEVNAME(zr), btread(ZR36057_GPPGCR1)); in jpeg_codec_sleep()
254 ZR_DEVNAME(zr), btread(ZR36057_GPPGCR1)); in jpeg_codec_sleep()
297 reg = btread(ZR36057_VFEHCR); in zr36057_adjust_vfe()
312 reg = btread(ZR36057_VFEHCR); in zr36057_adjust_vfe()
599 if (btread(ZR36057_VSSFGR) & ZR36057_VSSFGR_SnapShot) in zr36057_set_memgrab()
885 if ((isr = btread(ZR36057_ISR) & 0x78000000)) { in count_reset_interrupt()
1374 astat, btread(ZR36057_ICR)); in zoran_irq()
[all …]
Dzoran_card.c662 return (btread(ZR36057_I2CBR) >> 1) & 1; in zoran_i2c_getsda()
670 return btread(ZR36057_I2CBR) & 1; in zoran_i2c_getscl()
958 icr = btread(ZR36057_ICR); in test_interrupts()