Lines Matching refs:data
32 * Note that NCM requires the use of "alternate settings" for its data
130 #define NCM_STATUS_BYTECOUNT 16 /* 8 byte header + data */
137 .bInterfaceCount = 2, /* control + data */
199 /* the default data interface has no endpoints ... */
214 /* ... but the "real" data interface has two bulk endpoints */
266 /* data interface, altsettings 0 and 1 */
312 /* data interface, altsettings 0 and 1 */
380 /* data interface, altsettings 0 and 1 */
530 __le32 *data;
562 /* SPEED_CHANGE data is up/down speeds in bits/sec */
563 data = req->buf + sizeof *event;
564 data[0] = cpu_to_le32(gether_bitrate(cdev->gadget));
565 data[1] = data[0];
685 * see 6.2.30: no data, wIndex = interface,
828 /* respond with data transfer or status phase? */
880 * CDC Network only sends data in non-default altsettings.
925 * Because the data interface supports multiple altsettings,
958 ntb_iter = (void *) ncm->skb_tx_data->data;
969 ntb_iter = (void *) ncm->skb_tx_ndp->data;
984 skb_put_data(skb2, ncm->skb_tx_ndp->data, ncm->skb_tx_ndp->len);
1019 skb->data,
1027 * ready for new data.
1100 /* Add the new data to the skb */
1102 skb_put_data(ncm->skb_tx_data, skb->data, skb->len);
1132 * The transmit should only be run if no skb data has been sent
1135 static enum hrtimer_restart ncm_tx_timeout(struct hrtimer *data)
1137 struct f_ncm *ncm = container_of(data, struct f_ncm, task_timer);
1159 unsigned char *ntb_ptr = skb->data;
1183 skb->data, 32, false);
1304 * Copy the data into a new skb.
1378 * - configured but inactive (data alt 0)
1379 * - configured and active (data alt 1)
1384 * likewise that "active" doesn't imply it's actually using the data