Lines Matching defs:value
323 struct usb_cdc_line_coding *value = req->buf;
332 acm->port_line_coding = *value;
341 int value = -EOPNOTSUPP;
363 value = w_length;
368 /* GET_LINE_CODING ... return what host sent, or initial value */
374 value = min_t(unsigned, w_length,
376 memcpy(req->buf, &acm->port_line_coding, value);
385 value = 0;
403 if (value >= 0) {
409 req->length = value;
410 value = usb_ep_queue(cdev->gadget->ep0, req, GFP_ATOMIC);
411 if (value < 0)
413 acm->port_num, value);
416 /* device either stalls (value < 0) or reports success */
417 return value;
482 * @value: Refer to cdc specs, wValue field.
492 static int acm_cdc_notify(struct f_acm *acm, u8 type, u16 value,
513 notify->wValue = cpu_to_le16(value);