Searched refs:gas (Results 1 - 25 of 52) sorted by relevance

123

/freebsd-current/contrib/wpa/src/ap/
H A Dgas_query_ap.c17 #include "common/gas.h"
37 struct gas_query_ap *gas; member in struct:gas_query_pending
72 static void gas_query_tx_initial_req(struct gas_query_ap *gas,
74 static int gas_query_new_dialog_token(struct gas_query_ap *gas, const u8 *dst);
95 struct gas_query_ap *gas; local
97 gas = os_zalloc(sizeof(*gas));
98 if (!gas)
101 gas->hapd = hapd;
102 gas
142 gas_query_done(struct gas_query_ap *gas, struct gas_query_pending *query, enum gas_query_ap_result result) argument
166 gas_query_ap_deinit(struct gas_query_ap *gas) argument
182 gas_query_get_pending(struct gas_query_ap *gas, const u8 *addr, u8 dialog_token) argument
206 gas_query_ap_tx_status(struct gas_query_ap *gas, const u8 *dst, const u8 *data, size_t data_len, int ok) argument
258 gas_query_tx(struct gas_query_ap *gas, struct gas_query_pending *query, struct wpabuf *req, unsigned int wait_time) argument
280 gas_query_tx_comeback_req(struct gas_query_ap *gas, struct gas_query_pending *query) argument
307 struct gas_query_ap *gas = eloop_data; local
336 struct gas_query_ap *gas = eloop_data; local
345 gas_query_tx_comeback_req_delay(struct gas_query_ap *gas, struct gas_query_pending *query, u16 comeback_delay) argument
361 gas_query_rx_initial(struct gas_query_ap *gas, struct gas_query_pending *query, const u8 *adv_proto, const u8 *resp, size_t len, u16 comeback_delay) argument
393 gas_query_rx_comeback(struct gas_query_ap *gas, struct gas_query_pending *query, const u8 *adv_proto, const u8 *resp, size_t len, u8 frag_id, u8 more_frags, u16 comeback_delay) argument
466 gas_query_ap_rx(struct gas_query_ap *gas, const u8 *sa, u8 categ, const u8 *data, size_t len, int freq) argument
602 struct gas_query_ap *gas = eloop_data; local
612 gas_query_dialog_token_available(struct gas_query_ap *gas, const u8 *dst, u8 dialog_token) argument
626 gas_query_tx_initial_req(struct gas_query_ap *gas, struct gas_query_pending *query) argument
645 gas_query_new_dialog_token(struct gas_query_ap *gas, const u8 *dst) argument
674 gas_query_ap_req(struct gas_query_ap *gas, const u8 *dst, int freq, struct wpabuf *req, void (*cb)(void *ctx, const u8 *dst, u8 dialog_token, enum gas_query_ap_result result, const struct wpabuf *adv_proto, const struct wpabuf *resp, u16 status_code), void *ctx) argument
[all...]
H A Dgas_query_ap.h17 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,
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 Dhostapd.h386 struct gas_query_ap *gas; member in struct:hostapd_data
H A Dhostapd.c395 gas_query_ap_deinit(hapd->gas);
396 hapd->gas = NULL;
1315 hapd->gas = gas_query_ap_init(hapd, hapd->msg_ctx);
1316 if (!hapd->gas)
/freebsd-current/contrib/wpa/wpa_supplicant/
H A Dgas_query.c16 #include "common/gas.h"
38 struct gas_query *gas; member in struct:gas_query_pending
78 static void gas_query_tx_initial_req(struct gas_query *gas,
80 static int gas_query_new_dialog_token(struct gas_query *gas, const u8 *dst);
100 struct gas_query *gas; local
102 gas = os_zalloc(sizeof(*gas));
103 if (gas == NULL)
106 gas->wpa_s = wpa_s;
107 dl_list_init(&gas
138 struct gas_query *gas = query->gas; local
155 gas_query_done(struct gas_query *gas, struct gas_query_pending *query, enum gas_query_result result) argument
181 gas_query_deinit(struct gas_query *gas) argument
197 gas_query_get_pending(struct gas_query *gas, const u8 *addr, u8 dialog_token) argument
228 struct gas_query *gas = wpa_s->gas; local
276 gas_query_tx(struct gas_query *gas, struct gas_query_pending *query, struct wpabuf *req, unsigned int wait_time) argument
317 gas_query_tx_comeback_req(struct gas_query *gas, struct gas_query_pending *query) argument
344 struct gas_query *gas = eloop_data; local
373 struct gas_query *gas = eloop_data; local
382 gas_query_tx_comeback_req_delay(struct gas_query *gas, struct gas_query_pending *query, u16 comeback_delay) argument
403 gas_query_rx_initial(struct gas_query *gas, struct gas_query_pending *query, const u8 *adv_proto, const u8 *resp, size_t len, u16 comeback_delay) argument
435 gas_query_rx_comeback(struct gas_query *gas, struct gas_query_pending *query, const u8 *adv_proto, const u8 *resp, size_t len, u8 frag_id, u8 more_frags, u16 comeback_delay) argument
509 gas_query_rx(struct gas_query *gas, const u8 *da, const u8 *sa, const u8 *bssid, u8 categ, const u8 *data, size_t len, int freq) argument
646 struct gas_query *gas = eloop_data; local
656 gas_query_dialog_token_available(struct gas_query *gas, const u8 *dst, u8 dialog_token) argument
673 struct gas_query *gas = query->gas; local
703 gas_query_tx_initial_req(struct gas_query *gas, struct gas_query_pending *query) argument
722 gas_query_new_dialog_token(struct gas_query *gas, const u8 *dst) argument
745 gas_query_set_sa(struct gas_query *gas, struct gas_query_pending *query) argument
822 gas_query_req(struct gas_query *gas, const u8 *dst, int freq, int wildcard_bssid, int maintain_addr, struct wpabuf *req, void (*cb)(void *ctx, const u8 *dst, u8 dialog_token, enum gas_query_result result, const struct wpabuf *adv_proto, const struct wpabuf *resp, u16 status_code), void *ctx) argument
876 gas_query_stop(struct gas_query *gas, u8 dialog_token) argument
[all...]
H A Dgas_query.h18 void gas_query_deinit(struct gas_query *gas);
19 int gas_query_rx(struct gas_query *gas, const u8 *da, const u8 *sa,
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) argument
/freebsd-current/contrib/wpa/src/common/
H A Dgas_server.h22 void gas_server_deinit(struct gas_server *gas);
23 int gas_server_register(struct gas_server *gas,
32 int gas_server_rx(struct gas_server *gas, const u8 *da, const u8 *sa,
35 void gas_server_tx_status(struct gas_server *gas, const u8 *dst, const u8 *data,
37 int gas_server_set_resp(struct gas_server *gas, void *resp_ctx,
39 bool gas_server_response_sent(struct gas_server *gas, void *resp_ctx);
43 static inline void gas_server_deinit(struct gas_server *gas) argument
H A Dgas_server.c16 #include "gas.h"
32 struct gas_server *gas; member in struct:gas_server_handler
89 gas_server_send_resp(struct gas_server *gas, struct gas_server_handler *handler, argument
155 dl_list_add(&gas->responses, &response->list);
156 gas->tx(gas->ctx, freq, da, resp, comeback_delay ? 2000 : 0);
164 gas_server_rx_initial_req(struct gas_server *gas, const u8 *da, const u8 *sa, argument
224 dl_list_for_each(handler, &gas->handlers, struct gas_server_handler,
243 gas_server_send_resp(gas, handler, response, sa, freq,
259 struct gas_server *gas local
335 gas_server_rx_comeback_req(struct gas_server *gas, const u8 *da, const u8 *sa, const u8 *bssid, int freq, u8 dialog_token) argument
367 gas_server_rx(struct gas_server *gas, const u8 *da, const u8 *sa, const u8 *bssid, u8 categ, const u8 *data, size_t len, int freq) argument
436 gas_server_tx_status(struct gas_server *gas, const u8 *dst, const u8 *data, size_t data_len, int ack) argument
471 gas_server_set_resp(struct gas_server *gas, void *resp_ctx, struct wpabuf *resp) argument
492 gas_server_response_sent(struct gas_server *gas, void *resp_ctx) argument
513 struct gas_server *gas; local
526 gas_server_deinit(struct gas_server *gas) argument
550 gas_server_register(struct gas_server *gas, const u8 *adv_proto_id, u8 adv_proto_id_len, struct wpabuf * (*req_cb)(void *ctx, void *resp_ctx, const u8 *sa, const u8 *query, size_t query_len, u16 *comeback_delay), void (*status_cb)(void *ctx, struct wpabuf *resp, int ok), void *ctx) argument
[all...]
H A DMakefile9 gas.o \
/freebsd-current/sys/dev/acpica/
H A Dacpi_package.c119 ACPI_GENERIC_ADDRESS gas; local
127 memcpy(&gas, obj->Buffer.Pointer + 3, sizeof(gas));
129 return (acpi_bus_alloc_gas(dev, type, rid, &gas, dst, flags));
136 ACPI_GENERIC_ADDRESS gas; local
144 memcpy(&gas, obj->Buffer.Pointer + 3, sizeof(gas));
145 if (gas.SpaceId != ACPI_ADR_SPACE_FIXED_HARDWARE)
147 *vendor = gas.BitWidth;
148 *class = gas
[all...]
H A Dacpi_throttle.c238 ACPI_GENERIC_ADDRESS gas; local
277 memcpy(&gas, obj.Buffer.Pointer + 3, sizeof(gas));
279 &gas, &sc->cpu_p_cnt, 0);
282 gas.Address);
295 gas.Address = sc->cpu_p_blk;
296 gas.SpaceId = ACPI_ADR_SPACE_SYSTEM_IO;
297 gas.BitWidth = 32;
299 &gas, &sc->cpu_p_cnt, 0);
H A Dacpi_cpu.c699 ACPI_GENERIC_ADDRESS gas; local
727 gas.SpaceId = ACPI_ADR_SPACE_SYSTEM_IO;
728 gas.BitWidth = 8;
730 gas.Address = sc->cpu_p_blk + 4;
733 &gas, &cx_ptr->p_lvlx, RF_SHAREABLE);
747 gas.Address = sc->cpu_p_blk + 5;
750 &gas, &cx_ptr->p_lvlx, RF_SHAREABLE);
H A Dacpi.c1671 acpi_bus_alloc_gas(device_t dev, int *type, int *rid, ACPI_GENERIC_ADDRESS *gas, argument
1677 if (type == NULL || rid == NULL || gas == NULL || res == NULL)
1681 switch (gas->SpaceId) {
1696 if (gas->BitWidth && gas->BitWidth < 8)
1697 gas->BitWidth = 8;
1700 if (gas->Address == 0 || gas->BitWidth == 0)
1703 bus_set_resource(dev, res_type, *rid, gas->Address,
1704 gas
[all...]
H A Dacpivar.h394 ACPI_GENERIC_ADDRESS *gas, struct resource **res,
/freebsd-current/usr.sbin/wpa/src/common/
H A DMakefile16 gas.c \
/freebsd-current/sys/dev/xen/cpu/
H A Dxen_acpi_cpu.c87 ACPI_GENERIC_ADDRESS *gas)
95 memcpy(gas, obj->Buffer.Pointer + 3, sizeof(*gas));
107 ACPI_GENERIC_ADDRESS gas; member in struct:__anon4856
118 reg->space_id = raw.gas.SpaceId;
119 reg->bit_width = raw.gas.BitWidth;
120 reg->bit_offset = raw.gas.BitOffset;
121 reg->reserved = raw.gas.AccessWidth;
122 reg->address = raw.gas.Address;
294 ACPI_GENERIC_ADDRESS gas; local
86 acpi_get_gas(const ACPI_OBJECT *res, unsigned int idx, ACPI_GENERIC_ADDRESS *gas) argument
[all...]
/freebsd-current/sys/dev/wdatwd/
H A Dwdatwd.c140 ACPI_GENERIC_ADDRESS *gas = &wdat->entry.RegisterRegion; local
146 status = AcpiRead(&x, gas);
151 x >>= gas->BitOffset;
156 status = AcpiRead(&x, gas);
161 x >>= gas->BitOffset;
167 x <<= gas->BitOffset;
170 status = AcpiRead(&y, gas);
175 y &= ~(wdat->entry.Mask << gas->BitOffset);
178 status = AcpiWrite(x, gas);
186 x <<= gas
[all...]
/freebsd-current/crypto/openssl/crypto/perlasm/
H A Dx86_64-xlate.pl74 my $gas=1; $gas=0 if ($output =~ /\.asm$/);
75 my $elf=1; $elf=0 if (!$gas);
87 # GNU as indicator, as opposed to $gas, which indicates acceptable
91 if ($flavour eq "mingw64") { $gas=1; $elf=0; $win64=1;
95 elsif ($flavour eq "macosx") { $gas=1; $elf=0; $prefix="_"; $decor="L\$"; }
96 elsif ($flavour eq "masm") { $gas=0; $elf=0; $masm=$masmref; $win64=1; $decor="\$L\$"; }
97 elsif ($flavour eq "nasm") { $gas=0; $elf=0; $nasm=$nasmref; $win64=1; $decor="\$L\$"; $PTR=""; }
98 elsif (!$gas)
201 if ($gas) {
[all...]
/freebsd-current/usr.sbin/bhyve/
H A Dbasl.c132 basl_fill_gas(ACPI_GENERIC_ADDRESS *const gas, const uint8_t space_id, argument
136 assert(gas != NULL);
138 gas->SpaceId = space_id;
139 gas->BitWidth = bit_width;
140 gas->BitOffset = bit_offset;
141 gas->AccessWidth = access_width;
142 gas->Address = htole64(address);
H A Dbasl.h66 void basl_fill_gas(ACPI_GENERIC_ADDRESS *gas, uint8_t space_id,
/freebsd-current/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) argument
194 switch(gas->SpaceId) {
196 printf("0x%016jx:%u[%u] (Memory)", (uintmax_t)gas->Address,
197 gas->BitOffset, gas->BitWidth);
200 printf("0x%02jx:%u[%u] (IO)", (uintmax_t)gas->Address,
201 gas->BitOffset, gas->BitWidth);
204 printf("%x:%x+0x%x:%u[%u] (PCI)", (uint16_t)(gas
[all...]
/freebsd-current/contrib/bmake/mk/sys/
H A DHP-UX.mk47 AS ?= gas
/freebsd-current/crypto/openssl/crypto/modes/asm/
H A Dghash-parisc.pl162 xor $rem,$Zhh,$Zhh ; moved here to work around gas bug
423 xor $rem,$Zhh,$Zhh ; moved here to work around gas bug
/freebsd-current/usr.sbin/crunch/examples/
H A Dreally-big.conf111 progs bc cpio diff diff3 gas gawk grep gzip sdiff sort tar
/freebsd-current/contrib/wpa/hostapd/
H A DAndroid.mk1061 OBJS += src/common/gas.c

Completed in 437 milliseconds

123