Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/usb/typec/
Dbus.h35 #define is_typec_altmode(_dev_) (_dev_->type == &typec_altmode_dev_type) argument
36 #define is_typec_port(_dev_) (_dev_->type == &typec_port_dev_type) argument
Dclass.c57 #define to_typec_port(_dev_) container_of(_dev_, struct typec_port, dev) argument
58 #define to_typec_plug(_dev_) container_of(_dev_, struct typec_plug, dev) argument
59 #define to_typec_cable(_dev_) container_of(_dev_, struct typec_cable, dev) argument
60 #define to_typec_partner(_dev_) container_of(_dev_, struct typec_partner, dev) argument
66 #define is_typec_partner(_dev_) (_dev_->type == &typec_partner_dev_type) argument
67 #define is_typec_cable(_dev_) (_dev_->type == &typec_cable_dev_type) argument
68 #define is_typec_plug(_dev_) (_dev_->type == &typec_plug_dev_type) argument