_dev_ 35 drivers/usb/typec/bus.h #define is_typec_altmode(_dev_) (_dev_->type == &typec_altmode_dev_type) _dev_ 36 drivers/usb/typec/bus.h #define is_typec_port(_dev_) (_dev_->type == &typec_port_dev_type) _dev_ 50 drivers/usb/typec/bus.h #define to_typec_switch(_dev_) container_of(_dev_, struct typec_switch, dev) _dev_ 51 drivers/usb/typec/bus.h #define to_typec_mux(_dev_) container_of(_dev_, struct typec_mux, dev) _dev_ 58 drivers/usb/typec/class.c #define to_typec_port(_dev_) container_of(_dev_, struct typec_port, dev) _dev_ 59 drivers/usb/typec/class.c #define to_typec_plug(_dev_) container_of(_dev_, struct typec_plug, dev) _dev_ 60 drivers/usb/typec/class.c #define to_typec_cable(_dev_) container_of(_dev_, struct typec_cable, dev) _dev_ 61 drivers/usb/typec/class.c #define to_typec_partner(_dev_) container_of(_dev_, struct typec_partner, dev) _dev_ 67 drivers/usb/typec/class.c #define is_typec_partner(_dev_) (_dev_->type == &typec_partner_dev_type) _dev_ 68 drivers/usb/typec/class.c #define is_typec_cable(_dev_) (_dev_->type == &typec_cable_dev_type) _dev_ 69 drivers/usb/typec/class.c #define is_typec_plug(_dev_) (_dev_->type == &typec_plug_dev_type)