Lines Matching refs:si
69 struct sysinfo_1_1_1 *si = (void *) lgr_page; in lgr_stsi_1_1_1() local
71 if (stsi(si, 1, 1, 1)) in lgr_stsi_1_1_1()
73 cpascii(lgr_info->manufacturer, si->manufacturer, in lgr_stsi_1_1_1()
74 sizeof(si->manufacturer)); in lgr_stsi_1_1_1()
75 cpascii(lgr_info->type, si->type, sizeof(si->type)); in lgr_stsi_1_1_1()
76 cpascii(lgr_info->model, si->model, sizeof(si->model)); in lgr_stsi_1_1_1()
77 cpascii(lgr_info->sequence, si->sequence, sizeof(si->sequence)); in lgr_stsi_1_1_1()
78 cpascii(lgr_info->plant, si->plant, sizeof(si->plant)); in lgr_stsi_1_1_1()
86 struct sysinfo_2_2_2 *si = (void *) lgr_page; in lgr_stsi_2_2_2() local
88 if (stsi(si, 2, 2, 2)) in lgr_stsi_2_2_2()
90 cpascii(lgr_info->name, si->name, sizeof(si->name)); in lgr_stsi_2_2_2()
91 lgr_info->lpar_number = si->lpar_number; in lgr_stsi_2_2_2()
99 struct sysinfo_3_2_2 *si = (void *) lgr_page; in lgr_stsi_3_2_2() local
102 if (stsi(si, 3, 2, 2)) in lgr_stsi_3_2_2()
104 for (i = 0; i < min_t(u8, si->count, VM_LEVEL_MAX); i++) { in lgr_stsi_3_2_2()
105 cpascii(lgr_info->vm[i].name, si->vm[i].name, in lgr_stsi_3_2_2()
106 sizeof(si->vm[i].name)); in lgr_stsi_3_2_2()
107 cpascii(lgr_info->vm[i].cpi, si->vm[i].cpi, in lgr_stsi_3_2_2()
108 sizeof(si->vm[i].cpi)); in lgr_stsi_3_2_2()
110 lgr_info->vm_count = si->count; in lgr_stsi_3_2_2()