to_altmode 24 drivers/usb/typec/bus.c port_altmode = is_port ? to_altmode(adev) : to_altmode(adev)->partner; to_altmode 62 drivers/usb/typec/bus.c altmode = to_altmode(adev); to_altmode 94 drivers/usb/typec/bus.c struct altmode *partner = to_altmode(adev)->partner; to_altmode 122 drivers/usb/typec/bus.c struct altmode *partner = to_altmode(adev)->partner; to_altmode 151 drivers/usb/typec/bus.c struct typec_altmode *pdev = &to_altmode(adev)->partner->adev; to_altmode 178 drivers/usb/typec/bus.c altmode = to_altmode(adev); to_altmode 195 drivers/usb/typec/bus.c if (!adev || !to_altmode(adev)->partner) to_altmode 198 drivers/usb/typec/bus.c return &to_altmode(adev)->partner->adev; to_altmode 216 drivers/usb/typec/bus.c struct altmode *port = to_altmode(adev)->partner; to_altmode 357 drivers/usb/typec/bus.c struct altmode *altmode = to_altmode(adev); to_altmode 381 drivers/usb/typec/bus.c struct altmode *altmode = to_altmode(adev); to_altmode 175 drivers/usb/typec/class.c partner = to_altmode(to_typec_altmode(dev)); to_altmode 248 drivers/usb/typec/class.c altmode = to_altmode(to_typec_altmode(altmode_dev)); to_altmode 264 drivers/usb/typec/class.c struct altmode *altmode = to_altmode(adev); to_altmode 351 drivers/usb/typec/class.c struct altmode *altmode = to_altmode(adev); to_altmode 390 drivers/usb/typec/class.c struct altmode *alt = to_altmode(to_typec_altmode(dev)); to_altmode 466 drivers/usb/typec/class.c struct altmode *alt = to_altmode(to_typec_altmode(dev)); to_altmode 550 drivers/usb/typec/class.c typec_mux_put(to_altmode(adev)->mux); to_altmode 1514 drivers/usb/typec/class.c to_altmode(adev)->mux = mux;