| /freebsd/contrib/wpa/wpa_supplicant/ |
| H A D | gas_query.c | 2 * 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 D | gas_query.h | 2 * 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 D | gas_query_ap.c | 2 * 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 D | gas_query_ap.h | 2 * 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 D | gas_serv.c | 2 * 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 D | gas_server.c | 2 * 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 D | gas_server.h | 2 * 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 D | gas.c | 2 * 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 D | Makefile | 9 gas.o \
|
| /freebsd/sys/dev/acpica/ |
| H A D | acpi_package.c | 119 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 D | acpi_throttle.c | 238 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 D | xen_acpi_cpu.c | 87 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 D | p2p_sd.c | 13 #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 D | sciosense,ens160.yaml | 7 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 D | sensirion,sgp30.txt | 1 * Sensirion SGP30/SGPC3 multi-pixel Gas Sensor 12 gas@58 {
|
| H A D | ams,ccs811.yaml | 13 Ultra-Low Power Digital Gas Sensor for Monitoring Indoor Air Quality.
|
| /freebsd/sys/dev/wdatwd/ |
| H A D | wdatwd.c | 55 * 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 D | hwregs.c | 190 * 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 D | basl.c | 132 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 D | fdt_static_dtb.S | 37 * 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 D | x86_64-xlate.pl | 73 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 D | acpi.c | 57 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 D | tbfadt.c | 303 * 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 D | Makefile | 16 gas.c \
|
| /freebsd/sys/contrib/device-tree/Bindings/ |
| H A D | trivial-devices.yaml | 330 # 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
|