Lines Matching refs:cx_write

467 		cx_write(ch->ptr1_reg, 0);  in cx23885_sram_channel_setup()
468 cx_write(ch->ptr2_reg, 0); in cx23885_sram_channel_setup()
469 cx_write(ch->cnt2_reg, 0); in cx23885_sram_channel_setup()
470 cx_write(ch->cnt1_reg, 0); in cx23885_sram_channel_setup()
484 cx_write(8 + 0, RISC_JUMP | RISC_IRQ1 | RISC_CNT_INC); in cx23885_sram_channel_setup()
485 cx_write(8 + 4, 8); in cx23885_sram_channel_setup()
486 cx_write(8 + 8, 0); in cx23885_sram_channel_setup()
492 cx_write(cdt + 16*i, ch->fifo_start + bpl*i); in cx23885_sram_channel_setup()
493 cx_write(cdt + 16*i + 4, 0); in cx23885_sram_channel_setup()
494 cx_write(cdt + 16*i + 8, 0); in cx23885_sram_channel_setup()
495 cx_write(cdt + 16*i + 12, 0); in cx23885_sram_channel_setup()
500 cx_write(ch->cmds_start + 0, 8); in cx23885_sram_channel_setup()
502 cx_write(ch->cmds_start + 0, risc); in cx23885_sram_channel_setup()
503 cx_write(ch->cmds_start + 4, 0); /* 64 bits 63-32 */ in cx23885_sram_channel_setup()
504 cx_write(ch->cmds_start + 8, cdt); in cx23885_sram_channel_setup()
505 cx_write(ch->cmds_start + 12, (lines*16) >> 3); in cx23885_sram_channel_setup()
506 cx_write(ch->cmds_start + 16, ch->ctrl_start); in cx23885_sram_channel_setup()
508 cx_write(ch->cmds_start + 20, 0x80000000 | (64 >> 2)); in cx23885_sram_channel_setup()
510 cx_write(ch->cmds_start + 20, 64 >> 2); in cx23885_sram_channel_setup()
512 cx_write(ch->cmds_start + i, 0); in cx23885_sram_channel_setup()
515 cx_write(ch->ptr1_reg, ch->fifo_start); in cx23885_sram_channel_setup()
516 cx_write(ch->ptr2_reg, cdt); in cx23885_sram_channel_setup()
517 cx_write(ch->cnt2_reg, (lines*16) >> 3); in cx23885_sram_channel_setup()
518 cx_write(ch->cnt1_reg, (bpl >> 3) - 1); in cx23885_sram_channel_setup()
613 cx_write(DEV_CNTRL2, 0); in cx23885_shutdown()
616 cx_write(IR_CNTRL_REG, 0); in cx23885_shutdown()
619 cx_write(VID_A_DMA_CTL, 0); in cx23885_shutdown()
620 cx_write(VID_B_DMA_CTL, 0); in cx23885_shutdown()
621 cx_write(VID_C_DMA_CTL, 0); in cx23885_shutdown()
624 cx_write(AUD_INT_DMA_CTL, 0); in cx23885_shutdown()
625 cx_write(AUD_EXT_DMA_CTL, 0); in cx23885_shutdown()
628 cx_write(UART_CTL, 0); in cx23885_shutdown()
632 cx_write(VID_A_INT_MSK, 0); in cx23885_shutdown()
633 cx_write(VID_B_INT_MSK, 0); in cx23885_shutdown()
634 cx_write(VID_C_INT_MSK, 0); in cx23885_shutdown()
635 cx_write(AUDIO_INT_INT_MSK, 0); in cx23885_shutdown()
636 cx_write(AUDIO_EXT_INT_MSK, 0); in cx23885_shutdown()
646 cx_write(PCI_INT_STAT, 0xffffffff); in cx23885_reset()
647 cx_write(VID_A_INT_STAT, 0xffffffff); in cx23885_reset()
648 cx_write(VID_B_INT_STAT, 0xffffffff); in cx23885_reset()
649 cx_write(VID_C_INT_STAT, 0xffffffff); in cx23885_reset()
650 cx_write(AUDIO_INT_INT_STAT, 0xffffffff); in cx23885_reset()
651 cx_write(AUDIO_EXT_INT_STAT, 0xffffffff); in cx23885_reset()
652 cx_write(CLK_DELAY, cx_read(CLK_DELAY) & 0x80000000); in cx23885_reset()
653 cx_write(PAD_CTRL, 0x00500300); in cx23885_reset()
1319 cx_write(port->reg_lngth, buf->vb.width); in cx23885_start_dma()
1337 cx_write(port->reg_src_sel, port->src_sel_val); in cx23885_start_dma()
1339 cx_write(port->reg_hw_sop_ctrl, port->hw_sop_ctrl_val); in cx23885_start_dma()
1340 cx_write(port->reg_ts_clk_en, port->ts_clk_en_val); in cx23885_start_dma()
1341 cx_write(port->reg_vld_misc, port->vld_misc_val); in cx23885_start_dma()
1342 cx_write(port->reg_gen_ctrl, port->gen_ctrl_val); in cx23885_start_dma()
1347 cx_write(port->reg_gpcnt_ctl, 3); in cx23885_start_dma()
1354 cx_write(PAD_CTRL, reg); in cx23885_start_dma()
1361 cx_write(PAD_CTRL, reg); in cx23885_start_dma()
1372 cx_write(PAD_CTRL, reg); in cx23885_start_dma()
1375 cx_write(CLK_DELAY, cx_read(CLK_DELAY) | 0x80000011); in cx23885_start_dma()
1376 cx_write(ALT_PIN_OUT_SEL, 0x10100045); in cx23885_start_dma()
1425 cx_write(PAD_CTRL, reg); in cx23885_stop_dma()
1426 cx_write(port->reg_src_sel, 0); in cx23885_stop_dma()
1427 cx_write(port->reg_gen_ctrl, 8); in cx23885_stop_dma()
1670 cx_write(port->reg_ts_int_stat, status); in cx23885_irq_417()
1729 cx_write(port->reg_ts_int_stat, status); in cx23885_irq_ts()
1881 cx_write(PCI_INT_STAT, pci_status); in cx23885_irq()