Searched refs:vbus_attach (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/extcon/ |
H A D | extcon-axp288.c | 106 bool vbus_attach; member 188 else if (info->vbus_attach) in axp288_usb_role_work() 216 bool vbus_attach = false; in axp288_handle_chrg_det_event() local 218 vbus_attach = axp288_get_vbus_attach(info); in axp288_handle_chrg_det_event() 219 if (!vbus_attach) in axp288_handle_chrg_det_event() 260 if (vbus_attach) { in axp288_handle_chrg_det_event() 261 extcon_set_state_sync(info->edev, cable, vbus_attach); in axp288_handle_chrg_det_event() 264 vbus_attach); in axp288_handle_chrg_det_event() 269 if (info->role_sw && info->vbus_attach != vbus_attach) { in axp288_handle_chrg_det_event() [all...] |
/kernel/linux/linux-6.6/drivers/extcon/ |
H A D | extcon-axp288.c | 107 bool vbus_attach; member 189 else if (info->vbus_attach) in axp288_usb_role_work() 217 bool vbus_attach = false; in axp288_handle_chrg_det_event() local 223 vbus_attach = axp288_get_vbus_attach(info); in axp288_handle_chrg_det_event() 224 if (!vbus_attach) in axp288_handle_chrg_det_event() 267 if (vbus_attach) { in axp288_handle_chrg_det_event() 268 extcon_set_state_sync(info->edev, cable, vbus_attach); in axp288_handle_chrg_det_event() 271 vbus_attach); in axp288_handle_chrg_det_event() 276 if (info->role_sw && info->vbus_attach != vbus_attach) { in axp288_handle_chrg_det_event() [all...] |
/kernel/linux/linux-5.10/drivers/phy/rockchip/ |
H A D | phy-rockchip-inno-usb2.c | 535 bool vbus_attach, sch_work, notify_charger; in rockchip_usb2phy_otg_sm_work() local 537 vbus_attach = property_enabled(rphy->grf, in rockchip_usb2phy_otg_sm_work() 549 if (!vbus_attach) in rockchip_usb2phy_otg_sm_work() 558 } else if (vbus_attach) { in rockchip_usb2phy_otg_sm_work() 559 dev_dbg(&rport->phy->dev, "vbus_attach\n"); in rockchip_usb2phy_otg_sm_work() 602 if (rport->vbus_attached != vbus_attach) { in rockchip_usb2phy_otg_sm_work() 603 rport->vbus_attached = vbus_attach; in rockchip_usb2phy_otg_sm_work() 607 cable, vbus_attach); in rockchip_usb2phy_otg_sm_work() 611 vbus_attach); in rockchip_usb2phy_otg_sm_work() 616 if (!vbus_attach) { in rockchip_usb2phy_otg_sm_work() [all...] |
/kernel/linux/linux-6.6/drivers/phy/rockchip/ |
H A D | phy-rockchip-inno-usb2.c | 635 bool vbus_attach, sch_work, notify_charger; in rockchip_usb2phy_otg_sm_work() local 637 vbus_attach = property_enabled(rphy->grf, in rockchip_usb2phy_otg_sm_work() 649 if (!vbus_attach) in rockchip_usb2phy_otg_sm_work() 658 } else if (vbus_attach) { in rockchip_usb2phy_otg_sm_work() 659 dev_dbg(&rport->phy->dev, "vbus_attach\n"); in rockchip_usb2phy_otg_sm_work() 702 if (rport->vbus_attached != vbus_attach) { in rockchip_usb2phy_otg_sm_work() 703 rport->vbus_attached = vbus_attach; in rockchip_usb2phy_otg_sm_work() 707 cable, vbus_attach); in rockchip_usb2phy_otg_sm_work() 711 vbus_attach); in rockchip_usb2phy_otg_sm_work() 716 if (!vbus_attach) { in rockchip_usb2phy_otg_sm_work() [all...] |
Completed in 9 milliseconds