Home
last modified time | relevance | path

Searched refs:to_altmode (Results 1 – 3 of 3) sorted by relevance

/drivers/usb/typec/
Dbus.c34 port_altmode = is_port ? to_altmode(adev) : to_altmode(adev)->partner; in typec_altmode_set_state()
66 altmode = to_altmode(adev); in typec_altmode_notify()
97 struct altmode *partner = to_altmode(adev)->partner; in typec_altmode_enter()
128 struct altmode *partner = to_altmode(adev)->partner; in typec_altmode_exit()
157 struct altmode *partner = to_altmode(adev)->partner; in typec_altmode_attention()
192 altmode = to_altmode(adev); in typec_altmode_vdm()
209 if (!adev || !to_altmode(adev)->partner) in typec_altmode_get_partner()
212 return &to_altmode(adev)->partner->adev; in typec_altmode_get_partner()
230 struct altmode *port = to_altmode(adev)->partner; in typec_altmode_get_plug()
371 struct altmode *altmode = to_altmode(adev); in typec_probe()
[all …]
Dbus.h27 #define to_altmode(d) container_of(d, struct altmode, adev) macro
Dclass.c307 partner = to_altmode(to_typec_altmode(dev)); in typec_altmode_set_partner()
422 struct altmode *altmode = to_altmode(adev); in active_store()
461 struct altmode *alt = to_altmode(to_typec_altmode(dev)); in supported_roles_show()
558 struct altmode *alt = to_altmode(to_typec_altmode(dev)); in typec_altmode_release()
647 typec_mux_put(to_altmode(adev)->mux); in typec_unregister_altmode()
1984 to_altmode(adev)->mux = mux; in typec_port_register_altmode()