Home
last modified time | relevance | path

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

1234567

/freebsd/contrib/wpa/wpa_supplicant/
H A Dgas_query.c2 * Generic advertisement service (GAS) query
16 #include "common/gas.h"
26 /** GAS query timeout in seconds */
29 /* GAS query wait-time / duration in ms */
36 * struct gas_query_pending - Pending GAS query
40 struct gas_query *gas; member
64 * struct gas_query - Internal GAS query data
80 static void gas_query_tx_initial_req(struct gas_query *gas,
82 static int gas_query_new_dialog_token(struct gas_query *gas, const u8 *dst);
96 * gas_query_init - Initialize GAS query component
[all …]
H A Dgas_query.h2 * Generic advertisement service (GAS) query
18 void gas_query_deinit(struct gas_query *gas);
19 int gas_query_rx(struct gas_query *gas, const u8 *da, const u8 *sa,
24 * enum gas_query_result - GAS query result
36 int gas_query_req(struct gas_query *gas, const u8 *dst, int freq,
43 int gas_query_stop(struct gas_query *gas, u8 dialog_token);
52 static inline void gas_query_deinit(struct gas_query *gas) in gas_query_deinit() argument
/freebsd/contrib/wpa/src/ap/
H A Dgas_query_ap.c2 * Generic advertisement service (GAS) query (hostapd)
17 #include "common/gas.h"
25 /** GAS query timeout in seconds */
28 /* GAS query wait-time / duration in ms */
35 * struct gas_query_pending - Pending GAS query
39 struct gas_query_ap *gas; member
61 * struct gas_query_ap - Internal GAS query data
74 static void gas_query_tx_initial_req(struct gas_query_ap *gas,
76 static int gas_query_new_dialog_token(struct gas_query_ap *gas, const u8 *dst);
90 * gas_query_ap_init - Initialize GAS query component
[all …]
H A Dgas_query_ap.h2 * Generic advertisement service (GAS) query
17 void gas_query_ap_deinit(struct gas_query_ap *gas);
18 int gas_query_ap_rx(struct gas_query_ap *gas, const u8 *sa, u8 categ,
22 * enum gas_query_ap_result - GAS query result
33 int gas_query_ap_req(struct gas_query_ap *gas, const u8 *dst, int freq,
40 void gas_query_ap_tx_status(struct gas_query_ap *gas, const u8 *dst,
H A Dgas_serv.c2 * Generic advertisement service (GAS) server
13 #include "common/gas.h"
57 * the GAS query. in gas_dialog_create()
60 "GAS query"); in gas_dialog_create()
64 " for GAS query", MAC2STR(addr)); in gas_dialog_create()
1346 * GAS server to avoid duplicated response. in rx_anqp_vendor_specific_p2p()
1349 "ANQP: Ignore WFA vendor type %u (P2P SD) in generic GAS server", in rx_anqp_vendor_specific_p2p()
1467 …"ANQP: Do not send response to P2P SD from generic GAS service (P2P SD implementation will process… in gas_serv_req_local_processing()
1484 "initial response - use GAS comeback"); in gas_serv_req_local_processing()
1542 "DPP: Too long response to fit in initial response - use GAS comeback"); in gas_serv_req_dpp_processing()
[all …]
/freebsd/contrib/wpa/src/common/
H A Dgas_server.c2 * Generic advertisement service (GAS) server
17 #include "gas.h"
33 struct gas_server *gas; member
64 wpa_printf(MSG_DEBUG, "GAS: Response @%p timeout for " MACSTR in gas_server_response_timeout()
83 wpa_printf(MSG_DEBUG, "DPP: Free GAS response @%p", response); in gas_server_free_response()
91 gas_server_send_resp(struct gas_server *gas, in gas_server_send_resp() argument
146 wpa_printf(MSG_DEBUG, "GAS: No response available yet"); in gas_server_send_resp()
149 "GAS: Need to fragment query response"); in gas_server_send_resp()
152 "GAS: Full query response fits in the GAS Initial Response frame"); in gas_server_send_resp()
157 gas->tx(gas->ctx, response->freq, response->dst, resp, in gas_server_send_resp()
[all …]
H A Dgas_server.h2 * Generic advertisement service (GAS) server
23 void gas_server_deinit(struct gas_server *gas);
24 int gas_server_register(struct gas_server *gas,
33 int gas_server_rx(struct gas_server *gas, const u8 *da, const u8 *sa,
36 void gas_server_tx_status(struct gas_server *gas, const u8 *dst, const u8 *data,
38 int gas_server_set_comeback_delay(struct gas_server *gas, void *resp_ctx,
40 int gas_server_set_resp(struct gas_server *gas, void *resp_ctx,
42 bool gas_server_response_sent(struct gas_server *gas, void *resp_ctx);
46 static inline void gas_server_deinit(struct gas_server *gas) in gas_server_deinit() argument
H A Dgas.c2 * Generic advertisement service (GAS) (IEEE 802.11u)
14 #include "gas.h"
97 * fragments in the GAS Query Response Fragment ID.
212 * @buf: GAS message
251 * @buf: GAS message
264 * @buf: GAS message
H A DMakefile9 gas.o \
/freebsd/sys/dev/acpica/
H A Dacpi_package.c119 ACPI_GENERIC_ADDRESS gas; in acpi_PkgGas() local
127 memcpy(&gas, obj->Buffer.Pointer + 3, sizeof(gas)); in acpi_PkgGas()
129 return (acpi_bus_alloc_gas(dev, type, rid, &gas, dst, flags)); in acpi_PkgGas()
136 ACPI_GENERIC_ADDRESS gas; in acpi_PkgFFH_IntelCpu() local
144 memcpy(&gas, obj->Buffer.Pointer + 3, sizeof(gas)); in acpi_PkgFFH_IntelCpu()
145 if (gas.SpaceId != ACPI_ADR_SPACE_FIXED_HARDWARE) in acpi_PkgFFH_IntelCpu()
147 *vendor = gas.BitWidth; in acpi_PkgFFH_IntelCpu()
148 *class = gas.BitOffset; in acpi_PkgFFH_IntelCpu()
149 *address = gas.Address; in acpi_PkgFFH_IntelCpu()
150 *accsize = gas.AccessWidth; in acpi_PkgFFH_IntelCpu()
H A Dacpi_throttle.c238 ACPI_GENERIC_ADDRESS gas; in acpi_throttle_evaluate() local
277 memcpy(&gas, obj.Buffer.Pointer + 3, sizeof(gas)); in acpi_throttle_evaluate()
279 &gas, &sc->cpu_p_cnt, 0); in acpi_throttle_evaluate()
282 gas.Address); in acpi_throttle_evaluate()
295 gas.Address = sc->cpu_p_blk; in acpi_throttle_evaluate()
296 gas.SpaceId = ACPI_ADR_SPACE_SYSTEM_IO; in acpi_throttle_evaluate()
297 gas.BitWidth = 32; in acpi_throttle_evaluate()
299 &gas, &sc->cpu_p_cnt, 0); in acpi_throttle_evaluate()
/freebsd/sys/dev/xen/cpu/
H A Dxen_acpi_cpu.c87 ACPI_GENERIC_ADDRESS *gas) in acpi_get_gas() argument
95 memcpy(gas, obj->Buffer.Pointer + 3, sizeof(*gas)); in acpi_get_gas()
107 ACPI_GENERIC_ADDRESS gas; in acpi_get_pct() member
118 reg->space_id = raw.gas.SpaceId; in acpi_get_pct()
119 reg->bit_width = raw.gas.BitWidth; in acpi_get_pct()
120 reg->bit_offset = raw.gas.BitOffset; in acpi_get_pct()
121 reg->reserved = raw.gas.AccessWidth; in acpi_get_pct()
122 reg->address = raw.gas.Address; in acpi_get_pct()
294 ACPI_GENERIC_ADDRESS gas; in acpi_fetch_cx() local
303 acpi_get_gas(pkg, 0, &gas) != 0) { in acpi_fetch_cx()
[all …]
/freebsd/contrib/wpa/src/p2p/
H A Dp2p_sd.c13 #include "common/gas.h"
353 p2p_dbg(p2p, "GAS Initial Request from " MACSTR in p2p_rx_gas_initial_req()
358 p2p_dbg(p2p, "Unexpected IE in GAS Initial Request: %u", *pos); in p2p_rx_gas_initial_req()
365 p2p_dbg(p2p, "Invalid IE in GAS Initial Request"); in p2p_rx_gas_initial_req()
372 p2p_dbg(p2p, "Unsupported GAS advertisement protocol id %u", in p2p_rx_gas_initial_req()
495 p2p_dbg(p2p, "Ignore unexpected GAS Initial Response from " in p2p_rx_gas_initial_resp()
504 "GAS Initial Request had not yet received TX status - process the response anyway"); in p2p_rx_gas_initial_resp()
510 p2p_dbg(p2p, "Received GAS Initial Response from " MACSTR " (len=%d)", in p2p_rx_gas_initial_resp()
514 p2p_dbg(p2p, "Too short GAS Initial Response frame"); in p2p_rx_gas_initial_resp()
533 p2p_dbg(p2p, "Unexpected IE in GAS Initial Response: %u", *pos); in p2p_rx_gas_initial_resp()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/iio/chemical/
H A Dsciosense,ens160.yaml7 title: ScioSense ENS160 multi-gas sensor
13 Digital Multi-Gas Sensor for Monitoring Indoor Air Quality.
48 gas-sensor@52 {
61 gas-sensor@0 {
H A Dsensirion,sgp30.txt1 * Sensirion SGP30/SGPC3 multi-pixel Gas Sensor
12 gas@58 {
H A Dams,ccs811.yaml13 Ultra-Low Power Digital Gas Sensor for Monitoring Indoor Air Quality.
/freebsd/sys/dev/wdatwd/
H A Dwdatwd.c55 * Resource entry. Every instruction has the corresponding ACPI GAS but two or
140 ACPI_GENERIC_ADDRESS *gas = &wdat->entry.RegisterRegion; in wdatwd_action() local
146 status = AcpiRead(&x, gas); in wdatwd_action()
151 x >>= gas->BitOffset; in wdatwd_action()
156 status = AcpiRead(&x, gas); in wdatwd_action()
161 x >>= gas->BitOffset; in wdatwd_action()
167 x <<= gas->BitOffset; in wdatwd_action()
170 status = AcpiRead(&y, gas); in wdatwd_action()
175 y &= ~(wdat->entry.Mask << gas->BitOffset); in wdatwd_action()
178 status = AcpiWrite(x, gas); in wdatwd_action()
[all …]
/freebsd/sys/contrib/dev/acpica/components/hardware/
H A Dhwregs.c190 * PARAMETERS: Address - GAS register address
191 * Reg - GAS register structure
210 * GAS format "register", used by FADT: in AcpiHwGetAccessBitWidth()
214 * GAS format "region", used by APEI registers: in AcpiHwGetAccessBitWidth()
274 * PARAMETERS: Reg - GAS register structure
276 * Address - Pointer to where the gas->address
281 * DESCRIPTION: Validate the contents of a GAS register. Checks the GAS
296 /* Must have a valid pointer to a GAS structure */ in AcpiHwValidateRegister()
354 * Reg - GAS register structure
384 /* Validate contents of the GAS register */ in AcpiHwRead()
[all …]
/freebsd/usr.sbin/bhyve/
H A Dbasl.c132 basl_fill_gas(ACPI_GENERIC_ADDRESS *const gas, const uint8_t space_id, in basl_fill_gas() argument
136 assert(gas != NULL); in basl_fill_gas()
138 gas->SpaceId = space_id; in basl_fill_gas()
139 gas->BitWidth = bit_width; in basl_fill_gas()
140 gas->BitOffset = bit_offset; in basl_fill_gas()
141 gas->AccessWidth = access_width; in basl_fill_gas()
142 gas->Address = htole64(address); in basl_fill_gas()
/freebsd/sys/dev/fdt/
H A Dfdt_static_dtb.S37 * gas-specific 'balign' extension to ensure the same alignment behaviour on
38 * all archs (the .align directive meaning can vary across gas arch
/freebsd/crypto/openssl/crypto/perlasm/
H A Dx86_64-xlate.pl73 my $gas=1; $gas=0 if ($output =~ /\.asm$/);
74 my $elf=1; $elf=0 if (!$gas);
86 # GNU as indicator, as opposed to $gas, which indicates acceptable
90 if ($flavour eq "mingw64") { $gas=1; $elf=0; $win64=1;
94 elsif ($flavour eq "macosx") { $gas=1; $elf=0; $prefix="_"; $decor="L\$"; }
95 elsif ($flavour eq "masm") { $gas=0; $elf=0; $masm=$masmref; $win64=1; $decor="\$L\$"; }
96 elsif ($flavour eq "nasm") { $gas=0; $elf=0; $nasm=$nasmref; $win64=1; $decor="\$L\$"; $PTR=""; }
97 elsif (!$gas)
278 if ($gas) {
336 if ($gas) {
[all …]
/freebsd/usr.sbin/acpi/acpidump/
H A Dacpi.c57 static void acpi_print_gas(ACPI_GENERIC_ADDRESS *gas);
192 acpi_print_gas(ACPI_GENERIC_ADDRESS *gas) in acpi_print_gas() argument
194 switch(gas->SpaceId) { in acpi_print_gas()
196 printf("0x%016jx:%u[%u] (Memory)", (uintmax_t)gas->Address, in acpi_print_gas()
197 gas->BitOffset, gas->BitWidth); in acpi_print_gas()
200 printf("0x%02jx:%u[%u] (IO)", (uintmax_t)gas->Address, in acpi_print_gas()
201 gas->BitOffset, gas->BitWidth); in acpi_print_gas()
204 printf("%x:%x+0x%x:%u[%u] (PCI)", (uint16_t)(gas->Address >> 32), in acpi_print_gas()
205 (uint16_t)((gas->Address >> 16) & 0xffff), in acpi_print_gas()
206 (uint16_t)gas->Address, gas->BitOffset, gas->BitWidth); in acpi_print_gas()
[all …]
/freebsd/sys/contrib/dev/acpica/components/tables/
H A Dtbfadt.c303 * PARAMETERS: GenericAddress - GAS struct to be initialized
311 * DESCRIPTION: Initialize a Generic Address Structure (GAS)
330 * Bit width field in the GAS is only one byte long, 255 max. in AcpiTbInitGenericAddress()
331 * Check for BitWidth overflow in GAS. in AcpiTbInitGenericAddress()
345 "to convert to GAS struct - 255 bits max, truncating", in AcpiTbInitGenericAddress()
354 * GAS struct. in AcpiTbInitGenericAddress()
738 * 64-bit GAS structure can accommodate, 0xFF bits). in AcpiTbConvertFadt()
866 * Calculate separate GAS structs for the PM1x (A/B) Status and Enable in AcpiTbSetupFadtRegisters()
/freebsd/usr.sbin/wpa/src/common/
H A DMakefile16 gas.c \
/freebsd/sys/contrib/device-tree/Bindings/
H A Dtrivial-devices.yaml330 # Sensirion multi-pixel gas sensor with I2C interface
332 # Sensirion gas sensor with I2C interface
334 # Sensirion low power multi-pixel gas sensor with I2C interface

1234567