Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/drivers/ethernet/
Deth_smsc911x.c558 uint32_t pkt_size) in smsc_recv_pkt() argument
565 rem_size = (pkt_size + 3) & ~3; in smsc_recv_pkt()
589 if (pkt_size & 3) { in smsc_recv_pkt()
591 (4 - (pkt_size & 3))); in smsc_recv_pkt()
607 uint32_t pkt_size, val; in eth_smsc911x_isr() local
635 pkt_size = BFIELD(rx_stat, RX_STAT_PORT_PKT_LEN); in eth_smsc911x_isr()
636 LOG_DBG("pkt sz: %u", pkt_size); in eth_smsc911x_isr()
638 pkt = smsc_recv_pkt(dev, pkt_size); in eth_smsc911x_isr()
/Zephyr-Core-3.7.0/subsys/net/l2/ieee802154/
Dieee802154_6lo.h23 uint16_t pkt_size; /* overall datagram size */ member
Dieee802154_6lo_fragment.h37 ctx->pkt_size = net_pkt_get_len(pkt) + (iphc ? hdr_diff : -1); in ieee802154_6lo_fragment_ctx_init()
Dieee802154_6lo_fragment.c185 set_up_frag_hdr(frame_buf, ctx->pkt_size, ctx->offset); in ieee802154_6lo_fragment()
/Zephyr-Core-3.7.0/subsys/net/pkt_filter/
Dbase.c267 size_t pkt_size = net_pkt_get_len(pkt); in npf_size_inbounds() local
269 return pkt_size >= bounds->min && pkt_size <= bounds->max; in npf_size_inbounds()
/Zephyr-Core-3.7.0/subsys/mgmt/ec_host_cmd/backends/
Dec_host_cmd_backend_shi_npcx.c463 int pkt_size; in shi_npcx_parse_header() local
476 pkt_size = shi_npcx_host_request_expected_size(r); in shi_npcx_parse_header()
477 if (pkt_size == 0 || pkt_size > sizeof(data->in_msg)) { in shi_npcx_parse_header()
482 data->sz_request = pkt_size; in shi_npcx_parse_header()
/Zephyr-Core-3.7.0/drivers/sensor/tdk/icm42688/
Dicm42688_common.c69 const int pkt_size = cfg->fifo_hires ? 20 : (accel_enabled && gyro_enabled ? 16 : 8); in icm42688_compute_fifo_wm() local
113 modr *= (int64_t)cfg->batch_ticks * pkt_size; in icm42688_compute_fifo_wm()
Dicm42688_rtio_stream.c133 __ASSERT_NO_MSG(read_len % pkt_size == 0); in icm42688_fifo_count_cb()
/Zephyr-Core-3.7.0/tests/net/net_pkt/src/
Dmain.c1167 const size_t pkt_size = CONFIG_NET_BUF_DATA_SIZE * bufs_to_allocate; in ZTEST() local
1171 pkt = net_pkt_alloc_with_buffer(NULL, pkt_size, in ZTEST()
1203 const size_t pkt_size = CONFIG_NET_BUF_DATA_SIZE * bufs_to_allocate; in test_net_pkt_shallow_clone_append_buf() local
1210 pkt = net_pkt_alloc_with_buffer(NULL, pkt_size, AF_UNSPEC, 0, K_NO_WAIT); in test_net_pkt_shallow_clone_append_buf()
/Zephyr-Core-3.7.0/subsys/dap/
Dcmsis_dap.c35 uint16_t pkt_size; member
147 sys_put_le16(ctx->pkt_size, &info[0]); in dap_info()
1050 dap_ctx[0].pkt_size = CONFIG_CMSIS_DAP_PACKET_SIZE; in dap_setup()