Home
last modified time | relevance | path

Searched refs:history_index (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/acpi/acpica/
H A Ddbhistry.c115 u16 history_index; in acpi_db_display_history() local
117 history_index = acpi_gbl_lo_history; in acpi_db_display_history()
124 acpi_gbl_history_buffer[history_index]. in acpi_db_display_history()
130 history_index++; in acpi_db_display_history()
131 if (history_index >= HISTORY_SIZE) { in acpi_db_display_history()
132 history_index = 0; in acpi_db_display_history()
181 u16 history_index; in acpi_db_get_history_by_index() local
185 history_index = acpi_gbl_lo_history; in acpi_db_get_history_by_index()
196 history_index++; in acpi_db_get_history_by_index()
197 if (history_index >= HISTORY_SIZE) { in acpi_db_get_history_by_index()
[all …]
/openbmc/linux/drivers/s390/net/
H A Dfsm.c94 idx = fi->history_index; in fsm_print_history()
109 fi->history_size = fi->history_index = 0; in fsm_print_history()
115 fi->history[fi->history_index].state = state; in fsm_record_history()
116 fi->history[fi->history_index++].event = event; in fsm_record_history()
117 fi->history_index %= FSM_HISTORY_SIZE; in fsm_record_history()
H A Dfsm.h72 int history_index; member