Home
last modified time | relevance | path

Searched refs:altmodes (Results 1 – 25 of 32) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/usb/typec/
H A Dbus.c276 struct typec_altmode *typec_match_altmode(struct typec_altmode **altmodes, in typec_match_altmode() argument
282 if (!altmodes[i]) in typec_match_altmode()
284 if (altmodes[i]->svid == svid && altmodes[i]->mode == mode) in typec_match_altmode()
285 return altmodes[i]; in typec_match_altmode()
H A DMakefile4 obj-$(CONFIG_TYPEC) += altmodes/
H A DKconfig103 source "drivers/usb/typec/altmodes/Kconfig"
H A Dclass.c1990 struct typec_altmode **altmodes, size_t n) in typec_port_register_altmodes() argument
2036 altmodes[index] = alt; in typec_port_register_altmodes()
/OK3568_Linux_fs/u-boot/include/power/power_delivery/
H A Dtypec.h146 struct typec_altmode **altmodes, size_t n);
150 struct typec_altmode **altmodes, size_t n) in typec_port_register_altmodes() argument
/OK3568_Linux_fs/kernel/include/linux/usb/
H A Dtypec.h147 struct typec_altmode **altmodes, size_t n);
151 struct typec_altmode **altmodes, size_t n) in typec_port_register_altmodes() argument
H A Dtypec_altmode.h124 struct typec_altmode *typec_match_altmode(struct typec_altmode **altmodes,
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/
H A Drk3588-nvr-demo1-v21.dtsi123 altmodes {
H A Drk3588s-evb3-lp4x.dtsi196 altmodes {
H A Drk3588-evb4-lp4.dtsi312 altmodes {
H A Drk3588-evb6-lp4.dtsi287 altmodes {
H A Drk3588-pcie-ep-demo.dtsi335 altmodes {
H A Drk3588-evb1-lp4.dtsi438 altmodes {
H A Drk3588-toybrick-edp-x0.dtsi440 altmodes {
H A Drk3588-toybrick-x0.dtsi447 altmodes {
H A Drk3399-sapphire.dtsi530 altmodes {
H A Drk3588s-evb8-lp4x.dtsi477 altmodes {
H A Drk3588s-evb1-lp4x.dtsi502 altmodes {
H A Drk3588-evb7-v11.dtsi600 altmodes {
H A Drk3588-evb3-lp5.dtsi926 altmodes {
H A Drk3588s-evb4-lp4x.dtsi589 altmodes {
H A Drk3588s-tablet.dtsi792 altmodes {
H A Drk3588s-tablet-single.dtsi779 altmodes {
H A Drk3399-evb-ind.dtsi881 altmodes {
/OK3568_Linux_fs/kernel/drivers/usb/typec/tcpm/
H A Dtcpm.c269 int altmodes; /* number of alternate modes */ member
1555 if (pmdata->altmodes >= ARRAY_SIZE(port->partner_altmode)) { in svdm_consume_modes()
1561 paltmode = &pmdata->altmode_desc[pmdata->altmodes]; in svdm_consume_modes()
1569 pmdata->altmodes, paltmode->svid, in svdm_consume_modes()
1572 pmdata->altmodes++; in svdm_consume_modes()
1582 for (i = 0; i < modep->altmodes; i++) { in tcpm_register_partner_altmodes()
3697 for (i = 0; i < modep->altmodes; i++) { in tcpm_unregister_altmodes()

12