Lines Matching refs:oa_tx_buf
177 uint32_t *hdr = (uint32_t *)ctx->oa_tx_buf; in eth_adin2111_reg_read_oa()
191 ret = eth_adin2111_oa_spi_xfer(dev, ctx->oa_rx_buf, ctx->oa_tx_buf, len); in eth_adin2111_reg_read_oa()
215 uint32_t *hdr = (uint32_t *)ctx->oa_tx_buf; in eth_adin2111_reg_write_oa()
229 *(uint32_t *)&ctx->oa_tx_buf[4] = sys_cpu_to_be32(val); in eth_adin2111_reg_write_oa()
231 *(uint32_t *)&ctx->oa_tx_buf[8] = sys_cpu_to_be32(~val); in eth_adin2111_reg_write_oa()
234 ret = eth_adin2111_oa_spi_xfer(dev, ctx->oa_rx_buf, ctx->oa_tx_buf, len); in eth_adin2111_reg_write_oa()
271 *(uint32_t *)&ctx->oa_tx_buf[len] = sys_cpu_to_be32(hdr); in eth_adin2111_oa_data_read()
276 ret = eth_adin2111_oa_spi_xfer(dev, ctx->oa_rx_buf, ctx->oa_tx_buf, len); in eth_adin2111_oa_data_read()
388 *(uint32_t *)&ctx->oa_tx_buf[cur] = sys_cpu_to_be32(hdr); in eth_adin2111_send_oa_frame()
392 ret = net_pkt_read(pkt, &ctx->oa_tx_buf[cur], clen); in eth_adin2111_send_oa_frame()
401 ret = eth_adin2111_oa_spi_xfer(dev, ctx->oa_rx_buf, ctx->oa_tx_buf, cur); in eth_adin2111_send_oa_frame()
1567 .oa_tx_buf = COND_CODE_1(DT_INST_PROP(inst, spi_oa), \