Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/media/pci/bt8xx/
Dbt878.c52 #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()
Dbttv-i2c.c55 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()
Dbttv-gpio.c136 data = btread(BT848_GPIO_OUT_EN); in bttv_gpio_inout()
148 value = btread(BT848_GPIO_DATA); in bttv_gpio_read()
166 data = btread(BT848_GPIO_DATA); in bttv_gpio_bits()
Dbttvp.h517 #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)
Dbttv-driver.c734 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()
2733 if (btread(BT848_DSTATUS)&BT848_DSTATUS_HLOC) in bttv_g_tuner()
3451 if (0 == (btread(BT848_DSTATUS) & BT848_DSTATUS_HLOC)) { in bttv_irq_debug_low_latency()
[all …]
Dbttv-cards.c4179 val = btread(BT848_GPIO_DMA_CTL); in init_PXC200()
4250 dataRead = btread (BT848_GPIO_DATA); in init_RTV24()
4263 dataRead = btread (BT848_GPIO_DATA); in init_RTV24()
4313 state = (btread(BT848_GPIO_DATA) >> 21) & 7; in init_PCI8604PW()
4344 state = (state << 4) | ((btread(BT848_GPIO_DATA) >> 21) & 7); in init_PCI8604PW()
4720 bitmask = btread(BT848_GPIO_DATA); in PXC200_muxsel()
Dbttv-risc.c605 crop = btread(BT848_E_CROP); in bttv_buffer_activate_vbi()
606 vdelay = btread(BT848_E_VDELAY_LO) + ((crop & 0xc0) << 2); in bttv_buffer_activate_vbi()