Home
last modified time | relevance | path

Searched refs:min_len (Results 1 – 12 of 12) sorted by relevance

/Zephyr-latest/include/zephyr/bluetooth/
Dhci_raw.h83 .min_len = _min_len, \
92 size_t min_len; member
/Zephyr-latest/subsys/usb/device_next/
Dusbd_endpoint.c63 size_t min_len = MIN(setup->wLength, buf->len); in usbd_ep_ctrl_set_zlp() local
86 if (setup->wLength > min_len && !(min_len % mps0)) { in usbd_ep_ctrl_set_zlp()
92 setup->wLength, min_len); in usbd_ep_ctrl_set_zlp()
/Zephyr-latest/drivers/usb/udc/
Dudc_virtual.c165 size_t min_len; in vrt_handle_out() local
181 min_len = MIN(pkt->length, net_buf_tailroom(buf)); in vrt_handle_out()
182 net_buf_add_mem(buf, pkt->data, min_len); in vrt_handle_out()
232 size_t min_len; in vrt_handle_in() local
250 min_len = MIN(pkt->length, buf->len); in vrt_handle_in()
251 memcpy(pkt->data, buf->data, min_len); in vrt_handle_in()
252 net_buf_pull(buf, min_len); in vrt_handle_in()
253 pkt->length = min_len; in vrt_handle_in()
/Zephyr-latest/include/zephyr/net/
Dnet_pkt.h1552 size_t min_len,
1557 #define net_pkt_get_reserve_data(pool, min_len, timeout) \ argument
1558 net_pkt_get_reserve_data_debug(pool, min_len, timeout, __func__, __LINE__)
1560 struct net_buf *net_pkt_get_reserve_rx_data_debug(size_t min_len,
1564 #define net_pkt_get_reserve_rx_data(min_len, timeout) \ argument
1565 net_pkt_get_reserve_rx_data_debug(min_len, timeout, __func__, __LINE__)
1567 struct net_buf *net_pkt_get_reserve_tx_data_debug(size_t min_len,
1571 #define net_pkt_get_reserve_tx_data(min_len, timeout) \ argument
1572 net_pkt_get_reserve_tx_data_debug(min_len, timeout, __func__, __LINE__)
1574 struct net_buf *net_pkt_get_frag_debug(struct net_pkt *pkt, size_t min_len,
[all …]
/Zephyr-latest/subsys/net/ip/
Dnet_pkt.c378 size_t min_len, in net_pkt_get_reserve_data_debug() argument
384 size_t min_len, k_timeout_t timeout) in net_pkt_get_reserve_data_debug()
394 if (min_len > CONFIG_NET_BUF_DATA_SIZE) { in net_pkt_get_reserve_data_debug()
401 frag = net_buf_alloc_len(pool, min_len, timeout); in net_pkt_get_reserve_data_debug()
427 struct net_buf *net_pkt_get_frag_debug(struct net_pkt *pkt, size_t min_len, in net_pkt_get_frag_debug() argument
431 struct net_buf *net_pkt_get_frag(struct net_pkt *pkt, size_t min_len, in net_pkt_get_frag_debug()
442 min_len, timeout, in net_pkt_get_frag_debug()
445 return net_pkt_get_reserve_data(context->data_pool(), min_len, in net_pkt_get_frag_debug()
453 return net_pkt_get_reserve_rx_data_debug(min_len, timeout, in net_pkt_get_frag_debug()
456 return net_pkt_get_reserve_rx_data(min_len, timeout); in net_pkt_get_frag_debug()
[all …]
/Zephyr-latest/subsys/bluetooth/host/
Dhci_raw.c276 if (buf->len < cmd->min_len) { in bt_send_ext()
Dhci_core.c165 uint8_t min_len; member
173 .min_len = _min_len, \
188 if (buf->len < handler->min_len) { in handle_event_common()
/Zephyr-latest/subsys/usb/device_next/class/
Dusbd_cdc_acm.c424 size_t min_len; in usbd_cdc_acm_cth() local
432 min_len = MIN(sizeof(data->line_coding), setup->wLength); in usbd_cdc_acm_cth()
433 net_buf_add_mem(buf, &data->line_coding, min_len); in usbd_cdc_acm_cth()
/Zephyr-latest/subsys/bluetooth/mesh/
Dpb_adv.c696 uint8_t min_len; member
706 if (buf->len < gen_prov[GPCF(rx->gpc)].min_len) { in gen_prov_recv()
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_llcp_internal.h261 uint8_t min_len:5; member
Dull_llcp_pdu.c746 p->min_cte_len_req = ctx->data.cte_req.min_len; in llcp_pdu_encode_cte_req()
Dull_llcp.c1277 ctx->data.cte_req.min_len = min_cte_len;