Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/usb/typec/ucsi/
Dpsy.c72 if (con->num_pdos > 0) { in ucsi_psy_get_voltage_max()
73 pdo = con->src_pdos[con->num_pdos - 1]; in ucsi_psy_get_voltage_max()
128 if (con->num_pdos > 0) { in ucsi_psy_get_current_max()
129 pdo = con->src_pdos[con->num_pdos - 1]; in ucsi_psy_get_current_max()
Ducsi.c571 u32 *pdos, int offset, int num_pdos) in ucsi_get_pdos() argument
580 command |= UCSI_GET_PDOS_NUM_PDOS(num_pdos - 1); in ucsi_get_pdos()
583 num_pdos * sizeof(u32)); in ucsi_get_pdos()
599 con->num_pdos = ret / sizeof(u32); /* number of bytes to 32-bit PDOs */ in ucsi_get_src_pdos()
600 if (con->num_pdos < UCSI_MAX_PDOS) in ucsi_get_src_pdos()
609 con->num_pdos += ret / sizeof(u32); in ucsi_get_src_pdos()
Ducsi.h341 int num_pdos; member