typec_caps 200 drivers/usb/typec/tcpm/tcpm.c struct typec_capability typec_caps; typec_caps 396 drivers/usb/typec/tcpm/tcpm.c return container_of(cap, struct tcpm_port, typec_caps); typec_caps 4441 drivers/usb/typec/tcpm/tcpm.c port->typec_caps.data = ret; typec_caps 4451 drivers/usb/typec/tcpm/tcpm.c port->typec_caps.type = ret; typec_caps 4452 drivers/usb/typec/tcpm/tcpm.c port->port_type = port->typec_caps.type; typec_caps 4477 drivers/usb/typec/tcpm/tcpm.c port->typec_caps.prefer_role = typec_find_power_role(cap_str); typec_caps 4478 drivers/usb/typec/tcpm/tcpm.c if (port->typec_caps.prefer_role < 0) typec_caps 4744 drivers/usb/typec/tcpm/tcpm.c port->typec_caps.prefer_role = tcfg->default_role; typec_caps 4745 drivers/usb/typec/tcpm/tcpm.c port->typec_caps.type = tcfg->type; typec_caps 4746 drivers/usb/typec/tcpm/tcpm.c port->typec_caps.data = tcfg->data; typec_caps 4794 drivers/usb/typec/tcpm/tcpm.c port->try_role = port->typec_caps.prefer_role; typec_caps 4798 drivers/usb/typec/tcpm/tcpm.c port->typec_caps.fwnode = tcpc->fwnode; typec_caps 4799 drivers/usb/typec/tcpm/tcpm.c port->typec_caps.revision = 0x0120; /* Type-C spec release 1.2 */ typec_caps 4800 drivers/usb/typec/tcpm/tcpm.c port->typec_caps.pd_revision = 0x0300; /* USB-PD spec release 3.0 */ typec_caps 4801 drivers/usb/typec/tcpm/tcpm.c port->typec_caps.dr_set = tcpm_dr_set; typec_caps 4802 drivers/usb/typec/tcpm/tcpm.c port->typec_caps.pr_set = tcpm_pr_set; typec_caps 4803 drivers/usb/typec/tcpm/tcpm.c port->typec_caps.vconn_set = tcpm_vconn_set; typec_caps 4804 drivers/usb/typec/tcpm/tcpm.c port->typec_caps.try_role = tcpm_try_role; typec_caps 4805 drivers/usb/typec/tcpm/tcpm.c port->typec_caps.port_type_set = tcpm_port_type_set; typec_caps 4808 drivers/usb/typec/tcpm/tcpm.c port->port_type = port->typec_caps.type; typec_caps 4820 drivers/usb/typec/tcpm/tcpm.c port->typec_port = typec_register_port(port->dev, &port->typec_caps);