Lines Matching defs:on
31 * Returns 0 on success otherwise negative errno
114 * @on: 1 for start, 0 for stop
116 * Returns 0 on success otherwise negative errno
118 int cdns3_drd_switch_host(struct cdns3 *cdns, int on)
124 if (on) {
127 dev_dbg(cdns->dev, "Waiting till Host mode is turned on\n");
151 * @on: 1 for start, 0 for stop
153 * Returns 0 on success otherwise negative errno
155 int cdns3_drd_switch_gadget(struct cdns3 *cdns, int on)
161 if (on) {
164 dev_dbg(cdns->dev, "Waiting till Device mode is turned on\n");
195 * Returns 0 on success otherwise negative errno
215 * Returns 0 on success otherwise negative errno