Searched refs:pd_caps (Results 1 – 1 of 1) sorted by relevance
/linux-6.6.21/drivers/usb/typec/ucsi/ |
D | ucsi.c | 1155 struct usb_power_delivery_capabilities_desc pd_caps; in ucsi_register_port() local 1236 ret = ucsi_get_pdos(con, TYPEC_SOURCE, 0, pd_caps.pdo); in ucsi_register_port() 1239 pd_caps.pdo[ret] = 0; in ucsi_register_port() 1241 pd_caps.role = TYPEC_SOURCE; in ucsi_register_port() 1242 pd_cap = usb_power_delivery_register_capabilities(con->pd, &pd_caps); in ucsi_register_port() 1252 memset(&pd_caps, 0, sizeof(pd_caps)); in ucsi_register_port() 1253 ret = ucsi_get_pdos(con, TYPEC_SINK, 0, pd_caps.pdo); in ucsi_register_port() 1256 pd_caps.pdo[ret] = 0; in ucsi_register_port() 1258 pd_caps.role = TYPEC_SINK; in ucsi_register_port() 1259 pd_cap = usb_power_delivery_register_capabilities(con->pd, &pd_caps); in ucsi_register_port()
|