opal.h (d0226d315dba5e401a124b394a1af5e35e082b08) opal.h (43a1dd9b5fc64184e578ac1570d016d2862e00b2)
1/*
2 * PowerNV OPAL definitions.
3 *
4 * Copyright 2011 IBM Corp.
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version

--- 164 unchanged lines hidden (view full) ---

173int64_t opal_dump_init(uint8_t dump_type);
174int64_t opal_dump_info(__be32 *dump_id, __be32 *dump_size);
175int64_t opal_dump_info2(__be32 *dump_id, __be32 *dump_size, __be32 *dump_type);
176int64_t opal_dump_read(uint32_t dump_id, uint64_t buffer);
177int64_t opal_dump_ack(uint32_t dump_id);
178int64_t opal_dump_resend_notification(void);
179
180int64_t opal_get_msg(uint64_t buffer, uint64_t size);
1/*
2 * PowerNV OPAL definitions.
3 *
4 * Copyright 2011 IBM Corp.
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version

--- 164 unchanged lines hidden (view full) ---

173int64_t opal_dump_init(uint8_t dump_type);
174int64_t opal_dump_info(__be32 *dump_id, __be32 *dump_size);
175int64_t opal_dump_info2(__be32 *dump_id, __be32 *dump_size, __be32 *dump_type);
176int64_t opal_dump_read(uint32_t dump_id, uint64_t buffer);
177int64_t opal_dump_ack(uint32_t dump_id);
178int64_t opal_dump_resend_notification(void);
179
180int64_t opal_get_msg(uint64_t buffer, uint64_t size);
181int64_t opal_write_oppanel_async(uint64_t token, oppanel_line_t *lines,
182 uint64_t num_lines);
181int64_t opal_check_completion(uint64_t buffer, uint64_t size, uint64_t token);
182int64_t opal_sync_host_reboot(void);
183int64_t opal_get_param(uint64_t token, uint32_t param_id, uint64_t buffer,
184 uint64_t length);
185int64_t opal_set_param(uint64_t token, uint32_t param_id, uint64_t buffer,
186 uint64_t length);
187int64_t opal_sensor_read(uint32_t sensor_hndl, int token, __be32 *sensor_data);
188int64_t opal_handle_hmi(void);

--- 107 unchanged lines hidden ---
183int64_t opal_check_completion(uint64_t buffer, uint64_t size, uint64_t token);
184int64_t opal_sync_host_reboot(void);
185int64_t opal_get_param(uint64_t token, uint32_t param_id, uint64_t buffer,
186 uint64_t length);
187int64_t opal_set_param(uint64_t token, uint32_t param_id, uint64_t buffer,
188 uint64_t length);
189int64_t opal_sensor_read(uint32_t sensor_hndl, int token, __be32 *sensor_data);
190int64_t opal_handle_hmi(void);

--- 107 unchanged lines hidden ---