Home
last modified time | relevance | path

Searched refs:mem_reg (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.1/drivers/infiniband/ulp/iser/
Diser_initiator.c52 struct iser_mem_reg *mem_reg; in iser_prepare_read_cmd() local
67 mem_reg = &iser_task->rdma_reg[ISER_DIR_IN]; in iser_prepare_read_cmd()
70 hdr->read_stag = cpu_to_be32(mem_reg->rkey); in iser_prepare_read_cmd()
71 hdr->read_va = cpu_to_be64(mem_reg->sge.addr); in iser_prepare_read_cmd()
74 task->itt, mem_reg->rkey, in iser_prepare_read_cmd()
75 (unsigned long long)mem_reg->sge.addr); in iser_prepare_read_cmd()
93 struct iser_mem_reg *mem_reg; in iser_prepare_write_cmd() local
112 mem_reg = &iser_task->rdma_reg[ISER_DIR_OUT]; in iser_prepare_write_cmd()
117 hdr->write_stag = cpu_to_be32(mem_reg->rkey); in iser_prepare_write_cmd()
118 hdr->write_va = cpu_to_be64(mem_reg->sge.addr + unsol_sz); in iser_prepare_write_cmd()
[all …]
/Linux-v6.1/drivers/scsi/csiostor/
Dcsio_hw_t5.c257 u32 edc_size, mc_size, win_pf, mem_reg, mem_aperture, mem_base; in csio_t5_memory_rw() local
293 mem_reg = csio_rd_reg32(hw, in csio_t5_memory_rw()
295 mem_aperture = 1 << (WINDOW_V(mem_reg) + 10); in csio_t5_memory_rw()
296 mem_base = PCIEOFST_G(mem_reg) << 10; in csio_t5_memory_rw()
303 mem_reg, mem_aperture); in csio_t5_memory_rw()
/Linux-v6.1/arch/powerpc/kvm/
Dmpic.c194 const struct mem_reg *mmio_regions[MAX_MMIO_REGIONS];
1239 struct mem_reg { struct
1246 static const struct mem_reg openpic_gbl_mmio = { argument
1253 static const struct mem_reg openpic_tmr_mmio = {
1260 static const struct mem_reg openpic_cpu_mmio = {
1267 static const struct mem_reg openpic_src_mmio = {
1274 static const struct mem_reg openpic_msi_mmio = {
1281 static const struct mem_reg openpic_summary_mmio = {
1288 static void add_mmio_region(struct openpic *opp, const struct mem_reg *mr) in add_mmio_region()
1344 const struct mem_reg *mr = opp->mmio_regions[i]; in kvm_mpic_read_internal()
[all …]
/Linux-v6.1/drivers/misc/habanalabs/common/
Ddebugfs.c778 struct pci_mem_region *mem_reg; in hl_access_dev_mem_by_region() local
782 mem_reg = &hdev->pci_mem_region[i]; in hl_access_dev_mem_by_region()
783 if (!mem_reg->used) in hl_access_dev_mem_by_region()
785 if (addr >= mem_reg->region_base && in hl_access_dev_mem_by_region()
786 addr <= mem_reg->region_base + mem_reg->region_size - acc_size) { in hl_access_dev_mem_by_region()
/Linux-v6.1/arch/mips/include/asm/octeon/
Dcvmx-pow.h1196 uint64_t mem_reg:2; member
1210 uint64_t mem_reg:2;
/Linux-v6.1/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c500 u32 edc_size, mc_size, mem_reg; in t4_memory_rw_init() local
528 mem_reg = t4_read_reg(adap, in t4_memory_rw_init()
532 if (mem_reg == 0xffffffff) in t4_memory_rw_init()
535 *mem_aperture = 1 << (WINDOW_G(mem_reg) + WINDOW_SHIFT_X); in t4_memory_rw_init()
536 *mem_base = PCIEOFST_G(mem_reg) << PCIEOFST_SHIFT_X; in t4_memory_rw_init()
/Linux-v6.1/kernel/bpf/
Dverifier.c5380 struct bpf_reg_state *mem_reg = &cur_regs(env)[regno - 1]; in check_kfunc_mem_size_reg() local
5381 bool may_be_null = type_may_be_null(mem_reg->type); in check_kfunc_mem_size_reg()
5391 saved_reg = *mem_reg; in check_kfunc_mem_size_reg()
5392 mark_ptr_not_null_reg(mem_reg); in check_kfunc_mem_size_reg()
5401 *mem_reg = saved_reg; in check_kfunc_mem_size_reg()