Home
last modified time | relevance | path

Searched refs:frm_len (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/ethernet/
Deth_enc424j600.c354 uint16_t frm_len = 0U; in enc424j600_rx() local
376 frm_len = sys_get_le16(&info[2]); in enc424j600_rx()
379 context->next_pkt_ptr, frm_len, status); in enc424j600_rx()
381 frm_len -= 4; in enc424j600_rx()
382 if (frm_len > NET_ETH_MAX_FRAME_SIZE) { in enc424j600_rx()
389 pkt = net_pkt_rx_alloc_with_buffer(context->iface, frm_len, in enc424j600_rx()
410 if (frm_len > frag_len) { in enc424j600_rx()
413 spi_frame_len = frm_len; in enc424j600_rx()
422 frm_len -= spi_frame_len; in enc424j600_rx()
424 } while (frm_len > 0); in enc424j600_rx()
Deth_enc28j60.c551 static void enc28j60_read_packet(const struct device *dev, uint16_t frm_len) in enc28j60_read_packet() argument
561 pkt = net_pkt_rx_alloc_with_buffer(get_iface(context), frm_len, in enc28j60_read_packet()
570 lengthfr = frm_len; in enc28j60_read_packet()
582 if (frm_len > frag_len) { in enc28j60_read_packet()
585 spi_frame_len = frm_len; in enc28j60_read_packet()
593 frm_len -= spi_frame_len; in enc28j60_read_packet()
595 } while (frm_len > 0); in enc28j60_read_packet()
634 uint16_t frm_len = 0U; in eth_enc28j60_rx() local
666 frm_len = sys_get_le16(info) - 4; in eth_enc28j60_rx()
668 enc28j60_read_packet(dev, frm_len); in eth_enc28j60_rx()