Searched refs:rx_info (Results 1 – 2 of 2) sorted by relevance
/Zephyr-Core-3.5.0/drivers/ethernet/ |
D | eth_nxp_s32_gmac.c | 334 Gmac_Ip_RxInfoType *rx_info, in eth_nxp_s32_get_pkt() argument 349 pkt = net_pkt_rx_alloc_with_buffer(ctx->iface, rx_info->PktLen, in eth_nxp_s32_get_pkt() 352 LOG_ERR("Failed to allocate rx buffer of length %u", rx_info->PktLen); in eth_nxp_s32_get_pkt() 356 res = net_pkt_write(pkt, buf->Data, rx_info->PktLen); in eth_nxp_s32_get_pkt() 393 Gmac_Ip_RxInfoType rx_info = {0}; in eth_nxp_s32_rx() local 397 status = Gmac_Ip_ReadFrame(cfg->instance, cfg->rx_ring_idx, &buf, &rx_info); in eth_nxp_s32_rx() 398 if (rx_info.ErrMask != 0U) { in eth_nxp_s32_rx() 400 LOG_ERR("Rx frame has errors (error mask 0x%X)", rx_info.ErrMask); in eth_nxp_s32_rx() 402 pkt = eth_nxp_s32_get_pkt(dev, &buf, &rx_info, &vlan_tag); in eth_nxp_s32_rx()
|
/Zephyr-Core-3.5.0/drivers/can/ |
D | can_nxp_s32_canxl.c | 101 Canexcel_Ip_DataInfoType rx_info; member 458 data->rx_cbs[alloc].rx_info = (Canexcel_Ip_DataInfoType) { 477 data->rx_cbs[alloc].rx_info.frame, mask); 480 &data->rx_cbs[alloc].rx_info);
|