Home
last modified time | relevance | path

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

/openbmc/linux/drivers/extcon/
H A Dextcon-usbc-cros-ec.c274 int pd_mux_state; in extcon_cros_ec_detect_cable() local
278 pd_mux_state = cros_ec_usb_get_pd_mux_state(info); in extcon_cros_ec_detect_cable()
279 if (pd_mux_state < 0) in extcon_cros_ec_detect_cable()
280 pd_mux_state = USB_PD_MUX_USB_ENABLED; in extcon_cros_ec_detect_cable()
282 dp = pd_mux_state & USB_PD_MUX_DP_ENABLED; in extcon_cros_ec_detect_cable()
283 mux = pd_mux_state & USB_PD_MUX_USB_ENABLED; in extcon_cros_ec_detect_cable()
284 hpd = pd_mux_state & USB_PD_MUX_HPD_IRQ; in extcon_cros_ec_detect_cable()