Searched refs:altmodes (Results 1 - 6 of 6) sorted by relevance
/linux-master/drivers/usb/typec/ |
H A D | Makefile | 5 obj-$(CONFIG_TYPEC) += altmodes/
|
H A D | bus.c | 409 * @altmodes: Array of alternate modes 417 struct typec_altmode *typec_match_altmode(struct typec_altmode **altmodes, argument 423 if (!altmodes[i]) 425 if (altmodes[i]->svid == svid && altmodes[i]->mode == mode) 426 return altmodes[i];
|
H A D | class.c | 790 * typec_partner_set_num_altmodes - Set the number of available partner altmodes 792 * @num_altmodes: The number of altmodes we want to specify as available. 1001 * typec_plug_set_num_altmodes - Set the number of available plug altmodes 1003 * @num_altmodes: The number of altmodes we want to specify as available. 2275 struct typec_altmode **altmodes, size_t n) 2285 altmodes_node = device_get_named_child_node(&port->dev, "altmodes"); 2287 return; /* No altmodes specified */ 2322 altmodes[index] = alt; 2329 * typec_port_register_cable_ops - Register typec_cable_ops to port altmodes 2330 * @altmodes 2273 typec_port_register_altmodes(struct typec_port *port, const struct typec_altmode_ops *ops, void *drvdata, struct typec_altmode **altmodes, size_t n) argument 2334 typec_port_register_cable_ops(struct typec_altmode **altmodes, int max_altmodes, const struct typec_cable_ops *ops) argument [all...] |
/linux-master/include/linux/usb/ |
H A D | typec.h | 159 struct typec_altmode **altmodes, size_t n); 161 void typec_port_register_cable_ops(struct typec_altmode **altmodes, int max_altmodes,
|
H A D | typec_altmode.h | 152 struct typec_altmode *typec_match_altmode(struct typec_altmode **altmodes,
|
/linux-master/drivers/usb/typec/tcpm/ |
H A D | tcpm.c | 274 int altmodes; /* number of alternate modes */ member in struct:pd_mode_data 1712 if (pmdata->altmodes >= ARRAY_SIZE(port->plug_prime_altmode)) { 1719 if (pmdata->altmodes >= ARRAY_SIZE(port->partner_altmode)) { 1729 paltmode = &pmdata->altmode_desc[pmdata->altmodes]; 1737 pmdata->altmodes, paltmode->svid, 1740 pmdata->altmodes++; 1753 for (i = 0; i < modep->altmodes; i++) { 1771 typec_plug_set_num_altmodes(port->plug_prime, modep->altmodes); 1773 for (i = 0; i < modep->altmodes; i++) { 4359 for (i = 0; i < modep->altmodes; [all...] |
Completed in 283 milliseconds