Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/mmc/host/
Dbcm2835.c164 u32 hcfg; member
267 writel(host->hcfg, host->ioaddr + SDHCFG); in bcm2835_reset_internal()
533 host->hcfg = (host->hcfg & ~all_irqs) | in bcm2835_set_transfer_irqs()
536 host->hcfg = (host->hcfg & ~all_irqs) | in bcm2835_set_transfer_irqs()
541 writel(host->hcfg, host->ioaddr + SDHCFG); in bcm2835_set_transfer_irqs()
723 host->hcfg &= ~(SDHCFG_DATA_IRPT_EN | SDHCFG_BLOCK_IRPT_EN); in bcm2835_finish_data()
724 writel(host->hcfg, host->ioaddr + SDHCFG); in bcm2835_finish_data()
931 host->hcfg &= ~(SDHCFG_DATA_IRPT_EN); in bcm2835_data_irq()
932 host->hcfg |= SDHCFG_BLOCK_IRPT_EN; in bcm2835_data_irq()
933 writel(host->hcfg, host->ioaddr + SDHCFG); in bcm2835_data_irq()
[all …]
/kernel/linux/linux-5.10/drivers/usb/dwc2/
Dhcd_ddma.c183 u32 hcfg; in dwc2_per_sched_enable() local
188 hcfg = dwc2_readl(hsotg, HCFG); in dwc2_per_sched_enable()
189 if (hcfg & HCFG_PERSCHEDENA) { in dwc2_per_sched_enable()
197 hcfg &= ~HCFG_FRLISTEN_MASK; in dwc2_per_sched_enable()
198 hcfg |= fr_list_en | HCFG_PERSCHEDENA; in dwc2_per_sched_enable()
200 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_per_sched_enable()
207 u32 hcfg; in dwc2_per_sched_disable() local
212 hcfg = dwc2_readl(hsotg, HCFG); in dwc2_per_sched_disable()
213 if (!(hcfg & HCFG_PERSCHEDENA)) { in dwc2_per_sched_disable()
219 hcfg &= ~HCFG_PERSCHEDENA; in dwc2_per_sched_disable()
[all …]
Dhcd_intr.c270 u32 hcfg; in dwc2_hprt0_enable() local
302 hcfg = dwc2_readl(hsotg, HCFG); in dwc2_hprt0_enable()
303 fslspclksel = (hcfg & HCFG_FSLSPCLKSEL_MASK) >> in dwc2_hprt0_enable()
313 hcfg &= ~HCFG_FSLSPCLKSEL_MASK; in dwc2_hprt0_enable()
314 hcfg |= fslspclksel << HCFG_FSLSPCLKSEL_SHIFT; in dwc2_hprt0_enable()
315 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_hprt0_enable()
324 hcfg &= ~HCFG_FSLSPCLKSEL_MASK; in dwc2_hprt0_enable()
325 hcfg |= fslspclksel << HCFG_FSLSPCLKSEL_SHIFT; in dwc2_hprt0_enable()
326 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_hprt0_enable()
405 u32 hcfg; in dwc2_port_intr() local
[all …]
Dcore.c290 dwc2_writel(hsotg, hr->hcfg, HCFG); in dwc2_restore_essential_regs()
1044 u32 hcfg, val; in dwc2_init_fs_ls_pclk_sel() local
1058 hcfg = dwc2_readl(hsotg, HCFG); in dwc2_init_fs_ls_pclk_sel()
1059 hcfg &= ~HCFG_FSLSPCLKSEL_MASK; in dwc2_init_fs_ls_pclk_sel()
1060 hcfg |= val << HCFG_FSLSPCLKSEL_SHIFT; in dwc2_init_fs_ls_pclk_sel()
1061 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_init_fs_ls_pclk_sel()
Dhcd.c2166 u32 hcfg, hfir, otgctl, usbcfg; in dwc2_core_host_init() local
2189 hcfg = dwc2_readl(hsotg, HCFG); in dwc2_core_host_init()
2190 hcfg |= HCFG_FSLSSUPP; in dwc2_core_host_init()
2191 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_core_host_init()
2219 hcfg = dwc2_readl(hsotg, HCFG); in dwc2_core_host_init()
2220 hcfg |= HCFG_DESCDMA; in dwc2_core_host_init()
2221 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_core_host_init()
3590 u32 hcfg; in dwc2_hcd_hub_control() local
3594 hcfg = dwc2_readl(hsotg, HCFG); in dwc2_hcd_hub_control()
3595 hcfg |= HCFG_DESCDMA; in dwc2_hcd_hub_control()
[all …]
Dcore.h759 u32 hcfg; member
/kernel/linux/linux-5.10/sound/pci/ca0106/
Dca0106_main.c722 u32 hcfg; in snd_ca0106_pcm_prepare_playback() local
786 hcfg = inl(emu->port + HCFG) ; in snd_ca0106_pcm_prepare_playback()
787 hcfg = (hcfg & ~hcfg_mask) | hcfg_set; in snd_ca0106_pcm_prepare_playback()
788 outl(hcfg, emu->port + HCFG); in snd_ca0106_pcm_prepare_playback()
833 u32 hcfg; in snd_ca0106_pcm_prepare_capture() local
888 hcfg = inl(emu->port + HCFG) ; in snd_ca0106_pcm_prepare_capture()
889 hcfg = (hcfg & ~hcfg_mask) | hcfg_set; in snd_ca0106_pcm_prepare_capture()
890 outl(hcfg, emu->port + HCFG); in snd_ca0106_pcm_prepare_capture()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c1328 static int hclge_get_cfg(struct hclge_dev *hdev, struct hclge_cfg *hcfg) in hclge_get_cfg() argument
1355 hclge_parse_cfg(hcfg, desc); in hclge_get_cfg()