Home
last modified time | relevance | path

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

1234

/Linux-v6.1/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 …]
/Linux-v6.1/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 …]
/Linux-v6.1/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
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()
/Linux-v6.1/drivers/mailbox/
Dpcc.c70 * @gas: pointer to the generic address structure for this register
77 struct acpi_generic_address *gas; member
157 if (!reg->gas) { in pcc_chan_reg_read()
163 read_register(reg->vaddr, val, reg->gas->bit_width); in pcc_chan_reg_read()
165 ret = acpi_read(val, reg->gas); in pcc_chan_reg_read()
174 if (!reg->gas) in pcc_chan_reg_write()
178 write_register(reg->vaddr, val, reg->gas->bit_width); in pcc_chan_reg_write()
180 ret = acpi_write(val, reg->gas); in pcc_chan_reg_write()
244 if (val) { /* Ensure GAS exists and value is non-zero */ in pcc_mbox_irq()
406 pcc_chan_reg_init(struct pcc_chan_reg *reg, struct acpi_generic_address *gas, in pcc_chan_reg_init() argument
[all …]
/Linux-v6.1/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()
/Linux-v6.1/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
40 * Generic 64bit nops from GAS:
/Linux-v6.1/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
40 * Generic 64bit nops from GAS:
Dpgtable_32.h78 * gas warning about overflowing shift count when gas has been compiled
Dalternative.h121 * gas compatible max based on the idea from:
124 * The additional "-" is needed because gas uses a "true" value of -1.
352 * gas compatible max based on the idea from:
355 * The additional "-" is needed because gas uses a "true" value of -1.
/Linux-v6.1/include/linux/power/
Dsbs-battery.h3 * Gas Gauge driver for SBS Compliant Gas Gauges
/Linux-v6.1/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)
/Linux-v6.1/arch/mips/include/asm/
Dfpregdef.h20 * default, so we also need to pass -msoft-float along to GAS if it supports it.
22 * registers. We detect if GAS supports "-msoft-float" in the Makefile and
Dhazards.h59 * address of a label as argument to inline assembler. Gas otoh has the
135 * address of a label as argument to inline assembler. Gas otoh has the
/Linux-v6.1/Documentation/driver-api/
Dswitchtec.rst91 * Both NT partitions must be able to access each other's GAS spaces.
92 Thus, the bits in the GAS Access Vector under Management Settings
/Linux-v6.1/drivers/power/supply/
DKconfig167 tristate "DS2782/DS2786 standalone gas-gauge"
171 gas-gauge.
237 tristate "SBS Compliant gas gauge"
241 gas gauges.
413 tristate "MAX17211/MAX17215 standalone gas-gauge"
423 battery gas-gauge.
/Linux-v6.1/arch/x86/realmode/rm/
Drealmode.h10 * This must be open-coded since gas will choke on using a
/Linux-v6.1/arch/ia64/scripts/
Dcheck-gas8 $CC -c $dir/check-gas-asm.S -o $out
/Linux-v6.1/scripts/
DMakefile.debug13 # Clang does not pass -g or -gdwarf-* option down to GAS.
/Linux-v6.1/arch/powerpc/xmon/
Dspu-opc.c6 This file is part of GDB, GAS, and the GNU binutils.
/Linux-v6.1/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dp2p.c91 #define P2PSD_ACTION_ID_GAS_IREQ 0x0a /* GAS Initial Request AF */
92 #define P2PSD_ACTION_ID_GAS_IRESP 0x0b /* GAS Initial Response AF */
93 #define P2PSD_ACTION_ID_GAS_CREQ 0x0c /* GAS Comeback Request AF */
94 #define P2PSD_ACTION_ID_GAS_CRESP 0x0d /* GAS Comeback Response AF */
184 * struct brcmf_p2psd_gas_pub_act_frame - Wi-Fi GAS Public Action Frame
189 * @query_data: Query Data. SD gas ireq SD gas iresp
268 * brcmf_p2p_is_gas_action() - true if p2p gas action type frame.
273 * Determine if action frame is p2p gas action type
391 brcmf_dbg(TRACE, "%s P2P GAS Initial Request\n", in brcmf_p2p_print_actframe()
395 brcmf_dbg(TRACE, "%s P2P GAS Initial Response\n", in brcmf_p2p_print_actframe()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/
Dtrivial-devices.yaml312 # Sensirion low power multi-pixel gas sensor with I2C interface
314 # Sensirion multi-pixel gas sensor with I2C interface
316 # Sensirion gas sensor with I2C interface
/Linux-v6.1/Documentation/devicetree/bindings/iio/chemical/
Dams,ccs811.yaml13 Ultra-Low Power Digital Gas Sensor for Monitoring Indoor Air Quality.

1234