Searched refs:tcpci_data (Results 1 – 7 of 7) sorted by relevance
/linux-6.3-rc2/drivers/usb/typec/tcpm/ |
A D | tcpci_mt6370.c | 32 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 …]
|
A D | tcpci_maxim_core.c | 60 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()
|
A D | tcpci_rt1711h.c | 55 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()
|
A D | tcpci_mt6360.c | 40 struct tcpci_data tdata; 58 static int mt6360_tcpc_init(struct tcpci *tcpci, struct tcpci_data *tdata) in mt6360_tcpc_init()
|
A D | tcpci_maxim.h | 59 struct tcpci_data data;
|
A D | tcpci.c | 41 struct tcpci_data *data; 46 struct tcpci_data data; 762 struct tcpci *tcpci_register_port(struct device *dev, struct tcpci_data *data) in tcpci_register_port()
|
/linux-6.3-rc2/include/linux/usb/ |
A D | tcpci.h | 198 struct tcpci_data { struct 204 int (*init)(struct tcpci *tcpci, struct tcpci_data *data); argument 205 int (*set_vconn)(struct tcpci *tcpci, struct tcpci_data *data, argument 207 int (*start_drp_toggling)(struct tcpci *tcpci, struct tcpci_data *data, argument 209 int (*set_vbus)(struct tcpci *tcpci, struct tcpci_data *data, bool source, bool sink); argument 210 void (*frs_sourcing_vbus)(struct tcpci *tcpci, struct tcpci_data *data); argument 211 void (*set_partner_usb_comm_capable)(struct tcpci *tcpci, struct tcpci_data *data, argument 213 void (*check_contaminant)(struct tcpci *tcpci, struct tcpci_data *data); argument 216 struct tcpci *tcpci_register_port(struct device *dev, struct tcpci_data *data);
|
Completed in 13 milliseconds