Searched refs:edev (Results 1 - 7 of 7) sorted by relevance

/seL4-camkes-master/projects/projects_libs/libusbdrivers/src/ehci/
H A Dhcd.c22 struct ehci_host edev; member in struct:usb_hc_data
37 return &hc_data->edev;
40 static void _root_irq(struct ehci_host *edev) argument
48 nports = EHCI_HCS_N_PORTS(edev->cap_regs->hcsparams);
49 if (nports > edev->irq_xact.len * 8) {
50 nports = edev->irq_xact.len * 8;
53 if (!edev->irq_xact.vaddr || !edev->irq_cb) {
56 psc = _get_portsc(edev, 1);
57 portbm = xact_get_vaddr(&edev
76 ehci_sched_enable_irq(struct ehci_host *edev) argument
85 ehci_sched_disable_irq(struct ehci_host *edev) argument
101 struct ehci_host *edev; local
193 struct ehci_host *edev = _hcd_to_ehci(hdev); local
242 struct ehci_host *edev = _hcd_to_ehci(hdev); local
267 struct ehci_host *edev; local
[all...]
H A Dperiodic.c22 void ehci_add_qhn_periodic(struct ehci_host *edev, struct QHn *qhn) argument
27 if (!edev->flist) {
29 edev->flist_size = 1024;
30 edev->flist = ps_dma_alloc_pinned(edev->dman,
31 edev->flist_size * sizeof(uint32_t*), 0x1000, 0,
32 PS_MEM_NORMAL, &edev->pflist);
33 if (!edev->flist) {
38 for (int i = 0; i < edev->flist_size; i++) {
39 edev
103 ehci_del_qhn_periodic(struct ehci_host *edev, struct QHn *qhn) argument
156 ehci_schedule_periodic_root(struct ehci_host *edev, struct xact *xact, int nxact, usb_cb_t cb, void *t) argument
180 ehci_schedule_periodic(struct ehci_host *edev) argument
198 ehci_periodic_complete(struct ehci_host *edev) argument
[all...]
H A Dhub.c31 struct ehci_host *edev = (struct ehci_host *)token; local
32 volatile uint32_t *ps_reg = _get_portsc(edev, port);
40 if (edev->board_pwren) {
41 edev->board_pwren(port, 1);
47 if ((edev->op_regs->usbsts & EHCISTS_HCHALTED) != 0) {
50 edev->bmreset_c = BIT(port);
82 struct ehci_host *edev = (struct ehci_host *)token; local
83 volatile uint32_t *ps_reg = _get_portsc(edev, port);
103 edev->bmreset_c &= ~BIT(port);
107 if (edev
137 struct ehci_host *edev = (struct ehci_host *)token; local
[all...]
H A Dasync.c70 qtd_alloc(struct ehci_host *edev, enum usb_speed speed, struct endpoint *ep, argument
90 tdn->td = ps_dma_alloc_pinned(edev->dman, sizeof(*tdn->td), 32, 0,
180 tdn->td = ps_dma_alloc_pinned(edev->dman, sizeof(*tdn->td),
237 qhn_alloc(struct ehci_host *edev, uint8_t address, uint8_t hub_addr, argument
249 qhn->qh = ps_dma_alloc_pinned(edev->dman, sizeof(*qh), 32, 0,
356 qtd_enqueue(struct ehci_host *edev, struct QHn *qhn, struct TDn *tdn) argument
369 ps_mutex_lock(edev->sync, qhn->lock);
386 ps_mutex_unlock(edev->sync, qhn->lock);
419 void ehci_async_complete(struct ehci_host *edev) argument
425 qhn = edev
480 ehci_add_qhn_async(struct ehci_host *edev, struct QHn *qhn) argument
502 ehci_del_qhn_async(struct ehci_host *edev, struct QHn *qhn) argument
602 ehci_schedule_async(struct ehci_host* edev, struct QHn* qhn) argument
617 check_doorbell(struct ehci_host* edev) argument
[all...]
H A Dehci.h270 void ehci_schedule_async(struct ehci_host *edev, struct QHn *qh_new);
273 void check_doorbell(struct ehci_host *edev);
276 struct QHn *qhn_alloc(struct ehci_host *edev, uint8_t address, uint8_t hub_addr,
279 struct TDn *qtd_alloc(struct ehci_host *edev, enum usb_speed speed,
283 void qtd_enqueue(struct ehci_host *edev, struct QHn *qhn, struct TDn *tdn);
284 void ehci_add_qhn_async(struct ehci_host *edev, struct QHn *qhn);
285 void ehci_add_qhn_periodic(struct ehci_host *edev, struct QHn *qhn);
286 void ehci_del_qhn_async(struct ehci_host *edev, struct QHn *qhn);
287 void ehci_del_qhn_periodic(struct ehci_host *edev, struct QHn *qhn);
288 void ehci_async_complete(struct ehci_host *edev);
[all...]
H A Ddebug.c191 void UNUSED dump_edev(struct ehci_host *edev) argument
194 sts = edev->op_regs->usbsts;
195 cmd = edev->op_regs->usbcmd;
196 intr = edev->op_regs->usbintr;
260 printf(" * Frame index: 0x%x\n", edev->op_regs->frindex);
261 printf(" * periodic base: 0x%x\n", edev->op_regs->periodiclistbase);
262 printf(" * async base: 0x%x\n", edev->op_regs->asynclistaddr);
/seL4-camkes-master/projects/util_libs/libethdrivers/src/plat/imx6/uboot/
H A Dfec_mxc.c93 struct eth_device *edev; local
98 /* create and fill edev struct */
99 edev = &_eth;
100 memset(edev, 0, sizeof(*edev));
102 edev->priv = (void *)enet;
103 edev->write_hwaddr = NULL;
113 strcpy(bus->name, edev->name);
121 phydev = phy_connect_by_mask(bus, phy_mask, edev, PHY_INTERFACE_MODE_RGMII);

Completed in 87 milliseconds