Searched refs:gctl (Results 1 – 5 of 5) sorted by relevance
/freebsd/sys/dev/usb/controller/dwc3/ |
H A D | dwc3.c | 234 uint32_t gctl, ghwp0, phy2, phy3; in snps_dwc3_reset() local 238 gctl = DWC3_READ(sc, DWC3_GCTL); in snps_dwc3_reset() 239 gctl |= DWC3_GCTL_CORESOFTRESET; in snps_dwc3_reset() 240 DWC3_WRITE(sc, DWC3_GCTL, gctl); in snps_dwc3_reset() 264 gctl &= ~DWC3_GCTL_CORESOFTRESET; in snps_dwc3_reset() 265 DWC3_WRITE(sc, DWC3_GCTL, gctl); in snps_dwc3_reset()
|
/freebsd/sys/dev/sound/pci/hda/ |
H A D | hdac.c | 436 uint32_t gctl; in hdac_reset() 465 gctl = HDAC_READ_4(&sc->mem, HDAC_GCTL); in hdac_reset() 466 HDAC_WRITE_4(&sc->mem, HDAC_GCTL, gctl & ~HDAC_GCTL_CRST); in hdac_reset() 469 gctl = HDAC_READ_4(&sc->mem, HDAC_GCTL); in hdac_reset() 470 if (!(gctl & HDAC_GCTL_CRST)) in hdac_reset() 474 if (gctl & HDAC_GCTL_CRST) { in hdac_reset() 484 gctl = HDAC_READ_4(&sc->mem, HDAC_GCTL); in hdac_reset() 485 HDAC_WRITE_4(&sc->mem, HDAC_GCTL, gctl | HDAC_GCTL_CRST); in hdac_reset() 488 gctl = HDAC_READ_4(&sc->mem, HDAC_GCTL); in hdac_reset() 489 if (gctl in hdac_reset() 435 uint32_t gctl; hdac_reset() local [all...] |
/freebsd/sys/dev/siis/ |
H A D | siis.c | 155 ctlr->gctl = ATA_INL(ctlr->r_gmem, SIIS_GCTL); in siis_attach() 235 ctlr->gctl |= SIIS_GCTL_GRESET; in siis_suspend() 236 ATA_OUTL(ctlr->r_gmem, SIIS_GCTL, ctlr->gctl); in siis_suspend() 249 ctlr->gctl |= SIIS_GCTL_GRESET; in siis_resume() 250 ATA_OUTL(ctlr->r_gmem, SIIS_GCTL, ctlr->gctl); in siis_resume() 253 ctlr->gctl &= ~(SIIS_GCTL_GRESET | SIIS_GCTL_I2C_IE); in siis_resume() 254 ctlr->gctl |= 0x0000000f; in siis_resume() 255 ATA_OUTL(ctlr->r_gmem, SIIS_GCTL, ctlr->gctl); in siis_resume() 312 ctlr->gctl | SIIS_GCTL_MSIACK); in siis_intr()
|
H A D | siis.h | 410 uint32_t gctl; member
|
/freebsd/sys/contrib/device-tree/src/arm64/hisilicon/ |
H A D | hi3660-hikey960.dts | 681 snps,gctl-reset-quirk;
|