Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/usb/typec/
Danx7411.c256 u32 src_pdo[PDO_MAX_OBJECTS];
257 u32 sink_pdo[PDO_MAX_OBJECTS];
795 if (nr > PDO_MAX_OBJECTS) { in anx7411_translate_payload()
797 nr, PDO_MAX_OBJECTS); in anx7411_translate_payload()
810 __le32 payload[PDO_MAX_OBJECTS]; in anx7411_config()
1190 typecp->src_pdo_nr = min_t(u8, ret, PDO_MAX_OBJECTS); in anx7411_typec_port_probe()
1204 typecp->sink_pdo_nr = min_t(u8, ret, PDO_MAX_OBJECTS); in anx7411_typec_port_probe()
Dpd.c504 for (i = 0; i < PDO_MAX_OBJECTS && desc->pdo[i]; i++) { in usb_power_delivery_register_capabilities()
/linux-6.12.1/include/linux/usb/
Dpd.h204 #define PDO_MAX_OBJECTS 7 macro
520 u32 pdo[PDO_MAX_OBJECTS];
/linux-6.12.1/drivers/usb/typec/ucsi/
Ducsi.h441 u32 src_pdos[PDO_MAX_OBJECTS];
Ducsi.c699 PDO_MAX_OBJECTS - UCSI_MAX_PDOS); in ucsi_get_pdos()
732 if (ret < PDO_MAX_OBJECTS) in ucsi_get_pd_caps()
/linux-6.12.1/drivers/usb/typec/tcpm/
Dtcpm.c431 u32 source_caps[PDO_MAX_OBJECTS];
433 u32 sink_caps[PDO_MAX_OBJECTS];
438 u32 src_pdo[PDO_MAX_OBJECTS];
440 u32 snk_pdo[PDO_MAX_OBJECTS];
6911 for (i = 0; i < PDO_MAX_OBJECTS && data->sink_desc.pdo[i]; i++) in tcpm_pd_set()
6918 for (i = 0; i < PDO_MAX_OBJECTS && data->source_desc.pdo[i]; i++) in tcpm_pd_set()
7178 nr_src_pdo = min(ret, PDO_MAX_OBJECTS); in tcpm_fw_get_caps()
7190 memcpy_and_pad(port->src_pdo, sizeof(u32) * PDO_MAX_OBJECTS, in tcpm_fw_get_caps()
7207 nr_snk_pdo = min(ret, PDO_MAX_OBJECTS); in tcpm_fw_get_caps()
7226 memcpy_and_pad(port->snk_pdo, sizeof(u32) * PDO_MAX_OBJECTS, in tcpm_fw_get_caps()
Dfusb302.c110 u32 snk_pdo[PDO_MAX_OBJECTS];