Searched refs:psy_usb_type (Results 1 – 5 of 5) sorted by relevance
35 int psy_usb_type; member193 last_psy_usb_type = port->psy_usb_type; in cros_usbpd_charger_get_power_info()225 port->psy_usb_type = POWER_SUPPLY_USB_TYPE_SDP; in cros_usbpd_charger_get_power_info()234 port->psy_usb_type = POWER_SUPPLY_USB_TYPE_PD_DRP; in cros_usbpd_charger_get_power_info()236 port->psy_usb_type = POWER_SUPPLY_USB_TYPE_SDP; in cros_usbpd_charger_get_power_info()240 port->psy_usb_type = POWER_SUPPLY_USB_TYPE_APPLE_BRICK_ID; in cros_usbpd_charger_get_power_info()243 port->psy_usb_type = POWER_SUPPLY_USB_TYPE_C; in cros_usbpd_charger_get_power_info()246 port->psy_usb_type = POWER_SUPPLY_USB_TYPE_DCP; in cros_usbpd_charger_get_power_info()249 port->psy_usb_type = POWER_SUPPLY_USB_TYPE_CDP; in cros_usbpd_charger_get_power_info()253 port->psy_usb_type = POWER_SUPPLY_USB_TYPE_PD_DRP; in cros_usbpd_charger_get_power_info()[all …]
135 int psy_usb_type; member488 val->intval = mci->psy_usb_type; in mt6360_charger_get_property()612 last_usb_type = mci->psy_usb_type; in mt6360_pmu_attach_i_handler()627 mci->psy_usb_type = POWER_SUPPLY_USB_TYPE_SDP; in mt6360_pmu_attach_i_handler()630 mci->psy_usb_type = POWER_SUPPLY_USB_TYPE_SDP; in mt6360_pmu_attach_i_handler()633 mci->psy_usb_type = POWER_SUPPLY_USB_TYPE_CDP; in mt6360_pmu_attach_i_handler()636 mci->psy_usb_type = POWER_SUPPLY_USB_TYPE_DCP; in mt6360_pmu_attach_i_handler()642 mci->psy_usb_type = POWER_SUPPLY_USB_TYPE_UNKNOWN; in mt6360_pmu_attach_i_handler()647 dev_dbg(mci->dev, "Received attach interrupt, chg_type = %d\n", mci->psy_usb_type); in mt6360_pmu_attach_i_handler()648 if (last_usb_type != mci->psy_usb_type) in mt6360_pmu_attach_i_handler()[all …]
278 enum power_supply_usb_type psy_usb_type; member661 if (data->psy_usb_type == POWER_SUPPLY_USB_TYPE_UNKNOWN || in rt9467_psy_get_property()662 data->psy_usb_type == POWER_SUPPLY_USB_TYPE_SDP) in rt9467_psy_get_property()693 val->intval = data->psy_usb_type; in rt9467_psy_get_property()930 data->psy_usb_type = POWER_SUPPLY_USB_TYPE_UNKNOWN; in rt9467_report_usb_state()933 data->psy_usb_type = POWER_SUPPLY_USB_TYPE_SDP; in rt9467_report_usb_state()936 data->psy_usb_type = POWER_SUPPLY_USB_TYPE_DCP; in rt9467_report_usb_state()939 data->psy_usb_type = POWER_SUPPLY_USB_TYPE_DCP; in rt9467_report_usb_state()942 data->psy_usb_type = POWER_SUPPLY_USB_TYPE_CDP; in rt9467_report_usb_state()
101 int psy_usb_type; member291 priv->psy_usb_type = POWER_SUPPLY_USB_TYPE_SDP; in mt6370_chg_bc12_work_func()294 priv->psy_usb_type = POWER_SUPPLY_USB_TYPE_DCP; in mt6370_chg_bc12_work_func()297 priv->psy_usb_type = POWER_SUPPLY_USB_TYPE_CDP; in mt6370_chg_bc12_work_func()302 priv->psy_usb_type = POWER_SUPPLY_USB_TYPE_UNKNOWN; in mt6370_chg_bc12_work_func()562 val->intval = priv->psy_usb_type; in mt6370_chg_get_property()
151 enum power_supply_usb_type psy_usb_type; member303 *usb_type = chip->psy_usb_type; in rt9471_get_usb_type()455 chip->psy_usb_type = POWER_SUPPLY_USB_TYPE_UNKNOWN; in rt9471_detach_handler()512 chip->psy_usb_type = usb_type; in rt9471_bc12_done_handler()