Home
last modified time | relevance | path

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

/Linux-v6.1/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 …]
/Linux-v6.1/drivers/usb/dwc2/
Dhcd_ddma.c153 u32 hcfg; in dwc2_per_sched_enable() local
158 hcfg = dwc2_readl(hsotg, HCFG); in dwc2_per_sched_enable()
159 if (hcfg & HCFG_PERSCHEDENA) { in dwc2_per_sched_enable()
167 hcfg &= ~HCFG_FRLISTEN_MASK; in dwc2_per_sched_enable()
168 hcfg |= fr_list_en | HCFG_PERSCHEDENA; in dwc2_per_sched_enable()
170 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_per_sched_enable()
177 u32 hcfg; in dwc2_per_sched_disable() local
182 hcfg = dwc2_readl(hsotg, HCFG); in dwc2_per_sched_disable()
183 if (!(hcfg & HCFG_PERSCHEDENA)) { in dwc2_per_sched_disable()
189 hcfg &= ~HCFG_PERSCHEDENA; in dwc2_per_sched_disable()
[all …]
Dhcd_intr.c240 u32 hcfg; in dwc2_hprt0_enable() local
272 hcfg = dwc2_readl(hsotg, HCFG); in dwc2_hprt0_enable()
273 fslspclksel = (hcfg & HCFG_FSLSPCLKSEL_MASK) >> in dwc2_hprt0_enable()
283 hcfg &= ~HCFG_FSLSPCLKSEL_MASK; in dwc2_hprt0_enable()
284 hcfg |= fslspclksel << HCFG_FSLSPCLKSEL_SHIFT; in dwc2_hprt0_enable()
285 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_hprt0_enable()
294 hcfg &= ~HCFG_FSLSPCLKSEL_MASK; in dwc2_hprt0_enable()
295 hcfg |= fslspclksel << HCFG_FSLSPCLKSEL_SHIFT; in dwc2_hprt0_enable()
296 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_hprt0_enable()
375 u32 hcfg; in dwc2_port_intr() local
[all …]
Dcore.c185 dwc2_writel(hsotg, hr->hcfg, HCFG); in dwc2_restore_essential_regs()
958 u32 hcfg, val; in dwc2_init_fs_ls_pclk_sel() local
972 hcfg = dwc2_readl(hsotg, HCFG); in dwc2_init_fs_ls_pclk_sel()
973 hcfg &= ~HCFG_FSLSPCLKSEL_MASK; in dwc2_init_fs_ls_pclk_sel()
974 hcfg |= val << HCFG_FSLSPCLKSEL_SHIFT; in dwc2_init_fs_ls_pclk_sel()
975 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_init_fs_ls_pclk_sel()
Dhcd.c2131 u32 hcfg, hfir, otgctl, usbcfg; in dwc2_core_host_init() local
2154 hcfg = dwc2_readl(hsotg, HCFG); in dwc2_core_host_init()
2155 hcfg |= HCFG_FSLSSUPP; in dwc2_core_host_init()
2156 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_core_host_init()
2184 hcfg = dwc2_readl(hsotg, HCFG); in dwc2_core_host_init()
2185 hcfg |= HCFG_DESCDMA; in dwc2_core_host_init()
2186 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_core_host_init()
3592 u32 hcfg; in dwc2_hcd_hub_control() local
3596 hcfg = dwc2_readl(hsotg, HCFG); in dwc2_hcd_hub_control()
3597 hcfg |= HCFG_DESCDMA; in dwc2_hcd_hub_control()
[all …]
Dcore.h740 u32 hcfg; member
/Linux-v6.1/sound/pci/ca0106/
Dca0106_main.c725 u32 hcfg; in snd_ca0106_pcm_prepare_playback() local
789 hcfg = inl(emu->port + CA0106_HCFG) ; in snd_ca0106_pcm_prepare_playback()
790 hcfg = (hcfg & ~hcfg_mask) | hcfg_set; in snd_ca0106_pcm_prepare_playback()
791 outl(hcfg, emu->port + CA0106_HCFG); in snd_ca0106_pcm_prepare_playback()
836 u32 hcfg; in snd_ca0106_pcm_prepare_capture() local
891 hcfg = inl(emu->port + CA0106_HCFG) ; in snd_ca0106_pcm_prepare_capture()
892 hcfg = (hcfg & ~hcfg_mask) | hcfg_set; in snd_ca0106_pcm_prepare_capture()
893 outl(hcfg, emu->port + CA0106_HCFG); in snd_ca0106_pcm_prepare_capture()
/Linux-v6.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c1381 static int hclge_get_cfg(struct hclge_dev *hdev, struct hclge_cfg *hcfg) in hclge_get_cfg() argument
1408 hclge_parse_cfg(hcfg, desc); in hclge_get_cfg()