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

/linux-4.1.27/arch/s390/kernel/
H A Dlgr.c23 struct lgr_info { struct
49 static struct lgr_info lgr_info_last;
50 static struct lgr_info lgr_info_cur;
65 static void lgr_stsi_1_1_1(struct lgr_info *lgr_info) lgr_stsi_1_1_1() argument
71 cpascii(lgr_info->manufacturer, si->manufacturer, lgr_stsi_1_1_1()
73 cpascii(lgr_info->type, si->type, sizeof(si->type)); lgr_stsi_1_1_1()
74 cpascii(lgr_info->model, si->model, sizeof(si->model)); lgr_stsi_1_1_1()
75 cpascii(lgr_info->sequence, si->sequence, sizeof(si->sequence)); lgr_stsi_1_1_1()
76 cpascii(lgr_info->plant, si->plant, sizeof(si->plant)); lgr_stsi_1_1_1()
82 static void lgr_stsi_2_2_2(struct lgr_info *lgr_info) lgr_stsi_2_2_2() argument
88 cpascii(lgr_info->name, si->name, sizeof(si->name)); lgr_stsi_2_2_2()
89 memcpy(&lgr_info->lpar_number, &si->lpar_number, lgr_stsi_2_2_2()
90 sizeof(lgr_info->lpar_number)); lgr_stsi_2_2_2()
96 static void lgr_stsi_3_2_2(struct lgr_info *lgr_info) lgr_stsi_3_2_2() argument
104 cpascii(lgr_info->vm[i].name, si->vm[i].name, lgr_stsi_3_2_2()
106 cpascii(lgr_info->vm[i].cpi, si->vm[i].cpi, lgr_stsi_3_2_2()
109 lgr_info->vm_count = si->count; lgr_stsi_3_2_2()
115 static void lgr_info_get(struct lgr_info *lgr_info) lgr_info_get() argument
119 memset(lgr_info, 0, sizeof(*lgr_info)); lgr_info_get()
120 stfle(lgr_info->stfle_fac_list, ARRAY_SIZE(lgr_info->stfle_fac_list)); lgr_info_get()
122 lgr_info->level = level; lgr_info_get()
124 lgr_stsi_1_1_1(lgr_info); lgr_info_get()
126 lgr_stsi_2_2_2(lgr_info); lgr_info_get()
128 lgr_stsi_3_2_2(lgr_info); lgr_info_get()
173 * Initialize LGR: Add s390dbf, write initial lgr_info and setup timer
177 lgr_dbf = debug_register("lgr", 1, 1, sizeof(struct lgr_info)); lgr_init()

Completed in 72 milliseconds