Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/typec/
H A Danx7411.c255 u32 src_pdo[PDO_MAX_OBJECTS];
256 u32 sink_pdo[PDO_MAX_OBJECTS];
794 if (nr > PDO_MAX_OBJECTS) { in anx7411_translate_payload()
796 nr, PDO_MAX_OBJECTS); in anx7411_translate_payload()
809 __le32 payload[PDO_MAX_OBJECTS]; in anx7411_config()
1189 typecp->src_pdo_nr = min_t(u8, ret, PDO_MAX_OBJECTS); in anx7411_typec_port_probe()
1203 typecp->sink_pdo_nr = min_t(u8, ret, PDO_MAX_OBJECTS); in anx7411_typec_port_probe()
H A Dpd.c506 for (i = 0; i < PDO_MAX_OBJECTS && desc->pdo[i]; i++) { in usb_power_delivery_register_capabilities()
/openbmc/linux/include/linux/usb/
H A Dpd.h204 #define PDO_MAX_OBJECTS 7 macro
518 u32 pdo[PDO_MAX_OBJECTS];
/openbmc/linux/drivers/usb/typec/ucsi/
H A Ducsi.c633 PDO_MAX_OBJECTS - UCSI_MAX_PDOS); in ucsi_get_pdos()
693 if (ret < PDO_MAX_OBJECTS) in ucsi_register_partner_pdos()
706 if (ret < PDO_MAX_OBJECTS) in ucsi_register_partner_pdos()
1276 if (ret < PDO_MAX_OBJECTS) in ucsi_register_port()
1292 if (ret < PDO_MAX_OBJECTS) in ucsi_register_port()
H A Ducsi.h363 u32 src_pdos[PDO_MAX_OBJECTS];
/openbmc/linux/drivers/usb/typec/tcpm/
H A Dtcpm.c409 u32 source_caps[PDO_MAX_OBJECTS];
411 u32 sink_caps[PDO_MAX_OBJECTS];
415 u32 src_pdo[PDO_MAX_OBJECTS];
417 u32 snk_pdo[PDO_MAX_OBJECTS];
6187 port->nr_src_pdo = min(ret, PDO_MAX_OBJECTS); in tcpm_fw_get_caps()
6219 port->nr_snk_pdo = min(ret, PDO_MAX_OBJECTS); in tcpm_fw_get_caps()
H A Dfusb302.c110 u32 snk_pdo[PDO_MAX_OBJECTS];