Home
last modified time | relevance | path

Searched full:gas (Results 1 – 25 of 161) sorted by relevance

1234567

/kernel/linux/linux-6.6/drivers/acpi/
Dacpi_watchdog.c35 const struct acpi_generic_address *gas; in acpi_watchdog_uses_rtc() local
37 gas = &entries[i].register_region; in acpi_watchdog_uses_rtc()
38 if (gas->space_id == ACPI_ADR_SPACE_SYSTEM_IO) { in acpi_watchdog_uses_rtc()
39 switch (gas->address) { in acpi_watchdog_uses_rtc()
132 const struct acpi_generic_address *gas; in acpi_watchdog_init() local
137 gas = &entries[i].register_region; in acpi_watchdog_init()
139 res.start = gas->address; in acpi_watchdog_init()
140 res.end = res.start + ACPI_ACCESS_BYTE_WIDTH(gas->access_width) - 1; in acpi_watchdog_init()
141 if (gas->space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY) { in acpi_watchdog_init()
143 } else if (gas->space_id == ACPI_ADR_SPACE_SYSTEM_IO) { in acpi_watchdog_init()
[all …]
Dosl.c92 static void __init acpi_request_region (struct acpi_generic_address *gas, in acpi_request_region() argument
98 memcpy(&addr, &gas->address, sizeof(addr)); in acpi_request_region()
103 if (gas->space_id == ACPI_ADR_SPACE_SYSTEM_IO) in acpi_request_region()
105 else if (gas->space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY) in acpi_request_region()
452 void __iomem *acpi_os_map_generic_address(struct acpi_generic_address *gas) in acpi_os_map_generic_address() argument
456 if (gas->space_id != ACPI_ADR_SPACE_SYSTEM_MEMORY) in acpi_os_map_generic_address()
460 memcpy(&addr, &gas->address, sizeof(addr)); in acpi_os_map_generic_address()
461 if (!addr || !gas->bit_width) in acpi_os_map_generic_address()
464 return acpi_os_map_iomem(addr, gas->bit_width / 8); in acpi_os_map_generic_address()
468 void acpi_os_unmap_generic_address(struct acpi_generic_address *gas) in acpi_os_unmap_generic_address() argument
[all …]
/kernel/linux/linux-5.10/drivers/acpi/
Dacpi_watchdog.c35 const struct acpi_generic_address *gas; in acpi_watchdog_uses_rtc() local
37 gas = &entries[i].register_region; in acpi_watchdog_uses_rtc()
38 if (gas->space_id == ACPI_ADR_SPACE_SYSTEM_IO) { in acpi_watchdog_uses_rtc()
39 switch (gas->address) { in acpi_watchdog_uses_rtc()
132 const struct acpi_generic_address *gas; in acpi_watchdog_init() local
137 gas = &entries[i].register_region; in acpi_watchdog_init()
139 res.start = gas->address; in acpi_watchdog_init()
140 res.end = res.start + ACPI_ACCESS_BYTE_WIDTH(gas->access_width) - 1; in acpi_watchdog_init()
141 if (gas->space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY) { in acpi_watchdog_init()
143 } else if (gas->space_id == ACPI_ADR_SPACE_SYSTEM_IO) { in acpi_watchdog_init()
[all …]
Dosl.c90 static void __init acpi_request_region (struct acpi_generic_address *gas, in acpi_request_region() argument
96 memcpy(&addr, &gas->address, sizeof(addr)); in acpi_request_region()
101 if (gas->space_id == ACPI_ADR_SPACE_SYSTEM_IO) in acpi_request_region()
103 else if (gas->space_id == ACPI_ADR_SPACE_SYSTEM_MEMORY) in acpi_request_region()
450 void __iomem *acpi_os_map_generic_address(struct acpi_generic_address *gas) in acpi_os_map_generic_address() argument
454 if (gas->space_id != ACPI_ADR_SPACE_SYSTEM_MEMORY) in acpi_os_map_generic_address()
458 memcpy(&addr, &gas->address, sizeof(addr)); in acpi_os_map_generic_address()
459 if (!addr || !gas->bit_width) in acpi_os_map_generic_address()
462 return acpi_os_map_iomem(addr, gas->bit_width / 8); in acpi_os_map_generic_address()
466 void acpi_os_unmap_generic_address(struct acpi_generic_address *gas) in acpi_os_unmap_generic_address() argument
[all …]
/kernel/linux/linux-6.6/drivers/watchdog/
Dwdat_wdt.c67 const struct acpi_generic_address *gas = &instr->entry.register_region; in wdat_wdt_read() local
69 switch (gas->access_width) { in wdat_wdt_read()
84 gas->address); in wdat_wdt_read()
92 const struct acpi_generic_address *gas = &instr->entry.register_region; in wdat_wdt_write() local
94 switch (gas->access_width) { in wdat_wdt_write()
109 gas->address); in wdat_wdt_write()
130 const struct acpi_generic_address *gas; in wdat_wdt_run_action() local
135 gas = &entry->register_region; in wdat_wdt_run_action()
147 x >>= gas->bit_offset; in wdat_wdt_run_action()
157 x >>= gas->bit_offset; in wdat_wdt_run_action()
[all …]
/kernel/linux/linux-5.10/drivers/watchdog/
Dwdat_wdt.c67 const struct acpi_generic_address *gas = &instr->entry.register_region; in wdat_wdt_read() local
69 switch (gas->access_width) { in wdat_wdt_read()
84 gas->address); in wdat_wdt_read()
92 const struct acpi_generic_address *gas = &instr->entry.register_region; in wdat_wdt_write() local
94 switch (gas->access_width) { in wdat_wdt_write()
109 gas->address); in wdat_wdt_write()
130 const struct acpi_generic_address *gas; in wdat_wdt_run_action() local
135 gas = &entry->register_region; in wdat_wdt_run_action()
147 x >>= gas->bit_offset; in wdat_wdt_run_action()
157 x >>= gas->bit_offset; in wdat_wdt_run_action()
[all …]
/kernel/linux/linux-6.6/drivers/iio/chemical/
DKconfig44 temperature, pressure, humidity and gas sensing capability.
135 tristate "Sensirion SGPxx gas sensors"
140 Sensirion SGP gas sensors:
141 * SGP30 gas sensor
142 * SGPC3 low power gas sensor
148 tristate "Sensirion SGP40 gas sensor"
152 Say Y here to build I2C interface to support Sensirion SGP40 gas
Dbme680_core.c3 * Bosch BME680 - Temperature, Pressure, Humidity & Gas Sensor
282 /* Gas heater related coefficients */ in bme680_read_calib()
435 * Returns gas measurement in Ohm. Output value of "82986" represent 82986 ohms.
446 /* Look up table for the possible gas range values */ in bme680_compensate_gas()
549 * TPH measurement + gas measurement + wait transition from forced mode in bme680_wait_for_eoc()
641 /* Enable the gas sensor and select heater profile set-point 0 */ in bme680_gas_config()
776 dev_err(dev, "failed to set gas config\n"); in bme680_read_gas()
791 dev_err(dev, "gas measurement incomplete\n"); in bme680_read_gas()
802 * occurs if either the gas heating duration was insuffient in bme680_read_gas()
815 dev_err(dev, "failed to read gas resistance\n"); in bme680_read_gas()
[all …]
/kernel/linux/linux-6.6/drivers/mailbox/
Dpcc.c70 * @gas: pointer to the generic address structure for this register
77 struct acpi_generic_address *gas; member
170 if (!reg->gas) { in pcc_chan_reg_read()
176 read_register(reg->vaddr, val, reg->gas->bit_width); in pcc_chan_reg_read()
178 ret = acpi_read(val, reg->gas); in pcc_chan_reg_read()
187 if (!reg->gas) in pcc_chan_reg_write()
191 write_register(reg->vaddr, val, reg->gas->bit_width); in pcc_chan_reg_write()
193 ret = acpi_write(val, reg->gas); in pcc_chan_reg_write()
252 if (!pchan->cmd_complete.gas) in pcc_mbox_cmd_complete_check()
529 pcc_chan_reg_init(struct pcc_chan_reg *reg, struct acpi_generic_address *gas, in pcc_chan_reg_init() argument
[all …]
/kernel/linux/linux-5.10/drivers/iio/chemical/
DKconfig44 temperature, pressure, humidity and gas sensing capability.
122 tristate "Sensirion SGPxx gas sensors"
127 Sensirion SGP gas sensors:
128 * SGP30 gas sensor
129 * SGPC3 low power gas sensor
Dbme680_core.c3 * Bosch BME680 - Temperature, Pressure, Humidity & Gas Sensor
279 /* Gas heater related coefficients */ in bme680_read_calib()
432 * Returns gas measurement in Ohm. Output value of "82986" represent 82986 ohms.
443 /* Look up table for the possible gas range values */ in bme680_compensate_gas()
601 /* Enable the gas sensor and select heater profile set-point 0 */ in bme680_gas_config()
732 dev_err(dev, "failed to set gas config\n"); in bme680_read_gas()
743 dev_err(dev, "gas measurement incomplete\n"); in bme680_read_gas()
754 * occurs if either the gas heating duration was insuffient in bme680_read_gas()
767 dev_err(dev, "failed to read gas resistance\n"); in bme680_read_gas()
947 dev_err(dev, "failed to set gas config data\n"); in bme680_core_probe()
/kernel/linux/linux-5.10/drivers/acpi/acpica/
Dhwregs.c39 * PARAMETERS: address - GAS register address
40 * reg - GAS register structure
56 * GAS format "register", used by FADT: in acpi_hw_get_access_bit_width()
60 * GAS format "region", used by APEI registers: in acpi_hw_get_access_bit_width()
109 * PARAMETERS: reg - GAS register structure
111 * address - Pointer to where the gas->address
116 * DESCRIPTION: Validate the contents of a GAS register. Checks the GAS
128 /* Must have a valid pointer to a GAS structure */ in acpi_hw_validate_register()
183 * reg - GAS register structure
208 /* Validate contents of the GAS register */ in acpi_hw_read()
[all …]
Dtbfadt.c143 * PARAMETERS: generic_address - GAS struct to be initialized
151 * DESCRIPTION: Initialize a Generic Address Structure (GAS)
166 * Bit width field in the GAS is only one byte long, 255 max. in acpi_tb_init_generic_address()
167 * Check for bit_width overflow in GAS. in acpi_tb_init_generic_address()
179 "to convert to GAS struct - 255 bits max, truncating", in acpi_tb_init_generic_address()
189 * GAS struct. in acpi_tb_init_generic_address()
559 * 64-bit GAS structure can accommodate, 0xFF bits). in acpi_tb_convert_fadt()
693 * Calculate separate GAS structs for the PM1x (A/B) Status and Enable in acpi_tb_setup_fadt_registers()
/kernel/linux/linux-6.6/drivers/acpi/acpica/
Dhwregs.c39 * PARAMETERS: address - GAS register address
40 * reg - GAS register structure
56 * GAS format "register", used by FADT: in acpi_hw_get_access_bit_width()
60 * GAS format "region", used by APEI registers: in acpi_hw_get_access_bit_width()
109 * PARAMETERS: reg - GAS register structure
111 * address - Pointer to where the gas->address
116 * DESCRIPTION: Validate the contents of a GAS register. Checks the GAS
128 /* Must have a valid pointer to a GAS structure */ in acpi_hw_validate_register()
183 * reg - GAS register structure
208 /* Validate contents of the GAS register */ in acpi_hw_read()
[all …]
Dtbfadt.c143 * PARAMETERS: generic_address - GAS struct to be initialized
151 * DESCRIPTION: Initialize a Generic Address Structure (GAS)
166 * Bit width field in the GAS is only one byte long, 255 max. in acpi_tb_init_generic_address()
167 * Check for bit_width overflow in GAS. in acpi_tb_init_generic_address()
179 "to convert to GAS struct - 255 bits max, truncating", in acpi_tb_init_generic_address()
189 * GAS struct. in acpi_tb_init_generic_address()
559 * 64-bit GAS structure can accommodate, 0xFF bits). in acpi_tb_convert_fadt()
693 * Calculate separate GAS structs for the PM1x (A/B) Status and Enable in acpi_tb_setup_fadt_registers()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/chemical/
Dsensirion,sgp30.txt1 * Sensirion SGP30/SGPC3 multi-pixel Gas Sensor
12 gas@58 {
/kernel/linux/linux-5.10/include/linux/power/
Dsbs-battery.h3 * Gas Gauge driver for SBS Compliant Gas Gauges
/kernel/linux/linux-6.6/include/linux/power/
Dsbs-battery.h3 * Gas Gauge driver for SBS Compliant Gas Gauges
/kernel/linux/linux-6.6/tools/arch/x86/include/asm/
Dnops.h14 * Generic 32bit nops from GAS:
25 * Except 5 and 8, which are DS prefixed 4 and 7 resp, where GAS would emit 2
42 * Generic 64bit nops from GAS:
/kernel/linux/linux-6.6/arch/x86/include/asm/
Dnops.h14 * Generic 32bit nops from GAS:
25 * Except 5 and 8, which are DS prefixed 4 and 7 resp, where GAS would emit 2
42 * Generic 64bit nops from GAS:
Dpgtable_32.h69 * gas warning about overflowing shift count when gas has been compiled
/kernel/linux/linux-6.6/arch/ia64/
DMakefile29 GAS_STATUS = $(shell $(srctree)/arch/ia64/scripts/check-gas "$(CC)" "$(OBJDUMP)")
37 ftp://ftp.hpl.hp.com/pub/linux-ia64/gas-030124.tar.gz)
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dpgtable_32.h84 * gas warning about overflowing shift count when gas has been compiled
/kernel/linux/linux-5.10/drivers/power/supply/
DKconfig159 tristate "DS2782/DS2786 standalone gas-gauge"
163 gas-gauge.
223 tristate "SBS Compliant gas gauge"
227 gas gauges.
394 tristate "MAX17211/MAX17215 standalone gas-gauge"
404 battery gas-gauge.
/kernel/linux/linux-5.10/arch/ia64/
DMakefile30 GAS_STATUS = $(shell $(srctree)/arch/ia64/scripts/check-gas "$(CC)" "$(OBJDUMP)")
38 ftp://ftp.hpl.hp.com/pub/linux-ia64/gas-030124.tar.gz)

1234567