Lines Matching refs:tw_writel

333 	tw_writel(TW5864_DSP_PIC_MAX_MB,  in tw5864_enable_input()
336 tw_writel(TW5864_FRAME_WIDTH_BUS_A(nr), in tw5864_enable_input()
338 tw_writel(TW5864_FRAME_WIDTH_BUS_B(nr), in tw5864_enable_input()
340 tw_writel(TW5864_FRAME_HEIGHT_BUS_A(nr), in tw5864_enable_input()
342 tw_writel(TW5864_FRAME_HEIGHT_BUS_B(nr), in tw5864_enable_input()
376 tw_writel(TW5864_EMU, input->reg_emu); in tw5864_request_encoded_frame()
377 tw_writel(TW5864_INTERLACING, input->reg_interlacing); in tw5864_request_encoded_frame()
378 tw_writel(TW5864_DSP, input->reg_dsp); in tw5864_request_encoded_frame()
380 tw_writel(TW5864_DSP_QP, input->reg_dsp_qp); in tw5864_request_encoded_frame()
381 tw_writel(TW5864_DSP_REF_MVP_LAMBDA, input->reg_dsp_ref_mvp_lambda); in tw5864_request_encoded_frame()
382 tw_writel(TW5864_DSP_I4x4_WEIGHT, input->reg_dsp_i4x4_weight); in tw5864_request_encoded_frame()
389 tw_writel(TW5864_MOTION_SEARCH_ETC, TW5864_INTRA_EN); in tw5864_request_encoded_frame()
394 tw_writel(TW5864_MOTION_SEARCH_ETC, TW5864_INTRA_EN | in tw5864_request_encoded_frame()
398 tw_writel(TW5864_VLC, in tw5864_request_encoded_frame()
405 tw_writel(TW5864_DSP_ENC_ORG_PTR_REG, in tw5864_request_encoded_frame()
407 tw_writel(TW5864_DSP_ENC_REC, in tw5864_request_encoded_frame()
410 tw_writel(TW5864_SLICE, TW5864_START_NSLICE); in tw5864_request_encoded_frame()
411 tw_writel(TW5864_SLICE, 0); in tw5864_request_encoded_frame()
702 tw_writel(TW5864_H264EN_RATE_CNTL_LO_WORD(input->nr, 0), in tw5864_frame_interval_set()
704 tw_writel(TW5864_H264EN_RATE_CNTL_HI_WORD(input->nr, 0), in tw5864_frame_interval_set()
878 tw_writel(reg->reg, reg->val); in tw5864_s_reg()
1009 tw_writel(TW5864_FULL_HALF_MODE_SEL, 0); in tw5864_video_init()
1021 tw_writel(TW5864_VLC_STREAM_BASE_ADDR, in tw5864_video_init()
1023 tw_writel(TW5864_MV_STREAM_BASE_ADDR, in tw5864_video_init()
1027 tw_writel(TW5864_SEN_EN_CH, 0x000f); in tw5864_video_init()
1028 tw_writel(TW5864_H264EN_CH_EN, 0x000f); in tw5864_video_init()
1030 tw_writel(TW5864_H264EN_BUS0_MAP, 0x00000000); in tw5864_video_init()
1031 tw_writel(TW5864_H264EN_BUS1_MAP, 0x00001111); in tw5864_video_init()
1032 tw_writel(TW5864_H264EN_BUS2_MAP, 0x00002222); in tw5864_video_init()
1033 tw_writel(TW5864_H264EN_BUS3_MAP, 0x00003333); in tw5864_video_init()
1054 tw_writel(TW5864_ENC_BUF_PTR_REC1, 0x00ff); in tw5864_video_init()
1055 tw_writel(TW5864_PCI_INTTM_SCALE, 0); in tw5864_video_init()
1057 tw_writel(TW5864_INTERLACING, TW5864_DI_EN); in tw5864_video_init()
1058 tw_writel(TW5864_MASTER_ENB_REG, TW5864_PCI_VLC_INTR_ENB); in tw5864_video_init()
1059 tw_writel(TW5864_PCI_INTR_CTL, in tw5864_video_init()
1499 tw_writel(TW5864_VLC_RD, 0x1); in tw5864_encoder_tables_upload()
1501 tw_writel((TW5864_VLC_STREAM_MEM_START + i * 4), in tw5864_encoder_tables_upload()
1504 tw_writel(TW5864_VLC_RD, 0x0); in tw5864_encoder_tables_upload()
1507 tw_writel((TW5864_QUAN_TAB + i * 4), in tw5864_encoder_tables_upload()
1512 tw_writel((TW5864_QUAN_TAB + i * 4), in tw5864_encoder_tables_upload()