Lines Matching defs:result
644 u32 result[4];
649 if (pdc_stable_read(PDCS_ADDR_OSD1, &result, sizeof(result)) != PDC_OK)
652 out += sprintf(out, "0x%.8x\n", result[0]);
653 out += sprintf(out, "0x%.8x\n", result[1]);
654 out += sprintf(out, "0x%.8x\n", result[2]);
655 out += sprintf(out, "0x%.8x\n", result[3]);
672 u32 result;
678 if (pdc_stable_read(PDCS_ADDR_DIAG, &result, sizeof(result)) != PDC_OK)
681 out += sprintf(out, "0x%.4x\n", (result >> 16));
698 u32 result;
704 if (pdc_stable_read(PDCS_ADDR_FSIZ, &result, sizeof(result)) != PDC_OK)
707 if ((result & 0x0F) < 0x0E)
708 out += sprintf(out, "%d kB", (1<<(result & 0x0F))*256);
730 u32 result;
741 if (unlikely(pdc_stable_read(PDCS_ADDR_OSD2 + i, &result,
742 sizeof(result)) != PDC_OK))
744 out += sprintf(out, "0x%.8x\n", result);
1057 u32 result;
1070 if (pdc_stable_read(PDCS_ADDR_OSID, &result, sizeof(result)) != PDC_OK)
1073 /* the actual result is 16 bits away */
1074 pdcs_osid = (u16)(result >> 16);