Searched refs:hcfg (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/drivers/usb/dwc2/
H A Dhcd_ddma.c167 u32 hcfg; dwc2_per_sched_enable() local
172 hcfg = dwc2_readl(hsotg->regs + HCFG); dwc2_per_sched_enable()
173 if (hcfg & HCFG_PERSCHEDENA) { dwc2_per_sched_enable()
181 hcfg &= ~HCFG_FRLISTEN_MASK; dwc2_per_sched_enable()
182 hcfg |= fr_list_en | HCFG_PERSCHEDENA; dwc2_per_sched_enable()
184 dwc2_writel(hcfg, hsotg->regs + HCFG); dwc2_per_sched_enable()
191 u32 hcfg; dwc2_per_sched_disable() local
196 hcfg = dwc2_readl(hsotg->regs + HCFG); dwc2_per_sched_disable()
197 if (!(hcfg & HCFG_PERSCHEDENA)) { dwc2_per_sched_disable()
203 hcfg &= ~HCFG_PERSCHEDENA; dwc2_per_sched_disable()
205 dwc2_writel(hcfg, hsotg->regs + HCFG); dwc2_per_sched_disable()
H A Dcore.c76 hr->hcfg = dwc2_readl(hsotg->regs + HCFG); dwc2_backup_host_registers()
111 dwc2_writel(hr->hcfg, hsotg->regs + HCFG); dwc2_restore_host_registers()
460 u32 hcfg, val; dwc2_init_fs_ls_pclk_sel() local
474 hcfg = dwc2_readl(hsotg->regs + HCFG); dwc2_init_fs_ls_pclk_sel()
475 hcfg &= ~HCFG_FSLSPCLKSEL_MASK; dwc2_init_fs_ls_pclk_sel()
476 hcfg |= val << HCFG_FSLSPCLKSEL_SHIFT; dwc2_init_fs_ls_pclk_sel()
477 dwc2_writel(hcfg, hsotg->regs + HCFG); dwc2_init_fs_ls_pclk_sel()
1023 u32 hcfg, hfir, otgctl; dwc2_core_host_init() local
1033 hcfg = dwc2_readl(hsotg->regs + HCFG); dwc2_core_host_init()
1034 hcfg |= HCFG_FSLSSUPP; dwc2_core_host_init()
1035 dwc2_writel(hcfg, hsotg->regs + HCFG); dwc2_core_host_init()
1062 hcfg = dwc2_readl(hsotg->regs + HCFG); dwc2_core_host_init()
1063 hcfg |= HCFG_DESCDMA; dwc2_core_host_init()
1064 dwc2_writel(hcfg, hsotg->regs + HCFG); dwc2_core_host_init()
H A Dhcd_intr.c243 u32 hcfg; dwc2_hprt0_enable() local
275 hcfg = dwc2_readl(hsotg->regs + HCFG); dwc2_hprt0_enable()
276 fslspclksel = (hcfg & HCFG_FSLSPCLKSEL_MASK) >> dwc2_hprt0_enable()
287 hcfg &= ~HCFG_FSLSPCLKSEL_MASK; dwc2_hprt0_enable()
288 hcfg |= fslspclksel << HCFG_FSLSPCLKSEL_SHIFT; dwc2_hprt0_enable()
289 dwc2_writel(hcfg, hsotg->regs + HCFG); dwc2_hprt0_enable()
298 hcfg &= ~HCFG_FSLSPCLKSEL_MASK; dwc2_hprt0_enable()
299 hcfg |= fslspclksel << HCFG_FSLSPCLKSEL_SHIFT; dwc2_hprt0_enable()
300 dwc2_writel(hcfg, hsotg->regs + HCFG); dwc2_hprt0_enable()
H A Dhcd.c2994 u32 hcfg; dwc2_hcd_init() local
3005 hcfg = dwc2_readl(hsotg->regs + HCFG); dwc2_hcd_init()
3006 dev_dbg(hsotg->dev, "hcfg=%08x\n", hcfg); dwc2_hcd_init()
H A Dcore.h548 * @hcfg: Backup of HCFG register
555 u32 hcfg; member in struct:dwc2_hregs_backup
/linux-4.4.14/sound/pci/ca0106/
H A Dca0106_main.c765 u32 hcfg; snd_ca0106_pcm_prepare_playback() local
829 hcfg = inl(emu->port + HCFG) ; snd_ca0106_pcm_prepare_playback()
830 hcfg = (hcfg & ~hcfg_mask) | hcfg_set; snd_ca0106_pcm_prepare_playback()
831 outl(hcfg, emu->port + HCFG); snd_ca0106_pcm_prepare_playback()
876 u32 hcfg; snd_ca0106_pcm_prepare_capture() local
931 hcfg = inl(emu->port + HCFG) ; snd_ca0106_pcm_prepare_capture()
932 hcfg = (hcfg & ~hcfg_mask) | hcfg_set; snd_ca0106_pcm_prepare_capture()
933 outl(hcfg, emu->port + HCFG); snd_ca0106_pcm_prepare_capture()

Completed in 187 milliseconds