/Linux-v4.19/fs/ecryptfs/ |
D | keystore.c | 633 size_t *packet_size, in ecryptfs_write_tag_70_packet() argument 645 (*packet_size) = 0; in ecryptfs_write_tag_70_packet() 689 (*packet_size) = s->max_packet_size; in ecryptfs_write_tag_70_packet() 851 (*packet_size) = s->i; in ecryptfs_write_tag_70_packet() 852 (*remaining_bytes) -= (*packet_size); in ecryptfs_write_tag_70_packet() 907 size_t *packet_size, in ecryptfs_parse_tag_70_packet() argument 915 (*packet_size) = 0; in ecryptfs_parse_tag_70_packet() 937 if (data[(*packet_size)++] != ECRYPTFS_TAG_70_PACKET_TYPE) { in ecryptfs_parse_tag_70_packet() 940 data[((*packet_size) - 1)], ECRYPTFS_TAG_70_PACKET_TYPE); in ecryptfs_parse_tag_70_packet() 944 rc = ecryptfs_parse_packet_length(&data[(*packet_size)], in ecryptfs_parse_tag_70_packet() [all …]
|
D | miscdev.c | 370 size_t packet_size, packet_size_length; in ecryptfs_miscdev_write() local 394 rc = ecryptfs_parse_packet_length(packet_size_peek, &packet_size, in ecryptfs_miscdev_write() 402 if ((PKT_TYPE_SIZE + PKT_CTR_SIZE + packet_size_length + packet_size) in ecryptfs_miscdev_write() 405 packet_size); in ecryptfs_miscdev_write() 433 packet_size, seq); in ecryptfs_miscdev_write()
|
/Linux-v4.19/sound/firewire/ |
D | packets-buffer.c | 22 unsigned int count, unsigned int packet_size, in iso_packets_buffer_init() argument 36 packet_size = L1_CACHE_ALIGN(packet_size); in iso_packets_buffer_init() 37 packets_per_page = PAGE_SIZE / packet_size; in iso_packets_buffer_init() 52 offset_in_page = (i % packets_per_page) * packet_size; in iso_packets_buffer_init()
|
D | packets-buffer.h | 22 unsigned int count, unsigned int packet_size,
|
/Linux-v4.19/drivers/isdn/hisax/ |
D | st5481_b.c | 35 unsigned int packet_size, offset; in usb_b_out() local 49 packet_size = SIZE_ISO_PACKETS_B_OUT + B_FLOW_ADJUST; in usb_b_out() 53 packet_size = SIZE_ISO_PACKETS_B_OUT - B_FLOW_ADJUST; in usb_b_out() 57 packet_size = 8; in usb_b_out() 113 urb->iso_frame_desc[i].length = packet_size; in usb_b_out() 114 offset += packet_size; in usb_b_out() 115 packet_size = SIZE_ISO_PACKETS_B_OUT; in usb_b_out() 315 bcs->b_in.packet_size = SIZE_ISO_PACKETS_B_IN; in st5481_setup_b()
|
D | st5481_usb.c | 406 int packet_size, usb_complete_t complete, in fill_isoc_urb() argument 411 usb_fill_int_urb(urb, dev, pipe, buf, num_packets * packet_size, in fill_isoc_urb() 417 urb->iso_frame_desc[k].offset = packet_size * k; in fill_isoc_urb() 418 urb->iso_frame_desc[k].length = packet_size; in fill_isoc_urb() 426 int packet_size, int buf_size, in st5481_setup_isocpipes() argument 445 num_packets, packet_size, complete, in st5481_setup_isocpipes() 557 in->num_packets, in->packet_size, in st5481_setup_in() 558 in->num_packets * in->packet_size, in st5481_setup_in() 652 in->packet_size, in st5481_in_mode()
|
D | hfc_usb.c | 186 int packet_size, iso_packet_size; member 430 void *buf, int num_packets, int packet_size, int interval, in fill_isoc_urb() argument 435 usb_fill_int_urb(urb, dev, pipe, buf, packet_size * num_packets, in fill_isoc_urb() 442 urb->iso_frame_desc[k].offset = packet_size * k; in fill_isoc_urb() 443 urb->iso_frame_desc[k].length = packet_size; in fill_isoc_urb() 453 usb_complete_t complete, int packet_size) in start_isoc_chain() argument 489 k * packet_size; in start_isoc_chain() 492 packet_size; in start_isoc_chain() 1119 (hfc->packet_size / 8) | ((hfc->packet_size / 8) << 4)); in hfc_usb_init() 1261 int cmptbl[16], small_match, iso_packet_size, packet_size, in hfc_usb_probe() local [all …]
|
D | st5481.h | 359 unsigned int packet_size; member 447 int packet_size, int buf_size,
|
/Linux-v4.19/drivers/media/usb/gspca/stv06xx/ |
D | stv06xx.c | 285 int err, packet_size; in stv06xx_start() local 294 packet_size = le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize); in stv06xx_start() 295 err = stv06xx_write_bridge(sd, STV_ISO_SIZE_L, packet_size); in stv06xx_start() 331 int ret, packet_size, min_packet_size; in stv06xx_isoc_nego() local 336 packet_size = le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize); in stv06xx_isoc_nego() 338 if (packet_size <= min_packet_size) in stv06xx_isoc_nego() 341 packet_size -= 100; in stv06xx_isoc_nego() 342 if (packet_size < min_packet_size) in stv06xx_isoc_nego() 343 packet_size = min_packet_size; in stv06xx_isoc_nego() 344 alt->endpoint[0].desc.wMaxPacketSize = cpu_to_le16(packet_size); in stv06xx_isoc_nego()
|
D | stv06xx_pb0100.c | 186 int err, packet_size, max_packet_size; in pb0100_start() local 197 packet_size = le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize); in pb0100_start() 201 if (packet_size < max_packet_size) in pb0100_start()
|
/Linux-v4.19/drivers/media/usb/gspca/ |
D | konica.c | 176 int i, n, packet_size; in sd_start() local 190 packet_size = le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize); in sd_start() 207 packet_size = in sd_start() 214 packet_size * SD_NPKT, in sd_start() 224 urb->transfer_buffer_length = packet_size * SD_NPKT; in sd_start() 233 urb->iso_frame_desc[i].length = packet_size; in sd_start() 234 urb->iso_frame_desc[i].offset = packet_size * i; in sd_start()
|
D | xirlink_cit.c | 1463 int packet_size; in cit_get_clock_div() local 1465 packet_size = cit_get_packet_size(gspca_dev); in cit_get_clock_div() 1466 if (packet_size < 0) in cit_get_clock_div() 1467 return packet_size; in cit_get_clock_div() 1470 1000 * packet_size > in cit_get_clock_div() 1477 packet_size, in cit_get_clock_div() 2601 int packet_size; in sd_start() local 2603 packet_size = cit_get_packet_size(gspca_dev); in sd_start() 2604 if (packet_size < 0) in sd_start() 2605 return packet_size; in sd_start() [all …]
|
/Linux-v4.19/drivers/gpu/drm/vc4/ |
D | vc4_validate.c | 757 uint32_t nr_attributes, nr_relocs, packet_size; in validate_gl_shader_rec() local 763 packet_size = gl_shader_rec_size(state->addr); in validate_gl_shader_rec() 776 if (packet_size > exec->shader_rec_size) { in validate_gl_shader_rec() 779 packet_size, exec->shader_rec_size); in validate_gl_shader_rec() 784 memcpy(pkt_v, pkt_u, packet_size); in validate_gl_shader_rec() 785 exec->shader_rec_u += packet_size; in validate_gl_shader_rec() 791 BUG_ON(roundup(packet_size, 16) - packet_size > nr_relocs * 4); in validate_gl_shader_rec() 792 exec->shader_rec_v += roundup(packet_size, 16); in validate_gl_shader_rec() 793 exec->shader_rec_size -= packet_size; in validate_gl_shader_rec()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/ |
D | en_selftest.c | 54 unsigned int packet_size = MLX4_LOOPBACK_TEST_PAYLOAD; in mlx4_en_test_loopback_xmit() local 67 packet = skb_put(skb, packet_size); in mlx4_en_test_loopback_xmit() 72 for (i = 0; i < packet_size; ++i) /* fill our packet */ in mlx4_en_test_loopback_xmit()
|
/Linux-v4.19/drivers/staging/rtlwifi/halmac/halmac_88xx/ |
D | halmac_api_88xx_sdio.c | 775 u32 tx_agg_num, packet_size = 0; in halmac_tx_allowed_sdio_88xx() local 859 packet_size = GET_TX_DESC_TXPKTSIZE(curr_packet) + in halmac_tx_allowed_sdio_88xx() 863 (packet_size >> in halmac_tx_allowed_sdio_88xx() 865 ((packet_size & in halmac_tx_allowed_sdio_88xx() 871 packet_size = HALMAC_ALIGN(packet_size, 8); in halmac_tx_allowed_sdio_88xx() 873 curr_packet += packet_size; in halmac_tx_allowed_sdio_88xx()
|
/Linux-v4.19/sound/usb/ |
D | card.h | 49 int packet_size[MAX_PACKS_HS]; /* size of packets for next submission */ member 73 uint32_t packet_size[MAX_PACKS_HS]; member
|
D | endpoint.c | 204 if (ctx->packet_size[i]) in prepare_silent_urb() 205 counts = ctx->packet_size[i]; in prepare_silent_urb() 350 ctx->packet_size[i] = packet->packet_size[i]; in queue_pending_output_urbs() 1140 out_packet->packet_size[i] = in snd_usb_handle_sync_urb() 1143 out_packet->packet_size[i] = 0; in snd_usb_handle_sync_urb()
|
/Linux-v4.19/drivers/input/touchscreen/ |
D | mms114.c | 195 int packet_size; in mms114_interrupt() local 207 packet_size = mms114_read_reg(data, MMS114_PACKET_SIZE); in mms114_interrupt() 208 if (packet_size <= 0) in mms114_interrupt() 211 touch_size = packet_size / MMS114_PACKET_NUM; in mms114_interrupt() 213 error = __mms114_read_reg(data, MMS114_INFORMATION, packet_size, in mms114_interrupt()
|
D | wdt87xx_i2c.c | 566 u16 packet_size; in wdt87xx_write_data() local 580 packet_size = min(length, PACKET_SIZE); in wdt87xx_write_data() 584 put_unaligned_le16(packet_size, &pkt_buf[CMD_INDEX_OFFSET]); in wdt87xx_write_data() 586 memcpy(&pkt_buf[CMD_DATA_OFFSET], data, packet_size); in wdt87xx_write_data() 592 length -= packet_size; in wdt87xx_write_data() 593 data += packet_size; in wdt87xx_write_data() 594 address += packet_size; in wdt87xx_write_data()
|
/Linux-v4.19/Documentation/ |
D | dell_rbu.txt | 52 /sys/devices/platform/dell_rbu/packet_size 71 echo XXXX > /sys/devices/platform/dell_rbu/packet_size 77 added together should match the specified packet_size. This makes one 83 Once this file gets to the driver, the driver extracts packet_size data from
|
/Linux-v4.19/drivers/usb/isp1760/ |
D | isp1760-udc.c | 30 unsigned int packet_size; member 249 req->packet_size = min(req->req.length - req->req.actual, in isp1760_udc_transmit() 253 __func__, req->packet_size, req->req.actual, in isp1760_udc_transmit() 258 if (req->packet_size) in isp1760_udc_transmit() 259 isp1760_udc_write(udc, DC_BUFLEN, req->packet_size); in isp1760_udc_transmit() 267 for (i = req->packet_size; i > 2; i -= 4, ++buf) in isp1760_udc_transmit() 274 if (!req->packet_size) in isp1760_udc_transmit() 354 req->req.actual += req->packet_size; in isp1760_ep_tx_complete() 358 req->packet_size && req->req.zero; in isp1760_ep_tx_complete() 363 req->packet_size, req->req.zero, need_zlp); in isp1760_ep_tx_complete()
|
/Linux-v4.19/drivers/isdn/hardware/mISDN/ |
D | hfcsusb.c | 951 void *buf, int num_packets, int packet_size, int interval, in fill_isoc_urb() argument 956 usb_fill_bulk_urb(urb, dev, pipe, buf, packet_size * num_packets, in fill_isoc_urb() 965 urb->iso_frame_desc[k].offset = packet_size * k; in fill_isoc_urb() 966 urb->iso_frame_desc[k].length = packet_size; in fill_isoc_urb() 1391 usb_complete_t complete, int packet_size) in start_isoc_chain() argument 1430 k * packet_size; in start_isoc_chain() 1433 packet_size; in start_isoc_chain() 1570 write_reg(hw, HFCUSB_USB_SIZE, (hw->packet_size / 8) | in reset_hfcsusb() 1571 ((hw->packet_size / 8) << 4)); in reset_hfcsusb() 1920 ep_addr, cmptbl[16], small_match, iso_packet_size, packet_size, in hfcsusb_probe() local [all …]
|
/Linux-v4.19/drivers/usb/atm/ |
D | usbatm.c | 526 const unsigned int packet_size = instance->rx_channel.packet_size; in usbatm_rx_process() local 536 if (merge_length && (actual_length < packet_size)) { in usbatm_rx_process() 1105 instance->rx_channel.packet_size = maxpacket; in usbatm_usb_probe() 1122 …d int iso_packets = usb_pipeisoc(channel->endpoint) ? channel->buf_size / channel->packet_size : 0; in usbatm_usb_probe() 1147 urb->iso_frame_desc[j].offset = channel->packet_size * j; in usbatm_usb_probe() 1148 urb->iso_frame_desc[j].length = channel->packet_size; in usbatm_usb_probe()
|
/Linux-v4.19/drivers/ide/ |
D | ide-atapi.c | 39 u8 gcw[2], protocol, device_type, removable, drq_type, packet_size; in ide_check_atapi_device() local 47 packet_size = gcw[0] & 0x03; in ide_check_atapi_device() 70 else if (packet_size != 0) in ide_check_atapi_device() 72 "bytes\n", s, drive->name, packet_size); in ide_check_atapi_device()
|
/Linux-v4.19/net/sched/ |
D | sch_pie.c | 99 static bool drop_early(struct Qdisc *sch, u32 packet_size) in drop_early() argument 126 if (q->params.bytemode && packet_size <= mtu) in drop_early() 127 local_prob = (local_prob / mtu) * packet_size; in drop_early()
|