Searched refs:pd_cap (Results 1 – 2 of 2) sorted by relevance
1156 struct usb_power_delivery_capabilities *pd_cap; in ucsi_register_port() local1242 pd_cap = usb_power_delivery_register_capabilities(con->pd, &pd_caps); in ucsi_register_port()1243 if (IS_ERR(pd_cap)) { in ucsi_register_port()1244 ret = PTR_ERR(pd_cap); in ucsi_register_port()1248 con->port_source_caps = pd_cap; in ucsi_register_port()1259 pd_cap = usb_power_delivery_register_capabilities(con->pd, &pd_caps); in ucsi_register_port()1260 if (IS_ERR(pd_cap)) { in ucsi_register_port()1261 ret = PTR_ERR(pd_cap); in ucsi_register_port()1265 con->port_sink_caps = pd_cap; in ucsi_register_port()
7665 unsigned long pd_cap; member7722 eenv->pd_busy_time = min(eenv->pd_cap, busy_time); in eenv_pd_busy_time()7771 busy_time = min(eenv->pd_cap, busy_time + eenv->task_busy_time); in compute_energy()7873 eenv.pd_cap = 0; in find_energy_efficient_cpu()7878 eenv.pd_cap += cpu_thermal_cap; in find_energy_efficient_cpu()