Home
last modified time | relevance | path

Searched defs:tcpci (Results 1 – 8 of 8) sorted by relevance

/OK3568_Linux_fs/u-boot/drivers/power/power_delivery/
H A Dtcpci.c29 struct tcpci { struct
38 struct tcpci_data *data; argument
44 struct tcpci *tcpci; argument
53 static int tcpci_read16(struct tcpci *tcpci, unsigned int reg, u16 *val) in tcpci_read16()
70 static int tcpci_block_read(struct tcpci *tcpci, unsigned int reg, in tcpci_block_read()
83 static int tcpci_write16(struct tcpci *tcpci, unsigned int reg, u16 val) in tcpci_write16()
98 static int tcpci_block_write(struct tcpci *tcpci, unsigned int reg, in tcpci_block_write()
113 struct tcpci *tcpci = tcpc_to_tcpci(tcpc); in tcpci_set_cc() local
163 struct tcpci *tcpci = tcpc_to_tcpci(tcpc); in tcpci_start_toggling() local
225 struct tcpci *tcpci = tcpc_to_tcpci(tcpc); in tcpci_get_cc() local
[all …]
H A Dtcpci_husb311.c28 struct tcpci *tcpci; member
93 static int husb311_init(struct tcpci *tcpci, struct tcpci_data *tdata) in husb311_init()
/OK3568_Linux_fs/kernel/drivers/usb/typec/tcpm/
H A Dtcpci.c46 struct tcpci { struct
56 struct tcpci_data *data; argument
60 struct tcpci *tcpci; member
64 struct tcpm_port *tcpci_get_tcpm_port(struct tcpci *tcpci) in tcpci_get_tcpm_port()
75 static int tcpci_read16(struct tcpci *tcpci, unsigned int reg, u16 *val) in tcpci_read16()
80 static int tcpci_write16(struct tcpci *tcpci, unsigned int reg, u16 val) in tcpci_write16()
87 struct tcpci *tcpci = tcpc_to_tcpci(tcpc); in tcpci_set_cc() local
161 struct tcpci *tcpci = tcpc_to_tcpci(tcpc); in tcpci_apply_rc() local
190 struct tcpci *tcpci = tcpc_to_tcpci(tcpc); in tcpci_start_toggling() local
255 struct tcpci *tcpci = tcpc_to_tcpci(tcpc); in tcpci_get_cc() local
[all …]
H A Dtcpci_et7303.c33 struct tcpci *tcpci; member
70 static int et7303_init(struct tcpci *tcpci, struct tcpci_data *tdata) in et7303_init()
91 static int et7303_set_vbus(struct tcpci *tcpci, struct tcpci_data *tdata, in et7303_set_vbus()
118 static int et7303_set_vconn(struct tcpci *tcpci, struct tcpci_data *tdata, in et7303_set_vconn()
127 static int et7303_start_drp_toggling(struct tcpci *tcpci, in et7303_start_drp_toggling()
H A Dtcpci_maxim.c48 struct tcpci *tcpci; member
214 static int max_tcpci_set_vbus(struct tcpci *tcpci, struct tcpci_data *tdata, bool source, bool sink) in max_tcpci_set_vbus()
259 static void max_tcpci_frs_sourcing_vbus(struct tcpci *tcpci, struct tcpci_data *tdata) in max_tcpci_frs_sourcing_vbus()
284 static void max_tcpci_set_partner_usb_comm_capable(struct tcpci *tcpci, struct tcpci_data *data, in max_tcpci_set_partner_usb_comm_capable()
426 static int max_tcpci_start_toggling(struct tcpci *tcpci, struct tcpci_data *tdata, in max_tcpci_start_toggling()
436 static int tcpci_init(struct tcpci *tcpci, struct tcpci_data *data) in tcpci_init()
H A Dtcpci_rt1711h.c40 struct tcpci *tcpci; member
76 static int rt1711h_init(struct tcpci *tcpci, struct tcpci_data *tdata) in rt1711h_init()
107 static int rt1711h_set_vconn(struct tcpci *tcpci, struct tcpci_data *tdata, in rt1711h_set_vconn()
116 static int rt1711h_start_drp_toggling(struct tcpci *tcpci, in rt1711h_start_drp_toggling()
H A Dtcpci_husb311.c29 struct tcpci *tcpci; member
67 static int husb311_init(struct tcpci *tcpci, struct tcpci_data *tdata) in husb311_init()
85 static int husb311_set_vbus(struct tcpci *tcpci, struct tcpci_data *tdata, in husb311_set_vbus()
H A Dtcpci_mt6360.c42 struct tcpci *tcpci; member
59 static int mt6360_tcpc_init(struct tcpci *tcpci, struct tcpci_data *tdata) in mt6360_tcpc_init()