Searched refs:packet_size (Results 1 - 25 of 31) sorted by relevance

12

/drivers/isdn/hisax/
H A Dst5481_b.c35 unsigned int packet_size, offset; local
49 packet_size = SIZE_ISO_PACKETS_B_OUT + B_FLOW_ADJUST;
53 packet_size = SIZE_ISO_PACKETS_B_OUT - B_FLOW_ADJUST;
57 packet_size = 8;
113 urb->iso_frame_desc[i].length = packet_size;
114 offset += packet_size;
115 packet_size = SIZE_ISO_PACKETS_B_OUT;
315 bcs->b_in.packet_size = SIZE_ISO_PACKETS_B_IN;
H A Dst5481_usb.c398 int packet_size, usb_complete_t complete,
408 urb->transfer_buffer_length = num_packets * packet_size;
414 urb->iso_frame_desc[k].offset = packet_size * k;
415 urb->iso_frame_desc[k].length = packet_size;
423 int packet_size, int buf_size,
442 num_packets, packet_size, complete,
554 in->num_packets, in->packet_size,
555 in->num_packets * in->packet_size,
649 in->packet_size,
396 fill_isoc_urb(struct urb *urb, struct usb_device *dev, unsigned int pipe, void *buf, int num_packets, int packet_size, usb_complete_t complete, void *context) argument
421 st5481_setup_isocpipes(struct urb *urb[2], struct usb_device *dev, unsigned int pipe, int num_packets, int packet_size, int buf_size, usb_complete_t complete, void *context) argument
H A Dhfc_usb.c186 int packet_size, iso_packet_size; member in struct:hfcusb_data
428 void *buf, int num_packets, int packet_size, int interval,
437 urb->transfer_buffer_length = packet_size * num_packets;
444 urb->iso_frame_desc[k].offset = packet_size * k;
445 urb->iso_frame_desc[k].length = packet_size;
455 usb_complete_t complete, int packet_size)
491 k * packet_size;
494 packet_size;
1122 (hfc->packet_size / 8) | ((hfc->packet_size /
427 fill_isoc_urb(struct urb *urb, struct usb_device *dev, unsigned int pipe, void *buf, int num_packets, int packet_size, int interval, usb_complete_t complete, void *context) argument
454 start_isoc_chain(usb_fifo *fifo, int num_packets_per_urb, usb_complete_t complete, int packet_size) argument
1268 int cmptbl[16], small_match, iso_packet_size, packet_size, local
[all...]
H A Dst5481.h359 unsigned int packet_size; member in struct:st5481_in
447 int packet_size, int buf_size,
/drivers/net/ethernet/mellanox/mlx4/
H A Den_selftest.c54 unsigned int packet_size = MLX4_LOOPBACK_TEST_PAYLOAD; local
68 packet = (unsigned char *)skb_put(skb, packet_size);
73 for (i = 0; i < packet_size; ++i) /* fill our packet */
/drivers/media/video/gspca/stv06xx/
H A Dstv06xx.c270 int err, packet_size; local
279 packet_size = le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize);
280 err = stv06xx_write_bridge(sd, STV_ISO_SIZE_L, packet_size);
316 int ret, packet_size, min_packet_size; local
321 packet_size = le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize);
323 if (packet_size <= min_packet_size)
326 packet_size -= 100;
327 if (packet_size < min_packet_size)
328 packet_size = min_packet_size;
329 alt->endpoint[0].desc.wMaxPacketSize = cpu_to_le16(packet_size);
[all...]
H A Dstv06xx_pb0100.c213 int err, packet_size, max_packet_size; local
224 packet_size = le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize);
228 if (packet_size < max_packet_size)
/drivers/media/video/gspca/
H A Dkonica.c279 int i, n, packet_size; local
290 packet_size = le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize);
313 packet_size =
322 packet_size * SD_NPKT,
332 urb->transfer_buffer_length = packet_size * SD_NPKT;
341 urb->iso_frame_desc[i].length = packet_size;
342 urb->iso_frame_desc[i].offset = packet_size * i;
H A Dxirlink_cit.c1602 int packet_size; local
1604 packet_size = cit_get_packet_size(gspca_dev);
1605 if (packet_size < 0)
1606 return packet_size;
1609 1000 * packet_size >
1616 packet_size, gspca_dev->width, gspca_dev->height, clock_div,
2731 int packet_size; local
2733 packet_size = cit_get_packet_size(gspca_dev);
2734 if (packet_size < 0)
2735 return packet_size;
2800 int ret, packet_size, min_packet_size; local
[all...]
/drivers/ide/
H A Dide-atapi.c39 u8 gcw[2], protocol, device_type, removable, drq_type, packet_size; local
47 packet_size = gcw[0] & 0x03;
70 else if (packet_size != 0)
72 "bytes\n", s, drive->name, packet_size);
/drivers/staging/tidspbridge/dynload/
H A Ddoff.h208 s32 packet_size; /* number of bytes in array */ member in struct:image_packet_t
H A Dtramp.c711 packet_size));
784 ipacket->packet_size;
797 for (i = 0; i < ipacket->packet_size; i++)
811 for (i = 0; i < dup_pkt->img_pkt.packet_size; i++)
1019 for (i = 0; i < dup_pkt->img_pkt.packet_size; i++)
H A Dgetsection.c314 ipsize = BYTE_TO_HOST(DOFF_ALIGN(ipacket.packet_size));
H A Dcload.c952 unsigned char *pktend = pktp + BYTE_TO_HOST_ROUND(ipacket->packet_size);
1185 (ibuf.ipacket.packet_size));
1267 packet_size))) {
1279 BYTE_TO_TADDR(ibuf.ipacket.packet_size);
/drivers/usb/atm/
H A Dusbatm.h146 unsigned int packet_size; /* endpoint maxpacket */ member in struct:usbatm_channel
H A Dusbatm.c542 const unsigned int packet_size = instance->rx_channel.packet_size; local
549 UDSL_ASSERT(instance, actual_length <= packet_size);
554 if (merge_length && (actual_length < packet_size)) {
1158 instance->rx_channel.packet_size = maxpacket;
1176 unsigned int iso_packets = usb_pipeisoc(channel->endpoint) ? channel->buf_size / channel->packet_size : 0;
1205 urb->iso_frame_desc[j].offset = channel->packet_size * j;
1206 urb->iso_frame_desc[j].length = channel->packet_size;
/drivers/media/dvb/dvb-usb/
H A Dit913x.c654 u8 packet_size, min_pkt; local
674 packet_size = i - pos;
675 if ((packet_size > min_pkt) || (i == fw->size)) {
677 pos += packet_size;
678 if (packet_size > 0) {
681 0, fw_data, packet_size);
H A Dlmedm04.c734 u8 packet_size, dlen, i; local
737 packet_size = 0x31;
751 for (j = start; j < end; j += (packet_size+1)) {
753 if ((end - j) > packet_size) {
755 dlen = packet_size;
H A Daf9015.c398 u8 packet_size; local
416 packet_size = TS_USB11_MAX_PACKET_SIZE/4;
419 packet_size = TS_USB20_MAX_PACKET_SIZE/4;
464 ret = af9015_write_reg(d, 0xdd0c, packet_size); /* EP4 packet size */
467 ret = af9015_write_reg(d, 0xdd0d, packet_size); /* EP5 packet size */
/drivers/isdn/hardware/mISDN/
H A Dhfcsusb.c980 void *buf, int num_packets, int packet_size, int interval,
985 usb_fill_bulk_urb(urb, dev, pipe, buf, packet_size * num_packets,
994 urb->iso_frame_desc[k].offset = packet_size * k;
995 urb->iso_frame_desc[k].length = packet_size;
1411 usb_complete_t complete, int packet_size)
1450 k * packet_size;
1453 packet_size;
1590 write_reg(hw, HFCUSB_USB_SIZE, (hw->packet_size / 8) |
1591 ((hw->packet_size / 8) << 4));
1941 ep_addr, cmptbl[16], small_match, iso_packet_size, packet_size, local
979 fill_isoc_urb(struct urb *urb, struct usb_device *dev, unsigned int pipe, void *buf, int num_packets, int packet_size, int interval, usb_complete_t complete, void *context) argument
1410 start_isoc_chain(struct usb_fifo *fifo, int num_packets_per_urb, usb_complete_t complete, int packet_size) argument
[all...]
H A Dhfcsusb.h282 int packet_size; member in struct:hfcsusb
/drivers/hid/
H A Dhid-hyperv.c319 const int packet_size = 0x100; local
326 int bufferlen = packet_size;
/drivers/block/drbd/
H A Ddrbd_receiver.c922 static int drbd_recv_header(struct drbd_conf *mdev, enum drbd_packets *cmd, unsigned int *packet_size) argument
936 *packet_size = be16_to_cpu(h->h80.length);
939 *packet_size = be32_to_cpu(h->h95.length);
2763 static int receive_SyncParam(struct drbd_conf *mdev, enum drbd_packets cmd, unsigned int packet_size) argument
2780 if (packet_size > exp_max_sz) {
2782 packet_size, exp_max_sz);
2788 data_size = packet_size - header_size;
2791 data_size = packet_size - header_size;
2795 data_size = packet_size - header_size;
3681 unsigned int packet_size; local
[all...]
/drivers/net/wireless/iwmc3200wifi/
H A Drx.c472 u32 packet_size; local
480 packet_size = buf_size - sizeof(struct iwm_umac_wifi_in_hdr);
483 wifi_hdr->sw_hdr.cmd.cmd, id, packet_size);
485 IWM_HEXDUMP(iwm, DBG, RX, "PACKET: ", buf + buf_offset, packet_size);
487 packet = iwm_rx_packet_alloc(iwm, buf + buf_offset, packet_size, id);
/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_main.c1400 u32 packet_size, write_offset; local
1440 packet_size = ((prrs->word1 >> RRS_PKT_SIZE_SHIFT) &
1442 skb = netdev_alloc_skb_ip_align(netdev, packet_size);
1448 memcpy(skb->data, (u8 *)(prrs + 1), packet_size);
1449 skb_put(skb, packet_size);

Completed in 507 milliseconds

12