Searched refs:oa_tx_buf (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/drivers/ethernet/ |
D | eth_adin2111.c | 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() [all …]
|
D | eth_adin2111_priv.h | 239 uint8_t *oa_tx_buf; member
|