Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/usb/typec/tcpm/
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()
71 static int mt6370_tcpc_set_vconn(struct tcpci *tcpci, struct tcpci_data *data, in mt6370_tcpc_set_vconn()
79 static int mt6370_tcpc_set_vbus(struct tcpci *tcpci, struct tcpci_data *data, in mt6370_tcpc_set_vbus()
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()
[all …]
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()
Dtcpci_maxim.c43 struct tcpci_data data;
66 static struct max_tcpci_chip *tdata_to_max_tcpci(struct tcpci_data *tdata) in tdata_to_max_tcpci()
210 static int max_tcpci_set_vbus(struct tcpci *tcpci, struct tcpci_data *tdata, bool source, bool sink) in max_tcpci_set_vbus()
255 static void max_tcpci_frs_sourcing_vbus(struct tcpci *tcpci, struct tcpci_data *tdata) in max_tcpci_frs_sourcing_vbus()
280 static void max_tcpci_set_partner_usb_comm_capable(struct tcpci *tcpci, struct tcpci_data *data, in max_tcpci_set_partner_usb_comm_capable()
422 static int max_tcpci_start_toggling(struct tcpci *tcpci, struct tcpci_data *tdata, in max_tcpci_start_toggling()
432 static int tcpci_init(struct tcpci *tcpci, struct tcpci_data *data) in tcpci_init()
Dtcpci_mt6360.c40 struct tcpci_data tdata;
58 static int mt6360_tcpc_init(struct tcpci *tcpci, struct tcpci_data *tdata) in mt6360_tcpc_init()
Dtcpci.c40 struct tcpci_data *data;
45 struct tcpci_data data;
750 struct tcpci *tcpci_register_port(struct device *dev, struct tcpci_data *data) in tcpci_register_port()
/Linux-v6.1/include/linux/usb/
Dtcpci.h192 struct tcpci_data { struct
198 int (*init)(struct tcpci *tcpci, struct tcpci_data *data); argument
199 int (*set_vconn)(struct tcpci *tcpci, struct tcpci_data *data, argument
201 int (*start_drp_toggling)(struct tcpci *tcpci, struct tcpci_data *data, argument
203 int (*set_vbus)(struct tcpci *tcpci, struct tcpci_data *data, bool source, bool sink); argument
204 void (*frs_sourcing_vbus)(struct tcpci *tcpci, struct tcpci_data *data); argument
205 void (*set_partner_usb_comm_capable)(struct tcpci *tcpci, struct tcpci_data *data, argument
209 struct tcpci *tcpci_register_port(struct device *dev, struct tcpci_data *data);