/linux-4.1.27/sound/firewire/ |
H A D | packets-buffer.c | 18 * @packet_size: the (maximum) size of a packet, in bytes 22 unsigned int count, unsigned int packet_size, iso_packets_buffer_init() 36 packet_size = L1_CACHE_ALIGN(packet_size); iso_packets_buffer_init() 37 packets_per_page = PAGE_SIZE / packet_size; iso_packets_buffer_init() 52 offset_in_page = (i % packets_per_page) * packet_size; iso_packets_buffer_init() 21 iso_packets_buffer_init(struct iso_packets_buffer *b, struct fw_unit *unit, unsigned int count, unsigned int packet_size, enum dma_data_direction direction) iso_packets_buffer_init() argument
|
H A D | packets-buffer.h | 21 unsigned int count, unsigned int packet_size,
|
/linux-4.1.27/fs/ecryptfs/ |
H A D | keystore.c | 624 size_t *packet_size, ecryptfs_write_tag_70_packet() 640 (*packet_size) = 0; ecryptfs_write_tag_70_packet() 684 (*packet_size) = s->max_packet_size; ecryptfs_write_tag_70_packet() 861 (*packet_size) = s->i; ecryptfs_write_tag_70_packet() 862 (*remaining_bytes) -= (*packet_size); ecryptfs_write_tag_70_packet() 902 * @packet_size: This function sets this to the the number of octets 914 size_t *packet_size, ecryptfs_parse_tag_70_packet() 922 (*packet_size) = 0; ecryptfs_parse_tag_70_packet() 948 if (data[(*packet_size)++] != ECRYPTFS_TAG_70_PACKET_TYPE) { ecryptfs_parse_tag_70_packet() 951 data[((*packet_size) - 1)], ECRYPTFS_TAG_70_PACKET_TYPE); ecryptfs_parse_tag_70_packet() 955 rc = ecryptfs_parse_packet_length(&data[(*packet_size)], ecryptfs_parse_tag_70_packet() 974 (*packet_size) += s->packet_size_len; ecryptfs_parse_tag_70_packet() 975 ecryptfs_to_hex(s->fnek_sig_hex, &data[(*packet_size)], ecryptfs_parse_tag_70_packet() 978 (*packet_size) += ECRYPTFS_SIG_SIZE; ecryptfs_parse_tag_70_packet() 979 s->cipher_code = data[(*packet_size)++]; ecryptfs_parse_tag_70_packet() 1005 rc = virt_to_scatterlist(&data[(*packet_size)], ecryptfs_parse_tag_70_packet() 1014 (*packet_size) += s->block_aligned_filename_size; ecryptfs_parse_tag_70_packet() 1103 (*packet_size) = 0; ecryptfs_parse_tag_70_packet() 1235 * @packet_size: This function writes the size of the parsed packet 1245 size_t *packet_size, size_t max_packet_size) parse_tag_1_packet() 1252 (*packet_size) = 0; parse_tag_1_packet() 1272 if (data[(*packet_size)++] != ECRYPTFS_TAG_1_PACKET_TYPE) { parse_tag_1_packet() 1289 rc = ecryptfs_parse_packet_length(&data[(*packet_size)], &body_size, parse_tag_1_packet() 1301 (*packet_size) += length_size; parse_tag_1_packet() 1302 if (unlikely((*packet_size) + body_size > max_packet_size)) { parse_tag_1_packet() 1307 if (unlikely(data[(*packet_size)++] != 0x03)) { parse_tag_1_packet() 1309 data[(*packet_size) - 1]); parse_tag_1_packet() 1314 &data[(*packet_size)], ECRYPTFS_SIG_SIZE); parse_tag_1_packet() 1315 *packet_size += ECRYPTFS_SIG_SIZE; parse_tag_1_packet() 1318 (*packet_size)++; parse_tag_1_packet() 1329 &data[(*packet_size)], (body_size - (ECRYPTFS_SIG_SIZE + 2))); parse_tag_1_packet() 1330 (*packet_size) += (*new_auth_tok)->session_key.encrypted_key_size; parse_tag_1_packet() 1351 (*packet_size) = 0; parse_tag_1_packet() 1367 * @packet_size: This function writes the size of the parsed packet 1377 size_t *packet_size, size_t max_packet_size) parse_tag_3_packet() 1384 (*packet_size) = 0; parse_tag_3_packet() 1407 if (data[(*packet_size)++] != ECRYPTFS_TAG_3_PACKET_TYPE) { parse_tag_3_packet() 1423 rc = ecryptfs_parse_packet_length(&data[(*packet_size)], &body_size, parse_tag_3_packet() 1435 (*packet_size) += length_size; parse_tag_3_packet() 1436 if (unlikely((*packet_size) + body_size > max_packet_size)) { parse_tag_3_packet() 1450 if (unlikely(data[(*packet_size)++] != 0x04)) { parse_tag_3_packet() 1452 data[(*packet_size) - 1]); parse_tag_3_packet() 1457 (u16)data[(*packet_size)]); parse_tag_3_packet() 1462 switch(data[(*packet_size)++]) { parse_tag_3_packet() 1473 if (unlikely(data[(*packet_size)++] != 0x03)) { parse_tag_3_packet() 1479 switch (data[(*packet_size)++]) { parse_tag_3_packet() 1483 &data[(*packet_size)], ECRYPTFS_SALT_SIZE); parse_tag_3_packet() 1484 (*packet_size) += ECRYPTFS_SALT_SIZE; parse_tag_3_packet() 1487 ((u32) 16 + (data[(*packet_size)] & 15)) parse_tag_3_packet() 1488 << ((data[(*packet_size)] >> 4) + 6); parse_tag_3_packet() 1489 (*packet_size)++; parse_tag_3_packet() 1494 &data[(*packet_size)], parse_tag_3_packet() 1496 (*packet_size) += parse_tag_3_packet() 1506 "[%d]\n", data[(*packet_size) - 1]); parse_tag_3_packet() 1527 (*packet_size) = 0; parse_tag_3_packet() 1541 * @packet_size: This function writes the size of the parsed packet 1550 size_t *packet_size, size_t max_packet_size) parse_tag_11_packet() 1556 (*packet_size) = 0; parse_tag_11_packet() 1577 if (data[(*packet_size)++] != ECRYPTFS_TAG_11_PACKET_TYPE) { parse_tag_11_packet() 1582 rc = ecryptfs_parse_packet_length(&data[(*packet_size)], &body_size, parse_tag_11_packet() 1593 (*packet_size) += length_size; parse_tag_11_packet() 1595 if (unlikely((*packet_size) + body_size + 1 > max_packet_size)) { parse_tag_11_packet() 1606 if (data[(*packet_size)++] != 0x62) { parse_tag_11_packet() 1611 if (data[(*packet_size)++] != 0x08) { parse_tag_11_packet() 1616 (*packet_size) += 12; /* Ignore filename and modification date */ parse_tag_11_packet() 1617 memcpy(contents, &data[(*packet_size)], (*tag_11_contents_size)); parse_tag_11_packet() 1618 (*packet_size) += (*tag_11_contents_size); parse_tag_11_packet() 1621 (*packet_size) = 0; parse_tag_11_packet() 1768 size_t packet_size; ecryptfs_parse_packet_set() local 1789 &packet_size, max_packet_size); ecryptfs_parse_packet_set() 1796 i += packet_size; ecryptfs_parse_packet_set() 1833 &packet_size, max_packet_size); ecryptfs_parse_packet_set() 1840 i += packet_size; ecryptfs_parse_packet_set() 2017 * @packet_size: This function will write the number of bytes that end 2026 struct ecryptfs_key_record *key_rec, size_t *packet_size) write_tag_1_packet() 2034 (*packet_size) = 0; write_tag_1_packet() 2079 dest[(*packet_size)++] = ECRYPTFS_TAG_1_PACKET_TYPE; write_tag_1_packet() 2080 rc = ecryptfs_write_packet_length(&dest[(*packet_size)], write_tag_1_packet() 2088 (*packet_size) += packet_size_length; write_tag_1_packet() 2089 dest[(*packet_size)++] = 0x03; /* version 3 */ write_tag_1_packet() 2090 memcpy(&dest[(*packet_size)], key_rec->sig, ECRYPTFS_SIG_SIZE); write_tag_1_packet() 2091 (*packet_size) += ECRYPTFS_SIG_SIZE; write_tag_1_packet() 2092 dest[(*packet_size)++] = RFC2440_CIPHER_RSA; write_tag_1_packet() 2093 memcpy(&dest[(*packet_size)], key_rec->enc_key, write_tag_1_packet() 2095 (*packet_size) += key_rec->enc_key_size; write_tag_1_packet() 2098 (*packet_size) = 0; write_tag_1_packet() 2100 (*remaining_bytes) -= (*packet_size); write_tag_1_packet() 2172 * @packet_size: This function will write the number of bytes that end 2181 struct ecryptfs_key_record *key_rec, size_t *packet_size) write_tag_3_packet() 2200 (*packet_size) = 0; write_tag_3_packet() 2331 dest[(*packet_size)++] = ECRYPTFS_TAG_3_PACKET_TYPE; write_tag_3_packet() 2334 rc = ecryptfs_write_packet_length(&dest[(*packet_size)], write_tag_3_packet() 2342 (*packet_size) += packet_size_length; write_tag_3_packet() 2343 dest[(*packet_size)++] = 0x04; /* version 4 */ write_tag_3_packet() 2354 dest[(*packet_size)++] = cipher_code; write_tag_3_packet() 2355 dest[(*packet_size)++] = 0x03; /* S2K */ write_tag_3_packet() 2356 dest[(*packet_size)++] = 0x01; /* MD5 (TODO: parameterize) */ write_tag_3_packet() 2357 memcpy(&dest[(*packet_size)], auth_tok->token.password.salt, write_tag_3_packet() 2359 (*packet_size) += ECRYPTFS_SALT_SIZE; /* salt */ write_tag_3_packet() 2360 dest[(*packet_size)++] = 0x60; /* hash iterations (65536) */ write_tag_3_packet() 2361 memcpy(&dest[(*packet_size)], key_rec->enc_key, write_tag_3_packet() 2363 (*packet_size) += key_rec->enc_key_size; write_tag_3_packet() 2366 (*packet_size) = 0; write_tag_3_packet() 2368 (*remaining_bytes) -= (*packet_size); write_tag_3_packet() 623 ecryptfs_write_tag_70_packet(char *dest, size_t *remaining_bytes, size_t *packet_size, struct ecryptfs_mount_crypt_stat *mount_crypt_stat, char *filename, size_t filename_size) ecryptfs_write_tag_70_packet() argument 913 ecryptfs_parse_tag_70_packet(char **filename, size_t *filename_size, size_t *packet_size, struct ecryptfs_mount_crypt_stat *mount_crypt_stat, char *data, size_t max_packet_size) ecryptfs_parse_tag_70_packet() argument 1242 parse_tag_1_packet(struct ecryptfs_crypt_stat *crypt_stat, unsigned char *data, struct list_head *auth_tok_list, struct ecryptfs_auth_tok **new_auth_tok, size_t *packet_size, size_t max_packet_size) parse_tag_1_packet() argument 1374 parse_tag_3_packet(struct ecryptfs_crypt_stat *crypt_stat, unsigned char *data, struct list_head *auth_tok_list, struct ecryptfs_auth_tok **new_auth_tok, size_t *packet_size, size_t max_packet_size) parse_tag_3_packet() argument 1548 parse_tag_11_packet(unsigned char *data, unsigned char *contents, size_t max_contents_bytes, size_t *tag_11_contents_size, size_t *packet_size, size_t max_packet_size) parse_tag_11_packet() argument 2023 write_tag_1_packet(char *dest, size_t *remaining_bytes, struct key *auth_tok_key, struct ecryptfs_auth_tok *auth_tok, struct ecryptfs_crypt_stat *crypt_stat, struct ecryptfs_key_record *key_rec, size_t *packet_size) write_tag_1_packet() argument 2178 write_tag_3_packet(char *dest, size_t *remaining_bytes, struct ecryptfs_auth_tok *auth_tok, struct ecryptfs_crypt_stat *crypt_stat, struct ecryptfs_key_record *key_rec, size_t *packet_size) write_tag_3_packet() argument
|
H A D | miscdev.c | 374 size_t packet_size, packet_size_length; ecryptfs_miscdev_write() local 398 rc = ecryptfs_parse_packet_length(packet_size_peek, &packet_size, ecryptfs_miscdev_write() 406 if ((PKT_TYPE_SIZE + PKT_CTR_SIZE + packet_size_length + packet_size) ecryptfs_miscdev_write() 409 packet_size); ecryptfs_miscdev_write() 437 packet_size, seq); ecryptfs_miscdev_write()
|
H A D | ecryptfs_kernel.h | 708 size_t *packet_size, 713 size_t *packet_size,
|
H A D | crypto.c | 1513 size_t packet_size; ecryptfs_encrypt_filename() local 1540 &packet_size, ecryptfs_encrypt_filename() 1553 filename->encrypted_filename_size = packet_size; ecryptfs_encrypt_filename() 2067 size_t packet_size; ecryptfs_decode_and_decrypt_filename() local 2094 &packet_size, ecryptfs_decode_and_decrypt_filename()
|
/linux-4.1.27/drivers/isdn/hisax/ |
H A D | st5481_b.c | 35 unsigned int packet_size, offset; usb_b_out() local 49 packet_size = SIZE_ISO_PACKETS_B_OUT + B_FLOW_ADJUST; usb_b_out() 53 packet_size = SIZE_ISO_PACKETS_B_OUT - B_FLOW_ADJUST; usb_b_out() 57 packet_size = 8; usb_b_out() 113 urb->iso_frame_desc[i].length = packet_size; usb_b_out() 114 offset += packet_size; usb_b_out() 115 packet_size = SIZE_ISO_PACKETS_B_OUT; usb_b_out() 315 bcs->b_in.packet_size = SIZE_ISO_PACKETS_B_IN; st5481_setup_b()
|
H A D | st5481_usb.c | 406 int packet_size, usb_complete_t complete, fill_isoc_urb() 416 urb->transfer_buffer_length = num_packets * packet_size; fill_isoc_urb() 422 urb->iso_frame_desc[k].offset = packet_size * k; fill_isoc_urb() 423 urb->iso_frame_desc[k].length = packet_size; fill_isoc_urb() 431 int packet_size, int buf_size, st5481_setup_isocpipes() 450 num_packets, packet_size, complete, st5481_setup_isocpipes() 562 in->num_packets, in->packet_size, st5481_setup_in() 563 in->num_packets * in->packet_size, st5481_setup_in() 657 in->packet_size, st5481_in_mode() 404 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) fill_isoc_urb() argument 429 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) st5481_setup_isocpipes() argument
|
H A D | hfc_usb.c | 186 int packet_size, iso_packet_size; member in struct:hfcusb_data 428 void *buf, int num_packets, int packet_size, int interval, fill_isoc_urb() 437 urb->transfer_buffer_length = packet_size * num_packets; fill_isoc_urb() 444 urb->iso_frame_desc[k].offset = packet_size * k; fill_isoc_urb() 445 urb->iso_frame_desc[k].length = packet_size; fill_isoc_urb() 455 usb_complete_t complete, int packet_size) start_isoc_chain() 491 k * packet_size; start_isoc_chain() 494 packet_size; start_isoc_chain() 1121 (hfc->packet_size / 8) | ((hfc->packet_size / 8) << 4)); hfc_usb_init() 1267 int cmptbl[16], small_match, iso_packet_size, packet_size, hfc_usb_probe() local 1291 packet_size = 64; hfc_usb_probe() 1390 packet_size = hfc_usb_probe() 1418 packet_size = hfc_usb_probe() 1477 context->packet_size = packet_size; hfc_usb_probe() 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) fill_isoc_urb() argument 454 start_isoc_chain(usb_fifo *fifo, int num_packets_per_urb, usb_complete_t complete, int packet_size) start_isoc_chain() argument
|
H A D | st5481.h | 359 unsigned int packet_size; member in struct:st5481_in 447 int packet_size, int buf_size,
|
H A D | st5481_d.c | 705 adapter->d_in.packet_size = SIZE_ISO_PACKETS_D_IN; st5481_setup_d()
|
/linux-4.1.27/drivers/media/usb/gspca/ |
H A D | konica.c | 180 int i, n, packet_size; sd_start() local 191 packet_size = le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize); sd_start() 208 packet_size = sd_start() 217 packet_size * SD_NPKT, sd_start() 227 urb->transfer_buffer_length = packet_size * SD_NPKT; sd_start() 236 urb->iso_frame_desc[i].length = packet_size; sd_start() 237 urb->iso_frame_desc[i].offset = packet_size * i; sd_start()
|
H A D | xirlink_cit.c | 1466 int packet_size; cit_get_clock_div() local 1468 packet_size = cit_get_packet_size(gspca_dev); cit_get_clock_div() 1469 if (packet_size < 0) cit_get_clock_div() 1470 return packet_size; cit_get_clock_div() 1473 1000 * packet_size > cit_get_clock_div() 1480 packet_size, gspca_dev->pixfmt.width, gspca_dev->pixfmt.height, cit_get_clock_div() 2597 int packet_size; sd_start() local 2599 packet_size = cit_get_packet_size(gspca_dev); sd_start() 2600 if (packet_size < 0) sd_start() 2601 return packet_size; sd_start() 2625 cit_write_reg(gspca_dev, packet_size >> 8, 0x0106); sd_start() 2626 cit_write_reg(gspca_dev, packet_size & 0xff, 0x0107); sd_start() 2659 int ret, packet_size, min_packet_size; sd_isoc_nego() local 2675 packet_size = le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize); sd_isoc_nego() 2676 if (packet_size <= min_packet_size) sd_isoc_nego() 2679 packet_size -= 100; sd_isoc_nego() 2680 if (packet_size < min_packet_size) sd_isoc_nego() 2681 packet_size = min_packet_size; sd_isoc_nego() 2682 alt->endpoint[0].desc.wMaxPacketSize = cpu_to_le16(packet_size); sd_isoc_nego()
|
H A D | ov519.c | 3487 int hsegs, vsegs, packet_size, fps, needed; ov511_mode_init_regs() local 3500 packet_size = le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize); ov511_mode_init_regs() 3501 reg_w(sd, R51x_FIFO_PSIZE, packet_size >> 5); ov511_mode_init_regs() 3590 if (needed > 1000 * packet_size) { ov511_mode_init_regs() 3613 int hsegs, vsegs, packet_size; ov518_mode_init_regs() local 3625 packet_size = le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize); ov518_mode_init_regs() 3626 ov518_reg_w32(sd, R51x_FIFO_PSIZE, packet_size & ~7, 2); ov518_mode_init_regs()
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_selftest.c | 54 unsigned int packet_size = MLX4_LOOPBACK_TEST_PAYLOAD; mlx4_en_test_loopback_xmit() local 67 packet = (unsigned char *)skb_put(skb, packet_size); mlx4_en_test_loopback_xmit() 72 for (i = 0; i < packet_size; ++i) /* fill our packet */ mlx4_en_test_loopback_xmit()
|
/linux-4.1.27/drivers/media/usb/gspca/stv06xx/ |
H A D | stv06xx.c | 287 int err, packet_size; stv06xx_start() local 296 packet_size = le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize); stv06xx_start() 297 err = stv06xx_write_bridge(sd, STV_ISO_SIZE_L, packet_size); stv06xx_start() 333 int ret, packet_size, min_packet_size; stv06xx_isoc_nego() local 338 packet_size = le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize); stv06xx_isoc_nego() 340 if (packet_size <= min_packet_size) stv06xx_isoc_nego() 343 packet_size -= 100; stv06xx_isoc_nego() 344 if (packet_size < min_packet_size) stv06xx_isoc_nego() 345 packet_size = min_packet_size; stv06xx_isoc_nego() 346 alt->endpoint[0].desc.wMaxPacketSize = cpu_to_le16(packet_size); stv06xx_isoc_nego()
|
H A D | stv06xx_pb0100.c | 190 int err, packet_size, max_packet_size; pb0100_start() local 201 packet_size = le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize); pb0100_start() 205 if (packet_size < max_packet_size) pb0100_start()
|
H A D | stv06xx_vv6410.h | 196 /* FIXME (see if we can lower packet_size-s, needs testing, and also
|
/linux-4.1.27/fs/ncpfs/ |
H A D | ncp_fs.h | 76 return ncp_request2(server, function, server->packet, server->packet_size); ncp_request()
|
H A D | ncp_fs_sb.h | 64 int packet_size; member in struct:ncp_server
|
H A D | sock.c | 844 result = ncp_do_request(server, sizeof(*h), server->packet, server->packet_size); ncp_connect() 862 return ncp_do_request(server, sizeof(*h), server->packet, server->packet_size); ncp_disconnect()
|
H A D | inode.c | 626 server->packet_size = NCP_PACKET_SIZE; ncp_fill_super()
|
/linux-4.1.27/drivers/input/touchscreen/ |
H A D | mms114.c | 198 int packet_size; mms114_interrupt() local 210 packet_size = mms114_read_reg(data, MMS114_PACKET_SIZE); mms114_interrupt() 211 if (packet_size <= 0) mms114_interrupt() 214 touch_size = packet_size / MMS114_PACKET_NUM; mms114_interrupt() 216 error = __mms114_read_reg(data, MMS114_INFOMATION, packet_size, mms114_interrupt()
|
/linux-4.1.27/drivers/usb/isp1760/ |
H A D | isp1760-udc.c | 33 unsigned int packet_size; member in struct:isp1760_request 252 req->packet_size = min(req->req.length - req->req.actual, isp1760_udc_transmit() 256 __func__, req->packet_size, req->req.actual, isp1760_udc_transmit() 261 if (req->packet_size) isp1760_udc_transmit() 262 isp1760_udc_write(udc, DC_BUFLEN, req->packet_size); isp1760_udc_transmit() 270 for (i = req->packet_size; i > 2; i -= 4, ++buf) isp1760_udc_transmit() 277 if (!req->packet_size) isp1760_udc_transmit() 357 req->req.actual += req->packet_size; isp1760_ep_tx_complete() 361 req->packet_size && req->req.zero; isp1760_ep_tx_complete() 366 req->packet_size, req->req.zero, need_zlp); isp1760_ep_tx_complete()
|
/linux-4.1.27/drivers/isdn/hardware/mISDN/ |
H A D | hfcsusb.c | 950 void *buf, int num_packets, int packet_size, int interval, fill_isoc_urb() 955 usb_fill_bulk_urb(urb, dev, pipe, buf, packet_size * num_packets, fill_isoc_urb() 964 urb->iso_frame_desc[k].offset = packet_size * k; fill_isoc_urb() 965 urb->iso_frame_desc[k].length = packet_size; fill_isoc_urb() 1387 usb_complete_t complete, int packet_size) start_isoc_chain() 1426 k * packet_size; start_isoc_chain() 1429 packet_size; start_isoc_chain() 1566 write_reg(hw, HFCUSB_USB_SIZE, (hw->packet_size / 8) | reset_hfcsusb() 1567 ((hw->packet_size / 8) << 4)); reset_hfcsusb() 1916 ep_addr, cmptbl[16], small_match, iso_packet_size, packet_size, hfcsusb_probe() local 1947 packet_size = 64; hfcsusb_probe() 2040 packet_size = le16_to_cpu(ep->desc.wMaxPacketSize); hfcsusb_probe() 2050 packet_size = le16_to_cpu(ep->desc.wMaxPacketSize); hfcsusb_probe() 2081 hw->packet_size = packet_size; hfcsusb_probe() 949 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) fill_isoc_urb() argument 1386 start_isoc_chain(struct usb_fifo *fifo, int num_packets_per_urb, usb_complete_t complete, int packet_size) start_isoc_chain() argument
|
H A D | hfcsusb.h | 282 int packet_size; member in struct:hfcsusb
|
/linux-4.1.27/drivers/soc/ti/ |
H A D | knav_qmss.h | 175 * @packet_size: packet size for the queue 181 u32 packet_size; member in struct:knav_reg_queue
|
/linux-4.1.27/sound/usb/ |
H A D | card.h | 46 int packet_size[MAX_PACKS_HS]; /* size of packets for next submission */ member in struct:snd_urb_ctx 70 uint32_t packet_size[MAX_PACKS_HS]; member in struct:snd_usb_endpoint::snd_usb_packet_info
|
H A D | endpoint.c | 208 if (ctx->packet_size[i]) prepare_outbound_urb() 209 counts = ctx->packet_size[i]; prepare_outbound_urb() 329 ctx->packet_size[i] = packet->packet_size[i]; queue_pending_output_urbs() 1086 out_packet->packet_size[i] = snd_usb_handle_sync_urb() 1089 out_packet->packet_size[i] = 0; snd_usb_handle_sync_urb()
|
H A D | pcm.c | 1379 if (ctx->packet_size[i]) prepare_playback_urb() 1380 counts = ctx->packet_size[i]; prepare_playback_urb()
|
/linux-4.1.27/drivers/media/usb/dvb-usb-v2/ |
H A D | af9035.c | 1637 u8 packet_size = (d->udev->speed == USB_SPEED_FULL ? 64 : 512) / 4; af9035_init() local 1648 { 0x00dd0c, packet_size, 0xff}, af9035_init() 1652 { 0x00dd0d, packet_size, 0xff }, af9035_init() 1660 "%s: USB speed=%d frame_size=%04x packet_size=%02x\n", af9035_init() 1661 __func__, d->udev->speed, frame_size, packet_size); af9035_init() 1684 u8 packet_size = (d->udev->speed == USB_SPEED_FULL ? 64 : 512) / 4; it930x_init() local 1699 { 0x00dd0c, packet_size, 0xff}, it930x_init() 1702 { 0x00dd0d, packet_size, 0xff }, it930x_init() 1742 "%s: USB speed=%d frame_size=%04x packet_size=%02x\n", it930x_init() 1743 __func__, d->udev->speed, frame_size, packet_size); it930x_init()
|
H A D | af9015.c | 1060 u8 packet_size; af9015_init_endpoint() local 1065 packet_size = TS_USB11_MAX_PACKET_SIZE/4; af9015_init_endpoint() 1068 packet_size = TS_USB20_MAX_PACKET_SIZE/4; af9015_init_endpoint() 1113 ret = af9015_write_reg(d, 0xdd0c, packet_size); /* EP4 packet size */ af9015_init_endpoint() 1116 ret = af9015_write_reg(d, 0xdd0d, packet_size); /* EP5 packet size */ af9015_init_endpoint()
|
H A D | lmedm04.c | 592 u8 packet_size, dlen, i; lme2510_download_firmware() local 595 packet_size = 0x31; lme2510_download_firmware() 610 for (j = start; j < end; j += (packet_size+1)) { lme2510_download_firmware() 612 if ((end - j) > packet_size) { lme2510_download_firmware() 614 dlen = packet_size; lme2510_download_firmware()
|
/linux-4.1.27/drivers/usb/atm/ |
H A D | usbatm.c | 540 const unsigned int packet_size = instance->rx_channel.packet_size; usbatm_rx_process() local 550 if (merge_length && (actual_length < packet_size)) { usbatm_rx_process() 1121 instance->rx_channel.packet_size = maxpacket; usbatm_usb_probe() 1138 unsigned int iso_packets = usb_pipeisoc(channel->endpoint) ? channel->buf_size / channel->packet_size : 0; usbatm_usb_probe() 1165 urb->iso_frame_desc[j].offset = channel->packet_size * j; usbatm_usb_probe() 1166 urb->iso_frame_desc[j].length = channel->packet_size; usbatm_usb_probe()
|
H A D | usbatm.h | 123 unsigned int packet_size; /* endpoint maxpacket */ member in struct:usbatm_channel
|
/linux-4.1.27/net/sched/ |
H A D | sch_pie.c | 98 static bool drop_early(struct Qdisc *sch, u32 packet_size) drop_early() argument 125 if (q->params.bytemode && packet_size <= mtu) drop_early() 126 local_prob = (local_prob / mtu) * packet_size; drop_early()
|
/linux-4.1.27/drivers/ide/ |
H A D | ide-atapi.c | 39 u8 gcw[2], protocol, device_type, removable, drq_type, packet_size; ide_check_atapi_device() local 47 packet_size = gcw[0] & 0x03; ide_check_atapi_device() 70 else if (packet_size != 0) ide_check_atapi_device() 72 "bytes\n", s, drive->name, packet_size); ide_check_atapi_device()
|
/linux-4.1.27/sound/soc/omap/ |
H A D | omap-mcbsp.c | 67 unsigned int packet_size) omap_mcbsp_set_threshold() 76 * packet_size, when the sDMA is in packet mode, or based on the omap_mcbsp_set_threshold() 80 if (packet_size) omap_mcbsp_set_threshold() 81 words = packet_size; omap_mcbsp_set_threshold() 66 omap_mcbsp_set_threshold(struct snd_pcm_substream *substream, unsigned int packet_size) omap_mcbsp_set_threshold() argument
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | qp.c | 122 pfault.rdma.packet_size = mlx5_eq_pagefault() 146 pfault.wqe.packet_size = mlx5_eq_pagefault()
|
/linux-4.1.27/drivers/hid/ |
H A D | hid-hyperv.c | 325 const int packet_size = 0x100; mousevsc_on_channel_callback() local 332 int bufferlen = packet_size; mousevsc_on_channel_callback()
|
/linux-4.1.27/include/linux/mlx5/ |
H A D | qp.h | 391 u32 packet_size; member in struct:mlx5_pagefault::__anon12159::__anon12160 405 u32 packet_size; member in struct:mlx5_pagefault::__anon12159::__anon12161
|
/linux-4.1.27/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_packet_manager.c | 41 static unsigned int build_pm4_header(unsigned int opcode, size_t packet_size) build_pm4_header() argument 47 header.count = packet_size/sizeof(uint32_t) - 2; build_pm4_header()
|
/linux-4.1.27/include/linux/ |
H A D | cdrom.h | 222 __be32 packet_size; member in struct:__anon11518
|
/linux-4.1.27/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e_main.c | 1418 u32 packet_size, write_offset; atl1e_clean_rx_irq() local 1459 packet_size = ((prrs->word1 >> RRS_PKT_SIZE_SHIFT) & atl1e_clean_rx_irq() 1462 packet_size -= 4; /* CRC */ atl1e_clean_rx_irq() 1464 skb = netdev_alloc_skb_ip_align(netdev, packet_size); atl1e_clean_rx_irq() 1468 memcpy(skb->data, (u8 *)(prrs + 1), packet_size); atl1e_clean_rx_irq() 1469 skb_put(skb, packet_size); atl1e_clean_rx_irq()
|
/linux-4.1.27/drivers/input/ |
H A D | input.c | 2084 unsigned int packet_size; input_register_device() local 2106 packet_size = input_estimate_events_per_packet(dev); input_register_device() 2107 if (dev->hint_events_per_packet < packet_size) input_register_device() 2108 dev->hint_events_per_packet = packet_size; input_register_device()
|
/linux-4.1.27/drivers/infiniband/hw/mlx5/ |
H A D | odp.c | 641 length = mpfault->rdma.packet_size; mlx5_ib_mr_rdma_pfault_handler()
|
/linux-4.1.27/drivers/firmware/ |
H A D | dell_rbu.c | 690 .attr = {.name = "packet_size", .mode = 0644},
|
/linux-4.1.27/drivers/usb/host/ |
H A D | xhci.c | 2202 unsigned int packet_size = 0; xhci_check_bw_table() local 2285 if (largest_mps > packet_size) xhci_check_bw_table() 2286 packet_size = largest_mps; xhci_check_bw_table() 2300 bw_added = packets_transmitted * (overhead + packet_size); xhci_check_bw_table() 2310 packet_size = 0; xhci_check_bw_table() 2318 packet_size = largest_mps; xhci_check_bw_table() 2321 /* Otherwise carry over packet_size and overhead from the last xhci_check_bw_table() 2339 bw_used += overhead + packet_size; xhci_check_bw_table()
|
/linux-4.1.27/drivers/net/ethernet/ibm/ehea/ |
H A D | ehea_main.c | 455 int num_wqes, int wqe_type, int packet_size) ehea_refill_rq_def() 479 skb = netdev_alloc_skb_ip_align(dev, packet_size); ehea_refill_rq_def() 505 rwqe->sg_list[0].len = packet_size; ehea_refill_rq_def() 453 ehea_refill_rq_def(struct ehea_port_res *pr, struct ehea_q_skb_arr *q_skba, int rq_nr, int num_wqes, int wqe_type, int packet_size) ehea_refill_rq_def() argument
|
/linux-4.1.27/drivers/media/pci/cx18/ |
H A D | cx18-driver.h | 519 * Buffer for the maximum of 2 * 18 * packet_size sliced VBI lines.
|
/linux-4.1.27/drivers/block/ |
H A D | pktcdvd.c | 1750 wp->packet_size = cpu_to_be32(pd->settings.size >> 2); pkt_set_write_settings()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
H A D | cnic_defs.h | 5362 struct l5cm_packet_size packet_size; member in union:l5cm_specific_data
|