Searched refs:psy_usb_type (Results 1 - 5 of 5) sorted by relevance

/linux-master/drivers/power/supply/
H A Dcros_usbpd-charger.c35 int psy_usb_type; member in struct:port_data
204 last_psy_usb_type = port->psy_usb_type;
236 port->psy_usb_type = POWER_SUPPLY_USB_TYPE_SDP;
245 port->psy_usb_type = POWER_SUPPLY_USB_TYPE_PD_DRP;
247 port->psy_usb_type = POWER_SUPPLY_USB_TYPE_SDP;
251 port->psy_usb_type = POWER_SUPPLY_USB_TYPE_APPLE_BRICK_ID;
254 port->psy_usb_type = POWER_SUPPLY_USB_TYPE_C;
257 port->psy_usb_type = POWER_SUPPLY_USB_TYPE_DCP;
260 port->psy_usb_type = POWER_SUPPLY_USB_TYPE_CDP;
264 port->psy_usb_type
[all...]
H A Dmt6360_charger.c135 int psy_usb_type; member in struct:mt6360_chg_info
495 val->intval = mci->psy_usb_type;
617 last_usb_type = mci->psy_usb_type;
632 mci->psy_usb_type = POWER_SUPPLY_USB_TYPE_SDP;
635 mci->psy_usb_type = POWER_SUPPLY_USB_TYPE_SDP;
638 mci->psy_usb_type = POWER_SUPPLY_USB_TYPE_CDP;
641 mci->psy_usb_type = POWER_SUPPLY_USB_TYPE_DCP;
647 mci->psy_usb_type = POWER_SUPPLY_USB_TYPE_UNKNOWN;
652 dev_dbg(mci->dev, "Received attach interrupt, chg_type = %d\n", mci->psy_usb_type);
653 if (last_usb_type != mci->psy_usb_type)
[all...]
H A Drt9467-charger.c278 enum power_supply_usb_type psy_usb_type; member in struct:rt9467_chg_data
668 if (data->psy_usb_type == POWER_SUPPLY_USB_TYPE_UNKNOWN ||
669 data->psy_usb_type == POWER_SUPPLY_USB_TYPE_SDP)
700 val->intval = data->psy_usb_type;
938 data->psy_usb_type = POWER_SUPPLY_USB_TYPE_UNKNOWN;
941 data->psy_usb_type = POWER_SUPPLY_USB_TYPE_SDP;
944 data->psy_usb_type = POWER_SUPPLY_USB_TYPE_DCP;
947 data->psy_usb_type = POWER_SUPPLY_USB_TYPE_DCP;
950 data->psy_usb_type = POWER_SUPPLY_USB_TYPE_CDP;
H A Dmt6370-charger.c101 int psy_usb_type; member in struct:mt6370_priv
291 priv->psy_usb_type = POWER_SUPPLY_USB_TYPE_SDP;
294 priv->psy_usb_type = POWER_SUPPLY_USB_TYPE_DCP;
297 priv->psy_usb_type = POWER_SUPPLY_USB_TYPE_CDP;
302 priv->psy_usb_type = POWER_SUPPLY_USB_TYPE_UNKNOWN;
562 val->intval = priv->psy_usb_type;
H A Drt9471.c151 enum power_supply_usb_type psy_usb_type; member in struct:rt9471_chip
303 *usb_type = chip->psy_usb_type;
463 chip->psy_usb_type = POWER_SUPPLY_USB_TYPE_UNKNOWN;
520 chip->psy_usb_type = usb_type;

Completed in 146 milliseconds