| /OK3568_Linux_fs/kernel/fs/ecryptfs/ |
| H A 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 …]
|
| H A 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()
|
| /OK3568_Linux_fs/kernel/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() 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 …]
|
| /OK3568_Linux_fs/kernel/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,
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/hal/halmac/halmac_88xx/halmac_8822b/ |
| H A D | halmac_api_8822b_sdio.c | 98 u32 tx_agg_num, packet_size; in halmac_tx_allowed_sdio_8822b() local 170 packet_size = GET_TX_DESC_TXPKTSIZE(pCurr_packet) + GET_TX_DESC_OFFSET(pCurr_packet); in halmac_tx_allowed_sdio_8822b() 171 …tx_required_page_num = (packet_size >> HALMAC_TX_PAGE_SIZE_2_POWER_8822B) + ((packet_size & (HALMA… in halmac_tx_allowed_sdio_8822b() 174 packet_size = HALMAC_ALIGN(packet_size, 8); in halmac_tx_allowed_sdio_8822b() 176 pCurr_packet += packet_size; in halmac_tx_allowed_sdio_8822b()
|
| /OK3568_Linux_fs/kernel/drivers/iio/imu/inv_icm42600/ |
| H A 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 …]
|
| /OK3568_Linux_fs/u-boot/drivers/usb/gadget/ |
| H A D | designware_udc.c | 595 int packet_size; in udc_setup_ep() local 613 packet_size = endpoint->tx_packetSize; in udc_setup_ep() 614 buffer_size = packet_size * 2; in udc_setup_ep() 618 packet_size = endpoint->rcv_packetSize; in udc_setup_ep() 619 buffer_size = packet_size * 2; in udc_setup_ep() 644 buffer_size = packet_size; in udc_setup_ep() 656 writel(packet_size, &in_p->endp_maxpacksize); in udc_setup_ep() 660 writel(packet_size | ((buffer_size / sizeof(int)) << 16), in udc_setup_ep() 668 writel(packet_size, &in_p->endp_maxpacksize); in udc_setup_ep() 673 writel((packet_size << 19) | in udc_setup_ep() [all …]
|
| H A D | f_thor.c | 145 unsigned int packet_size, in download_head() argument 162 while (total - rcv_cnt >= packet_size) { in download_head() 163 thor_set_dma(buf, packet_size); in download_head() 164 buf += packet_size; in download_head() 198 thor_set_dma(buf, packet_size); in download_head()
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/ipc_server/ |
| H A D | socket_server.cpp | 154 out_res->packet_size = data_len; in rkaiq_ipc_send() 169 uint32_t packet_size = 0; in rkaiq_packet_parse_old() local 186 packet_size = (start_pos[2] & 0xff) | ((start_pos[3] & 0xff) << 8) | in rkaiq_packet_parse_old() 191 aiq_data->dataSize = packet_size; in rkaiq_packet_parse_old() 195 if (valid_size == packet_size) { in rkaiq_packet_parse_old() 198 return packet_size; in rkaiq_packet_parse_old() 209 uint32_t packet_size = 0; in rkaiq_packet_parse() local 222 packet_size = &buffer[len - 1] - start_pos; in rkaiq_packet_parse() 230 if (aiq_pkt->payload_size <= (packet_size - 1)) { in rkaiq_packet_parse() 233 return packet_size; in rkaiq_packet_parse()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/vc4/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/external/rknpu2/examples/rknn_yolov5_demo/utils/ |
| H A D | mpp_decoder.cpp | 106 loop_data.packet_size = packet_size; in Init() 129 size_t packet_size = data->packet_size; in Decode() local
|
| H A D | mpp_decoder.h | 26 size_t packet_size; member 53 size_t packet_size = 2400*1300*3/2; variable
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/ |
| H A 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()
|
| 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()
|
| /OK3568_Linux_fs/kernel/drivers/usb/isp1760/ |
| H A 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()
|
| /OK3568_Linux_fs/u-boot/cmd/ |
| H A D | usb.c | 153 uint packet_size = dev->descriptor.bMaxPacketSize0; in usb_display_desc() local 177 packet_size = 1 << packet_size; in usb_display_desc() 179 packet_size, dev->descriptor.bNumConfigurations); in usb_display_desc()
|
| /OK3568_Linux_fs/kernel/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
|
| /OK3568_Linux_fs/kernel/sound/usb/ |
| H A D | card.h | 52 int packet_size[MAX_PACKS_HS]; /* size of packets for next submission */ member 76 uint32_t packet_size[MAX_PACKS_HS]; member
|
| /OK3568_Linux_fs/kernel/drivers/isdn/hardware/mISDN/ |
| H A D | hfcsusb.c | 937 void *buf, int num_packets, int packet_size, int interval, in fill_isoc_urb() argument 942 usb_fill_bulk_urb(urb, dev, pipe, buf, packet_size * num_packets, in fill_isoc_urb() 951 urb->iso_frame_desc[k].offset = packet_size * k; in fill_isoc_urb() 952 urb->iso_frame_desc[k].length = packet_size; in fill_isoc_urb() 1377 usb_complete_t complete, int packet_size) in start_isoc_chain() argument 1417 k * packet_size; in start_isoc_chain() 1420 packet_size; in start_isoc_chain() 1557 write_reg(hw, HFCUSB_USB_SIZE, (hw->packet_size / 8) | in reset_hfcsusb() 1558 ((hw->packet_size / 8) << 4)); in reset_hfcsusb() 1917 ep_addr, cmptbl[16], small_match, iso_packet_size, packet_size, in hfcsusb_probe() local [all …]
|