Home
last modified time | relevance | path

Searched refs:xlat (Results 1 – 24 of 24) sorted by relevance

/openbmc/linux/net/ipv6/ila/
H A Dila_xlat.c29 return alloc_bucket_spinlocks(&ilan->xlat.locks, &ilan->xlat.locks_mask, in alloc_ila_locks()
51 return &ilan->xlat.locks[ila_locator_hash(loc) & ilan->xlat.locks_mask]; in ila_get_lock()
132 ila = rhashtable_lookup_fast(&ilan->xlat.rhash_table, &iaddr->loc, in ila_lookup_wildcards()
149 ila = rhashtable_lookup_fast(&ilan->xlat.rhash_table, in ila_lookup_by_params()
212 if (!READ_ONCE(ilan->xlat.hooks_registered)) { in ila_add_mapping()
217 if (!ilan->xlat.hooks_registered) { in ila_add_mapping()
221 WRITE_ONCE(ilan->xlat.hooks_registered, true); in ila_add_mapping()
240 head = rhashtable_lookup_fast(&ilan->xlat.rhash_table, in ila_add_mapping()
245 err = rhashtable_lookup_insert_fast(&ilan->xlat.rhash_table, in ila_add_mapping()
271 err = rhashtable_replace_fast(&ilan->xlat.rhash_table, in ila_add_mapping()
[all …]
H A Dila.h104 } xlat; member
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dramcfg.c55 u32 xlat = 0x00000000; in nvbios_ramcfg_index() local
62 xlat = nvbios_rd16(bios, bit_M.offset + 3); in nvbios_ramcfg_index()
71 xlat = nvbios_rd16(bios, bit_M.offset + 1); in nvbios_ramcfg_index()
75 if (xlat) in nvbios_ramcfg_index()
76 strap = nvbios_rd08(bios, xlat + strap); in nvbios_ramcfg_index()
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Dsddr2.c34 ramxlat(const struct ramxlat *xlat, int id) in ramxlat() argument
36 while (xlat->id >= 0) { in ramxlat()
37 if (xlat->id == id) in ramxlat()
38 return xlat->enc; in ramxlat()
39 xlat++; in ramxlat()
H A Dsddr3.c34 ramxlat(const struct ramxlat *xlat, int id) in ramxlat() argument
36 while (xlat->id >= 0) { in ramxlat()
37 if (xlat->id == id) in ramxlat()
38 return xlat->enc; in ramxlat()
39 xlat++; in ramxlat()
H A Dgddr3.c33 ramxlat(const struct ramxlat *xlat, int id) in ramxlat() argument
35 while (xlat->id >= 0) { in ramxlat()
36 if (xlat->id == id) in ramxlat()
37 return xlat->enc; in ramxlat()
38 xlat++; in ramxlat()
/openbmc/qemu/system/
H A Dphysmem.c359 address_space_translate_internal(AddressSpaceDispatch *d, hwaddr addr, hwaddr *xlat, in address_space_translate_internal() argument
371 *xlat = addr + section->offset_within_region; in address_space_translate_internal()
416 hwaddr *xlat, in address_space_translate_iommu() argument
428 hwaddr addr = *xlat; in address_space_translate_iommu()
451 address_space_to_dispatch(iotlb.target_as), addr, xlat, in address_space_translate_iommu()
488 hwaddr *xlat, in flatview_do_translate() argument
505 flatview_to_dispatch(fv), addr, xlat, in flatview_do_translate()
510 return address_space_translate_iommu(iommu_mr, xlat, in flatview_do_translate()
528 hwaddr xlat, page_mask; in address_space_get_iotlb_entry() local
534 section = flatview_do_translate(address_space_to_flatview(as), addr, &xlat, in address_space_get_iotlb_entry()
[all …]
H A Dmemory.c2320 hwaddr xlat; in memory_get_xlat_addr() local
2333 &xlat, &len, writable, MEMTXATTRS_UNSPECIFIED); in memory_get_xlat_addr()
2335 error_setg(errp, "iommu map to non memory area %" HWADDR_PRIx "", xlat); in memory_get_xlat_addr()
2341 .offset_within_region = xlat, in memory_get_xlat_addr()
2371 *vaddr = memory_region_get_ram_ptr(mr) + xlat; in memory_get_xlat_addr()
2375 *ram_addr = memory_region_get_ram_addr(mr) + xlat; in memory_get_xlat_addr()
/openbmc/qemu/include/exec/
H A Dmemory_ldst_cached.h.inc31 fuzz_dma_read_cb(cache->xlat + addr, 2, cache->mrs.mr);
43 fuzz_dma_read_cb(cache->xlat + addr, 4, cache->mrs.mr);
55 fuzz_dma_read_cb(cache->xlat + addr, 8, cache->mrs.mr);
H A Dmemory.h2733 hwaddr xlat; member
2882 hwaddr addr, hwaddr *xlat,
2887 hwaddr addr, hwaddr *xlat, in address_space_translate() argument
2892 addr, xlat, len, is_write, attrs); in address_space_translate()
3057 fuzz_dma_read_cb(cache->xlat + addr, len, cache->mrs.mr); in address_space_read_cached()
H A Dexec-all.h597 hwaddr *xlat, hwaddr *plen,
/openbmc/qemu/accel/tcg/
H A Dtcg-accel-ops.c116 static const int xlat[] = { in xlat_gdb_type() local
123 int cputype = xlat[gdbtype]; in xlat_gdb_type()
H A Dcputlb.c1047 hwaddr iotlb, xlat, sz, paddr_page; in tlb_set_page_full() local
1066 &xlat, &sz, full->attrs, &prot); in tlb_set_page_full()
1084 addend = (uintptr_t)memory_region_get_ram_ptr(section->mr) + xlat; in tlb_set_page_full()
1092 iotlb = memory_region_get_ram_addr(section->mr) + xlat; in tlb_set_page_full()
1107 iotlb = memory_region_section_get_iotlb(cpu, section) + xlat; in tlb_set_page_full()
1264 io_prepare(hwaddr *out_offset, CPUState *cpu, hwaddr xlat, in io_prepare() argument
1270 section = iotlb_to_section(cpu, xlat, attrs); in io_prepare()
1271 mr_offset = (xlat & TARGET_PAGE_MASK) + addr; in io_prepare()
/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dicp_qat_fw.h241 #define ICP_QAT_FW_COMN_RESP_STATUS_BUILD(crypto, comp, xlat, eolb) \ argument
246 (((xlat) & QAT_COMN_RESP_XLAT_STATUS_MASK) << \
/openbmc/qemu/target/mips/tcg/
H A Dmips16e_translate.c.inc123 static int xlat(int r)
464 rx = xlat((ctx->opcode >> 8) & 0x7);
465 ry = xlat((ctx->opcode >> 5) & 0x7);
664 rx = xlat((ctx->opcode >> 8) & 0x7);
666 ry = xlat((ctx->opcode >> 5) & 0x7);
818 int rz = xlat(ctx->opcode & 0x7);
897 int rz = xlat((ctx->opcode >> 2) & 0x7);
/openbmc/qemu/target/arm/tcg/
H A Dmte_helper.c89 hwaddr ptr_paddr, tag_paddr, xlat; in allocation_tag_mem_probe()
162 mr = address_space_translate(tag_as, tag_paddr, &xlat, NULL, in allocation_tag_mem_probe()
184 ram_addr_t tag_ra = memory_region_get_ram_addr(mr) + xlat; in allocation_tag_mem_probe()
188 return memory_region_get_ram_ptr(mr) + xlat; in allocation_tag_mem_probe()
/openbmc/linux/Documentation/driver-api/
H A Dntb.rst52 | (addr) |<======| MW xlat addr |<====| MW base addr |<== memory-mapped IO
70 | (addr) |<===================| MW xlat addr |<-ntb_peer_mw_set_trans(addr)
/openbmc/qemu/hw/core/
H A Dloader.c1580 hwaddr xlat; /* Offset of addr within mr */ member
1594 alias_addr = int128_get64(start) + cbdata->xlat - offset_in_region; in find_rom_cb()
1641 cbdata.mr = flatview_translate(fv, addr, &cbdata.xlat, &len_unused, in rom_ptr_for_as()
/openbmc/qemu/target/arm/
H A Dkvm.c1560 hwaddr xlat, len, doorbell_gpa; in kvm_arch_fixup_msi_route() local
1572 mr = address_space_translate(as, address, &xlat, &len, true, in kvm_arch_fixup_msi_route()
1579 mrs = memory_region_find(mr, xlat, 1); in kvm_arch_fixup_msi_route()
/openbmc/linux/drivers/rapidio/devices/
H A Dtsi721.h848 bool xlat; member
H A Dtsi721.c1158 if (!direct || ib_win->xlat) { in tsi721_rio_map_inb_mem()
1198 ib_win->xlat = (lstart != rstart); in tsi721_rio_map_inb_mem()
1255 (ib_win->xlat && lstart != ib_win->lstart)) in tsi721_rio_unmap_inb_mem()
1261 if (!ib_win->xlat) { in tsi721_rio_unmap_inb_mem()
/openbmc/qemu/hw/i386/
H A Dintel_iommu.c1121 uint64_t xlat, size; in vtd_iova_to_slpte() local
1174 xlat = vtd_get_slpte_addr(*slptep, aw_bits); in vtd_iova_to_slpte()
1182 if ((xlat > VTD_INTERRUPT_ADDR_LAST || in vtd_iova_to_slpte()
1183 xlat + size - 1 < VTD_INTERRUPT_ADDR_FIRST)) { in vtd_iova_to_slpte()
1192 xlat, size, pasid); in vtd_iova_to_slpte()
/openbmc/openbmc/meta-raspberrypi/recipes-multimedia/rpidistro-ffmpeg/files/
H A D0001-ffmpeg-5.1.4-rpi_24.patch3571 + // * Would like something much better than this...xlat(offset + out_count)?
4446 + track_ts = xlat_pts_frame_in(avctx, &s->xlat, frame);
4480 + track_ts = xlat_pts_pkt_in(avctx, &s->xlat, pkt);
4516 + } while (xlat_pts_frame_out(avctx, &s->xlat, frame) != 0);
4544 + } while (xlat_pts_pkt_out(avctx, &s->xlat, pkt) != 0);
5204 + xlat_init(&s->xlat);
5293 + xlat_track_t xlat;
5746 + const xlat_track_t *const x = &s->xlat;
6570 + xlat_init(&s->xlat);
6702 + xlat_flush(&s->xlat);
/openbmc/qemu/tests/tcg/i386/
H A Dx86.csv4617 "XLATB","XLAT","xlat","D7","V","V","","","","",""
4618 "XLATB","XLAT","xlat","REX.W D7","N.E.","V","","pseudo","","",""