Home
last modified time | relevance | path

Searched refs:BUFLEN (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/tools/usb/
H A Dhcd-tests.sh32 declare -i COUNT BUFLEN
35 BUFLEN=2048
51 if ! ./testusb $TEST_ARGS -s $BUFLEN -c $COUNT $* 2>/dev/null
96 BUFLEN=2048
145 BUFLEN=4096
148 BUFLEN=64
160 BUFLEN=24500
168 BUFLEN=32768
213 BUFLEN=24500
221 BUFLEN=32768
[all …]
/openbmc/linux/tools/testing/selftests/powerpc/copyloops/
H A Dvalidate.c12 #define BUFLEN (MAX_LEN+MAX_OFFSET+2*MIN_REDZONE) macro
28 memset(src, POISON, BUFLEN); in do_one()
29 memset(dst, POISON, BUFLEN); in do_one()
56 if (memcmp(dstp+len, redzone, dst+BUFLEN-(dstp+len))) { in do_one()
69 src = memalign(BUFLEN, BUFLEN); in test_copy_loop()
70 dst = memalign(BUFLEN, BUFLEN); in test_copy_loop()
71 redzone = malloc(BUFLEN); in test_copy_loop()
72 fill = malloc(BUFLEN); in test_copy_loop()
79 memset(redzone, POISON, BUFLEN); in test_copy_loop()
82 for (i = 0; i < BUFLEN; i++) in test_copy_loop()
/openbmc/u-boot/test/lib/
H A Dstring.c23 #define BUFLEN (SWEEP + 33) macro
37 for (i = 0; i < BUFLEN; ++i) in init_buffer()
56 for (i = 0; i < BUFLEN; ++i) { in test_memset()
76 u8 buf[BUFLEN]; in lib_memset()
81 for (len = 1; len < BUFLEN - SWEEP; ++len) { in lib_memset()
113 for (i = 0; i < BUFLEN; ++i) { in test_memmove()
133 u8 buf1[BUFLEN]; in lib_memcpy()
134 u8 buf2[BUFLEN]; in lib_memcpy()
142 for (len = 1; len < BUFLEN - SWEEP; ++len) { in lib_memcpy()
171 u8 buf[BUFLEN]; in lib_memmove()
[all …]
/openbmc/linux/drivers/crypto/
H A Ds5p-sss.c225 #define BUFLEN HASH_BLOCK_SIZE macro
329 u8 xmit_buf[BUFLEN];
1230 int len = BUFLEN - ctx->bufcnt % BUFLEN; in s5p_hash_prepare_request()
1251 if (IS_ALIGNED(xmit_len, BUFLEN)) in s5p_hash_prepare_request()
1252 xmit_len -= BUFLEN; in s5p_hash_prepare_request()
1254 xmit_len -= xmit_len & (BUFLEN - 1); in s5p_hash_prepare_request()
1264 if (xmit_len > BUFLEN) { in s5p_hash_prepare_request()
1511 if (ctx->bufcnt + req->nbytes <= BUFLEN) { in s5p_hash_update()
1552 if (!ctx->digcnt && ctx->bufcnt < BUFLEN) { in s5p_hash_final()
1717 memcpy(ctx, in, sizeof(*ctx) + BUFLEN); in s5p_hash_import()
[all …]
H A Domap-sham.c133 #define BUFLEN SHA512_BLOCK_SIZE macro
222 u8 xmit_buf[BUFLEN] OMAP_ALIGNED;
988 ctx->buflen = BUFLEN; in omap_sham_init()
1335 sizeof(struct omap_sham_reqctx) + BUFLEN); in omap_sham_cra_init_alg()
2164 BUFLEN; in omap_sham_probe()
/openbmc/linux/drivers/input/mouse/
H A Dvsxxxaa.c101 #define BUFLEN 15 /* At least 5 is needed for a full tablet packet */ macro
102 unsigned char buf[BUFLEN];
116 memmove(mouse->buf, mouse->buf + num, BUFLEN - num); in vsxxxaa_drop_bytes()
123 if (mouse->count == BUFLEN) { in vsxxxaa_queue_byte()
/openbmc/linux/drivers/media/rc/
H A Digorplugusb.c25 #define BUFLEN 36 macro
26 #define MAX_PACKET (HEADERLEN + BUFLEN)
/openbmc/u-boot/arch/arm/mach-orion5x/
H A Dcpu.c18 #define BUFLEN 16 macro
/openbmc/linux/drivers/crypto/ccp/
H A Dccp-debugfs.c22 #define BUFLEN 63 macro
/openbmc/linux/Documentation/driver-api/virtio/
H A Dwriting_virtio_drivers.rst154 sg_init_one(sg, buffer, BUFLEN);