Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/ethernet/
Deth_adin2111_priv.h242 uint16_t scur; member
Deth_adin2111.c305 ctx->scur = 0; in eth_adin2111_oa_data_read()
311 memcpy(&ctx->buf[ctx->scur], &ctx->oa_rx_buf[rx_pos], len); in eth_adin2111_oa_data_read()
312 ctx->scur += len; in eth_adin2111_oa_data_read()
323 ret = net_pkt_write(pkt, ctx->buf, ctx->scur - sizeof(uint32_t)); in eth_adin2111_oa_data_read()
326 LOG_ERR("Failed to write pkt, scur %d, err %d", ctx->scur, ret); in eth_adin2111_oa_data_read()