Searched refs:usb_type (Results 1 – 11 of 11) sorted by relevance
114 unsigned int usb_type; member202 data->usb_type = POWER_SUPPLY_USB_TYPE_UNKNOWN; in lc824206xa_charger_detect()208 data->usb_type = POWER_SUPPLY_USB_TYPE_SDP; in lc824206xa_charger_detect()220 data->usb_type = POWER_SUPPLY_USB_TYPE_CDP; in lc824206xa_charger_detect()227 data->usb_type = POWER_SUPPLY_USB_TYPE_DCP; in lc824206xa_charger_detect()235 data->usb_type = POWER_SUPPLY_USB_TYPE_DCP; in lc824206xa_charger_detect()296 data->usb_type = POWER_SUPPLY_USB_TYPE_ACA; in lc824206xa_work()301 data->usb_type = POWER_SUPPLY_USB_TYPE_UNKNOWN; in lc824206xa_work()318 data->usb_type = POWER_SUPPLY_USB_TYPE_UNKNOWN; in lc824206xa_work()374 val->intval = data->usb_type; in lc824206xa_psy_get_prop()[all …]
111 enum power_supply_usb_type usb_type; member184 ext->usb_type = POWER_SUPPLY_USB_TYPE_SDP; in cht_wc_extcon_get_charger()189 ext->usb_type = POWER_SUPPLY_USB_TYPE_SDP; in cht_wc_extcon_get_charger()192 ext->usb_type = POWER_SUPPLY_USB_TYPE_CDP; in cht_wc_extcon_get_charger()197 ext->usb_type = POWER_SUPPLY_USB_TYPE_DCP; in cht_wc_extcon_get_charger()200 ext->usb_type = POWER_SUPPLY_USB_TYPE_ACA; in cht_wc_extcon_get_charger()285 ext->usb_type = POWER_SUPPLY_USB_TYPE_UNKNOWN; in cht_wc_extcon_pwrsrc_event()452 val->intval = ext->usb_type; in cht_wc_extcon_psy_get_prop()455 val->intval = ext->usb_type ? 1 : 0; in cht_wc_extcon_psy_get_prop()
313 enum max8997_muic_usb_type usb_type, bool attached) in max8997_muic_handle_usb() argument323 switch (usb_type) { in max8997_muic_handle_usb()
300 static int rt9471_get_usb_type(struct rt9471_chip *chip, int *usb_type) in rt9471_get_usb_type() argument303 *usb_type = chip->psy_usb_type; in rt9471_get_usb_type()467 enum power_supply_usb_type usb_type; in rt9471_bc12_done_handler() local477 usb_type = POWER_SUPPLY_USB_TYPE_APPLE_BRICK_ID; in rt9471_bc12_done_handler()481 usb_type = POWER_SUPPLY_USB_TYPE_APPLE_BRICK_ID; in rt9471_bc12_done_handler()485 usb_type = POWER_SUPPLY_USB_TYPE_APPLE_BRICK_ID; in rt9471_bc12_done_handler()489 usb_type = POWER_SUPPLY_USB_TYPE_DCP; in rt9471_bc12_done_handler()493 usb_type = POWER_SUPPLY_USB_TYPE_DCP; in rt9471_bc12_done_handler()498 usb_type = POWER_SUPPLY_USB_TYPE_SDP; in rt9471_bc12_done_handler()502 usb_type = POWER_SUPPLY_USB_TYPE_CDP; in rt9471_bc12_done_handler()[all …]
272 unsigned int usb_type; member780 val->intval = battmgr->usb.usb_type; in qcom_battmgr_usb_get_property()1218 battmgr->usb.usb_type = le32_to_cpu(resp->intval.value); in qcom_battmgr_sm8350_callback()
96 enum power_supply_usb_type usb_type; member299 data->usb_type = POWER_SUPPLY_USB_TYPE_C; in rt1719_detach()306 enum power_supply_usb_type usb_type = POWER_SUPPLY_USB_TYPE_PD; in rt1719_update_operating_status() local315 usb_type = POWER_SUPPLY_USB_TYPE_PD_PPS; in rt1719_update_operating_status()324 data->usb_type = usb_type; in rt1719_update_operating_status()527 val->intval = data->usb_type; in rt1719_psy_get_property()578 data->usb_type = POWER_SUPPLY_USB_TYPE_C; in devm_rt1719_psy_register()
289 enum power_supply_usb_type usb_type; member353 ctx->usb_type = POWER_SUPPLY_USB_TYPE_PD; in anx7411_detect_power_mode()663 ctx->usb_type = POWER_SUPPLY_USB_TYPE_PD; in anx7411_parse_cmd()946 ctx->usb_type = POWER_SUPPLY_USB_TYPE_C; in anx7411_work_func()1384 val->intval = ctx->usb_type; in anx7411_psy_get_prop()1430 ctx->usb_type = POWER_SUPPLY_USB_TYPE_C; in anx7411_psy_register()
61 test_sysfs_prop_optional usb_type
138 enum power_supply_usb_type usb_type; member831 tps->usb_type = POWER_SUPPLY_USB_TYPE_C; in devm_tps6598_psy_register()
460 enum power_supply_usb_type usb_type; member3854 port->usb_type = POWER_SUPPLY_USB_TYPE_PD; in tcpm_pd_select_pdo()3878 port->usb_type = in tcpm_pd_select_pdo()4414 port->usb_type = POWER_SUPPLY_USB_TYPE_C; in tcpm_reset_port()7391 val->intval = port->usb_type; in tcpm_psy_get_prop()7519 port->usb_type = POWER_SUPPLY_USB_TYPE_C; in devm_tcpm_psy_register()
603 What: /sys/class/power_supply/<supply_name>/usb_type