/* * Large Item, Set the descriptor field and length bytes */ 
/* Large Item, Set the descriptor field and length bytes */  
acpi_rs_vendor_stream (	struct acpi_resource            *linked_list,	u8                              **output_buffer,	acpi_size                       *bytes_consumed){	u8                              *buffer = *output_buffer;	u16                             temp16 = 0;	u8                              temp8 = 0;	u8                              index;	ACPI_FUNCTION_TRACE ("rs_vendor_stream");	/*	 * Dereference the length to find if this is a large or small item.	 */	if(linked_list->data.vendor_specific.length > 7) {		/*		 * Large Item, Set the descriptor field and length bytes		 */		*buffer = 0x84;		buffer += 1;		temp16 = (u16) linked_list->data.vendor_specific.length;		ACPI_MOVE_16_TO_16 (buffer, &temp16);		buffer += 2;	}	else {		/*		 * Small Item, Set the descriptor field		 */		temp8 = 0x70;		temp8 |= (u8) linked_list->data.vendor_specific.length;		*buffer = temp8;		buffer += 1;	}	/*	 * Loop through all of the Vendor Specific fields	 */	for (index = 0; index < linked_list->data.vendor_specific.length; index++) {		temp8 = linked_list->data.vendor_specific.reserved[index];		*buffer = temp8;		buffer += 1;	}	/*	 * Return the number of bytes consumed in this operation	 */	*bytes_consumed = ACPI_PTR_DIFF (buffer, *output_buffer);	return_ACPI_STATUS (AE_OK);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/44f6c01242da4e162f28d8e1216a8c7a91174605/rsmisc.c/clean/drivers/acpi/resources/rsmisc.c