/openbmc/linux/drivers/media/pci/zoran/ |
H A D | zoran_device.c | 65 btwrite(reg, ZR36057_VFESPFR); in zr36057_init_vfe() 72 btwrite(reg, ZR36057_VDCR); in zr36057_init_vfe() 131 btwrite(por, ZR36057_POR); in post_office_write() 141 btwrite(por, ZR36057_POR); in post_office_read() 331 btwrite(reg, ZR36057_VDCR); in zr36057_set_vfe() 426 btwrite(0, ZR36057_JPC); in zr36057_set_jpg() 453 btwrite(reg, ZR36057_JMC); in zr36057_set_jpg() 459 btwrite(reg, ZR36057_VSP); in zr36057_set_jpg() 471 btwrite(reg, ZR36057_HSP); in zr36057_set_jpg() 483 btwrite(reg, ZR36057_FPP); in zr36057_set_jpg() [all …]
|
H A D | zoran.h | 305 #define btwrite(dat, adr) writel((dat), 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))
|
H A D | zoran_card.c | 679 btwrite(zr->i2cbr, ZR36057_I2CBR); in zoran_i2c_setsda() 690 btwrite(zr->i2cbr, ZR36057_I2CBR); in zoran_i2c_setscl() 1092 btwrite(0, ZR36057_SPGPPCR); in zoran_remove() 1421 btwrite(0, ZR36057_SPGPPCR); in zoran_probe()
|
H A D | zoran_driver.c | 849 btwrite(reg, ZR36057_VDTR); in zr_set_buf() 852 btwrite(reg, ZR36057_VDBR); in zr_set_buf() 861 btwrite(reg, ZR36057_VSSFGR); in zr_set_buf()
|
/openbmc/linux/drivers/media/pci/bt8xx/ |
H A D | bt878.c | 54 #define btand(dat,adr) btwrite((dat) & btread(adr), adr) 55 #define btor(dat,adr) btwrite((dat) | btread(adr), adr) 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() 309 btwrite(0, BT878_AINT_MASK); in bt878_irq() 451 btwrite(0, BT848_INT_MASK); in bt878_probe() 478 btwrite(0, BT878_AINT_MASK); in bt878_probe() 508 btwrite(0, BT878_AINT_MASK); in bt878_remove() [all …]
|
H A D | bttv-driver.c | 722 btwrite(crop, BT848_E_CROP); in disclaim_video_lines() 724 btwrite(crop, BT848_O_CROP); in disclaim_video_lines() 775 btwrite(fl, BT848_PLL_F_LO); in set_pll_freq() 776 btwrite(fh, BT848_PLL_F_HI); in set_pll_freq() 799 btwrite(0x00,BT848_TGCTRL); in set_pll() 816 btwrite(0,BT848_DSTATUS); in set_pll() 854 btwrite(0x41, BT848_DVSIF); in bt848A_set_timing() 858 btwrite(0x0, BT848_DVSIF); in bt848A_set_timing() 1176 btwrite(BT848_INT_I2CDONE, in init_irqreg() 1180 btwrite((btv->triton1) | in init_irqreg() [all …]
|
H A D | bttv-risc.c | 346 btwrite(geo->vtc, BT848_E_VTC+off); in bttv_apply_geo() 347 btwrite(geo->hscale >> 8, BT848_E_HSCALE_HI+off); in bttv_apply_geo() 348 btwrite(geo->hscale & 0xff, BT848_E_HSCALE_LO+off); in bttv_apply_geo() 355 btwrite(geo->crop, BT848_E_CROP+off); in bttv_apply_geo() 356 btwrite(geo->vtotal>>8, BT848_VTOTAL_HI); in bttv_apply_geo() 357 btwrite(geo->vtotal & 0xff, BT848_VTOTAL_LO); in bttv_apply_geo() 405 btwrite(btv->main.dma, BT848_RISC_STRT_ADD); in bttv_start_dma() 580 btwrite(vdelay, BT848_E_VDELAY_LO); in bttv_buffer_activate_vbi() 581 btwrite(crop, BT848_E_CROP); in bttv_buffer_activate_vbi() 582 btwrite(vdelay, BT848_O_VDELAY_LO); in bttv_buffer_activate_vbi() [all …]
|
H A D | bttv-i2c.c | 54 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()
|
H A D | bttv-gpio.c | 138 btwrite(data,BT848_GPIO_OUT_EN); in bttv_gpio_inout() 155 btwrite(value,BT848_GPIO_DATA); in bttv_gpio_write() 168 btwrite(data,BT848_GPIO_DATA); in bttv_gpio_bits()
|
H A D | bttvp.h | 491 #define btwrite(dat,adr) writel((dat), 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)
|
H A D | bttv-cards.c | 3202 btwrite(0x000000, BT848_GPIO_REG_INP); in init_lmlbt4x() 3282 btwrite((1<<7), 0x058); in bttv_reset_audio() 3284 btwrite( 0, 0x058); in bttv_reset_audio() 4180 btwrite(val, BT848_GPIO_DMA_CTL); in init_PXC200() 4241 btwrite (0x00c3feff, BT848_GPIO_OUT_EN); in init_RTV24() 4310 btwrite(0x080002, BT848_GPIO_OUT_EN); in init_PCI8604PW() 4322 btwrite(0x080000, BT848_GPIO_DATA); in init_PCI8604PW() 4324 btwrite(0x000000, BT848_GPIO_DATA); in init_PCI8604PW() 4590 btwrite (input<<20,BT848_GPIO_DATA); in picolo_tetra_muxsel() 4717 btwrite(bitmask, BT848_GPIO_OUT_EN); in PXC200_muxsel() [all …]
|