Lines Matching +full:big +full:- +full:endian +full:- +full:regs

1 // SPDX-License-Identifier: GPL-2.0
9 * (C) Copyright 1999-2002 Johannes Erdfelt, johannes@erdfelt.com
16 * support from usb-ohci.c by Adam Richter, adam@yggdrasil.com).
17 * (C) Copyright 1999 Gregory P. Smith (from usb-ohci.c)
18 * (C) Copyright 2004-2007 Alan Stern, stern@rowland.harvard.edu
34 * with bit 7 (0x80) turned on then the current little-endian in uhci_grlib_init()
36 * byte-swapped; hence the register interface and presumably in uhci_grlib_init()
37 * also the descriptors are big-endian. in uhci_grlib_init()
40 uhci->big_endian_mmio = 1; in uhci_grlib_init()
41 uhci->big_endian_desc = 1; in uhci_grlib_init()
44 uhci->rh_numports = uhci_count_ports(hcd); in uhci_grlib_init()
47 uhci->reset_hc = uhci_generic_reset_hc; in uhci_grlib_init()
48 uhci->check_and_reset_hc = uhci_generic_check_and_reset_hc; in uhci_grlib_init()
50 uhci->configure_hc = NULL; in uhci_grlib_init()
51 uhci->resume_detect_interrupts_are_broken = NULL; in uhci_grlib_init()
52 uhci->global_suspend_mode_is_broken = NULL; in uhci_grlib_init()
92 struct device_node *dn = op->dev.of_node; in uhci_hcd_grlib_probe()
100 return -ENODEV; in uhci_hcd_grlib_probe()
102 dev_dbg(&op->dev, "initializing GRUSBHC UHCI USB Controller\n"); in uhci_hcd_grlib_probe()
109 op->dev.dma_mask = &op->dev.coherent_dma_mask; in uhci_hcd_grlib_probe()
110 hcd = usb_create_hcd(&uhci_grlib_hc_driver, &op->dev, in uhci_hcd_grlib_probe()
113 return -ENOMEM; in uhci_hcd_grlib_probe()
115 hcd->rsrc_start = res.start; in uhci_hcd_grlib_probe()
116 hcd->rsrc_len = resource_size(&res); in uhci_hcd_grlib_probe()
121 rv = -EBUSY; in uhci_hcd_grlib_probe()
125 hcd->regs = devm_ioremap_resource(&op->dev, &res); in uhci_hcd_grlib_probe()
126 if (IS_ERR(hcd->regs)) { in uhci_hcd_grlib_probe()
127 rv = PTR_ERR(hcd->regs); in uhci_hcd_grlib_probe()
133 uhci->regs = hcd->regs; in uhci_hcd_grlib_probe()
139 device_wakeup_enable(hcd->self.controller); in uhci_hcd_grlib_probe()
154 dev_dbg(&op->dev, "stopping GRLIB GRUSBHC UHCI USB Controller\n"); in uhci_hcd_grlib_remove()
158 irq_dispose_mapping(hcd->irq); in uhci_hcd_grlib_remove()
189 .name = "grlib-uhci",