Searched refs:tcpci_data (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/usb/typec/tcpm/ ! |
H A D | tcpci_mt6370.c | 31 struct tcpci_data tcpci_data; member 50 static int mt6370_tcpc_init(struct tcpci *tcpci, struct tcpci_data *data) in mt6370_tcpc_init() 70 static int mt6370_tcpc_set_vconn(struct tcpci *tcpci, struct tcpci_data *data, in mt6370_tcpc_set_vconn() 78 static int mt6370_tcpc_set_vbus(struct tcpci *tcpci, struct tcpci_data *data, in mt6370_tcpc_set_vbus() 82 tcpci_data); in mt6370_tcpc_set_vbus() 107 struct regmap *regmap = priv->tcpci_data.regmap; in mt6370_check_vendor_info() 139 priv->tcpci_data.regmap = dev_get_regmap(dev->parent, NULL); in mt6370_tcpc_probe() 140 if (!priv->tcpci_data.regmap) in mt6370_tcpc_probe() 152 priv->tcpci_data.auto_discharge_disconnect = 1; in mt6370_tcpc_probe() 153 priv->tcpci_data.init = mt6370_tcpc_init; in mt6370_tcpc_probe() [all …]
|
H 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() 205 static int max_tcpci_set_vbus(struct tcpci *tcpci, struct tcpci_data *tdata, bool source, bool sink) in max_tcpci_set_vbus() 250 static void max_tcpci_frs_sourcing_vbus(struct tcpci *tcpci, struct tcpci_data *tdata) in max_tcpci_frs_sourcing_vbus() 275 static void max_tcpci_set_partner_usb_comm_capable(struct tcpci *tcpci, struct tcpci_data *data, in max_tcpci_set_partner_usb_comm_capable() 424 static int max_tcpci_start_toggling(struct tcpci *tcpci, struct tcpci_data *tdata, in max_tcpci_start_toggling() 434 static int tcpci_init(struct tcpci *tcpci, struct tcpci_data *data) in tcpci_init() 443 static void max_tcpci_check_contaminant(struct tcpci *tcpci, struct tcpci_data *tdata) in max_tcpci_check_contaminant() 452 static bool max_tcpci_attempt_vconn_swap_discovery(struct tcpci *tcpci, struct tcpci_data *tdata) in max_tcpci_attempt_vconn_swap_discovery()
|
H A D | tcpci_mt6360.c | 40 struct tcpci_data tdata; 52 static int mt6360_tcpc_init(struct tcpci *tcpci, struct tcpci_data *tdata) in mt6360_tcpc_init()
|
H A D | tcpci_maxim.h | 55 struct tcpci_data data;
|
H A D | tcpci.c | 44 struct tcpci_data *data; 49 struct tcpci_data data; 832 struct tcpci *tcpci_register_port(struct device *dev, struct tcpci_data *data) in tcpci_register_port()
|
/linux/include/linux/usb/ ! |
H A D | tcpci.h | 211 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);
|