Home
last modified time | relevance | path

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

/linux/drivers/usb/typec/
A Dbus.c36 port_altmode = is_port ? to_altmode(adev) : to_altmode(adev)->partner; in typec_altmode_set_state()
68 altmode = to_altmode(adev); in typec_altmode_notify()
99 struct altmode *partner = to_altmode(adev)->partner; in typec_altmode_enter()
130 struct altmode *partner = to_altmode(adev)->partner; in typec_altmode_exit()
159 struct typec_altmode *pdev = &to_altmode(adev)->partner->adev; in typec_altmode_attention()
186 altmode = to_altmode(adev); in typec_altmode_vdm()
203 if (!adev || !to_altmode(adev)->partner) in typec_altmode_get_partner()
206 return &to_altmode(adev)->partner->adev; in typec_altmode_get_partner()
224 struct altmode *port = to_altmode(adev)->partner; in typec_altmode_get_plug()
365 struct altmode *altmode = to_altmode(adev); in typec_probe()
[all …]
A Dbus.h27 #define to_altmode(d) container_of(d, struct altmode, adev) macro
A Dclass.c247 partner = to_altmode(to_typec_altmode(dev)); in typec_altmode_set_partner()
360 struct altmode *altmode = to_altmode(adev); in active_store()
399 struct altmode *alt = to_altmode(to_typec_altmode(dev)); in supported_roles_show()
496 struct altmode *alt = to_altmode(to_typec_altmode(dev)); in typec_altmode_release()
584 typec_mux_put(to_altmode(adev)->mux); in typec_unregister_altmode()
1922 to_altmode(adev)->mux = mux; in typec_port_register_altmode()

Completed in 10 milliseconds