Searched refs:btread (Results 1 – 10 of 10) sorted by relevance
/linux-6.6.21/drivers/media/pci/bt8xx/ |
D | bt878.c | 52 #define btread(adr) bmtread(bt->bt878_mem+(adr)) macro 54 #define btand(dat,adr) btwrite((dat) & btread(adr), adr) 55 #define btor(dat,adr) btwrite((dat) | btread(adr), adr) 56 #define btaor(dat,mask,adr) btwrite((dat) | ((mask) & btread(adr)), adr) 230 stat = btread(BT878_AINT_STAT); in bt878_stop() 257 stat = btread(BT878_AINT_STAT); in bt878_irq() 258 mask = btread(BT878_AINT_MASK); in bt878_irq() 273 "", btread(BT878_ARISC_PC)); in bt878_irq() 286 "", btread(BT878_ARISC_PC)); in bt878_irq() 298 btread(BT878_ARISC_PC)); in bt878_irq()
|
D | bttv-i2c.c | 55 btread(BT848_I2C); in bttv_bit_setscl() 67 btread(BT848_I2C); in bttv_bit_setsda() 75 state = btread(BT848_I2C) & 0x02 ? 1 : 0; in bttv_bit_getscl() 84 state = btread(BT848_I2C) & 0x01; in bttv_bit_getsda() 201 msg->buf[cnt] = ((u32)btread(BT848_I2C) >> 8) & 0xff; in bttv_i2c_readbytes()
|
D | bttv-gpio.c | 135 data = btread(BT848_GPIO_OUT_EN); in bttv_gpio_inout() 147 value = btread(BT848_GPIO_DATA); in bttv_gpio_read() 165 data = btread(BT848_GPIO_DATA); in bttv_gpio_bits()
|
D | bttvp.h | 492 #define btread(adr) readl(btv->bt848_mmio+(adr)) macro 494 #define btand(dat,adr) btwrite((dat) & btread(adr), adr) 495 #define btor(dat,adr) btwrite((dat) | btread(adr), adr) 496 #define btaor(dat,mask,adr) btwrite((dat) | ((mask) & btread(adr)), adr)
|
D | bttv-driver.c | 721 crop = btread(BT848_E_CROP) | 0xc0; in disclaim_video_lines() 815 if (btread(BT848_DSTATUS) & BT848_DSTATUS_PLOCK) { in set_pll() 962 signal = btread(BT848_DSTATUS) & BT848_DSTATUS_HLOC; in audio_mux_gpio() 1442 outbits = btread(BT848_GPIO_OUT_EN); in bttv_gpio_tracking() 1443 data = btread(BT848_GPIO_DATA); in bttv_gpio_tracking() 1629 if (btread(BT848_DSTATUS) & BT848_DSTATUS_NUML) in bttv_querystd() 1658 __u32 dstatus = btread(BT848_DSTATUS); in bttv_enum_input() 1773 reg->val = btread(reg->reg); in bttv_g_register() 2191 if (btread(BT848_DSTATUS)&BT848_DSTATUS_HLOC) in bttv_g_tuner() 2643 if (0 == (btread(BT848_DSTATUS) & BT848_DSTATUS_HLOC)) { in bttv_irq_debug_low_latency() [all …]
|
D | bttv-cards.c | 4178 val = btread(BT848_GPIO_DMA_CTL); in init_PXC200() 4249 dataRead = btread (BT848_GPIO_DATA); in init_RTV24() 4262 dataRead = btread (BT848_GPIO_DATA); in init_RTV24() 4312 state = (btread(BT848_GPIO_DATA) >> 21) & 7; in init_PCI8604PW() 4343 state = (state << 4) | ((btread(BT848_GPIO_DATA) >> 21) & 7); in init_PCI8604PW() 4719 bitmask = btread(BT848_GPIO_DATA); in PXC200_muxsel()
|
D | bttv-risc.c | 573 crop = btread(BT848_E_CROP); in bttv_buffer_activate_vbi() 574 vdelay = btread(BT848_E_VDELAY_LO) + ((crop & 0xc0) << 2); in bttv_buffer_activate_vbi()
|
/linux-6.6.21/drivers/media/pci/zoran/ |
D | zoran_device.c | 60 reg = btread(ZR36057_VFESPFR); in zr36057_init_vfe() 66 reg = btread(ZR36057_VDCR); in zr36057_init_vfe() 94 reg = btread(ZR36057_GPPGCR1) & ~mask; in GPIO() 110 while ((por = btread(ZR36057_POR)) & ZR36057_POR_PO_PEN) { in post_office_wait() 145 return btread(ZR36057_POR) & 0xFF; in post_office_read() 157 __func__, btread(ZR36057_GPPGCR1)); in jpeg_codec_sleep() 161 __func__, btread(ZR36057_GPPGCR1)); in jpeg_codec_sleep() 197 reg = btread(ZR36057_VFEHCR); in zr36057_adjust_vfe() 212 reg = btread(ZR36057_VFEHCR); in zr36057_adjust_vfe() 347 if (btread(ZR36057_VSSFGR) & ZR36057_VSSFGR_SNAP_SHOT) in zr36057_set_memgrab() [all …]
|
D | zoran.h | 306 #define btread(adr) readl(zr->zr36057_mem + (adr)) macro 308 #define btand(dat, adr) btwrite((dat) & btread(adr), (adr)) 309 #define btor(dat, adr) btwrite((dat) | btread(adr), (adr)) 310 #define btaor(dat, mask, adr) btwrite((dat) | ((mask) & btread(adr)), (adr))
|
D | zoran_card.c | 661 return (btread(ZR36057_I2CBR) >> 1) & 1; in zoran_i2c_getsda() 668 return btread(ZR36057_I2CBR) & 1; in zoran_i2c_getscl()
|