Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/media/video/davinci/
Dvpif.h33 #define regw(value, reg) writel(value, (reg + vpif_base)) macro
139 regw((regr(reg)) | (0x01 << bit), reg); in vpif_set_bit()
144 regw(((regr(reg)) & ~(0x01 << bit)), reg); in vpif_clr_bit()
215 #define channel0_intr_assert() (regw((regr(VPIF_CH0_CTRL)|\
219 #define channel1_intr_assert() (regw((regr(VPIF_CH1_CTRL)|\
223 #define channel2_intr_assert() (regw((regr(VPIF_CH2_CTRL)|\
227 #define channel3_intr_assert() (regw((regr(VPIF_CH3_CTRL)|\
268 regw((regr(VPIF_CH0_CTRL) | (VPIF_CH0_EN)), VPIF_CH0_CTRL); in enable_channel0()
270 regw((regr(VPIF_CH0_CTRL) & (~VPIF_CH0_EN)), VPIF_CH0_CTRL); in enable_channel0()
277 regw((regr(VPIF_CH1_CTRL) | (VPIF_CH1_EN)), VPIF_CH1_CTRL); in enable_channel1()
[all …]
Ddm644x_ccdc.c114 static inline void regw(u32 val, u32 offset) in regw() function
121 regw(flag, CCDC_PCR); in ccdc_enable()
128 regw(CCDC_ENABLE_VIDEO_PORT, CCDC_FMTCFG); in ccdc_enable_vport()
130 regw(CCDC_DISABLE_VIDEO_PORT, CCDC_FMTCFG); in ccdc_enable_vport()
154 regw((horz_start << CCDC_HORZ_INFO_SPH_SHIFT) | horz_nr_pixels, in ccdc_setwin()
166 regw(val, CCDC_VDINT); in ccdc_setwin()
179 regw(val, CCDC_VDINT); in ccdc_setwin()
182 regw((vert_start << CCDC_VERT_START_SLV0_SHIFT) | vert_start, in ccdc_setwin()
184 regw(vert_nr_lines, CCDC_VERT_LINES); in ccdc_setwin()
330 regw(0, i); in ccdc_restore_defaults()
[all …]
Disif.c159 static inline void regw(u32 val, u32 offset) in regw() function
169 regw(new_val, offset); in reg_modify()
184 regw(0, CLAMPCFG); in isif_disable_all_modules()
186 regw(0, DFCCTL); in isif_disable_all_modules()
188 regw(0, CSCCTL); in isif_disable_all_modules()
190 regw(0, LINCFG0); in isif_disable_all_modules()
219 regw(val, CULH); in isif_config_culling()
222 regw(cul->vcpat, CULV); in isif_config_culling()
246 regw(val, CRGAIN); in isif_config_gain_offset()
250 regw(val, CGRGAIN); in isif_config_gain_offset()
[all …]
Ddm355_ccdc.c137 static inline void regw(u32 val, u32 offset) in regw() function
148 regw(temp, SYNCEN); in ccdc_enable()
157 regw(temp, SYNCEN); in ccdc_enable_output_to_sdram()
163 regw(ccdc_cfg.bayer.gain.r_ye, RYEGAIN); in ccdc_config_gain_offset()
164 regw(ccdc_cfg.bayer.gain.gr_cy, GRCYGAIN); in ccdc_config_gain_offset()
165 regw(ccdc_cfg.bayer.gain.gb_g, GBGGAIN); in ccdc_config_gain_offset()
166 regw(ccdc_cfg.bayer.gain.b_mg, BMGGAIN); in ccdc_config_gain_offset()
168 regw(ccdc_cfg.bayer.ccdc_offset, OFFSET); in ccdc_config_gain_offset()
182 regw(0, i); in ccdc_restore_defaults()
185 regw(MODESET_DEFAULT, MODESET); in ccdc_restore_defaults()
[all …]
Dvpif.c283 regw(value, vpifregs[channel_id].h_cfg); in vpif_set_mode_info()
288 regw(value, vpifregs[channel_id].v_cfg_00); in vpif_set_mode_info()
293 regw(value, vpifregs[channel_id].v_cfg_01); in vpif_set_mode_info()
298 regw(value, vpifregs[channel_id].v_cfg_02); in vpif_set_mode_info()
301 regw(value, vpifregs[channel_id].v_cfg); in vpif_set_mode_info()
353 regw(value, reg); in config_vpif_params()
357 regw((vpifparams->video_params.hpitch), in config_vpif_params()
379 regw(0x80, VPIF_REQ_SIZE); in vpif_set_video_params()
380 regw(0x01, VPIF_EMULATION_CTRL); in vpif_set_video_params()
393 regw(value, vpifregs[channel_id].vanc0_strt); in vpif_set_vbi_display_params()
[all …]
/linux-3.4.99/drivers/ide/
Dsis5513.c461 u16 regw; in init_chipset_sis5513() local
466 pci_read_config_word(dev, 0x50, &regw); in init_chipset_sis5513()
467 if (regw & 0x08) in init_chipset_sis5513()
468 pci_write_config_word(dev, 0x50, regw&0xfff7); in init_chipset_sis5513()
469 pci_read_config_word(dev, 0x52, &regw); in init_chipset_sis5513()
470 if (regw & 0x08) in init_chipset_sis5513()
471 pci_write_config_word(dev, 0x52, regw&0xfff7); in init_chipset_sis5513()
539 u16 regw = 0; in sis_cable_detect() local
541 pci_read_config_word(pdev, reg_addr, &regw); in sis_cable_detect()
542 ata66 = (regw & 0x8000) ? 0 : 1; in sis_cable_detect()
/linux-3.4.99/drivers/ata/
Dpata_sis.c656 u16 regw; in sis_fixup() local
660 pci_read_config_word(pdev, 0x50, &regw); in sis_fixup()
661 if (regw & 0x08) in sis_fixup()
662 pci_write_config_word(pdev, 0x50, regw & ~0x08); in sis_fixup()
663 pci_read_config_word(pdev, 0x52, &regw); in sis_fixup()
664 if (regw & 0x08) in sis_fixup()
665 pci_write_config_word(pdev, 0x52, regw & ~0x08); in sis_fixup()