Lines Matching defs:data

32  * Note that NCM requires the use of "alternate settings" for its data
140 #define NCM_STATUS_BYTECOUNT 16 /* 8 byte header + data */
147 .bInterfaceCount = 2, /* control + data */
208 /* the default data interface has no endpoints ... */
223 /* ... but the "real" data interface has two bulk endpoints */
275 /* data interface, altsettings 0 and 1 */
321 /* data interface, altsettings 0 and 1 */
389 /* data interface, altsettings 0 and 1 */
539 __le32 *data;
571 /* SPEED_CHANGE data is up/down speeds in bits/sec */
572 data = req->buf + sizeof *event;
573 data[0] = cpu_to_le32(gether_bitrate(cdev->gadget));
574 data[1] = data[0];
694 * see 6.2.30: no data, wIndex = interface,
837 /* respond with data transfer or status phase? */
889 * CDC Network only sends data in non-default altsettings.
934 * Because the data interface supports multiple altsettings,
967 ntb_iter = (void *) ncm->skb_tx_data->data;
978 ntb_iter = (void *) ncm->skb_tx_ndp->data;
993 skb_put_data(skb2, ncm->skb_tx_ndp->data, ncm->skb_tx_ndp->len);
1028 skb->data,
1036 * ready for new data.
1109 /* Add the new data to the skb */
1111 skb_put_data(ncm->skb_tx_data, skb->data, skb->len);
1141 * The transmit should only be run if no skb data has been sent
1144 static enum hrtimer_restart ncm_tx_timeout(struct hrtimer *data)
1146 struct f_ncm *ncm = container_of(data, struct f_ncm, task_timer);
1168 unsigned char *ntb_ptr = skb->data;
1196 skb->data, 32, false);
1317 * Copy the data into a new skb.
1391 * - configured but inactive (data alt 0)
1392 * - configured and active (data alt 1)
1397 * likewise that "active" doesn't imply it's actually using the data