Searched refs:tcnfg (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/parisc/
H A Dsba_iommu.c1258 int iov_order, tcnfg; sba_ioc_init_pluto() local
1330 case 12: tcnfg = 0; break; /* 4K */ sba_ioc_init_pluto()
1331 case 13: tcnfg = 1; break; /* 8K */ sba_ioc_init_pluto()
1332 case 14: tcnfg = 2; break; /* 16K */ sba_ioc_init_pluto()
1333 case 16: tcnfg = 3; break; /* 64K */ sba_ioc_init_pluto()
1339 WRITE_REG(tcnfg, ioc->ioc_hpa + IOC_TCNFG); sba_ioc_init_pluto()
1378 unsigned int pdir_size, iov_order, tcnfg; sba_ioc_init() local
1472 case 12: tcnfg = 0; break; /* 4K */ sba_ioc_init()
1473 case 13: tcnfg = 1; break; /* 8K */ sba_ioc_init()
1474 case 14: tcnfg = 2; break; /* 16K */ sba_ioc_init()
1475 case 16: tcnfg = 3; break; /* 64K */ sba_ioc_init()
1482 WRITE_REG(tcnfg, ioc->ioc_hpa+IOC_TCNFG); sba_ioc_init()
/linux-4.1.27/arch/ia64/hp/common/
H A Dsba_iommu.c1604 int tcnfg; ioc_iova_init() local
1626 case 4*1024: tcnfg = 0; break; ioc_iova_init()
1627 case 8*1024: tcnfg = 1; break; ioc_iova_init()
1628 case 16*1024: tcnfg = 2; break; ioc_iova_init()
1629 case 64*1024: tcnfg = 3; break; ioc_iova_init()
1635 WRITE_REG(tcnfg, ioc->ioc_hpa + IOC_TCNFG); ioc_iova_init()

Completed in 97 milliseconds