Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/typec/
H A Danx7411.c810 struct typec_params *typecp = &ctx->typec; in anx7411_config() local
836 if (typecp->caps_flags & HAS_SOURCE_CAP) { in anx7411_config()
837 anx7411_translate_payload(dev, payload, typecp->src_pdo, in anx7411_config()
838 typecp->src_pdo_nr, "source"); in anx7411_config()
840 typecp->src_pdo_nr * 4); in anx7411_config()
847 if (typecp->caps_flags & HAS_SINK_CAP) { in anx7411_config()
848 anx7411_translate_payload(dev, payload, typecp->sink_pdo, in anx7411_config()
849 typecp->sink_pdo_nr, "sink"); in anx7411_config()
851 typecp->sink_pdo_nr * 4); in anx7411_config()
854 if (typecp->caps_flags & HAS_SINK_WATT) { in anx7411_config()
[all …]