Searched refs:psy_usb_type (Results 1 – 5 of 5) sorted by relevance
35 int psy_usb_type; member204 last_psy_usb_type = port->psy_usb_type; in cros_usbpd_charger_get_power_info()236 port->psy_usb_type = POWER_SUPPLY_USB_TYPE_SDP; in cros_usbpd_charger_get_power_info()245 port->psy_usb_type = POWER_SUPPLY_USB_TYPE_PD_DRP; in cros_usbpd_charger_get_power_info()247 port->psy_usb_type = POWER_SUPPLY_USB_TYPE_SDP; in cros_usbpd_charger_get_power_info()251 port->psy_usb_type = POWER_SUPPLY_USB_TYPE_APPLE_BRICK_ID; in cros_usbpd_charger_get_power_info()254 port->psy_usb_type = POWER_SUPPLY_USB_TYPE_C; in cros_usbpd_charger_get_power_info()257 port->psy_usb_type = POWER_SUPPLY_USB_TYPE_DCP; in cros_usbpd_charger_get_power_info()260 port->psy_usb_type = POWER_SUPPLY_USB_TYPE_CDP; in cros_usbpd_charger_get_power_info()264 port->psy_usb_type = POWER_SUPPLY_USB_TYPE_PD_DRP; in cros_usbpd_charger_get_power_info()[all …]
135 int psy_usb_type; member495 val->intval = mci->psy_usb_type; in mt6360_charger_get_property()617 last_usb_type = mci->psy_usb_type; in mt6360_pmu_attach_i_handler()632 mci->psy_usb_type = POWER_SUPPLY_USB_TYPE_SDP; in mt6360_pmu_attach_i_handler()635 mci->psy_usb_type = POWER_SUPPLY_USB_TYPE_SDP; in mt6360_pmu_attach_i_handler()638 mci->psy_usb_type = POWER_SUPPLY_USB_TYPE_CDP; in mt6360_pmu_attach_i_handler()641 mci->psy_usb_type = POWER_SUPPLY_USB_TYPE_DCP; in mt6360_pmu_attach_i_handler()647 mci->psy_usb_type = POWER_SUPPLY_USB_TYPE_UNKNOWN; in mt6360_pmu_attach_i_handler()652 dev_dbg(mci->dev, "Received attach interrupt, chg_type = %d\n", mci->psy_usb_type); in mt6360_pmu_attach_i_handler()653 if (last_usb_type != mci->psy_usb_type) in mt6360_pmu_attach_i_handler()[all …]
278 enum power_supply_usb_type psy_usb_type; member668 if (data->psy_usb_type == POWER_SUPPLY_USB_TYPE_UNKNOWN || in rt9467_psy_get_property()669 data->psy_usb_type == POWER_SUPPLY_USB_TYPE_SDP) in rt9467_psy_get_property()700 val->intval = data->psy_usb_type; in rt9467_psy_get_property()938 data->psy_usb_type = POWER_SUPPLY_USB_TYPE_UNKNOWN; in rt9467_report_usb_state()941 data->psy_usb_type = POWER_SUPPLY_USB_TYPE_SDP; in rt9467_report_usb_state()944 data->psy_usb_type = POWER_SUPPLY_USB_TYPE_DCP; in rt9467_report_usb_state()947 data->psy_usb_type = POWER_SUPPLY_USB_TYPE_DCP; in rt9467_report_usb_state()950 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()
164 enum power_supply_usb_type psy_usb_type; member317 *usb_type = chip->psy_usb_type; in rt9471_get_usb_type()477 chip->psy_usb_type = POWER_SUPPLY_USB_TYPE_UNKNOWN; in rt9471_detach_handler()534 chip->psy_usb_type = usb_type; in rt9471_bc12_done_handler()