/kernel/linux/linux-6.6/drivers/usb/chipidea/ |
H A D | core.c | 539 if (ci->is_otg) { in ci_irq_handler() 552 if (ci->is_otg && (otgsc & OTGSC_IDIE) && (otgsc & OTGSC_IDIS)) { in ci_irq_handler() 564 if (ci->is_otg && (otgsc & OTGSC_BSVIE) && (otgsc & OTGSC_BSVIS)) { in ci_irq_handler() 652 if (ci->is_otg) { in ci_get_role() 872 if (ci->is_otg && hw_read_otgsc(ci, OTGSC_BSV)) in ci_power_lost_work() 967 if (ci->is_otg && ci->roles[CI_ROLE_GADGET]) in ci_role_destroy() 974 ci->is_otg = false; in ci_get_otg_capable() 976 ci->is_otg = (hw_read(ci, CAP_DCCPARAMS, in ci_get_otg_capable() 979 if (ci->is_otg) { in ci_get_otg_capable() 1183 if (ci->is_otg in ci_hdrc_probe() [all...] |
H A D | ci.h | 172 * @is_otg: if the device is otg-capable 221 bool is_otg; member 464 return ci->is_otg && ci->roles[CI_ROLE_HOST] && in ci_otg_is_fsm_mode()
|
H A D | debug.c | 31 seq_printf(s, "is_otg = %d\n", gadget->is_otg); in ci_device_show() 274 if (ci->is_otg) { in ci_registers_show()
|
H A D | otg.c | 133 if (!ci->is_otg) in ci_handle_vbus_change()
|
H A D | udc.c | 2104 if (ci->is_otg && (otg_caps->hnp_support || otg_caps->srp_support || in udc_start() 2106 ci->gadget.is_otg = 1; in udc_start() 2170 if (ci->is_otg) in udc_id_switch_for_device() 2184 if (ci->is_otg) in udc_id_switch_for_host() 2209 if (ci->is_otg) in udc_resume()
|
/kernel/linux/linux-5.10/drivers/usb/chipidea/ |
H A D | core.c | 532 if (ci->is_otg) { in ci_irq_handler() 545 if (ci->is_otg && (otgsc & OTGSC_IDIE) && (otgsc & OTGSC_IDIS)) { in ci_irq_handler() 557 if (ci->is_otg && (otgsc & OTGSC_BSVIE) && (otgsc & OTGSC_BSVIS)) { in ci_irq_handler() 928 if (ci->is_otg && ci->roles[CI_ROLE_GADGET]) in ci_role_destroy() 935 ci->is_otg = false; in ci_get_otg_capable() 937 ci->is_otg = (hw_read(ci, CAP_DCCPARAMS, in ci_get_otg_capable() 940 if (ci->is_otg) { in ci_get_otg_capable() 1141 if (ci->is_otg && ci->roles[CI_ROLE_GADGET]) { in ci_hdrc_probe() 1160 if (ci->is_otg) { in ci_hdrc_probe() 1223 if (ci->is_otg in ci_hdrc_probe() [all...] |
H A D | ci.h | 167 * @is_otg: if the device is otg-capable 216 bool is_otg; member 444 return ci->is_otg && ci->roles[CI_ROLE_HOST] && in ci_otg_is_fsm_mode()
|
H A D | otg.c | 133 if (!ci->is_otg) in ci_handle_vbus_change()
|
H A D | debug.c | 31 seq_printf(s, "is_otg = %d\n", gadget->is_otg); in ci_device_show() 328 if (ci->is_otg) { in ci_registers_show()
|
H A D | udc.c | 2066 if (ci->is_otg && (otg_caps->hnp_support || otg_caps->srp_support || in udc_start() 2068 ci->gadget.is_otg = 1; in udc_start() 2132 if (ci->is_otg) in udc_id_switch_for_device() 2146 if (ci->is_otg) in udc_id_switch_for_host()
|
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/ |
H A D | trace.h | 29 __field(unsigned, is_otg) 50 __entry->is_otg = g->is_otg; 68 __entry->is_otg ? "OTG:" : "",
|
H A D | core.c | 1625 static USB_UDC_ATTR(is_otg);
|
H A D | fsl_udc_core.c | 386 if (udc->gadget.is_otg) { in dr_controller_stop() 2487 udc_controller->gadget.is_otg = 1; in fsl_udc_probe()
|
H A D | s3c-hsudc.c | 1258 hsudc->gadget.is_otg = 0; in s3c_hsudc_probe()
|
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/ |
H A D | trace.h | 29 __field(unsigned, is_otg) 50 __entry->is_otg = g->is_otg; 68 __entry->is_otg ? "OTG:" : "",
|
H A D | fsl_udc_core.c | 382 if (udc->gadget.is_otg) { in dr_controller_stop() 2472 udc_controller->gadget.is_otg = 1; in fsl_udc_probe()
|
H A D | core.c | 1811 static USB_UDC_ATTR(is_otg);
|
/kernel/linux/linux-5.10/drivers/usb/musb/ |
H A D | musb_gadget_ep0.c | 65 if (musb->g.is_otg) { in service_tx_status_request() 368 if (!musb->g.is_otg) 374 if (!musb->g.is_otg) 379 if (!musb->g.is_otg)
|
H A D | musb_gadget.c | 1793 musb->g.is_otg = 0; in musb_gadget_setup() 2077 if (!musb->g.is_otg) {
|
/kernel/linux/linux-6.6/drivers/usb/musb/ |
H A D | musb_gadget_ep0.c | 65 if (musb->g.is_otg) { in service_tx_status_request() 368 if (!musb->g.is_otg) 374 if (!musb->g.is_otg) 379 if (!musb->g.is_otg)
|
H A D | musb_gadget.c | 1795 musb->g.is_otg = 0; in musb_gadget_setup() 2084 if (!musb->g.is_otg) {
|
/kernel/linux/linux-5.10/include/linux/usb/ |
H A D | gadget.h | 353 * @is_otg: True if the USB device port uses a Mini-AB jack, so that the 355 * @is_a_peripheral: False unless is_otg, the "A" end of a USB cable 398 * driver suspend() calls. They are valid only when is_otg, and when the 420 unsigned is_otg:1; member 580 return g->is_otg; in gadget_is_otg() 663 * If gadget->is_otg is true, the gadget driver must provide an OTG
|
/kernel/linux/linux-6.6/include/linux/usb/ |
H A D | gadget.h | 361 * @is_otg: True if the USB device port uses a Mini-AB jack, so that the 363 * @is_a_peripheral: False unless is_otg, the "A" end of a USB cable 409 * driver suspend() calls. They are valid only when is_otg, and when the 436 unsigned is_otg:1; member 599 return g->is_otg; in gadget_is_otg() 685 * If gadget->is_otg is true, the gadget driver must provide an OTG
|
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | oxu210hp-hcd.c | 404 unsigned int is_otg:1; member 2967 if ((oxu->is_otg && (status & OXU_USBOTGI)) || in oxu_irq() 2968 (!oxu->is_otg && (status & OXU_USBSPHI))) in oxu_irq() 3093 if (oxu->is_otg) { in oxu_reset() 4153 oxu->is_otg = otg; in oxu_create()
|
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | oxu210hp-hcd.c | 404 unsigned int is_otg:1; member 2968 if ((oxu->is_otg && (status & OXU_USBOTGI)) || in oxu_irq() 2969 (!oxu->is_otg && (status & OXU_USBSPHI))) in oxu_irq() 3094 if (oxu->is_otg) { in oxu_reset() 4154 oxu->is_otg = otg; in oxu_create()
|