Home
last modified time | relevance | path

Searched refs:mmio_read (Results 1 – 9 of 9) sorted by relevance

/drivers/infiniband/hw/efa/
Defa_com.c71 struct efa_com_mmio_read *mmio_read = &edev->mmio_read; in efa_com_reg_read32() local
77 read_resp = mmio_read->read_resp; in efa_com_reg_read32()
79 spin_lock(&mmio_read->lock); in efa_com_reg_read32()
80 mmio_read->seq_num++; in efa_com_reg_read32()
83 read_resp->req_id = mmio_read->seq_num + 0x9aL; in efa_com_reg_read32()
86 mmio_read->seq_num); in efa_com_reg_read32()
90 exp_time = jiffies + usecs_to_jiffies(mmio_read->mmio_read_timeout); in efa_com_reg_read32()
92 if (READ_ONCE(read_resp->req_id) == mmio_read->seq_num) in efa_com_reg_read32()
97 if (read_resp->req_id != mmio_read->seq_num) { in efa_com_reg_read32()
101 mmio_read->seq_num, offset, read_resp->req_id, in efa_com_reg_read32()
[all …]
Defa_com.h112 struct efa_com_mmio_read mmio_read; member
Defa_main.c174 edev->mmio_read.mmio_read_timeout = in efa_update_hw_hints()
/drivers/net/ethernet/amazon/ena/
Dena_com.c805 struct ena_com_mmio_read *mmio_read = &ena_dev->mmio_read; in ena_com_reg_bar_read32() local
807 mmio_read->read_resp; in ena_com_reg_bar_read32()
810 u32 timeout = mmio_read->reg_read_to; in ena_com_reg_bar_read32()
818 if (!mmio_read->readless_supported) in ena_com_reg_bar_read32()
821 spin_lock_irqsave(&mmio_read->lock, flags); in ena_com_reg_bar_read32()
822 mmio_read->seq_num++; in ena_com_reg_bar_read32()
824 read_resp->req_id = mmio_read->seq_num + 0xDEAD; in ena_com_reg_bar_read32()
827 mmio_read_reg |= mmio_read->seq_num & in ena_com_reg_bar_read32()
833 if (READ_ONCE(read_resp->req_id) == mmio_read->seq_num) in ena_com_reg_bar_read32()
841 mmio_read->seq_num, offset, read_resp->req_id, in ena_com_reg_bar_read32()
[all …]
Dena_com.h312 struct ena_com_mmio_read mmio_read; member
Dena_netdev.c3830 adapter->ena_dev->mmio_read.reg_read_to = in ena_update_hints()
/drivers/gpu/drm/i915/
Dintel_uncore.h298 return uncore->funcs.mmio_read##s__(uncore, reg, (trace__)); \
/drivers/fpga/
Ddfl-fme-perf.c640 FME_EVENT_FABRIC(mmio_read, FAB_EVNT_MMIO_RD);
649 FME_EVENT_FABRIC_PORT(mmio_read, FAB_EVNT_MMIO_RD);
/drivers/video/fbdev/
Dbroadsheetfb.c252 if (par->board->mmio_read) in broadsheet_get_data()
253 return par->board->mmio_read(par); in broadsheet_get_data()