|
@@ -53,8 +53,8 @@ ACPI_MODULE_NAME("rsutils")
|
|
*
|
|
*
|
|
* FUNCTION: acpi_rs_decode_bitmask
|
|
* FUNCTION: acpi_rs_decode_bitmask
|
|
*
|
|
*
|
|
- * PARAMETERS: Mask - Bitmask to decode
|
|
|
|
- * List - Where the converted list is returned
|
|
|
|
|
|
+ * PARAMETERS: mask - Bitmask to decode
|
|
|
|
+ * list - Where the converted list is returned
|
|
*
|
|
*
|
|
* RETURN: Count of bits set (length of list)
|
|
* RETURN: Count of bits set (length of list)
|
|
*
|
|
*
|
|
@@ -86,8 +86,8 @@ u8 acpi_rs_decode_bitmask(u16 mask, u8 * list)
|
|
*
|
|
*
|
|
* FUNCTION: acpi_rs_encode_bitmask
|
|
* FUNCTION: acpi_rs_encode_bitmask
|
|
*
|
|
*
|
|
- * PARAMETERS: List - List of values to encode
|
|
|
|
- * Count - Length of list
|
|
|
|
|
|
+ * PARAMETERS: list - List of values to encode
|
|
|
|
+ * count - Length of list
|
|
*
|
|
*
|
|
* RETURN: Encoded bitmask
|
|
* RETURN: Encoded bitmask
|
|
*
|
|
*
|
|
@@ -115,8 +115,8 @@ u16 acpi_rs_encode_bitmask(u8 * list, u8 count)
|
|
*
|
|
*
|
|
* FUNCTION: acpi_rs_move_data
|
|
* FUNCTION: acpi_rs_move_data
|
|
*
|
|
*
|
|
- * PARAMETERS: Destination - Pointer to the destination descriptor
|
|
|
|
- * Source - Pointer to the source descriptor
|
|
|
|
|
|
+ * PARAMETERS: destination - Pointer to the destination descriptor
|
|
|
|
+ * source - Pointer to the source descriptor
|
|
* item_count - How many items to move
|
|
* item_count - How many items to move
|
|
* move_type - Byte width
|
|
* move_type - Byte width
|
|
*
|
|
*
|
|
@@ -183,7 +183,7 @@ acpi_rs_move_data(void *destination, void *source, u16 item_count, u8 move_type)
|
|
*
|
|
*
|
|
* PARAMETERS: total_length - Length of the AML descriptor, including
|
|
* PARAMETERS: total_length - Length of the AML descriptor, including
|
|
* the header and length fields.
|
|
* the header and length fields.
|
|
- * Aml - Pointer to the raw AML descriptor
|
|
|
|
|
|
+ * aml - Pointer to the raw AML descriptor
|
|
*
|
|
*
|
|
* RETURN: None
|
|
* RETURN: None
|
|
*
|
|
*
|
|
@@ -235,7 +235,7 @@ acpi_rs_set_resource_length(acpi_rsdesc_size total_length,
|
|
* PARAMETERS: descriptor_type - Byte to be inserted as the type
|
|
* PARAMETERS: descriptor_type - Byte to be inserted as the type
|
|
* total_length - Length of the AML descriptor, including
|
|
* total_length - Length of the AML descriptor, including
|
|
* the header and length fields.
|
|
* the header and length fields.
|
|
- * Aml - Pointer to the raw AML descriptor
|
|
|
|
|
|
+ * aml - Pointer to the raw AML descriptor
|
|
*
|
|
*
|
|
* RETURN: None
|
|
* RETURN: None
|
|
*
|
|
*
|
|
@@ -265,8 +265,8 @@ acpi_rs_set_resource_header(u8 descriptor_type,
|
|
*
|
|
*
|
|
* FUNCTION: acpi_rs_strcpy
|
|
* FUNCTION: acpi_rs_strcpy
|
|
*
|
|
*
|
|
- * PARAMETERS: Destination - Pointer to the destination string
|
|
|
|
- * Source - Pointer to the source string
|
|
|
|
|
|
+ * PARAMETERS: destination - Pointer to the destination string
|
|
|
|
+ * source - Pointer to the source string
|
|
*
|
|
*
|
|
* RETURN: String length, including NULL terminator
|
|
* RETURN: String length, including NULL terminator
|
|
*
|
|
*
|
|
@@ -300,7 +300,7 @@ static u16 acpi_rs_strcpy(char *destination, char *source)
|
|
* minimum_length - Minimum length of the descriptor (minus
|
|
* minimum_length - Minimum length of the descriptor (minus
|
|
* any optional fields)
|
|
* any optional fields)
|
|
* resource_source - Where the resource_source is returned
|
|
* resource_source - Where the resource_source is returned
|
|
- * Aml - Pointer to the raw AML descriptor
|
|
|
|
|
|
+ * aml - Pointer to the raw AML descriptor
|
|
* string_ptr - (optional) where to store the actual
|
|
* string_ptr - (optional) where to store the actual
|
|
* resource_source string
|
|
* resource_source string
|
|
*
|
|
*
|
|
@@ -386,7 +386,7 @@ acpi_rs_get_resource_source(acpi_rs_length resource_length,
|
|
*
|
|
*
|
|
* FUNCTION: acpi_rs_set_resource_source
|
|
* FUNCTION: acpi_rs_set_resource_source
|
|
*
|
|
*
|
|
- * PARAMETERS: Aml - Pointer to the raw AML descriptor
|
|
|
|
|
|
+ * PARAMETERS: aml - Pointer to the raw AML descriptor
|
|
* minimum_length - Minimum length of the descriptor (minus
|
|
* minimum_length - Minimum length of the descriptor (minus
|
|
* any optional fields)
|
|
* any optional fields)
|
|
* resource_source - Internal resource_source
|
|
* resource_source - Internal resource_source
|
|
@@ -445,7 +445,7 @@ acpi_rs_set_resource_source(union aml_resource * aml,
|
|
*
|
|
*
|
|
* FUNCTION: acpi_rs_get_prt_method_data
|
|
* FUNCTION: acpi_rs_get_prt_method_data
|
|
*
|
|
*
|
|
- * PARAMETERS: Node - Device node
|
|
|
|
|
|
+ * PARAMETERS: node - Device node
|
|
* ret_buffer - Pointer to a buffer structure for the
|
|
* ret_buffer - Pointer to a buffer structure for the
|
|
* results
|
|
* results
|
|
*
|
|
*
|
|
@@ -494,7 +494,7 @@ acpi_rs_get_prt_method_data(struct acpi_namespace_node * node,
|
|
*
|
|
*
|
|
* FUNCTION: acpi_rs_get_crs_method_data
|
|
* FUNCTION: acpi_rs_get_crs_method_data
|
|
*
|
|
*
|
|
- * PARAMETERS: Node - Device node
|
|
|
|
|
|
+ * PARAMETERS: node - Device node
|
|
* ret_buffer - Pointer to a buffer structure for the
|
|
* ret_buffer - Pointer to a buffer structure for the
|
|
* results
|
|
* results
|
|
*
|
|
*
|
|
@@ -534,7 +534,7 @@ acpi_rs_get_crs_method_data(struct acpi_namespace_node *node,
|
|
*/
|
|
*/
|
|
status = acpi_rs_create_resource_list(obj_desc, ret_buffer);
|
|
status = acpi_rs_create_resource_list(obj_desc, ret_buffer);
|
|
|
|
|
|
- /* On exit, we must delete the object returned by evaluate_object */
|
|
|
|
|
|
+ /* On exit, we must delete the object returned by evaluateObject */
|
|
|
|
|
|
acpi_ut_remove_reference(obj_desc);
|
|
acpi_ut_remove_reference(obj_desc);
|
|
return_ACPI_STATUS(status);
|
|
return_ACPI_STATUS(status);
|
|
@@ -544,7 +544,7 @@ acpi_rs_get_crs_method_data(struct acpi_namespace_node *node,
|
|
*
|
|
*
|
|
* FUNCTION: acpi_rs_get_prs_method_data
|
|
* FUNCTION: acpi_rs_get_prs_method_data
|
|
*
|
|
*
|
|
- * PARAMETERS: Node - Device node
|
|
|
|
|
|
+ * PARAMETERS: node - Device node
|
|
* ret_buffer - Pointer to a buffer structure for the
|
|
* ret_buffer - Pointer to a buffer structure for the
|
|
* results
|
|
* results
|
|
*
|
|
*
|
|
@@ -585,7 +585,7 @@ acpi_rs_get_prs_method_data(struct acpi_namespace_node *node,
|
|
*/
|
|
*/
|
|
status = acpi_rs_create_resource_list(obj_desc, ret_buffer);
|
|
status = acpi_rs_create_resource_list(obj_desc, ret_buffer);
|
|
|
|
|
|
- /* On exit, we must delete the object returned by evaluate_object */
|
|
|
|
|
|
+ /* On exit, we must delete the object returned by evaluateObject */
|
|
|
|
|
|
acpi_ut_remove_reference(obj_desc);
|
|
acpi_ut_remove_reference(obj_desc);
|
|
return_ACPI_STATUS(status);
|
|
return_ACPI_STATUS(status);
|
|
@@ -596,7 +596,7 @@ acpi_rs_get_prs_method_data(struct acpi_namespace_node *node,
|
|
*
|
|
*
|
|
* FUNCTION: acpi_rs_get_aei_method_data
|
|
* FUNCTION: acpi_rs_get_aei_method_data
|
|
*
|
|
*
|
|
- * PARAMETERS: Node - Device node
|
|
|
|
|
|
+ * PARAMETERS: node - Device node
|
|
* ret_buffer - Pointer to a buffer structure for the
|
|
* ret_buffer - Pointer to a buffer structure for the
|
|
* results
|
|
* results
|
|
*
|
|
*
|
|
@@ -636,7 +636,7 @@ acpi_rs_get_aei_method_data(struct acpi_namespace_node *node,
|
|
*/
|
|
*/
|
|
status = acpi_rs_create_resource_list(obj_desc, ret_buffer);
|
|
status = acpi_rs_create_resource_list(obj_desc, ret_buffer);
|
|
|
|
|
|
- /* On exit, we must delete the object returned by evaluate_object */
|
|
|
|
|
|
+ /* On exit, we must delete the object returned by evaluateObject */
|
|
|
|
|
|
acpi_ut_remove_reference(obj_desc);
|
|
acpi_ut_remove_reference(obj_desc);
|
|
return_ACPI_STATUS(status);
|
|
return_ACPI_STATUS(status);
|
|
@@ -646,8 +646,8 @@ acpi_rs_get_aei_method_data(struct acpi_namespace_node *node,
|
|
*
|
|
*
|
|
* FUNCTION: acpi_rs_get_method_data
|
|
* FUNCTION: acpi_rs_get_method_data
|
|
*
|
|
*
|
|
- * PARAMETERS: Handle - Handle to the containing object
|
|
|
|
- * Path - Path to method, relative to Handle
|
|
|
|
|
|
+ * PARAMETERS: handle - Handle to the containing object
|
|
|
|
+ * path - Path to method, relative to Handle
|
|
* ret_buffer - Pointer to a buffer structure for the
|
|
* ret_buffer - Pointer to a buffer structure for the
|
|
* results
|
|
* results
|
|
*
|
|
*
|
|
@@ -697,7 +697,7 @@ acpi_rs_get_method_data(acpi_handle handle,
|
|
*
|
|
*
|
|
* FUNCTION: acpi_rs_set_srs_method_data
|
|
* FUNCTION: acpi_rs_set_srs_method_data
|
|
*
|
|
*
|
|
- * PARAMETERS: Node - Device node
|
|
|
|
|
|
+ * PARAMETERS: node - Device node
|
|
* in_buffer - Pointer to a buffer structure of the
|
|
* in_buffer - Pointer to a buffer structure of the
|
|
* parameter
|
|
* parameter
|
|
*
|
|
*
|