Searched refs:btread (Results 1 – 10 of 10) sorted by relevance
/linux-6.1.9/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 | 517 #define btread(adr) readl(btv->bt848_mmio+(adr)) macro 519 #define btand(dat,adr) btwrite((dat) & btread(adr), adr) 520 #define btor(dat,adr) btwrite((dat) | btread(adr), adr) 521 #define btaor(dat,mask,adr) btwrite((dat) | ((mask) & btread(adr)), adr)
|
D | bttv-driver.c | 734 crop = btread(BT848_E_CROP) | 0xc0; in disclaim_video_lines() 830 if (btread(BT848_DSTATUS) & BT848_DSTATUS_PLOCK) { in set_pll() 977 signal = btread(BT848_DSTATUS) & BT848_DSTATUS_HLOC; in audio_mux_gpio() 1457 outbits = btread(BT848_GPIO_OUT_EN); in bttv_gpio_tracking() 1458 data = btread(BT848_GPIO_DATA); in bttv_gpio_tracking() 1723 if (btread(BT848_DSTATUS) & BT848_DSTATUS_NUML) in bttv_querystd() 1753 __u32 dstatus = btread(BT848_DSTATUS); in bttv_enum_input() 1875 reg->val = btread(reg->reg); in bttv_g_register() 2723 if (btread(BT848_DSTATUS)&BT848_DSTATUS_HLOC) in bttv_g_tuner() 3441 if (0 == (btread(BT848_DSTATUS) & BT848_DSTATUS_HLOC)) { in bttv_irq_debug_low_latency() [all …]
|
D | bttv-cards.c | 4181 val = btread(BT848_GPIO_DMA_CTL); in init_PXC200() 4252 dataRead = btread (BT848_GPIO_DATA); in init_RTV24() 4265 dataRead = btread (BT848_GPIO_DATA); in init_RTV24() 4315 state = (btread(BT848_GPIO_DATA) >> 21) & 7; in init_PCI8604PW() 4346 state = (state << 4) | ((btread(BT848_GPIO_DATA) >> 21) & 7); in init_PCI8604PW() 4722 bitmask = btread(BT848_GPIO_DATA); in PXC200_muxsel()
|
D | bttv-risc.c | 604 crop = btread(BT848_E_CROP); in bttv_buffer_activate_vbi() 605 vdelay = btread(BT848_E_VDELAY_LO) + ((crop & 0xc0) << 2); in bttv_buffer_activate_vbi()
|
/linux-6.1.9/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()
|