Lines Matching +full:binary +full:- +full:coded
1 /* SPDX-License-Identifier: GPL-2.0 */
34 /* effective for A-peripheral, ignored for B devices */
37 /* for B devices only: start session with A-Host */
46 * struct usb_otg_caps - describes the otg capabilities of the device
48 * in binary-coded decimal (i.e. 2.0 is 0200H).
66 if (otg && otg->start_hnp) in otg_start_hnp()
67 return otg->start_hnp(otg); in otg_start_hnp()
69 return -ENOTSUPP; in otg_start_hnp()
76 if (otg && otg->set_vbus) in otg_set_vbus()
77 return otg->set_vbus(otg, enabled); in otg_set_vbus()
79 return -ENOTSUPP; in otg_set_vbus()
86 if (otg && otg->set_host) in otg_set_host()
87 return otg->set_host(otg, host); in otg_set_host()
89 return -ENOTSUPP; in otg_set_host()
98 if (otg && otg->set_peripheral) in otg_set_peripheral()
99 return otg->set_peripheral(otg, periph); in otg_set_peripheral()
101 return -ENOTSUPP; in otg_set_peripheral()
107 if (otg && otg->start_srp) in otg_start_srp()
108 return otg->start_srp(otg); in otg_start_srp()
110 return -ENOTSUPP; in otg_start_srp()
124 * usb_get_dr_mode - Get dual role mode for given device