/kernel/linux/linux-5.10/fs/ecryptfs/ |
D | keystore.c | 619 size_t *packet_size, in ecryptfs_write_tag_70_packet() argument 631 (*packet_size) = 0; in ecryptfs_write_tag_70_packet() 675 (*packet_size) = s->max_packet_size; in ecryptfs_write_tag_70_packet() 836 (*packet_size) = s->i; in ecryptfs_write_tag_70_packet() 837 (*remaining_bytes) -= (*packet_size); in ecryptfs_write_tag_70_packet() 892 size_t *packet_size, in ecryptfs_parse_tag_70_packet() argument 900 (*packet_size) = 0; in ecryptfs_parse_tag_70_packet() 922 if (data[(*packet_size)++] != ECRYPTFS_TAG_70_PACKET_TYPE) { in ecryptfs_parse_tag_70_packet() 925 data[((*packet_size) - 1)], ECRYPTFS_TAG_70_PACKET_TYPE); in ecryptfs_parse_tag_70_packet() 929 rc = ecryptfs_parse_packet_length(&data[(*packet_size)], in ecryptfs_parse_tag_70_packet() [all …]
|
D | miscdev.c | 357 size_t packet_size, packet_size_length; in ecryptfs_miscdev_write() local 381 rc = ecryptfs_parse_packet_length(packet_size_peek, &packet_size, in ecryptfs_miscdev_write() 389 if ((PKT_TYPE_SIZE + PKT_CTR_SIZE + packet_size_length + packet_size) in ecryptfs_miscdev_write() 392 packet_size); in ecryptfs_miscdev_write() 420 packet_size, seq); in ecryptfs_miscdev_write()
|
/kernel/linux/linux-5.10/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,
|
/kernel/linux/linux-5.10/sound/soc/mediatek/common/ |
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() 706 unsigned int packet_size = bt->rx->packet_size; in mtk_btcvsd_snd_read() local 711 avail = (bt->rx->packet_w - bt->rx->packet_r) * packet_size; in mtk_btcvsd_snd_read() 714 packet_size; in mtk_btcvsd_snd_read() [all …]
|
/kernel/linux/linux-5.10/drivers/iio/imu/inv_icm42600/ |
D | inv_icm42600_buffer.c | 154 size_t packet_size; in inv_icm42600_get_packet_size() local 158 packet_size = INV_ICM42600_FIFO_2SENSORS_PACKET_SIZE; in inv_icm42600_get_packet_size() 160 packet_size = INV_ICM42600_FIFO_1SENSOR_PACKET_SIZE; in inv_icm42600_get_packet_size() 162 return packet_size; in inv_icm42600_get_packet_size() 166 size_t packet_size) in inv_icm42600_wm_truncate() argument 171 wm_size = watermark * packet_size; in inv_icm42600_wm_truncate() 175 wm = wm_size / packet_size; in inv_icm42600_wm_truncate() 204 size_t packet_size, wm_size; in inv_icm42600_buffer_update_watermark() local 212 packet_size = inv_icm42600_get_packet_size(st->fifo.en); in inv_icm42600_buffer_update_watermark() 215 wm_gyro = inv_icm42600_wm_truncate(st->fifo.watermark.gyro, packet_size); in inv_icm42600_buffer_update_watermark() [all …]
|
/kernel/linux/linux-5.10/drivers/media/usb/gspca/stv06xx/ |
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()
|
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()
|
/kernel/linux/linux-5.10/drivers/media/usb/gspca/ |
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()
|
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 …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/sound/usb/ |
D | card.h | 50 int packet_size[MAX_PACKS_HS]; /* size of packets for next submission */ member 74 uint32_t packet_size[MAX_PACKS_HS]; member
|
D | endpoint.c | 215 if (ctx->packet_size[i]) in prepare_silent_urb() 216 counts = ctx->packet_size[i]; in prepare_silent_urb() 363 ctx->packet_size[i] = packet->packet_size[i]; in queue_pending_output_urbs() 1346 out_packet->packet_size[i] = in snd_usb_handle_sync_urb() 1349 out_packet->packet_size[i] = 0; in snd_usb_handle_sync_urb()
|
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
D | mms114.c | 196 int packet_size; in mms114_interrupt() local 208 packet_size = mms114_read_reg(data, MMS114_PACKET_SIZE); in mms114_interrupt() 209 if (packet_size <= 0) in mms114_interrupt() 212 touch_size = packet_size / MMS114_PACKET_NUM; in mms114_interrupt() 214 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()
|
/kernel/linux/linux-5.10/Documentation/admin-guide/ |
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
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/isdn/hardware/mISDN/ |
D | hfcsusb.c | 941 void *buf, int num_packets, int packet_size, int interval, in fill_isoc_urb() argument 946 usb_fill_bulk_urb(urb, dev, pipe, buf, packet_size * num_packets, in fill_isoc_urb() 955 urb->iso_frame_desc[k].offset = packet_size * k; in fill_isoc_urb() 956 urb->iso_frame_desc[k].length = packet_size; in fill_isoc_urb() 1381 usb_complete_t complete, int packet_size) in start_isoc_chain() argument 1421 k * packet_size; in start_isoc_chain() 1424 packet_size; in start_isoc_chain() 1561 write_reg(hw, HFCUSB_USB_SIZE, (hw->packet_size / 8) | in reset_hfcsusb() 1562 ((hw->packet_size / 8) << 4)); in reset_hfcsusb() 1921 ep_addr, cmptbl[16], small_match, iso_packet_size, packet_size, in hfcsusb_probe() local [all …]
|
/kernel/linux/linux-5.10/drivers/usb/atm/ |
D | usbatm.c | 527 const unsigned int packet_size = instance->rx_channel.packet_size; in usbatm_rx_process() local 537 if (merge_length && (actual_length < packet_size)) { in usbatm_rx_process() 1107 instance->rx_channel.packet_size = maxpacket; in usbatm_usb_probe() 1124 …d int iso_packets = usb_pipeisoc(channel->endpoint) ? channel->buf_size / channel->packet_size : 0; in usbatm_usb_probe() 1149 urb->iso_frame_desc[j].offset = channel->packet_size * j; in usbatm_usb_probe() 1150 urb->iso_frame_desc[j].length = channel->packet_size; in usbatm_usb_probe()
|
/kernel/linux/linux-5.10/drivers/ide/ |
D | ide-atapi.c | 40 u8 gcw[2], protocol, device_type, removable, drq_type, packet_size; in ide_check_atapi_device() local 48 packet_size = gcw[0] & 0x03; in ide_check_atapi_device() 71 else if (packet_size != 0) in ide_check_atapi_device() 73 "bytes\n", s, drive->name, packet_size); in ide_check_atapi_device()
|
/kernel/linux/linux-5.10/net/sched/ |
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()
|
/kernel/linux/linux-5.10/include/net/ |
D | pie.h | 127 struct pie_vars *vars, u32 backlog, u32 packet_size);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_packet_manager_vi.c | 29 unsigned int pm_build_pm4_header(unsigned int opcode, size_t packet_size) in pm_build_pm4_header() argument 35 header.count = packet_size / 4 - 2; in pm_build_pm4_header()
|
/kernel/linux/linux-5.10/drivers/spi/ |
D | spi-mt65xx.c | 330 u32 packet_size, packet_loop, reg_val; in mtk_spi_setup_packet() local 333 packet_size = min_t(u32, mdata->xfer_len, MTK_SPI_PACKET_SIZE); in mtk_spi_setup_packet() 334 packet_loop = mdata->xfer_len / packet_size; in mtk_spi_setup_packet() 338 reg_val |= (packet_size - 1) << SPI_CFG1_PACKET_LENGTH_OFFSET; in mtk_spi_setup_packet()
|