Lines Matching refs:uhcrhda
124 uint32_t uhcrhda = __raw_readl(ohci->mmio_base + UHCRHDA); in pxa27x_ohci_select_pmm() local
129 uhcrhda |= RH_A_NPS; in pxa27x_ohci_select_pmm()
132 uhcrhda &= ~(RH_A_NPS & RH_A_PSM); in pxa27x_ohci_select_pmm()
135 uhcrhda &= ~(RH_A_NPS); in pxa27x_ohci_select_pmm()
136 uhcrhda |= RH_A_PSM; in pxa27x_ohci_select_pmm()
146 uhcrhda |= RH_A_NPS; in pxa27x_ohci_select_pmm()
149 __raw_writel(uhcrhda, ohci->mmio_base + UHCRHDA); in pxa27x_ohci_select_pmm()
162 uint32_t uhcrhda = __raw_readl(ohci->mmio_base + UHCRHDA); in pxa27x_setup_hc() local
180 uhcrhda |= UHCRHDA_NOCP; in pxa27x_setup_hc()
182 uhcrhda &= ~UHCRHDA_NOCP; in pxa27x_setup_hc()
185 uhcrhda |= UHCRHDA_OCPM; in pxa27x_setup_hc()
187 uhcrhda &= ~UHCRHDA_OCPM; in pxa27x_setup_hc()
190 uhcrhda &= ~UHCRHDA_POTPGT(0xff); in pxa27x_setup_hc()
191 uhcrhda |= UHCRHDA_POTPGT(inf->power_on_delay / 2); in pxa27x_setup_hc()
195 __raw_writel(uhcrhda, ohci->mmio_base + UHCRHDA); in pxa27x_setup_hc()