Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/media/video/zoran/
Dzoran_device.c102 btwrite(reg, ZR36057_GPPGCR1); in GPIO()
140 btwrite(por, ZR36057_POR); in post_office_write()
153 btwrite(por, ZR36057_POR); in post_office_read()
309 btwrite(reg, ZR36057_VFEHCR); in zr36057_adjust_vfe()
324 btwrite(reg, ZR36057_VFEHCR); in zr36057_adjust_vfe()
390 btwrite(reg, ZR36057_VFEHCR); in zr36057_set_vfe()
408 btwrite(reg, ZR36057_VFEVCR); in zr36057_set_vfe()
431 btwrite(reg, ZR36057_VFESPFR); in zr36057_set_vfe()
442 btwrite(reg, ZR36057_VDCR); in zr36057_set_vfe()
452 btwrite(reg, ZR36057_MMTR); in zr36057_set_vfe()
[all …]
Dzoran.h394 #define btwrite(dat,adr) writel((dat), zr->zr36057_mem+(adr)) macro
397 #define btand(dat,adr) btwrite((dat) & btread(adr), adr)
398 #define btor(dat,adr) btwrite((dat) | btread(adr), adr)
399 #define btaor(dat,mask,adr) btwrite((dat) | ((mask) & btread(adr)), adr)
Dzoran_card.c683 btwrite(zr->i2cbr, ZR36057_I2CBR); in zoran_i2c_setsda()
696 btwrite(zr->i2cbr, ZR36057_I2CBR); in zoran_i2c_setscl()
961 btwrite(0x78000000 | ZR36057_ICR_IntPinEn, ZR36057_ICR); in test_interrupts()
965 btwrite(0, ZR36057_ICR); in test_interrupts()
966 btwrite(0x78000000, ZR36057_ISR); in test_interrupts()
974 btwrite(icr, ZR36057_ICR); in test_interrupts()
1109 btwrite(0, ZR36057_SPGPPCR); in zoran_remove()
1442 btwrite(0, ZR36057_SPGPPCR); in zoran_probe()
Dzoran_procfs.c112 btwrite(reg, zr67[i].reg); in setparam()
/linux-3.4.99/drivers/media/dvb/bt8xx/
Dbt878.c68 #define btwrite(dat,adr) bmtwrite((dat), (bt->bt878_mem+(adr))) macro
71 #define btand(dat,adr) btwrite((dat) & btread(adr), adr)
72 #define btor(dat,adr) btwrite((dat) | btread(adr), adr)
73 #define btaor(dat,mask,adr) btwrite((dat) | ((mask) & btread(adr)), adr)
203 btwrite((bt->line_count << 16) | bt->line_bytes, BT878_APACK_LEN); in bt878_risc_program()
223 btwrite(bt->risc_dma, BT878_ARISC_START); in bt878_start()
240 btwrite(int_mask, BT878_AINT_MASK); in bt878_start()
241 btwrite(controlreg, BT878_AGPIO_DMA_CTL); in bt878_start()
251 btwrite(0, BT878_AINT_MASK); in bt878_stop()
287 btwrite(astat, BT878_AINT_STAT); /* try to clear interrupt condition */ in bt878_irq()
[all …]
/linux-3.4.99/drivers/media/video/bt8xx/
Dbttv-driver.c937 btwrite(crop, BT848_E_CROP); in disclaim_video_lines()
938 btwrite(0xfe, BT848_E_VDELAY_LO); in disclaim_video_lines()
939 btwrite(crop, BT848_O_CROP); in disclaim_video_lines()
940 btwrite(0xfe, BT848_O_VDELAY_LO); in disclaim_video_lines()
992 btwrite(fl, BT848_PLL_F_LO); in set_pll_freq()
993 btwrite(fh, BT848_PLL_F_HI); in set_pll_freq()
994 btwrite(fi|BT848_PLL_X, BT848_PLL_XCI); in set_pll_freq()
1016 btwrite(0x00,BT848_TGCTRL); in set_pll()
1017 btwrite(0x00,BT848_PLL_XCI); in set_pll()
1033 btwrite(0,BT848_DSTATUS); in set_pll()
[all …]
Dbttv-i2c.c68 btwrite(btv->i2c_state, BT848_I2C); in bttv_bit_setscl()
80 btwrite(btv->i2c_state, BT848_I2C); in bttv_bit_setsda()
152 btwrite(xmit, BT848_I2C); in bttv_i2c_sendbytes()
167 btwrite(xmit, BT848_I2C); in bttv_i2c_sendbytes()
209 btwrite(xmit, BT848_I2C); in bttv_i2c_readbytes()
244 btwrite(BT848_INT_I2CDONE|BT848_INT_RACK, BT848_INT_STAT); in bttv_i2c_xfer()
Dbttv-risc.c445 btwrite(geo->vtc, BT848_E_VTC+off); in bttv_apply_geo()
446 btwrite(geo->hscale >> 8, BT848_E_HSCALE_HI+off); in bttv_apply_geo()
447 btwrite(geo->hscale & 0xff, BT848_E_HSCALE_LO+off); in bttv_apply_geo()
449 btwrite(geo->vscale & 0xff, BT848_E_VSCALE_LO+off); in bttv_apply_geo()
450 btwrite(geo->width & 0xff, BT848_E_HACTIVE_LO+off); in bttv_apply_geo()
451 btwrite(geo->hdelay & 0xff, BT848_E_HDELAY_LO+off); in bttv_apply_geo()
452 btwrite(geo->sheight & 0xff, BT848_E_VACTIVE_LO+off); in bttv_apply_geo()
453 btwrite(geo->vdelay & 0xff, BT848_E_VDELAY_LO+off); in bttv_apply_geo()
454 btwrite(geo->crop, BT848_E_CROP+off); in bttv_apply_geo()
455 btwrite(geo->vtotal>>8, BT848_VTOTAL_HI); in bttv_apply_geo()
[all …]
Dbttv-gpio.c151 btwrite(data,BT848_GPIO_OUT_EN); in bttv_gpio_inout()
168 btwrite(value,BT848_GPIO_DATA); in bttv_gpio_write()
181 btwrite(data,BT848_GPIO_DATA); in bttv_gpio_bits()
Dbttvp.h521 #define btwrite(dat,adr) writel((dat), btv->bt848_mmio+(adr)) macro
524 #define btand(dat,adr) btwrite((dat) & btread(adr), adr)
525 #define btor(dat,adr) btwrite((dat) | btread(adr), adr)
526 #define btaor(dat,mask,adr) btwrite((dat) | ((mask) & btread(adr)), adr)
Dbttv-cards.c3219 btwrite(0x000000, BT848_GPIO_REG_INP); in init_lmlbt4x()
3299 btwrite((1<<7), 0x058); in bttv_reset_audio()
3301 btwrite( 0, 0x058); in bttv_reset_audio()
4077 btwrite(BT848_ADC_RESERVED|BT848_ADC_AGC_EN, BT848_ADC); in init_PXC200()
4094 btwrite(val, BT848_GPIO_DMA_CTL); in init_PXC200()
4155 btwrite (0x00c3feff, BT848_GPIO_OUT_EN); in init_RTV24()
4157 btwrite (0 + watchdog_value, BT848_GPIO_DATA); in init_RTV24()
4159 btwrite (0x10 + watchdog_value, BT848_GPIO_DATA); in init_RTV24()
4161 btwrite (0 + watchdog_value, BT848_GPIO_DATA); in init_RTV24()
4170 btwrite (0x4400 + watchdog_value, BT848_GPIO_DATA); in init_RTV24()
[all …]