tlb_type
unsigned int tlb_type = (unsigned int)file->private;
if (tlb_type == TLB_TYPE_ITLB) {
if (tlb_type == TLB_TYPE_ITLB) {
if (tlb_type == hypervisor) {
if (tlb_type != hypervisor && pte_present(pte)) { \
extern enum ultra_tlb_layout tlb_type;
(tlb_type == spitfire ? \
((tlb_type == hypervisor && \
if (tlb_type == cheetah || tlb_type == cheetah_plus)
((tlb_type == hypervisor) ?
if (tlb_type == hypervisor) {
if (tlb_type == hypervisor) {
(tlb_type != hypervisor ? iommu_flushall : NULL),
if (tlb_type == hypervisor)
if (tlb_type == hypervisor) {
if (tlb_type != hypervisor)
if (tlb_type == hypervisor) {
if (tlb_type == cheetah || tlb_type == cheetah_plus) {
BUG_ON(tlb_type == hypervisor);
if (tlb_type != hypervisor)
if (sun4v_1insn && tlb_type == hypervisor) {
if (sun4v_2insn && tlb_type == hypervisor) {
if (tlb_type == spitfire) {
if (tlb_type == hypervisor)
if (tlb_type == hypervisor)
if (tlb_type == hypervisor) {
if (tlb_type != hypervisor)
switch (tlb_type) {
if (tlb_type == hypervisor &&
if (tlb_type != hypervisor) {
if (tlb_type >= cheetah)
if (tlb_type == hypervisor) {
return (tlb_type == spitfire ? "upa-portid" : "portid");
if (tlb_type == hypervisor) {
if (tlb_type == hypervisor)
if (tlb_type == hypervisor)
if (tlb_type == hypervisor)
if (tlb_type == spitfire) {
if (write && tlb_type == spitfire) {
if (tlb_type != cheetah) {
if (tlb_type == spitfire && !this_is_starfire)
if (tlb_type != hypervisor) {
switch (tlb_type) {
if (tlb_type != hypervisor)
if (tlb_type == cheetah || tlb_type == cheetah_plus)
else if (tlb_type == hypervisor) {
if (tlb_type == spitfire)
if (tlb_type == cheetah || tlb_type == cheetah_plus)
if (tlb_type == cheetah_plus) {
if (tlb_type == hypervisor) {
if (tlb_type == hypervisor)
if (tlb_type == spitfire) {
} else if (tlb_type == cheetah || tlb_type == cheetah_plus) {
if (tlb_type == hypervisor &&
if (tlb_type == hypervisor)
if (tlb_type == spitfire)
else if (tlb_type == cheetah || tlb_type == cheetah_plus)
if (tlb_type != hypervisor)
if (tlb_type == hypervisor) {
if (tlb_type != hypervisor)
if (tlb_type == hypervisor) {
if (tlb_type == hypervisor)
if (tlb_type == hypervisor) {
((tlb_type == spitfire) &&
tlb_type == spitfire) {
if (tlb_type == hypervisor)
if (tlb_type == spitfire) {
} else if (tlb_type == cheetah || tlb_type == cheetah_plus) {
if (tlb_type == hypervisor)
if (tlb_type != hypervisor)
if (tlb_type != hypervisor)
if (tlb_type != hypervisor) {
if (tlb_type == hypervisor)
if (tlb_type == spitfire && is_hummingbird())
instr = (tlb_type == spitfire) ? p->tick : p->stick;
if (tlb_type == spitfire) {
} else if (tlb_type == spitfire) {
} else if (tlb_type == hypervisor) {
if (tlb_type != spitfire)
limit = (tlb_type == hypervisor) ? 2 : 4;
if (tlb_type == cheetah_plus) {
if (tlb_type == hypervisor)
if (tlb_type == hypervisor)
if (tlb_type == hypervisor)
if (tlb_type == hypervisor)
if (tlb_type == hypervisor)
if (tlb_type == hypervisor)
if (tlb_type == spitfire &&
if (tlb_type == hypervisor)
if (tlb_type == hypervisor)
if (tlb_type == cheetah || tlb_type == cheetah_plus) {
if (tlb_type == hypervisor)
if (tlb_type == cheetah || tlb_type == cheetah_plus) {
} else if (tlb_type == hypervisor) {
BUG_ON(tlb_type == hypervisor);
if (tlb_type == hypervisor)
((tlb_type == spitfire) &&
tlb_type == spitfire) {
if (tlb_type == hypervisor)
if (tlb_type == cheetah_plus ||
tlb_type == hypervisor) {
if (tlb_type == hypervisor)
if (tlb_type == hypervisor) {
if (tlb_type == cheetah || tlb_type == cheetah_plus)
if (tlb_type == hypervisor)
if (tlb_type == hypervisor) {
if (tlb_type == cheetah_plus || tlb_type == hypervisor)
if (tlb_type == hypervisor)
if (tlb_type == hypervisor) {
} else if (tlb_type == spitfire) {
} else if (tlb_type == cheetah || tlb_type == cheetah_plus) {
if (tlb_type == cheetah_plus) {
if (tlb_type != hypervisor) {
if (tlb_type == hypervisor)
if (tlb_type == spitfire) {
if (tlb_type == cheetah)
else if (tlb_type == cheetah_plus)
else if (tlb_type == spitfire)
else if (tlb_type == hypervisor)
if (tlb_type == spitfire) {
prom_trans[i].data |= (tlb_type == hypervisor ?
if (tlb_type == hypervisor) {
if (tlb_type == cheetah_plus) {
if (tlb_type == spitfire) {
} else if (tlb_type == cheetah || tlb_type == cheetah_plus) {
if (tlb_type != hypervisor)
if (tlb_type != hypervisor &&
if (tlb_type == cheetah_plus || tlb_type == hypervisor)
if (tlb_type == cheetah_plus || tlb_type == hypervisor)
if (tlb_type == cheetah_plus || tlb_type == hypervisor)
if (tlb_type == cheetah_plus || tlb_type == hypervisor)
if (tlb_type == cheetah_plus || tlb_type == hypervisor) {
if (tlb_type == hypervisor) {
if (tlb_type == cheetah_plus || tlb_type == hypervisor) {
if (tlb_type == spitfire) {
if (tlb_type != spitfire) {
if (tlb_type != spitfire)
if (tlb_type != cheetah && tlb_type != cheetah_plus)
if (tlb_type != hypervisor)