Home
last modified time | relevance | path

Searched refs:usb_irq (Results 1 – 7 of 7) sorted by relevance

/drivers/usb/gadget/udc/cdns2/
Dcdns2-debug.h15 u8 usb_irq, u8 ext_irq) in cdns2_decode_usb_irq() argument
19 ret = snprintf(str, size, "usbirq: 0x%02x - ", usb_irq); in cdns2_decode_usb_irq()
21 if (usb_irq & USBIRQ_SOF) in cdns2_decode_usb_irq()
23 if (usb_irq & USBIRQ_SUTOK) in cdns2_decode_usb_irq()
25 if (usb_irq & USBIRQ_SUDAV) in cdns2_decode_usb_irq()
27 if (usb_irq & USBIRQ_SUSPEND) in cdns2_decode_usb_irq()
29 if (usb_irq & USBIRQ_URESET) in cdns2_decode_usb_irq()
31 if (usb_irq & USBIRQ_HSPEED) in cdns2_decode_usb_irq()
33 if (usb_irq & USBIRQ_LPM) in cdns2_decode_usb_irq()
Dcdns2-trace.h155 TP_PROTO(u32 usb_irq, u32 ext_irq),
156 TP_ARGS(usb_irq, ext_irq),
158 __field(u32, usb_irq)
162 __entry->usb_irq = usb_irq;
167 __entry->usb_irq,
172 TP_PROTO(u32 usb_irq, u32 ext_irq),
173 TP_ARGS(usb_irq, ext_irq)
Dcdns2-gadget.c1211 u8 usb_irq, ext_irq; in cdns2_thread_usb_irq_handler() local
1218 usb_irq = readb(&pdev->interrupt_regs->usbirq) & USB_IEN_INIT; in cdns2_thread_usb_irq_handler()
1219 writeb(usb_irq, &pdev->interrupt_regs->usbirq); in cdns2_thread_usb_irq_handler()
1221 if (!ext_irq && !usb_irq) in cdns2_thread_usb_irq_handler()
1224 trace_cdns2_usb_irq(usb_irq, ext_irq); in cdns2_thread_usb_irq_handler()
1234 if (usb_irq & USBIRQ_LPM) { in cdns2_thread_usb_irq_handler()
1242 if (usb_irq & USBIRQ_SUSPEND) { in cdns2_thread_usb_irq_handler()
1250 if (usb_irq & USBIRQ_URESET) { in cdns2_thread_usb_irq_handler()
1279 if (usb_irq & USBIRQ_SUDAV) { in cdns2_thread_usb_irq_handler()
/drivers/usb/host/
Dfhci-hcd.c569 unsigned int usb_irq; in of_fhci_probe() local
679 usb_irq = irq_of_parse_and_map(node, 0); in of_fhci_probe()
680 if (!usb_irq) { in of_fhci_probe()
714 dev_info(dev, "at 0x%p, irq %d\n", hcd->regs, usb_irq); in of_fhci_probe()
731 ret = usb_add_hcd(hcd, usb_irq, 0); in of_fhci_probe()
743 irq_dispose_mapping(usb_irq); in of_fhci_probe()
/drivers/usb/gadget/udc/
Dfsl_qe_udc.c2568 udc->usb_irq = irq_of_parse_and_map(np, 0); in qe_udc_probe()
2569 if (!udc->usb_irq) { in qe_udc_probe()
2574 ret = request_irq(udc->usb_irq, qe_udc_irq, 0, in qe_udc_probe()
2578 udc->usb_irq, ret); in qe_udc_probe()
2594 free_irq(udc->usb_irq, udc); in qe_udc_probe()
2596 irq_dispose_mapping(udc->usb_irq); in qe_udc_probe()
2675 free_irq(udc->usb_irq, udc); in qe_udc_remove()
2676 irq_dispose_mapping(udc->usb_irq); in qe_udc_remove()
Dpxa25x_udc.h120 int usb_irq; member
Dfsl_qe_udc.h353 unsigned int usb_irq; member