Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/usb/typec/
Dbus.c24 port_altmode = is_port ? to_altmode(adev) : to_altmode(adev)->partner; in typec_altmode_set_state()
62 altmode = to_altmode(adev); in typec_altmode_notify()
94 struct altmode *partner = to_altmode(adev)->partner; in typec_altmode_enter()
122 struct altmode *partner = to_altmode(adev)->partner; in typec_altmode_exit()
151 struct typec_altmode *pdev = &to_altmode(adev)->partner->adev; in typec_altmode_attention()
178 altmode = to_altmode(adev); in typec_altmode_vdm()
195 return &to_altmode(adev)->partner->adev; in typec_altmode_get_partner()
213 struct altmode *port = to_altmode(adev)->partner; in typec_altmode_get_plug()
354 struct altmode *altmode = to_altmode(adev); in typec_probe()
378 struct altmode *altmode = to_altmode(adev); in typec_remove()
Dbus.h29 #define to_altmode(d) container_of(d, struct altmode, adev) macro
Dclass.c174 partner = to_altmode(to_typec_altmode(dev)); in typec_altmode_set_partner()
242 altmode = to_altmode(to_typec_altmode(altmode_dev)); in typec_altmode_register_notifier()
258 struct altmode *altmode = to_altmode(adev); in typec_altmode_unregister_notifier()
345 struct altmode *altmode = to_altmode(adev); in active_store()
384 struct altmode *alt = to_altmode(to_typec_altmode(dev)); in supported_roles_show()
460 struct altmode *alt = to_altmode(to_typec_altmode(dev)); in typec_altmode_release()
544 typec_mux_put(to_altmode(adev)->mux); in typec_unregister_altmode()
1511 to_altmode(adev)->mux = mux; in typec_port_register_altmode()