Home
last modified time | relevance | path

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

/linux/drivers/usb/typec/
H A Dwusb3801.c86 struct wusb3801 { struct
99 static enum typec_role wusb3801_get_default_role(struct wusb3801 *wusb3801) in wusb3801_get_default_role() argument
101 switch (wusb3801->port_type) { in wusb3801_get_default_role()
108 if (wusb3801->cap.prefer_role == TYPEC_SOURCE) in wusb3801_get_default_role()
183 struct wusb3801 *wusb3801 = typec_get_drvdata(port); in wusb3801_try_role() local
185 return regmap_update_bits(wusb3801->regmap, WUSB3801_REG_CTRL0, in wusb3801_try_role()
193 struct wusb3801 *wusb3801 = typec_get_drvdata(port); in wusb3801_port_type_set() local
196 ret = regmap_update_bits(wusb3801->regmap, WUSB3801_REG_CTRL0, in wusb3801_port_type_set()
202 wusb3801->port_type = type; in wusb3801_port_type_set()
212 static int wusb3801_hw_init(struct wusb3801 *wusb3801) in wusb3801_hw_init() argument
[all …]
H A DKconfig111 module will be called wusb3801.ko.