Home
last modified time | relevance | path

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

/drivers/media/pci/bt8xx/
Dbt878.c51 #define btwrite(dat,adr) bmtwrite((dat), (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)
178 btwrite((bt->line_count << 16) | bt->line_bytes, BT878_APACK_LEN); in bt878_risc_program()
198 btwrite(bt->risc_dma, BT878_ARISC_START); in bt878_start()
215 btwrite(int_mask, BT878_AINT_MASK); in bt878_start()
216 btwrite(controlreg, BT878_AGPIO_DMA_CTL); in bt878_start()
226 btwrite(0, BT878_AINT_MASK); in bt878_stop()
262 btwrite(astat, BT878_AINT_STAT); /* try to clear interrupt condition */ in bt878_irq()
[all …]
Dbttv-i2c.c54 btwrite(btv->i2c_state, BT848_I2C); in bttv_bit_setscl()
66 btwrite(btv->i2c_state, BT848_I2C); in bttv_bit_setsda()
138 btwrite(xmit, BT848_I2C); in bttv_i2c_sendbytes()
153 btwrite(xmit, BT848_I2C); in bttv_i2c_sendbytes()
195 btwrite(xmit, BT848_I2C); in bttv_i2c_readbytes()
230 btwrite(BT848_INT_I2CDONE|BT848_INT_RACK, BT848_INT_STAT); in bttv_i2c_xfer()
Dbttv-risc.c435 btwrite(geo->vtc, BT848_E_VTC+off); in bttv_apply_geo()
436 btwrite(geo->hscale >> 8, BT848_E_HSCALE_HI+off); in bttv_apply_geo()
437 btwrite(geo->hscale & 0xff, BT848_E_HSCALE_LO+off); in bttv_apply_geo()
439 btwrite(geo->vscale & 0xff, BT848_E_VSCALE_LO+off); in bttv_apply_geo()
440 btwrite(geo->width & 0xff, BT848_E_HACTIVE_LO+off); in bttv_apply_geo()
441 btwrite(geo->hdelay & 0xff, BT848_E_HDELAY_LO+off); in bttv_apply_geo()
442 btwrite(geo->sheight & 0xff, BT848_E_VACTIVE_LO+off); in bttv_apply_geo()
443 btwrite(geo->vdelay & 0xff, BT848_E_VDELAY_LO+off); in bttv_apply_geo()
444 btwrite(geo->crop, BT848_E_CROP+off); in bttv_apply_geo()
445 btwrite(geo->vtotal>>8, BT848_VTOTAL_HI); in bttv_apply_geo()
[all …]
Dbttv-driver.c735 btwrite(crop, BT848_E_CROP); in disclaim_video_lines()
736 btwrite(0xfe, BT848_E_VDELAY_LO); in disclaim_video_lines()
737 btwrite(crop, BT848_O_CROP); in disclaim_video_lines()
738 btwrite(0xfe, BT848_O_VDELAY_LO); in disclaim_video_lines()
790 btwrite(fl, BT848_PLL_F_LO); in set_pll_freq()
791 btwrite(fh, BT848_PLL_F_HI); in set_pll_freq()
792 btwrite(fi|BT848_PLL_X, BT848_PLL_XCI); in set_pll_freq()
814 btwrite(0x00,BT848_TGCTRL); in set_pll()
815 btwrite(0x00,BT848_PLL_XCI); in set_pll()
831 btwrite(0,BT848_DSTATUS); in set_pll()
[all …]
Dbttv-gpio.c139 btwrite(data,BT848_GPIO_OUT_EN); in bttv_gpio_inout()
156 btwrite(value,BT848_GPIO_DATA); in bttv_gpio_write()
169 btwrite(data,BT848_GPIO_DATA); in bttv_gpio_bits()
Dbttvp.h516 #define btwrite(dat,adr) writel((dat), 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-cards.c3205 btwrite(0x000000, BT848_GPIO_REG_INP); in init_lmlbt4x()
3285 btwrite((1<<7), 0x058); in bttv_reset_audio()
3287 btwrite( 0, 0x058); in bttv_reset_audio()
4164 btwrite(BT848_ADC_RESERVED|BT848_ADC_AGC_EN, BT848_ADC); in init_PXC200()
4181 btwrite(val, BT848_GPIO_DMA_CTL); in init_PXC200()
4242 btwrite (0x00c3feff, BT848_GPIO_OUT_EN); in init_RTV24()
4244 btwrite (0 + watchdog_value, BT848_GPIO_DATA); in init_RTV24()
4246 btwrite (0x10 + watchdog_value, BT848_GPIO_DATA); in init_RTV24()
4248 btwrite (0 + watchdog_value, BT848_GPIO_DATA); in init_RTV24()
4257 btwrite (0x4400 + watchdog_value, BT848_GPIO_DATA); in init_RTV24()
[all …]