Searched refs:usb_state (Results 1 – 15 of 15) sorted by relevance
/linux-6.12.1/drivers/staging/gdm724x/ |
D | gdm_mux.c | 257 if (mux_dev->usb_state == PM_NORMAL) in gdm_mux_rcv_complete() 354 if (mux_dev->usb_state == PM_SUSPEND) { in gdm_mux_send() 544 mux_dev->usb_state = PM_NORMAL; in gdm_mux_probe() 595 if (mux_dev->usb_state != PM_NORMAL) { in gdm_mux_suspend() 600 mux_dev->usb_state = PM_SUSPEND; in gdm_mux_suspend() 623 if (mux_dev->usb_state != PM_SUSPEND) { in gdm_mux_resume() 628 mux_dev->usb_state = PM_NORMAL; in gdm_mux_resume()
|
D | gdm_usb.c | 312 udev->usb_state = PM_NORMAL; in init_usb() 473 if (urb->status && udev->usb_state == PM_NORMAL) in gdm_usb_rcv_complete() 652 if (udev->usb_state == PM_SUSPEND) in do_tx() 917 if (udev->usb_state != PM_NORMAL) { in gdm_usb_suspend() 922 udev->usb_state = PM_SUSPEND; in gdm_usb_suspend() 953 if (udev->usb_state != PM_SUSPEND) { in gdm_usb_resume() 957 udev->usb_state = PM_NORMAL; in gdm_usb_resume()
|
D | gdm_mux.h | 75 int usb_state; member
|
D | gdm_usb.h | 95 int usb_state; member
|
/linux-6.12.1/drivers/power/supply/ |
D | ab8500_charger.c | 297 struct ab8500_charger_usb_state usb_state; member 1108 switch (di->usb_state.usb_current_ua) { in ab8500_charger_get_usb_cur() 1296 if (di->usb_state.usb_current_ua >= 0) in ab8500_charger_set_vbus_in_curr() 1297 min_value = min(di->usb_state.usb_current_ua, min_value); in ab8500_charger_set_vbus_in_curr() 2420 spin_lock_irqsave(&di->usb_state.usb_lock, flags); in ab8500_charger_usb_state_changed_work() 2421 di->usb_state.state = di->usb_state.state_tmp; in ab8500_charger_usb_state_changed_work() 2422 di->usb_state.usb_current_ua = di->usb_state.usb_current_tmp_ua; in ab8500_charger_usb_state_changed_work() 2423 spin_unlock_irqrestore(&di->usb_state.usb_lock, flags); in ab8500_charger_usb_state_changed_work() 2426 __func__, di->usb_state.state, di->usb_state.usb_current_ua); in ab8500_charger_usb_state_changed_work() 2428 switch (di->usb_state.state) { in ab8500_charger_usb_state_changed_work() [all …]
|
D | rt9467-charger.c | 997 RT9467_IRQ_DESC(attach, usb_state, RT9467_IRQ_ATTACH), in rt9467_request_interrupt() 998 RT9467_IRQ_DESC(detach, usb_state, RT9467_IRQ_DETACH), in rt9467_request_interrupt()
|
/linux-6.12.1/drivers/usb/gadget/udc/ |
D | mv_udc_core.c | 1364 udc->usb_state = USB_STATE_ATTACHED; in mv_udc_start() 1519 udc->usb_state = USB_STATE_ADDRESS; in ch9setaddress() 1620 if (udc->usb_state != USB_STATE_CONFIGURED in ch9setfeature() 1621 && udc->usb_state != USB_STATE_ADDRESS in ch9setfeature() 1622 && udc->usb_state != USB_STATE_DEFAULT) in ch9setfeature() 1726 if (udc->usb_state == USB_STATE_ADDRESS) { in ep0_req_complete() 1896 udc->usb_state = USB_STATE_DEFAULT; in irq_process_reset() 1918 udc->usb_state = USB_STATE_ATTACHED; in irq_process_reset() 1924 udc->usb_state = udc->resume_state; in handle_bus_resume() 1939 udc->resume_state = udc->usb_state; in irq_process_suspend() [all …]
|
D | mv_u3d_core.c | 1415 u3d->usb_state = USB_STATE_DEFAULT; in mv_u3d_irq_process_link_change() 1425 u3d->resume_state = u3d->usb_state; in mv_u3d_irq_process_link_change() 1426 u3d->usb_state = USB_STATE_SUSPENDED; in mv_u3d_irq_process_link_change() 1431 u3d->usb_state = u3d->resume_state; in mv_u3d_irq_process_link_change() 1437 u3d->usb_state = USB_STATE_POWERED; in mv_u3d_irq_process_link_change() 1442 u3d->usb_state = USB_STATE_DEFAULT; in mv_u3d_irq_process_link_change() 1453 u3d->usb_state = USB_STATE_ATTACHED; in mv_u3d_irq_process_link_change() 1471 if (u3d->usb_state != USB_STATE_DEFAULT) { in mv_u3d_ch9setaddress() 1474 __func__, u3d->usb_state); in mv_u3d_ch9setaddress() 1490 u3d->usb_state = USB_STATE_ADDRESS; in mv_u3d_ch9setaddress() [all …]
|
D | fsl_udc_core.c | 1324 udc->usb_state = USB_STATE_ADDRESS; in ch9setaddress() 1527 if (udc->usb_state == USB_STATE_ADDRESS) { in ep0_req_complete() 1755 udc->usb_state = USB_STATE_DEFAULT; in port_change_irq() 1761 udc->resume_state = udc->usb_state; in suspend_irq() 1762 udc->usb_state = USB_STATE_SUSPENDED; in suspend_irq() 1771 udc->usb_state = udc->resume_state; in bus_resume() 1847 udc->usb_state = USB_STATE_DEFAULT; in reset_irq() 1861 udc->usb_state = USB_STATE_ATTACHED; in reset_irq() 1886 if (udc->usb_state == USB_STATE_SUSPENDED) in fsl_udc_irq() 1977 udc_controller->usb_state = USB_STATE_ATTACHED; in fsl_udc_start() [all …]
|
D | fsl_qe_udc.c | 1929 udc->usb_state = USB_STATE_ADDRESS; in ch9setaddress() 2105 udc->resume_state = udc->usb_state; in suspend_irq() 2106 udc->usb_state = USB_STATE_SUSPENDED; in suspend_irq() 2115 udc->usb_state = udc->resume_state; in resume_irq() 2129 if ((udc->usb_state) != USB_STATE_SUSPENDED) in idle_irq() 2132 if (udc->usb_state == USB_STATE_SUSPENDED) in idle_irq() 2141 if (udc->usb_state == USB_STATE_DEFAULT) in reset_irq() 2153 udc->usb_state = USB_STATE_DEFAULT; in reset_irq() 2177 if ((udc->usb_state == USB_STATE_ADDRESS) in tx_irq() 2300 udc->usb_state = USB_STATE_ATTACHED; in fsl_qe_start() [all …]
|
D | mv_udc.h | 196 unsigned int usb_state; /* USB current state */ member
|
D | mv_u3d.h | 265 unsigned int usb_state; /* USB current state */ member
|
D | fsl_qe_udc.h | 334 u32 usb_state; /* USB current state */ member
|
D | fsl_usb2_udc.h | 502 u32 usb_state; /* USB current state */ member
|
D | udc-xilinx.c | 184 u32 usb_state; member 1510 udc->usb_state = USB_STATE_SUSPENDED; in xudc_startup_handler() 1519 bool condition = (udc->usb_state != USB_STATE_SUSPENDED); in xudc_startup_handler() 1532 udc->usb_state = 0; in xudc_startup_handler()
|