Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/typec/tcpm/
H A Dtcpci_mt6370.c32 struct tcpci_data tcpci_data; member
51 static int mt6370_tcpc_init(struct tcpci *tcpci, struct tcpci_data *data) in mt6370_tcpc_init()
83 tcpci_data); in mt6370_tcpc_set_vbus()
108 struct regmap *regmap = priv->tcpci_data.regmap; in mt6370_check_vendor_info()
140 priv->tcpci_data.regmap = dev_get_regmap(dev->parent, NULL); in mt6370_tcpc_probe()
141 if (!priv->tcpci_data.regmap) in mt6370_tcpc_probe()
153 priv->tcpci_data.auto_discharge_disconnect = 1; in mt6370_tcpc_probe()
154 priv->tcpci_data.init = mt6370_tcpc_init; in mt6370_tcpc_probe()
155 priv->tcpci_data.set_vconn = mt6370_tcpc_set_vconn; in mt6370_tcpc_probe()
159 priv->tcpci_data.set_vbus = mt6370_tcpc_set_vbus; in mt6370_tcpc_probe()
[all …]
H A Dtcpci_maxim_core.c60 static struct max_tcpci_chip *tdata_to_max_tcpci(struct tcpci_data *tdata) in tdata_to_max_tcpci()
184 static int max_tcpci_set_vbus(struct tcpci *tcpci, struct tcpci_data *tdata, bool source, bool sink) in max_tcpci_set_vbus()
229 static void max_tcpci_frs_sourcing_vbus(struct tcpci *tcpci, struct tcpci_data *tdata) in max_tcpci_frs_sourcing_vbus()
254 static void max_tcpci_set_partner_usb_comm_capable(struct tcpci *tcpci, struct tcpci_data *data, in max_tcpci_set_partner_usb_comm_capable()
402 static int max_tcpci_start_toggling(struct tcpci *tcpci, struct tcpci_data *tdata, in max_tcpci_start_toggling()
412 static int tcpci_init(struct tcpci *tcpci, struct tcpci_data *data) in tcpci_init()
421 static void max_tcpci_check_contaminant(struct tcpci *tcpci, struct tcpci_data *tdata) in max_tcpci_check_contaminant()
H A Dtcpci_rt1711h.c55 struct tcpci_data data;
90 static struct rt1711h_chip *tdata_to_rt1711h(struct tcpci_data *tdata) in tdata_to_rt1711h()
95 static int rt1711h_init(struct tcpci *tcpci, struct tcpci_data *tdata) in rt1711h_init()
146 static int rt1711h_set_vbus(struct tcpci *tcpci, struct tcpci_data *tdata, in rt1711h_set_vbus()
165 static int rt1711h_set_vconn(struct tcpci *tcpci, struct tcpci_data *tdata, in rt1711h_set_vconn()
222 struct tcpci_data *tdata, in rt1711h_start_drp_toggling()
H A Dtcpci_mt6360.c40 struct tcpci_data tdata;
52 static int mt6360_tcpc_init(struct tcpci *tcpci, struct tcpci_data *tdata) in mt6360_tcpc_init()
H A Dtcpci_maxim.h59 struct tcpci_data data;
H A Dtcpci.c41 struct tcpci_data *data;
46 struct tcpci_data data;
766 struct tcpci *tcpci_register_port(struct device *dev, struct tcpci_data *data) in tcpci_register_port()
/openbmc/linux/include/linux/usb/
H A Dtcpci.h199 struct tcpci_data { struct
205 int (*init)(struct tcpci *tcpci, struct tcpci_data *data); argument
206 int (*set_vconn)(struct tcpci *tcpci, struct tcpci_data *data, argument
208 int (*start_drp_toggling)(struct tcpci *tcpci, struct tcpci_data *data, argument
210 int (*set_vbus)(struct tcpci *tcpci, struct tcpci_data *data, bool source, bool sink); argument
211 void (*frs_sourcing_vbus)(struct tcpci *tcpci, struct tcpci_data *data); argument
212 void (*set_partner_usb_comm_capable)(struct tcpci *tcpci, struct tcpci_data *data, argument
214 void (*check_contaminant)(struct tcpci *tcpci, struct tcpci_data *data); argument
217 struct tcpci *tcpci_register_port(struct device *dev, struct tcpci_data *data);