/openbmc/u-boot/arch/powerpc/cpu/mpc85xx/ |
H A D | tlb.c | 55 *tsize = (_mas1 >> 7) & 0x1f; in read_tlbcam_entry() 72 u32 tsize, valid; in print_tlbcam() local 75 read_tlbcam_entry(i, &valid, &tsize, &epn, &rpn); in print_tlbcam() 79 print_size(TSIZE_TO_BYTES(tsize), "\n"); in print_tlbcam() 138 u8 ts, u8 esel, u8 tsize, u8 iprot) in set_tlb() argument 146 tsize & 1) { in set_tlb() 148 __func__, tsize, tlb, epn); in set_tlb() 153 _mas1 = FSL_BOOKE_MAS1(1, iprot, 0, ts, tsize); in set_tlb() 228 u32 tsize, valid; in init_addr_map() local 328 u32 tsize, valid, ptr; in clear_ddr_tlbs_phys() local [all …]
|
H A D | cpu.c | 477 void read_tlbcam_entry(int idx, u32 *valid, u32 *tsize, unsigned long *epn, 579 u32 tsize, valid, ptr; in reset_tlb() local 590 read_tlbcam_entry(ddr_esel, &valid, &tsize, &epn, phys_offset); in reset_tlb() 661 u32 tsize, valid, ptr; in arch_memory_test_cleanup() local 671 read_tlbcam_entry(ddr_esel, &valid, &tsize, &epn, &rpn); in arch_memory_test_cleanup() 674 ptr += TSIZE_TO_BYTES(tsize); in arch_memory_test_cleanup()
|
/openbmc/linux/arch/powerpc/mm/nohash/ |
H A D | tlb.c | 148 int tsize, int ind) in __local_flush_tlb_page() argument 155 _tlbil_va(vmaddr, pid, tsize, ind); in __local_flush_tlb_page() 185 unsigned int tsize; member 200 _tlbil_va(p->addr, p->pid, p->tsize, p->ind); in do_flush_tlb_page_ipi() 241 int tsize, int ind) in __flush_tlb_page() argument 264 _tlbivax_bcast(vmaddr, pid, tsize, ind); in __flush_tlb_page() 272 .tsize = tsize, in __flush_tlb_page() 280 _tlbil_va(vmaddr, pid, tsize, ind); in __flush_tlb_page()
|
H A D | e500_hugetlbpage.c | 123 unsigned long psize, tsize, shift; in book3e_hugetlb_preload() local 135 tsize = shift - 10; in book3e_hugetlb_preload() 154 mas1 = MAS1_VALID | MAS1_TID(mm->context.id) | MAS1_TSIZE(tsize); in book3e_hugetlb_preload() 191 unsigned long tsize = huge_page_shift(hstate) - 10; in flush_hugetlb_page() local 193 __flush_tlb_page(vma->vm_mm, vmaddr, tsize, 0); in flush_hugetlb_page()
|
H A D | tlb_64e.c | 56 int tsize = mmu_psize_defs[mmu_pte_psize].enc; in tlb_flush_pgtable() local 68 __flush_tlb_page(tlb->mm, start, tsize, 1); in tlb_flush_pgtable() 78 __flush_tlb_page(tlb->mm, vpte, tsize, 0); in tlb_flush_pgtable()
|
H A D | e500.c | 100 unsigned int tsize; in settlbcam() local 102 tsize = __ilog2(size) - 10; in settlbcam() 110 TLBCAM[index].MAS1 = MAS1_VALID | MAS1_IPROT | MAS1_TSIZE(tsize) | MAS1_TID(pid); in settlbcam()
|
/openbmc/linux/drivers/of/ |
H A D | module.c | 17 ssize_t tsize; in of_modalias() local 31 tsize = csize; in of_modalias() 39 tsize += csize; in of_modalias() 53 return tsize; in of_modalias()
|
/openbmc/linux/arch/powerpc/mm/ |
H A D | mmu_decl.h | 53 unsigned int tsize, unsigned int ind) in _tlbil_va() argument 60 unsigned int tsize, unsigned int ind); 64 unsigned int tsize, unsigned int ind) in _tlbil_va() argument 72 unsigned int tsize, unsigned int ind); 75 unsigned int tsize, unsigned int ind) in _tlbivax_bcast() argument
|
/openbmc/qemu/disas/ |
H A D | capstone.c | 191 size_t tsize = MIN(sizeof(cap_buf) - csize, size); in cap_disas_target() local 194 if (info->read_memory_func(pc + csize, cap_buf + csize, tsize, info) == 0) { in cap_disas_target() 195 csize += tsize; in cap_disas_target() 196 size -= tsize; in cap_disas_target() 290 size_t tsize = MIN(sizeof(cap_buf) - csize, epc - pc); in cap_disas_monitor() local 294 assert(tsize != 0); in cap_disas_monitor() 296 tsize, info) == 0) in cap_disas_monitor() 298 csize += tsize; in cap_disas_monitor()
|
/openbmc/u-boot/drivers/sysreset/ |
H A D | sysreset_mpc83xx.c | 91 int tsize = (gd->arch.arbiter_event_attributes & AEATR_TSIZE) in print_83xx_arb_event() local 95 int tsize_val = (tbst << 3) | tsize; in print_83xx_arb_event() 96 int tsize_bytes = tbst ? (tsize ? tsize : 8) : 16 + 8 * tsize; in print_83xx_arb_event()
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | e500_mmu_host.c | 307 int tsize, struct tlbe_ref *ref, u64 gvaddr, in kvmppc_e500_setup_stlbe() argument 331 int tsize = BOOK3E_PAGESZ_4K; in kvmppc_e500_shadow_map() local 389 tsize = (gtlbe->mas1 & MAS1_TSIZE_MASK) >> in kvmppc_e500_shadow_map() 396 tsize = max(BOOK3E_PAGESZ_4K, tsize & ~1); in kvmppc_e500_shadow_map() 405 for (; tsize > BOOK3E_PAGESZ_4K; tsize -= 2) { in kvmppc_e500_shadow_map() 407 tsize_pages = 1UL << (tsize - 2); in kvmppc_e500_shadow_map() 428 tsize = (gtlbe->mas1 & MAS1_TSIZE_MASK) >> in kvmppc_e500_shadow_map() 435 tsize = min(__ilog2(psize) - 10, tsize); in kvmppc_e500_shadow_map() 441 tsize = max(BOOK3E_PAGESZ_4K, tsize & ~1); in kvmppc_e500_shadow_map() 448 tsize_pages = 1UL << (tsize + 10 - PAGE_SHIFT); in kvmppc_e500_shadow_map() [all …]
|
/openbmc/linux/lib/crypto/mpi/ |
H A D | mpi-pow.c | 37 mpi_size_t tsize = 0; /* to avoid compiler warning */ in mpi_powm() local 187 tsize = 2 * rsize; in mpi_powm() 189 mpi_alloc_limb_space(tsize); in mpi_powm() 192 } else if (tsize < (2 * rsize)) { in mpi_powm() 194 tsize = 2 * rsize; in mpi_powm() 196 mpi_alloc_limb_space(tsize); in mpi_powm()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | callthunks.c | 186 unsigned int tsize = SKL_TMPL_SIZE; in patch_dest() local 187 u8 *pad = dest - tsize; in patch_dest() 190 if (!bcmp(pad, skl_call_thunk_template, tsize)) in patch_dest() 194 if (bcmp(pad, nops, tsize)) { in patch_dest() 200 memcpy(pad, skl_call_thunk_template, tsize); in patch_dest() 202 text_poke_copy_locked(pad, skl_call_thunk_template, tsize, true); in patch_dest()
|
/openbmc/linux/arch/powerpc/include/asm/nohash/ |
H A D | tlbflush.h | 70 int tsize, int ind); 77 int tsize, int ind);
|
/openbmc/u-boot/arch/powerpc/cpu/mpc83xx/ |
H A D | cpu_init.c | 432 int tsize = (gd->arch.arbiter_event_attributes & AEATR_TSIZE) in print_83xx_arb_event() local 445 printf(" Transfer Size: 0x%1x = %d bytes\n", (tbst<<3) | tsize, in print_83xx_arb_event() 446 tbst ? (tsize ? tsize : 8) : 16 + 8 * tsize); in print_83xx_arb_event()
|
/openbmc/linux/arch/mips/boot/ |
H A D | ecoff.h | 40 int32_t tsize; /* text size in bytes, padded to DW bdry*/ member 65 N_TXTOFF(f, a) + (a).tsize;
|
/openbmc/linux/drivers/accel/habanalabs/include/goya/ |
H A D | goya_packets.h | 118 __le32 tsize; member 125 __le32 tsize; member
|
/openbmc/linux/arch/alpha/include/uapi/asm/ |
H A D | a.out.h | 29 __u64 tsize; member 66 #define a_text ah.tsize
|
/openbmc/linux/drivers/accel/habanalabs/include/gaudi/ |
H A D | gaudi_packets.h | 158 __le32 tsize; member 189 __le32 tsize; member
|
/openbmc/linux/drivers/accel/habanalabs/include/gaudi2/ |
H A D | gaudi2_packets.h | 157 __le32 tsize; member 192 __le32 tsize; member
|
/openbmc/u-boot/arch/powerpc/include/asm/ |
H A D | mmu.h | 446 #define FSL_BOOKE_MAS1(v,iprot,tid,ts,tsize) \ argument 451 (MAS1_TSIZE(tsize))) 500 u8 ts, u8 esel, u8 tsize, u8 iprot);
|
/openbmc/qemu/ui/ |
H A D | vnc-clipboard.c | 283 uint32_t tsize = read_u32(buf, 0); in vnc_client_cut_text_ext() local 285 if (tsize < size) { in vnc_client_cut_text_ext() 288 tsize, tbuf, true); in vnc_client_cut_text_ext()
|
/openbmc/linux/fs/nfs/ |
H A D | proc.c | 86 info->rtpref = fsinfo.tsize; in nfs_proc_get_root() 89 info->wtpref = fsinfo.tsize; in nfs_proc_get_root() 91 info->dtpref = fsinfo.tsize; in nfs_proc_get_root() 576 info->rtpref = fsinfo.tsize; in nfs_proc_fsinfo() 579 info->wtpref = fsinfo.tsize; in nfs_proc_fsinfo() 581 info->dtpref = fsinfo.tsize; in nfs_proc_fsinfo()
|
/openbmc/linux/drivers/pci/msi/ |
H A D | msi.c | 648 static void msix_mask_all(void __iomem *base, int tsize) in msix_mask_all() argument 656 for (i = 0; i < tsize; i++, base += PCI_MSIX_ENTRY_SIZE) in msix_mask_all() 708 int ret, tsize; in msix_capability_init() local 724 tsize = msix_table_size(control); in msix_capability_init() 725 dev->msix_base = msix_map_region(dev, tsize); in msix_capability_init() 746 msix_mask_all(dev->msix_base, tsize); in msix_capability_init()
|
/openbmc/linux/net/sched/ |
H A D | sch_api.c | 481 unsigned int tsize = 0; in qdisc_get_stab() local 496 if (s->tsize > 0) { in qdisc_get_stab() 502 tsize = nla_len(tb[TCA_STAB_DATA]) / sizeof(u16); in qdisc_get_stab() 505 if (tsize != s->tsize || (!tab && tsize > 0)) { in qdisc_get_stab() 513 if (tsize > 0 && in qdisc_get_stab() 532 if (tsize > 0) in qdisc_get_stab() 575 if (unlikely(!stab->szopts.tsize)) in __qdisc_calculate_pkt_len() 583 if (likely(slot < stab->szopts.tsize)) in __qdisc_calculate_pkt_len() 586 pkt_len = stab->data[stab->szopts.tsize - 1] * in __qdisc_calculate_pkt_len() 587 (slot / stab->szopts.tsize) + in __qdisc_calculate_pkt_len() [all …]
|