Home
last modified time | relevance | path

Searched refs:feed_buf (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/tests/net/socket/websocket/src/
Dmain.c34 static uint8_t feed_buf[MAX_RECV_BUF_LEN + EXTRA_BUF_SPACE]; variable
117 memcpy(feed_buf, &frame1, sizeof(frame1)); in test_recv()
124 ret = test_recv_buf(&feed_buf[i * count], count, in test_recv()
141 ret = test_recv_buf(&feed_buf[sizeof(frame1) - left], left, in test_recv()
156 ret = test_recv_buf(&feed_buf[FRAME1_HDR_SIZE + total_read], in test_recv()
237 memcpy(feed_buf, &ping, sizeof(ping)); in ZTEST()
239 total_read = test_recv_buf(&feed_buf[0], sizeof(ping), &ctx, &msg_type, &remaining, in ZTEST()
259 memcpy(feed_buf, &frame2, sizeof(frame2)); in test_recv_2()
264 total_read = test_recv_buf(&feed_buf[0], count, &ctx, &msg_type, in test_recv_2()
277 ret = test_recv_buf(&feed_buf[count], sizeof(frame2) - count, &ctx, &msg_type, &remaining, in test_recv_2()
[all …]
/Zephyr-latest/drivers/usb/udc/
Dudc_mcux_ehci.c148 struct net_buf *feed_buf; in udc_mcux_ep_try_feed() local
150 feed_buf = udc_buf_peek(dev, cfg->addr); in udc_mcux_ep_try_feed()
151 if (feed_buf) { in udc_mcux_ep_try_feed()
152 int ret = udc_mcux_ep_feed(dev, cfg, feed_buf); in udc_mcux_ep_try_feed()
Dudc_mcux_ip3511.c148 struct net_buf *feed_buf; in udc_mcux_ep_try_feed() local
150 feed_buf = udc_buf_peek(dev, cfg->addr); in udc_mcux_ep_try_feed()
151 if (feed_buf) { in udc_mcux_ep_try_feed()
152 int ret = udc_mcux_ep_feed(dev, cfg, feed_buf); in udc_mcux_ep_try_feed()