nfit_spa_type
int type = spa ? nfit_spa_type(spa) : 0;
if (nfit_spa_type(spa) == NFIT_SPA_PM)
else if (nfit_spa_type(spa) == NFIT_SPA_VOLATILE)
switch (nfit_spa_type(spa)) {
return (nfit_spa_type(spa) == NFIT_SPA_VDISK ||
nfit_spa_type(spa) == NFIT_SPA_VCD ||
nfit_spa_type(spa) == NFIT_SPA_PDISK ||
nfit_spa_type(spa) == NFIT_SPA_PCD);
return (nfit_spa_type(spa) == NFIT_SPA_VDISK ||
nfit_spa_type(spa) == NFIT_SPA_VCD ||
nfit_spa_type(spa) == NFIT_SPA_VOLATILE);
if (nfit_spa_type(spa) == NFIT_SPA_PM) {
int type = nfit_spa_type(nfit_spa->spa);
switch (nfit_spa_type(nfit_spa->spa)) {
switch (nfit_spa_type(nfit_spa->spa)) {
int type = nfit_spa_type(nfit_spa->spa);
spa_type_name(nfit_spa_type(spa)));
if (nfit_spa_type(spa) != NFIT_SPA_PM)
int nfit_spa_type(struct acpi_nfit_system_address *spa);