Home
last modified time | relevance | path

Searched defs:_dev_ (Results 1 – 2 of 2) sorted by relevance

/linux-5.10/drivers/usb/typec/
Dbus.h33 #define is_typec_altmode(_dev_) (_dev_->type == &typec_altmode_dev_type) argument
34 #define is_typec_port(_dev_) (_dev_->type == &typec_port_dev_type) argument
48 #define to_typec_switch(_dev_) container_of(_dev_, struct typec_switch, dev) argument
49 #define to_typec_mux(_dev_) container_of(_dev_, struct typec_mux, dev) argument
Dclass.c59 #define to_typec_port(_dev_) container_of(_dev_, struct typec_port, dev) argument
60 #define to_typec_plug(_dev_) container_of(_dev_, struct typec_plug, dev) argument
61 #define to_typec_cable(_dev_) container_of(_dev_, struct typec_cable, dev) argument
62 #define to_typec_partner(_dev_) container_of(_dev_, struct typec_partner, dev) argument
68 #define is_typec_partner(_dev_) (_dev_->type == &typec_partner_dev_type) argument
69 #define is_typec_cable(_dev_) (_dev_->type == &typec_cable_dev_type) argument
70 #define is_typec_plug(_dev_) (_dev_->type == &typec_plug_dev_type) argument