Home
last modified time | relevance | path

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

/linux-6.12.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_maxim_core.c60 static struct max_tcpci_chip *tdata_to_max_tcpci(struct tcpci_data *tdata) in tdata_to_max_tcpci()
204 static int max_tcpci_set_vbus(struct tcpci *tcpci, struct tcpci_data *tdata, bool source, bool sink) in max_tcpci_set_vbus()
249 static void max_tcpci_frs_sourcing_vbus(struct tcpci *tcpci, struct tcpci_data *tdata) in max_tcpci_frs_sourcing_vbus()
274 static void max_tcpci_set_partner_usb_comm_capable(struct tcpci *tcpci, struct tcpci_data *data, in max_tcpci_set_partner_usb_comm_capable()
438 static int max_tcpci_start_toggling(struct tcpci *tcpci, struct tcpci_data *tdata, in max_tcpci_start_toggling()
448 static int tcpci_init(struct tcpci *tcpci, struct tcpci_data *data) in tcpci_init()
457 static void max_tcpci_check_contaminant(struct tcpci *tcpci, struct tcpci_data *tdata) in max_tcpci_check_contaminant()
466 static bool max_tcpci_attempt_vconn_swap_discovery(struct tcpci *tcpci, struct tcpci_data *tdata) in max_tcpci_attempt_vconn_swap_discovery()
Dtcpci_rt1711h.c63 struct tcpci_data data;
98 static struct rt1711h_chip *tdata_to_rt1711h(struct tcpci_data *tdata) in tdata_to_rt1711h()
103 static int rt1711h_init(struct tcpci *tcpci, struct tcpci_data *tdata) in rt1711h_init()
154 static int rt1711h_set_vbus(struct tcpci *tcpci, struct tcpci_data *tdata, in rt1711h_set_vbus()
173 static int rt1711h_set_vconn(struct tcpci *tcpci, struct tcpci_data *tdata, in rt1711h_set_vconn()
225 struct tcpci_data *tdata, in rt1711h_start_drp_toggling()
Dtcpci_mt6360.c40 struct tcpci_data tdata;
52 static int mt6360_tcpc_init(struct tcpci *tcpci, struct tcpci_data *tdata) in mt6360_tcpc_init()
Dtcpci_maxim.h55 struct tcpci_data data;
Dtcpci.c42 struct tcpci_data *data;
47 struct tcpci_data data;
826 struct tcpci *tcpci_register_port(struct device *dev, struct tcpci_data *data) in tcpci_register_port()
/linux-6.12.1/include/linux/usb/
Dtcpci.h211 struct tcpci_data { struct
219 int (*init)(struct tcpci *tcpci, struct tcpci_data *data); argument
220 int (*set_vconn)(struct tcpci *tcpci, struct tcpci_data *data, argument
222 int (*start_drp_toggling)(struct tcpci *tcpci, struct tcpci_data *data, argument
224 int (*set_vbus)(struct tcpci *tcpci, struct tcpci_data *data, bool source, bool sink); argument
225 void (*frs_sourcing_vbus)(struct tcpci *tcpci, struct tcpci_data *data); argument
226 void (*set_partner_usb_comm_capable)(struct tcpci *tcpci, struct tcpci_data *data, argument
228 void (*check_contaminant)(struct tcpci *tcpci, struct tcpci_data *data); argument
229 bool (*attempt_vconn_swap_discovery)(struct tcpci *tcpci, struct tcpci_data *data); argument
232 struct tcpci *tcpci_register_port(struct device *dev, struct tcpci_data *data);