/openbmc/linux/drivers/acpi/apei/ |
H A D | erst.c | 440 static int __erst_get_next_record_id(u64 *record_id) in __erst_get_next_record_id() argument 449 *record_id = apei_exec_ctx_get_output(&ctx); in __erst_get_next_record_id() 540 int erst_get_record_id_next(int *pos, u64 *record_id) in erst_get_record_id_next() argument 559 *record_id = entries[*pos]; in erst_get_record_id_next() 570 *record_id = erst_record_id_cache.entries[*pos]; in erst_get_record_id_next() 575 *record_id = APEI_ERST_INVALID_RECORD_ID; in erst_get_record_id_next() 660 static int __erst_read_from_storage(u64 record_id, u64 offset) in __erst_read_from_storage() argument 675 apei_exec_ctx_set_input(&ctx, record_id); in __erst_read_from_storage() 703 static int __erst_clear_from_storage(u64 record_id) in __erst_clear_from_storage() argument 714 apei_exec_ctx_set_input(&ctx, record_id); in __erst_clear_from_storage() [all …]
|
H A D | erst-dbg.c | 58 u64 record_id; in erst_dbg_ioctl() local 63 rc = copy_from_user(&record_id, (void __user *)arg, in erst_dbg_ioctl() 64 sizeof(record_id)); in erst_dbg_ioctl() 67 return erst_clear(record_id); in erst_dbg_ioctl()
|
/openbmc/linux/drivers/net/wireless/intersil/orinoco/ |
H A D | hermes_dld.c | 149 hermes_find_pdr(const struct pdr *first_pdr, u32 record_id, const void *end) in hermes_find_pdr() argument 166 if (pdr_id(pdr) == record_id) in hermes_find_pdr() 176 hermes_find_pdi(const struct pdi *first_pdi, u32 record_id, const void *end) in hermes_find_pdi() argument 186 if (pdi_id(pdi) == record_id) in hermes_find_pdi() 401 int record_id; in hermes_apply_pda_with_defaults() local 415 record_id = pdr_id(pdr); in hermes_apply_pda_with_defaults() 417 pdi = hermes_find_pdi(first_pdi, record_id, pda_end); in hermes_apply_pda_with_defaults() 420 record_id, pdi); in hermes_apply_pda_with_defaults() 422 switch (record_id) { in hermes_apply_pda_with_defaults() 425 outdoor_pdi = hermes_find_pdi(first_pdi, record_id + 1, in hermes_apply_pda_with_defaults() [all …]
|
/openbmc/linux/arch/x86/kernel/cpu/mce/ |
H A D | apei.c | 159 rcd.hdr.record_id = cper_next_record_id(); in apei_write_mce() 176 ssize_t apei_read_mce(struct mce *m, u64 *record_id) in apei_read_mce() argument 185 rc = erst_get_record_id_next(&pos, record_id); in apei_read_mce() 189 if (*record_id == APEI_ERST_INVALID_RECORD_ID) in apei_read_mce() 191 rc = erst_read_record(*record_id, &rcd.hdr, sizeof(rcd), sizeof(rcd), in apei_read_mce() 213 int apei_clear_mce(u64 record_id) in apei_clear_mce() argument 215 return erst_clear(record_id); in apei_clear_mce()
|
H A D | internal.h | 67 ssize_t apei_read_mce(struct mce *m, u64 *record_id); 69 int apei_clear_mce(u64 record_id); 75 static inline ssize_t apei_read_mce(struct mce *m, u64 *record_id) in apei_read_mce() argument 83 static inline int apei_clear_mce(u64 record_id) in apei_clear_mce() argument
|
H A D | dev-mcelog.c | 165 u64 record_id; in __mce_read_apei() local 171 rc = apei_read_mce(&m, &record_id); in __mce_read_apei() 192 rc = apei_clear_mce(record_id); in __mce_read_apei()
|
/openbmc/linux/include/acpi/ |
H A D | apei.h | 45 int erst_get_record_id_next(int *pos, u64 *record_id); 47 ssize_t erst_read(u64 record_id, struct cper_record_header *record, 49 ssize_t erst_read_record(u64 record_id, struct cper_record_header *record, 51 int erst_clear(u64 record_id);
|
/openbmc/qemu/docs/specs/ |
H A D | acpi_erst.rst | 141 of CPER record_id's to efficiently access records in the backend 155 | record_id[0] | 0x0018 157 | record_id[1] | 0x0020 159 | record_id[...] | 161 | record_id[N] | 0x1FF8 168 The 'record_offset' field points to the first record_id in the array, 176 The 'record_id' array fields are the 64-bit record identifiers of the 178 location of a CPER record_id in the record_id[] array provides the 182 contains the header, so the record_id[0] will never contain a valid 183 CPER record_id. Instead slot 1 is the first available slot and thus [all …]
|
/openbmc/libcper/generator/sections/ |
H A D | gen-section-firmware.c | 27 UINT64 *record_id = (UINT64 *)(bytes + 8); in generate_section_firmware() local 28 *record_id = 0; //Record ID, should be forced to NULL. in generate_section_firmware()
|
/openbmc/openbmc-test-automation/openpower/ipmi/ |
H A D | test_ipmi_sdr.robot | 99 ${record_id}= Get Regexp Matches ${resp} \\|\\s+([0-9]+)h\\s+\\| 1 101 RETURN ${record_id[0]} 110 ${record_id}= Get SDR Record ID 111 Set Suite Variable ${record_id}
|
/openbmc/openbmc-test-automation/ipmi/ |
H A D | test_ipmi_sdr.robot | 174 ... ${IPMI_RAW_CMD['Get SDR']['Get'][1]} ${reservation_id} 0x${record_id} 0x00 192 ... ${IPMI_RAW_CMD['Get SDR']['Get'][1]} ${first_reservation_id} 0x${record_id} 0x00 211 ... ${IPMI_RAW_CMD['Get SDR']['Get'][1]} ${reservation_id_before_reboot} 0x${record_id} 0x00 219 ... ${IPMI_RAW_CMD['Get SDR']['Get'][1]} ${reservation_id_after_reboot} 0x${record_id} 0x00 404 ${record_id}= Get Regexp Matches ${resp} \\|\\s+([0-9]+)h\\s+\\| 1 406 RETURN ${record_id[0]} 415 ${record_id}= Get SDR Record ID 416 Set Suite Variable ${record_id}
|
/openbmc/ipmitool/lib/ |
H A D | ipmi_sel.c | 420 sel_event.record_id = 0x0000; in ipmi_sel_add_entries_fromfile() 493 msg_data[4] = rec->record_id & 0x00FF; /* SEL Record ID LSB */ in get_newisys_evt_desc() 494 msg_data[5] = (rec->record_id & 0xFF00) >> 8; /* SEL Record ID MSB */ in get_newisys_evt_desc() 1602 evt->record_id = 0; in ipmi_sel_get_std_entry() 1633 evt->record_id = (rsp->data[3] << 8) | rsp->data[2]; in ipmi_sel_get_std_entry() 1724 printf("%x,", evt->record_id); in ipmi_sel_print_std_entry() 1726 printf("%4x | ", evt->record_id); in ipmi_sel_print_std_entry() 1959 printf("SEL Record ID : %04x\n", evt->record_id); in ipmi_sel_print_std_entry_verbose() 2062 printf("SEL Record ID : %04x\n", evt->record_id); in ipmi_sel_print_extended_entry_verbose() 2268 delta = next_id - evt.record_id; in __ipmi_sel_savelist_entries() [all …]
|
H A D | ipmi_event.c | 63 sel_event.record_id = 0; in ipmi_event_msg_print() 559 sel_event.record_id = 0; in ipmi_event_fromfile()
|
H A D | ipmi_fru.c | 1588 if(oh->record_id == OEM_KONTRON_INFORMATION_RECORD ) { in ipmi_fru_oemkontron_get() 1689 uint8_t record_id = 0; in ipmi_fru_oemkontron_edit() local 1708 if (str2uchar(argv[OEM_KONTRON_RECORDID_ARG_POS], &record_id) != 0) { in ipmi_fru_oemkontron_edit() 1715 if (record_id == OEM_KONTRON_INFORMATION_RECORD) { in ipmi_fru_oemkontron_edit() 1730 if(oh->record_id == OEM_KONTRON_INFORMATION_RECORD ) { in ipmi_fru_oemkontron_edit() 1909 switch (oh->record_id) in ipmi_fru_picmg_ext_edit() 2022 switch (h->record_id) in ipmi_fru_picmg_ext_print() 2816 printf(" - Record ID: 0x%02x\n", h->record_id); in ipmi_fru_picmg_ext_print() 2820 printf(" Unknown OEM Extension Record ID: %x\n", h->record_id); in ipmi_fru_picmg_ext_print()
|
H A D | ipmi_dcmi.c | 1293 uint16_t record_id = 0; in ipmi_dcmi_prnt_discvry_snsr() local 1316 record_id = (id_buff[2*i + 1] << 8) + id_buff[2*i]; in ipmi_dcmi_prnt_discvry_snsr() 1317 printf("Record ID 0x%04x: ", record_id); in ipmi_dcmi_prnt_discvry_snsr() 1318 ipmi_print_sensor_info(intf, record_id); in ipmi_dcmi_prnt_discvry_snsr()
|
/openbmc/ipmitool/include/ipmitool/ |
H A D | ipmi_sel.h | 65 uint16_t record_id; member 128 uint16_t record_id; member
|
H A D | ipmi_fru.h | 275 unsigned char record_id; member
|
/openbmc/linux/arch/ia64/include/asm/ |
H A D | sal.h | 493 u64 record_id : 1, member 505 u16 record_id; member
|
/openbmc/linux/include/linux/ |
H A D | cper.h | 337 u64 record_id; member
|
/openbmc/qemu/hw/acpi/ |
H A D | erst.c | 472 uint64_t record_id) in update_map_entry() argument 475 s->header->map[index] = cpu_to_le64(record_id); in update_map_entry()
|
/openbmc/linux/drivers/hwmon/ |
H A D | ibmaem.c | 207 u16 record_id; member
|