Home
last modified time | relevance | path

Searched refs:usb_type (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/drivers/extcon/
Dextcon-lc824206xa.c114 unsigned int usb_type; member
202 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 …]
Dextcon-intel-cht-wc.c111 enum power_supply_usb_type usb_type; member
184 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()
Dextcon-max8997.c313 enum max8997_muic_usb_type usb_type, bool attached) in max8997_muic_handle_usb() argument
323 switch (usb_type) { in max8997_muic_handle_usb()
/linux-6.12.1/drivers/power/supply/
Drt9471.c300 static int rt9471_get_usb_type(struct rt9471_chip *chip, int *usb_type) in rt9471_get_usb_type() argument
303 *usb_type = chip->psy_usb_type; in rt9471_get_usb_type()
467 enum power_supply_usb_type usb_type; in rt9471_bc12_done_handler() local
477 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 …]
Dqcom_battmgr.c272 unsigned int usb_type; member
780 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()
/linux-6.12.1/drivers/usb/typec/
Drt1719.c96 enum power_supply_usb_type usb_type; member
299 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() local
315 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()
Danx7411.c289 enum power_supply_usb_type usb_type; member
353 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()
/linux-6.12.1/tools/testing/selftests/power_supply/
Dtest_power_supply_properties.sh61 test_sysfs_prop_optional usb_type
/linux-6.12.1/drivers/usb/typec/tipd/
Dcore.c138 enum power_supply_usb_type usb_type; member
831 tps->usb_type = POWER_SUPPLY_USB_TYPE_C; in devm_tps6598_psy_register()
/linux-6.12.1/drivers/usb/typec/tcpm/
Dtcpm.c460 enum power_supply_usb_type usb_type; member
3854 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()
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-class-power603 What: /sys/class/power_supply/<supply_name>/usb_type