/linux/fs/ecryptfs/ |
H A D | keystore.c | 622 size_t *packet_size, in ecryptfs_write_tag_70_packet() argument 634 (*packet_size) = 0; in ecryptfs_write_tag_70_packet() 678 (*packet_size) = s->max_packet_size; in ecryptfs_write_tag_70_packet() 839 (*packet_size) = s->i; in ecryptfs_write_tag_70_packet() 840 (*remaining_bytes) -= (*packet_size); in ecryptfs_write_tag_70_packet() 895 size_t *packet_size, in ecryptfs_parse_tag_70_packet() argument 903 (*packet_size) = 0; in ecryptfs_parse_tag_70_packet() 925 if (data[(*packet_size)++] != ECRYPTFS_TAG_70_PACKET_TYPE) { in ecryptfs_parse_tag_70_packet() 928 data[((*packet_size) - 1)], ECRYPTFS_TAG_70_PACKET_TYPE); in ecryptfs_parse_tag_70_packet() 932 rc = ecryptfs_parse_packet_length(&data[(*packet_size)], in ecryptfs_parse_tag_70_packet() [all …]
|
H A D | miscdev.c | 358 size_t packet_size, packet_size_length; in ecryptfs_miscdev_write() local 382 rc = ecryptfs_parse_packet_length(packet_size_peek, &packet_size, in ecryptfs_miscdev_write() 390 if ((PKT_TYPE_SIZE + PKT_CTR_SIZE + packet_size_length + packet_size) in ecryptfs_miscdev_write() 393 packet_size); in ecryptfs_miscdev_write() 421 packet_size, seq); in ecryptfs_miscdev_write()
|
/linux/sound/firewire/ |
H A 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()
|
H A D | packets-buffer.h | 22 unsigned int count, unsigned int packet_size,
|
/linux/sound/soc/mediatek/common/ |
H A D | mtk-btcvsd.c | 88 unsigned int packet_size; member 237 bt->tx->packet_size = BTCVSD_TX_PACKET_SIZE; in mtk_btcvsd_snd_tx_init() 250 bt->rx->packet_size = BTCVSD_RX_PACKET_SIZE; in mtk_btcvsd_snd_rx_init() 391 bt->rx->packet_size; in mtk_btcvsd_read_from_bt() 435 memcpy(bt->tx->temp_packet_buf + (bt->tx->packet_size * i), in mtk_btcvsd_write_to_bt() 438 bt->tx->packet_size), in mtk_btcvsd_write_to_bt() 439 bt->tx->packet_size); in mtk_btcvsd_write_to_bt() 705 unsigned int packet_size = bt->rx->packet_size; in mtk_btcvsd_snd_read() local 710 avail = (bt->rx->packet_w - bt->rx->packet_r) * packet_size; in mtk_btcvsd_snd_read() 713 packet_size; in mtk_btcvsd_snd_read() [all …]
|
/linux/drivers/iio/imu/inv_icm42600/ |
H A D | inv_icm42600_buffer.c | 155 size_t packet_size; in inv_icm42600_get_packet_size() local 159 packet_size = INV_ICM42600_FIFO_2SENSORS_PACKET_SIZE; in inv_icm42600_get_packet_size() 161 packet_size = INV_ICM42600_FIFO_1SENSOR_PACKET_SIZE; in inv_icm42600_get_packet_size() 163 return packet_size; in inv_icm42600_get_packet_size() 167 size_t packet_size) in inv_icm42600_wm_truncate() argument 172 wm_size = watermark * packet_size; in inv_icm42600_wm_truncate() 176 wm = wm_size / packet_size; in inv_icm42600_wm_truncate() 205 size_t packet_size, wm_size; in inv_icm42600_buffer_update_watermark() local 213 packet_size = inv_icm42600_get_packet_size(st->fifo.en); in inv_icm42600_buffer_update_watermark() 216 wm_gyro = inv_icm42600_wm_truncate(st->fifo.watermark.gyro, packet_size); in inv_icm42600_buffer_update_watermark() [all …]
|
/linux/drivers/media/usb/gspca/stv06xx/ |
H A D | stv06xx.c | 276 int err, packet_size; in stv06xx_start() local 288 packet_size = le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize); in stv06xx_start() 289 err = stv06xx_write_bridge(sd, STV_ISO_SIZE_L, packet_size); in stv06xx_start() 335 int ret, packet_size, min_packet_size; in stv06xx_isoc_nego() local 344 packet_size = le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize); in stv06xx_isoc_nego() 346 if (packet_size <= min_packet_size) in stv06xx_isoc_nego() 349 packet_size -= 100; in stv06xx_isoc_nego() 350 if (packet_size < min_packet_size) in stv06xx_isoc_nego() 351 packet_size = min_packet_size; in stv06xx_isoc_nego() 352 alt->endpoint[0].desc.wMaxPacketSize = cpu_to_le16(packet_size); in stv06xx_isoc_nego()
|
H A D | stv06xx_pb0100.c | 177 int err, packet_size, max_packet_size; in pb0100_start() local 192 packet_size = le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize); in pb0100_start() 196 if (packet_size < max_packet_size) in pb0100_start()
|
/linux/drivers/media/usb/gspca/ |
H A D | konica.c | 172 int i, n, packet_size; in sd_start() local 186 packet_size = le16_to_cpu(alt->endpoint[0].desc.wMaxPacketSize); in sd_start() 203 packet_size = in sd_start() 210 packet_size * SD_NPKT, in sd_start() 220 urb->transfer_buffer_length = packet_size * SD_NPKT; in sd_start() 229 urb->iso_frame_desc[i].length = packet_size; in sd_start() 230 urb->iso_frame_desc[i].offset = packet_size * i; in sd_start()
|
H A D | xirlink_cit.c | 1456 int packet_size; in cit_get_clock_div() local 1458 packet_size = cit_get_packet_size(gspca_dev); in cit_get_clock_div() 1459 if (packet_size < 0) in cit_get_clock_div() 1460 return packet_size; in cit_get_clock_div() 1463 1000 * packet_size > in cit_get_clock_div() 1470 packet_size, in cit_get_clock_div() 2594 int packet_size; in sd_start() local 2596 packet_size = cit_get_packet_size(gspca_dev); in sd_start() 2597 if (packet_size < 0) in sd_start() 2598 return packet_size; in sd_start() [all …]
|
/linux/drivers/gpu/drm/vc4/ |
H A D | vc4_validate.c | 769 uint32_t nr_attributes, nr_relocs, packet_size; in validate_gl_shader_rec() local 775 packet_size = gl_shader_rec_size(state->addr); in validate_gl_shader_rec() 788 if (packet_size > exec->shader_rec_size) { in validate_gl_shader_rec() 791 packet_size, exec->shader_rec_size); in validate_gl_shader_rec() 796 memcpy(pkt_v, pkt_u, packet_size); in validate_gl_shader_rec() 797 exec->shader_rec_u += packet_size; in validate_gl_shader_rec() 803 BUG_ON(roundup(packet_size, 16) - packet_size > nr_relocs * 4); in validate_gl_shader_rec() 804 exec->shader_rec_v += roundup(packet_size, 16); in validate_gl_shader_rec() 805 exec->shader_rec_size -= packet_size; in validate_gl_shader_rec()
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A 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/drivers/input/touchscreen/ |
H A D | mms114.c | 221 int packet_size; in mms114_interrupt() local 233 packet_size = mms114_read_reg(data, MMS114_PACKET_SIZE); in mms114_interrupt() 234 if (packet_size <= 0) in mms114_interrupt() 239 touch_size = packet_size / MMS136_EVENT_SIZE; in mms114_interrupt() 241 touch_size = packet_size / MMS114_EVENT_SIZE; in mms114_interrupt() 243 error = __mms114_read_reg(data, MMS114_INFORMATION, packet_size, in mms114_interrupt()
|
H A 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/sound/usb/ |
H A D | card.h | 59 int packet_size[MAX_PACKS_HS]; /* size of packets for next submission */ member 92 uint32_t packet_size[MAX_PACKS_HS]; member
|
/linux/drivers/usb/isp1760/ |
H A D | isp1760-udc.c | 32 unsigned int packet_size; member 307 req->packet_size = min(req->req.length - req->req.actual, in isp1760_udc_transmit() 311 __func__, req->packet_size, req->req.actual, in isp1760_udc_transmit() 316 if (req->packet_size) in isp1760_udc_transmit() 317 isp1760_udc_write(udc, DC_BUFLEN, req->packet_size); in isp1760_udc_transmit() 325 for (i = req->packet_size; i > 2; i -= 4, ++buf) in isp1760_udc_transmit() 332 if (!req->packet_size) in isp1760_udc_transmit() 412 req->req.actual += req->packet_size; in isp1760_ep_tx_complete() 416 req->packet_size && req->req.zero; in isp1760_ep_tx_complete() 421 req->packet_size, req->req.zero, need_zlp); in isp1760_ep_tx_complete()
|
/linux/Documentation/admin-guide/ |
H A D | dell_rbu.rst | 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/drivers/isdn/hardware/mISDN/ |
H A D | hfcsusb.c | 942 void *buf, int num_packets, int packet_size, int interval, in fill_isoc_urb() argument 947 usb_fill_bulk_urb(urb, dev, pipe, buf, packet_size * num_packets, in fill_isoc_urb() 956 urb->iso_frame_desc[k].offset = packet_size * k; in fill_isoc_urb() 957 urb->iso_frame_desc[k].length = packet_size; in fill_isoc_urb() 1382 usb_complete_t complete, int packet_size) in start_isoc_chain() argument 1422 k * packet_size; in start_isoc_chain() 1425 packet_size; in start_isoc_chain() 1562 write_reg(hw, HFCUSB_USB_SIZE, (hw->packet_size / 8) | in reset_hfcsusb() 1563 ((hw->packet_size / 8) << 4)); in reset_hfcsusb() 1922 ep_addr, cmptbl[16], small_match, iso_packet_size, packet_size, in hfcsusb_probe() local [all …]
|
/linux/tools/testing/selftests/net/tcp_ao/ |
H A D | icmps-accept.c | 29 const size_t packet_size = 100; variable 53 ssize_t test_quota = packet_size * packets_nr * 10; in serve_interfered() 412 if (test_client_verify(sk, packet_size, packets_nr, timeout)) { in send_interfered()
|
H A D | icmps-discard.c | 29 const size_t packet_size = 100; variable 53 ssize_t test_quota = packet_size * packets_nr * 10; in serve_interfered() 412 if (test_client_verify(sk, packet_size, packets_nr, timeout)) { in send_interfered()
|
/linux/net/sched/ |
H A D | sch_pie.c | 34 struct pie_vars *vars, u32 backlog, u32 packet_size) in pie_drop_early() argument 60 if (params->bytemode && packet_size <= mtu) in pie_drop_early() 61 local_prob = (u64)packet_size * div_u64(local_prob, mtu); in pie_drop_early()
|
/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_packet_manager_vi.c | 30 unsigned int pm_build_pm4_header(unsigned int opcode, size_t packet_size) in pm_build_pm4_header() argument 36 header.count = packet_size / 4 - 2; in pm_build_pm4_header()
|
/linux/include/net/ |
H A D | pie.h | 127 struct pie_vars *vars, u32 backlog, u32 packet_size);
|
/linux/drivers/media/usb/dvb-usb-v2/ |
H A D | af9035.c | 1735 u8 packet_size = (d->udev->speed == USB_SPEED_FULL ? 64 : 512) / 4; in af9035_init() local 1746 { 0x00dd0c, packet_size, 0xff}, in af9035_init() 1750 { 0x00dd0d, packet_size, 0xff }, in af9035_init() 1758 d->udev->speed, frame_size, packet_size); in af9035_init() 1782 u8 packet_size = (d->udev->speed == USB_SPEED_FULL ? 64 : 512) / 4; in it930x_init() local 1797 { 0x00dd0c, packet_size, 0xff}, in it930x_init() 1800 { 0x00dd0d, packet_size, 0xff }, in it930x_init() 1840 d->udev->speed, frame_size, packet_size); in it930x_init()
|
H A D | lmedm04.c | 601 u8 packet_size, dlen, i; in lme2510_download_firmware() local 604 packet_size = 0x31; in lme2510_download_firmware() 619 for (j = start; j < end; j += (packet_size+1)) { in lme2510_download_firmware() 621 if ((end - j) > packet_size) { in lme2510_download_firmware() 623 dlen = packet_size; in lme2510_download_firmware()
|