Searched refs:wusb3801 (Results 1 – 5 of 5) sorted by relevance
86 struct wusb3801 { struct99 static enum typec_role wusb3801_get_default_role(struct wusb3801 *wusb3801) in wusb3801_get_default_role() argument101 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() local185 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() local196 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 …]
13 obj-$(CONFIG_TYPEC_WUSB3801) += wusb3801.o
112 module will be called wusb3801.ko.
4 $id: http://devicetree.org/schemas/usb/willsemi,wusb3801.yaml#20 - willsemi,wusb380159 compatible = "willsemi,wusb3801";
470 wusb3801: tcpc@60 { label471 compatible = "willsemi,wusb3801";