Lines Matching refs:lgr_info
25 struct lgr_info { struct
51 static struct lgr_info lgr_info_last; argument
52 static struct lgr_info lgr_info_cur;
67 static void lgr_stsi_1_1_1(struct lgr_info *lgr_info) in lgr_stsi_1_1_1() argument
73 cpascii(lgr_info->manufacturer, 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()
84 static void lgr_stsi_2_2_2(struct lgr_info *lgr_info) in lgr_stsi_2_2_2() argument
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()
97 static void lgr_stsi_3_2_2(struct lgr_info *lgr_info) in lgr_stsi_3_2_2() argument
105 cpascii(lgr_info->vm[i].name, 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()
110 lgr_info->vm_count = si->count; in lgr_stsi_3_2_2()
116 static void lgr_info_get(struct lgr_info *lgr_info) in lgr_info_get() argument
120 memset(lgr_info, 0, sizeof(*lgr_info)); in lgr_info_get()
121 stfle(lgr_info->stfle_fac_list, ARRAY_SIZE(lgr_info->stfle_fac_list)); in lgr_info_get()
123 lgr_info->level = level; in lgr_info_get()
125 lgr_stsi_1_1_1(lgr_info); in lgr_info_get()
127 lgr_stsi_2_2_2(lgr_info); in lgr_info_get()
129 lgr_stsi_3_2_2(lgr_info); in lgr_info_get()
177 lgr_dbf = debug_register("lgr", 1, 1, sizeof(struct lgr_info)); in lgr_init()