Lines Matching refs:acpigen_emit_byte
159 acpigen_emit_byte(ctx, ACPI_DESCRIPTOR_INTERRUPT); in acpi_device_write_interrupt()
182 acpigen_emit_byte(ctx, flags); in acpi_device_write_interrupt()
185 acpigen_emit_byte(ctx, 1); in acpi_device_write_interrupt()
226 acpigen_emit_byte(ctx, ACPI_DESCRIPTOR_GPIO); in acpi_device_write_gpio()
232 acpigen_emit_byte(ctx, ACPI_GPIO_REVISION_ID); in acpi_device_write_gpio()
235 acpigen_emit_byte(ctx, gpio->type); in acpi_device_write_gpio()
301 acpigen_emit_byte(ctx, gpio->pull); in acpi_device_write_gpio()
313 acpigen_emit_byte(ctx, 0); in acpi_device_write_gpio()
540 acpigen_emit_byte(ctx, ACPI_DESCRIPTOR_SERIAL_BUS); in acpi_device_write_i2c()
546 acpigen_emit_byte(ctx, ACPI_I2C_SERIAL_BUS_REVISION_ID); in acpi_device_write_i2c()
549 acpigen_emit_byte(ctx, 0); in acpi_device_write_i2c()
552 acpigen_emit_byte(ctx, ACPI_SERIAL_BUS_TYPE_I2C); in acpi_device_write_i2c()
560 acpigen_emit_byte(ctx, 1 << 1); in acpi_device_write_i2c()
570 acpigen_emit_byte(ctx, ACPI_I2C_TYPE_SPECIFIC_REVISION_ID); in acpi_device_write_i2c()
648 acpigen_emit_byte(ctx, ACPI_DESCRIPTOR_SERIAL_BUS); in acpi_device_write_spi()
654 acpigen_emit_byte(ctx, ACPI_SPI_SERIAL_BUS_REVISION_ID); in acpi_device_write_spi()
657 acpigen_emit_byte(ctx, 0); in acpi_device_write_spi()
660 acpigen_emit_byte(ctx, ACPI_SERIAL_BUS_TYPE_SPI); in acpi_device_write_spi()
668 acpigen_emit_byte(ctx, BIT(1)); in acpi_device_write_spi()
683 acpigen_emit_byte(ctx, ACPI_SPI_TYPE_SPECIFIC_REVISION_ID); in acpi_device_write_spi()
692 acpigen_emit_byte(ctx, spi->data_bit_length); in acpi_device_write_spi()
695 acpigen_emit_byte(ctx, spi->clock_phase); in acpi_device_write_spi()
698 acpigen_emit_byte(ctx, spi->clock_polarity); in acpi_device_write_spi()