Home
last modified time | relevance | path

Searched refs:hcfg (Results 1 – 5 of 5) sorted by relevance

/linux-4.1.27/drivers/usb/dwc2/
Dhcd_ddma.c167 u32 hcfg; in dwc2_per_sched_enable() local
172 hcfg = readl(hsotg->regs + HCFG); in dwc2_per_sched_enable()
173 if (hcfg & HCFG_PERSCHEDENA) { in dwc2_per_sched_enable()
181 hcfg &= ~HCFG_FRLISTEN_MASK; in dwc2_per_sched_enable()
182 hcfg |= fr_list_en | HCFG_PERSCHEDENA; in dwc2_per_sched_enable()
184 writel(hcfg, hsotg->regs + HCFG); in dwc2_per_sched_enable()
191 u32 hcfg; in dwc2_per_sched_disable() local
196 hcfg = readl(hsotg->regs + HCFG); in dwc2_per_sched_disable()
197 if (!(hcfg & HCFG_PERSCHEDENA)) { in dwc2_per_sched_disable()
203 hcfg &= ~HCFG_PERSCHEDENA; in dwc2_per_sched_disable()
[all …]
Dhcd_intr.c243 u32 hcfg; in dwc2_hprt0_enable() local
275 hcfg = readl(hsotg->regs + HCFG); in dwc2_hprt0_enable()
276 fslspclksel = (hcfg & HCFG_FSLSPCLKSEL_MASK) >> in dwc2_hprt0_enable()
287 hcfg &= ~HCFG_FSLSPCLKSEL_MASK; in dwc2_hprt0_enable()
288 hcfg |= fslspclksel << HCFG_FSLSPCLKSEL_SHIFT; in dwc2_hprt0_enable()
289 writel(hcfg, hsotg->regs + HCFG); in dwc2_hprt0_enable()
298 hcfg &= ~HCFG_FSLSPCLKSEL_MASK; in dwc2_hprt0_enable()
299 hcfg |= fslspclksel << HCFG_FSLSPCLKSEL_SHIFT; in dwc2_hprt0_enable()
300 writel(hcfg, hsotg->regs + HCFG); in dwc2_hprt0_enable()
Dcore.c93 u32 hcfg, val; in dwc2_init_fs_ls_pclk_sel() local
107 hcfg = readl(hsotg->regs + HCFG); in dwc2_init_fs_ls_pclk_sel()
108 hcfg &= ~HCFG_FSLSPCLKSEL_MASK; in dwc2_init_fs_ls_pclk_sel()
109 hcfg |= val << HCFG_FSLSPCLKSEL_SHIFT; in dwc2_init_fs_ls_pclk_sel()
110 writel(hcfg, hsotg->regs + HCFG); in dwc2_init_fs_ls_pclk_sel()
655 u32 hcfg, hfir, otgctl; in dwc2_core_host_init() local
665 hcfg = readl(hsotg->regs + HCFG); in dwc2_core_host_init()
666 hcfg |= HCFG_FSLSSUPP; in dwc2_core_host_init()
667 writel(hcfg, hsotg->regs + HCFG); in dwc2_core_host_init()
694 hcfg = readl(hsotg->regs + HCFG); in dwc2_core_host_init()
[all …]
Dhcd.c2791 u32 hcfg; in dwc2_hcd_init() local
2808 hcfg = readl(hsotg->regs + HCFG); in dwc2_hcd_init()
2809 dev_dbg(hsotg->dev, "hcfg=%08x\n", hcfg); in dwc2_hcd_init()
/linux-4.1.27/sound/pci/ca0106/
Dca0106_main.c765 u32 hcfg; in snd_ca0106_pcm_prepare_playback() local
829 hcfg = inl(emu->port + HCFG) ; in snd_ca0106_pcm_prepare_playback()
830 hcfg = (hcfg & ~hcfg_mask) | hcfg_set; in snd_ca0106_pcm_prepare_playback()
831 outl(hcfg, emu->port + HCFG); in snd_ca0106_pcm_prepare_playback()
876 u32 hcfg; in snd_ca0106_pcm_prepare_capture() local
931 hcfg = inl(emu->port + HCFG) ; in snd_ca0106_pcm_prepare_capture()
932 hcfg = (hcfg & ~hcfg_mask) | hcfg_set; in snd_ca0106_pcm_prepare_capture()
933 outl(hcfg, emu->port + HCFG); in snd_ca0106_pcm_prepare_capture()