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

/linux-4.1.27/drivers/media/pci/zoran/
H A Dzoran_procfs.c99 reg = reg0 = btread(zr67[i].reg); setparam()
127 btread(i), btread(i+4), btread(i+8), btread(i+12)); zoran_show()
H A Dzoran.h395 * the kernel iomapped address for btread/btwrite. */
397 #define btread(adr) readl(zr->zr36057_mem+(adr)) macro
399 #define btand(dat,adr) btwrite((dat) & btread(adr), adr)
400 #define btor(dat,adr) btwrite((dat) | btread(adr), adr)
401 #define btaor(dat,mask,adr) btwrite((dat) | ((mask) & btread(adr)), adr)
H A Dzoran_device.c98 reg = btread(ZR36057_GPPGCR1) & ~mask; GPIO()
115 // while (((por = btread(ZR36057_POR)) & (ZR36057_POR_POPen | ZR36057_POR_POTime)) == ZR36057_POR_POPen) { post_office_wait()
116 while ((por = btread(ZR36057_POR)) & ZR36057_POR_POPen) { post_office_wait()
158 return btread(ZR36057_POR) & 0xFF; post_office_read()
256 ZR_DEVNAME(zr), btread(ZR36057_GPPGCR1)); jpeg_codec_sleep()
262 ZR_DEVNAME(zr), btread(ZR36057_GPPGCR1)); jpeg_codec_sleep()
305 reg = btread(ZR36057_VFEHCR); zr36057_adjust_vfe()
320 reg = btread(ZR36057_VFEHCR); zr36057_adjust_vfe()
607 if (btread(ZR36057_VSSFGR) & ZR36057_VSSFGR_SnapShot) zr36057_set_memgrab()
893 if ((isr = btread(ZR36057_ISR) & 0x78000000)) { count_reset_interrupt()
1382 astat, btread(ZR36057_ICR)); zoran_irq()
1397 if ((btread(ZR36057_VSSFGR) & ZR36057_VSSFGR_SnapShot) == 0) zoran_irq()
1405 if ((btread(ZR36057_VSSFGR) & ZR36057_VSSFGR_FrameGrab) == 0) { zoran_irq()
1627 reg = btread(ZR36057_VFESPFR); zr36057_init_vfe()
1633 reg = btread(ZR36057_VDCR); zr36057_init_vfe()
H A Dzoran_card.c662 return (btread(ZR36057_I2CBR) >> 1) & 1; zoran_i2c_getsda()
670 return btread(ZR36057_I2CBR) & 1; zoran_i2c_getscl()
958 icr = btread(ZR36057_ICR); test_interrupts()
/linux-4.1.27/drivers/media/pci/bt8xx/
H A 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); bt878_stop()
274 stat = btread(BT878_AINT_STAT); bt878_irq()
275 mask = btread(BT878_AINT_MASK); bt878_irq()
290 "", btread(BT878_ARISC_PC)); bt878_irq()
303 "", btread(BT878_ARISC_PC)); bt878_irq()
315 btread(BT878_ARISC_PC)); bt878_irq()
H A Dbttv-gpio.c148 data = btread(BT848_GPIO_OUT_EN); bttv_gpio_inout()
160 value = btread(BT848_GPIO_DATA); bttv_gpio_read()
178 data = btread(BT848_GPIO_DATA); bttv_gpio_bits()
H A Dbttv-i2c.c69 btread(BT848_I2C); bttv_bit_setscl()
81 btread(BT848_I2C); bttv_bit_setsda()
89 state = btread(BT848_I2C) & 0x02 ? 1 : 0; bttv_bit_getscl()
98 state = btread(BT848_I2C) & 0x01; bttv_bit_getsda()
215 msg->buf[cnt] = ((u32)btread(BT848_I2C) >> 8) & 0xff; bttv_i2c_readbytes()
H A 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)
H A Dbttv-driver.c765 crop = btread(BT848_E_CROP) | 0xc0; disclaim_video_lines()
861 if (btread(BT848_DSTATUS) & BT848_DSTATUS_PLOCK) { set_pll()
1008 signal = btread(BT848_DSTATUS) & BT848_DSTATUS_HLOC; audio_mux_gpio()
1488 outbits = btread(BT848_GPIO_OUT_EN); bttv_gpio_tracking()
1489 data = btread(BT848_GPIO_DATA); bttv_gpio_tracking()
1761 if (btread(BT848_DSTATUS) & BT848_DSTATUS_NUML) bttv_querystd()
1794 __u32 dstatus = btread(BT848_DSTATUS); bttv_enum_input()
1919 reg->val = btread(reg->reg); bttv_g_register()
2800 if (btread(BT848_DSTATUS)&BT848_DSTATUS_HLOC) bttv_g_tuner()
3501 if (0 == (btread(BT848_DSTATUS) & BT848_DSTATUS_HLOC)) { bttv_irq_debug_low_latency()
3664 btread(BT848_RISC_COUNT)); bttv_irq_timeout()
3665 bttv_print_irqbits(btread(BT848_INT_STAT),0); bttv_irq_timeout()
3744 rc = btread(BT848_RISC_COUNT); bttv_irq_switch_video()
3785 rc = btread(BT848_RISC_COUNT); bttv_irq_switch_vbi()
3818 stat=btread(BT848_INT_STAT); bttv_irq()
3819 astat=stat&btread(BT848_INT_MASK); bttv_irq()
3826 dstat=btread(BT848_DSTATUS); bttv_irq()
3831 stat>>28, btread(BT848_RISC_COUNT)); bttv_irq()
3878 btread(BT848_RISC_COUNT)); bttv_irq()
3886 btv->c.nr, btread(BT848_RISC_COUNT)); bttv_irq()
3903 btwrite(btread(BT848_INT_MASK) & (-1 ^ BT848_INT_GPINT), bttv_irq()
4331 btv->state.gpio_enable = btread(BT848_GPIO_OUT_EN); bttv_suspend()
H A Dbttv-risc.c615 crop = btread(BT848_E_CROP); bttv_buffer_activate_vbi()
616 vdelay = btread(BT848_E_VDELAY_LO) + ((crop & 0xc0) << 2); bttv_buffer_activate_vbi()
H A Dbttv-cards.c4187 val = btread(BT848_GPIO_DMA_CTL); init_PXC200()
4258 dataRead = btread (BT848_GPIO_DATA); init_RTV24()
4271 dataRead = btread (BT848_GPIO_DATA); init_RTV24()
4321 state = (btread(BT848_GPIO_DATA) >> 21) & 7; init_PCI8604PW()
4352 state = (state << 4) | ((btread(BT848_GPIO_DATA) >> 21) & 7); init_PCI8604PW()
4728 bitmask = btread(BT848_GPIO_DATA); PXC200_muxsel()

Completed in 1166 milliseconds