Lines Matching refs:mmio_read
861 struct ena_com_mmio_read *mmio_read = &ena_dev->mmio_read;
863 mmio_read->read_resp;
866 u32 timeout = mmio_read->reg_read_to;
874 if (!mmio_read->readless_supported)
877 ENA_SPINLOCK_LOCK(mmio_read->lock, flags);
878 mmio_read->seq_num++;
880 read_resp->req_id = mmio_read->seq_num + 0xDEAD;
883 mmio_read_reg |= mmio_read->seq_num &
890 if (READ_ONCE16(read_resp->req_id) == mmio_read->seq_num)
898 mmio_read->seq_num,
913 ENA_SPINLOCK_UNLOCK(mmio_read->lock, flags);
1781 struct ena_com_mmio_read *mmio_read = &ena_dev->mmio_read;
1783 ENA_SPINLOCK_INIT(mmio_read->lock);
1785 sizeof(*mmio_read->read_resp),
1786 mmio_read->read_resp,
1787 mmio_read->read_resp_dma_addr,
1788 mmio_read->read_resp_mem_handle);
1789 if (unlikely(!mmio_read->read_resp))
1794 mmio_read->read_resp->req_id = 0x0;
1795 mmio_read->seq_num = 0x0;
1796 mmio_read->readless_supported = true;
1801 ENA_SPINLOCK_DESTROY(mmio_read->lock);
1807 struct ena_com_mmio_read *mmio_read = &ena_dev->mmio_read;
1809 mmio_read->readless_supported = readless_supported;
1814 struct ena_com_mmio_read *mmio_read = &ena_dev->mmio_read;
1820 sizeof(*mmio_read->read_resp),
1821 mmio_read->read_resp,
1822 mmio_read->read_resp_dma_addr,
1823 mmio_read->read_resp_mem_handle);
1825 mmio_read->read_resp = NULL;
1826 ENA_SPINLOCK_DESTROY(mmio_read->lock);
1831 struct ena_com_mmio_read *mmio_read = &ena_dev->mmio_read;
1834 addr_low = ENA_DMA_ADDR_TO_UINT32_LOW(mmio_read->read_resp_dma_addr);
1835 addr_high = ENA_DMA_ADDR_TO_UINT32_HIGH(mmio_read->read_resp_dma_addr);