Searched refs:an (Results 1 - 25 of 324) sorted by relevance

1234567891011>>

/freebsd-12-stable/usr.bin/primes/
H A Dspsp.c40 uint64_t an = a % n; local
44 x += an;
45 if ((x < an) || (x >= n))
48 if (an + an < an)
49 an = an + an - n;
50 else if (an
[all...]
/freebsd-12-stable/sys/dev/ath/ath_rate/onoe/
H A Donoe.h66 #define ATH_NODE_ONOE(an) ((struct onoe_node *)&an[1])
H A Donoe.c103 ath_rate_node_init(struct ath_softc *sc, struct ath_node *an) argument
109 ath_rate_node_cleanup(struct ath_softc *sc, struct ath_node *an) argument
114 ath_rate_findrate(struct ath_softc *sc, struct ath_node *an, argument
119 struct onoe_node *on = ATH_NODE_ONOE(an);
138 ath_rate_getxtxrates(struct ath_softc *sc, struct ath_node *an, argument
141 struct onoe_node *on = ATH_NODE_ONOE(an);
157 ath_rate_setupxtxdesc(struct ath_softc *sc, struct ath_node *an, argument
160 struct onoe_node *on = ATH_NODE_ONOE(an);
170 ath_rate_tx_complete(struct ath_softc *sc, struct ath_node *an, argument
174 struct onoe_node *on = ATH_NODE_ONOE(an);
189 ath_rate_newassoc(struct ath_softc *sc, struct ath_node *an, int isnew) argument
196 ath_rate_update_rx_rssi(struct ath_softc *sc, struct ath_node *an, int rssi) argument
203 struct ath_node *an = ATH_NODE(ni); local
421 ath_rate_fetch_node_stats(struct ath_softc *sc, struct ath_node *an, struct ath_rateioctl *re) argument
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/Windows/
H A DHost.inc26 // Override the default target with an environment variable named by LLVM_TARGET_TRIPLE_ENV.
/freebsd-12-stable/contrib/dialog/samples/
H A Deditbox12 Hi, this is an edit box. It can be used to edit text from a file.
H A Deditbox210 Hi, this is an edit box. It can be used to edit text from a file.
H A Deditbox412 Hi, this is an edit box. It can be used to edit text from a file.
/freebsd-12-stable/sys/dev/ath/ath_rate/amrr/
H A Damrr.h80 #define ATH_NODE_AMRR(an) ((struct amrr_node *)&an[1])
H A Damrr.c95 ath_rate_node_init(struct ath_softc *sc, struct ath_node *an) argument
101 ath_rate_node_cleanup(struct ath_softc *sc, struct ath_node *an) argument
106 ath_rate_findrate(struct ath_softc *sc, struct ath_node *an, argument
111 struct amrr_node *amn = ATH_NODE_AMRR(an);
130 ath_rate_getxtxrates(struct ath_softc *sc, struct ath_node *an, argument
133 struct amrr_node *amn = ATH_NODE_AMRR(an);
149 ath_rate_setupxtxdesc(struct ath_softc *sc, struct ath_node *an, argument
152 struct amrr_node *amn = ATH_NODE_AMRR(an);
162 ath_rate_tx_complete(struct ath_softc *sc, struct ath_node *an, argument
166 struct amrr_node *amn = ATH_NODE_AMRR(an);
195 ath_rate_newassoc(struct ath_softc *sc, struct ath_node *an, int isnew) argument
202 ath_rate_update_rx_rssi(struct ath_softc *sc, struct ath_node *an, int rssi) argument
228 struct ath_node *an = ATH_NODE(ni); local
432 ath_rate_fetch_node_stats(struct ath_softc *sc, struct ath_node *an, struct ath_rateioctl *re) argument
[all...]
/freebsd-12-stable/sys/contrib/ncsw/Peripherals/FM/MACSEC/
H A Dfm_macsec_secy.c519 t_Error FM_MACSEC_SECY_CreateRxSa(t_Handle h_FmMacsecSecY, t_Handle h_Sc, macsecAN_t an, uint32_t lowestPn, macsecSAKey_t key) argument
529 SANITY_CHECK_RETURN_ERROR(an < MAX_NUM_OF_SA_PER_SC, E_INVALID_STATE);
531 if (p_FmSecYSc->sa[an].saId != SECY_AN_FREE_VALUE)
532 RETURN_ERROR(MINOR, E_INVALID_STATE, ("An %d is already assigned",an));
534 if ((err = FmMacsecCreateRxSa(p_FmMacsecSecY->h_FmMacsec, p_FmSecYSc->scId, (e_ScSaId)p_FmSecYSc->numOfSa, an, lowestPn, key)) != E_OK)
537 p_FmSecYSc->sa[an].saId = (e_ScSaId)p_FmSecYSc->numOfSa++;
541 t_Error FM_MACSEC_SECY_DeleteRxSa(t_Handle h_FmMacsecSecY, t_Handle h_Sc, macsecAN_t an) argument
551 SANITY_CHECK_RETURN_ERROR(an < MAX_NUM_OF_SA_PER_SC, E_INVALID_STATE);
553 if (p_FmSecYSc->sa[an].saId == SECY_AN_FREE_VALUE)
554 RETURN_ERROR(MINOR, E_INVALID_STATE, ("An %d is already deleted",an));
565 FM_MACSEC_SECY_RxSaEnableReceive(t_Handle h_FmMacsecSecY, t_Handle h_Sc, macsecAN_t an) argument
587 FM_MACSEC_SECY_RxSaDisableReceive(t_Handle h_FmMacsecSecY, t_Handle h_Sc, macsecAN_t an) argument
609 FM_MACSEC_SECY_RxSaUpdateNextPn(t_Handle h_FmMacsecSecY, t_Handle h_Sc, macsecAN_t an, uint32_t updtNextPN) argument
630 FM_MACSEC_SECY_RxSaUpdateLowestPn(t_Handle h_FmMacsecSecY, t_Handle h_Sc, macsecAN_t an, uint32_t updtLowestPN) argument
651 FM_MACSEC_SECY_RxSaModifyKey(t_Handle h_FmMacsecSecY, t_Handle h_Sc, macsecAN_t an, macsecSAKey_t key) argument
682 FM_MACSEC_SECY_CreateTxSa(t_Handle h_FmMacsecSecY, macsecAN_t an, macsecSAKey_t key) argument
705 FM_MACSEC_SECY_DeleteTxSa(t_Handle h_FmMacsecSecY, macsecAN_t an) argument
763 FM_MACSEC_SECY_TxSaSetActive(t_Handle h_FmMacsecSecY, macsecAN_t an) argument
866 FM_MACSEC_SECY_RxSaGetStatistics(t_Handle h_FmMacsecSecY, t_Handle h_Sc, macsecAN_t an, t_FmMacsecSecYRxSaStatistics *p_Statistics) argument
878 FM_MACSEC_SECY_TxSaGetStatistics(t_Handle h_FmMacsecSecY, macsecAN_t an, t_FmMacsecSecYTxSaStatistics *p_Statistics) argument
[all...]
/freebsd-12-stable/sys/dev/ath/
H A Dif_ath_tx.h89 extern void ath_tx_node_flush(struct ath_softc *sc, struct ath_node *an);
103 extern void ath_tx_tid_init(struct ath_softc *sc, struct ath_node *an);
104 extern void ath_tx_tid_hw_queue_aggr(struct ath_softc *sc, struct ath_node *an,
106 extern void ath_tx_tid_hw_queue_norm(struct ath_softc *sc, struct ath_node *an,
113 extern void ath_tx_addto_baw(struct ath_softc *sc, struct ath_node *an,
115 extern struct ieee80211_tx_ampdu * ath_tx_get_tx_tid(struct ath_node *an,
136 extern void ath_tx_node_sleep(struct ath_softc *sc, struct ath_node *an);
137 extern void ath_tx_node_wakeup(struct ath_softc *sc, struct ath_node *an);
138 extern int ath_tx_node_is_asleep(struct ath_softc *sc, struct ath_node *an);
139 extern void ath_tx_node_reassoc(struct ath_softc *sc, struct ath_node *an);
[all...]
H A Dif_ath_tx_ht.h62 ath_tx_form_aggr(struct ath_softc *sc, struct ath_node *an,
H A Dif_ath_tx.c123 static int ath_tx_node_is_asleep(struct ath_softc *sc, struct ath_node *an);
125 static int ath_tx_ampdu_pending(struct ath_softc *sc, struct ath_node *an,
127 static int ath_tx_ampdu_running(struct ath_softc *sc, struct ath_node *an,
134 ath_tx_retry_clone(struct ath_softc *sc, struct ath_node *an,
454 * If 11n is enabled, set it up as if it's an aggregate
466 * descriptor in the first frame in an
546 * Setup segments+descriptors for an 11n aggregate.
664 * info. But if the last frame in an aggregate has one
674 * is called on the final descriptor in an MPDU or A-MPDU -
995 * Construct the 802.11 header+trailer for an encrypte
1421 struct ath_node *an = ATH_NODE(bf->bf_node); local
1444 ath_tx_should_swq_frame(struct ath_softc *sc, struct ath_node *an, struct mbuf *m0, int *queue_to_head) argument
1508 struct ath_node *an = ATH_NODE(bf->bf_node); local
1569 struct ath_node *an; local
2158 struct ath_node *an = ATH_NODE(ni); local
2657 ath_tx_addto_baw(struct ath_softc *sc, struct ath_node *an, struct ath_tid *tid, struct ath_buf *bf) argument
2748 ath_tx_switch_baw_buf(struct ath_softc *sc, struct ath_node *an, struct ath_tid *tid, struct ath_buf *old_bf, struct ath_buf *new_bf) argument
2795 ath_tx_update_baw(struct ath_softc *sc, struct ath_node *an, struct ath_tid *tid, const struct ath_buf *bf) argument
3048 ath_tx_xmit_aggr(struct ath_softc *sc, struct ath_node *an, struct ath_txq *txq, struct ath_buf *bf) argument
3140 struct ath_node *an = ATH_NODE(ni); local
3296 ath_tx_set_clrdmask(struct ath_softc *sc, struct ath_node *an) argument
3318 ath_tx_tid_init(struct ath_softc *sc, struct ath_node *an) argument
3808 ath_tx_tid_drain_pkt(struct ath_softc *sc, struct ath_node *an, struct ath_tid *tid, ath_bufhead *bf_cq, struct ath_buf *bf) argument
3848 ath_tx_tid_drain_print(struct ath_softc *sc, struct ath_node *an, const char *pfx, struct ath_tid *tid, struct ath_buf *bf) argument
3930 ath_tx_tid_drain(struct ath_softc *sc, struct ath_node *an, struct ath_tid *tid, ath_bufhead *bf_cq) argument
4089 ath_tx_node_flush(struct ath_softc *sc, struct ath_node *an) argument
4191 struct ath_node *an = ATH_NODE(ni); local
4278 struct ath_node *an = ATH_NODE(ni); local
4315 ath_tx_tid_cleanup_frame(struct ath_softc *sc, struct ath_node *an, int tid, struct ath_buf *bf_head, ath_bufhead *bf_cq) argument
4380 ath_tx_tid_cleanup(struct ath_softc *sc, struct ath_node *an, int tid, ath_bufhead *bf_cq) argument
4451 ath_tx_retry_clone(struct ath_softc *sc, struct ath_node *an, struct ath_tid *tid, struct ath_buf *bf) argument
4520 struct ath_node *an = ATH_NODE(ni); local
4611 struct ath_node *an = ATH_NODE(ni); local
4677 struct ath_node *an = ATH_NODE(ni); local
4763 struct ath_node *an = ATH_NODE(ni); local
4827 struct ath_node *an = ATH_NODE(ni); local
5168 struct ath_node *an = ATH_NODE(ni); local
5371 ath_tx_tid_swq_depth_bytes(struct ath_softc *sc, struct ath_node *an, struct ath_tid *tid) argument
5427 ath_tx_tid_hw_queue_aggr(struct ath_softc *sc, struct ath_node *an, struct ath_tid *tid) argument
5658 ath_tx_tid_hw_queue_norm(struct ath_softc *sc, struct ath_node *an, struct ath_tid *tid) argument
5857 ath_tx_get_tx_tid(struct ath_node *an, int tid) argument
5873 ath_tx_ampdu_running(struct ath_softc *sc, struct ath_node *an, int tid) argument
5891 ath_tx_ampdu_pending(struct ath_softc *sc, struct ath_node *an, int tid) argument
5923 struct ath_node *an = ATH_NODE(ni); local
6001 struct ath_node *an = ATH_NODE(ni); local
6047 struct ath_node *an = ATH_NODE(ni); local
6121 ath_tx_node_reassoc(struct ath_softc *sc, struct ath_node *an) argument
6182 struct ath_node *an = ATH_NODE(ni); local
6255 struct ath_node *an = ATH_NODE(ni); local
6282 ath_tx_node_is_asleep(struct ath_softc *sc, struct ath_node *an) argument
6309 ath_tx_node_sleep(struct ath_softc *sc, struct ath_node *an) argument
6346 ath_tx_node_wakeup(struct ath_softc *sc, struct ath_node *an) argument
[all...]
H A Dif_athrate.h65 * number is != ATH_TXMAXTRY then an additional callback is made to setup
115 * (when operating as an ap or for nodes discovered when operating
127 void ath_rate_getxtxrates(struct ath_softc *sc, struct ath_node *an,
136 * maxdur is an optional return value (or -1 if not set) that defines
179 int ath_rate_fetch_node_stats(struct ath_softc *sc, struct ath_node *an,
/freebsd-12-stable/contrib/bmake/unit-tests/
H A Dmodword.exp2 LIST:[]="" is an error
41 LIST:[1.]="" is an error
43 LIST:[1].="}" is an error
49 LIST:[-]="" is an error
51 LIST:[--]="" is an error
70 LIST:[1.]="" is an error
72 LIST:[1..]="" is an error
75 LIST:[1..1.]="" is an error
81 LIST:[0..1]="" is an error
83 LIST:[-1..0]="" is an erro
[all...]
H A Dcomment.mk12 # This is an escaped comment \
20 # This is NOT an escaped comment due to the double backslashes \\
H A Dmodword.mk28 @echo 'LIST:[]="${LIST:[]}" is an error'
70 @echo 'LIST:[1.]="${LIST:[1.]}" is an error'
71 @echo 'LIST:[1].="${LIST:[1].}" is an error'
76 @echo 'LIST:[-]="${LIST:[-]}" is an error'
77 @echo 'LIST:[--]="${LIST:[--]}" is an error'
97 @echo 'LIST:[1.]="${LIST:[1.]}" is an error'
98 @echo 'LIST:[1..]="${LIST:[1..]}" is an error'
100 @echo 'LIST:[1..1.]="${LIST:[1..1.]}" is an error'
105 @echo 'LIST:[0..1]="${LIST:[0..1]}" is an error'
106 @echo 'LIST:[-1..0]="${LIST:[-1..0]}" is an erro
[all...]
H A Dcond1.mk74 # We expect an extra else warning - we're not skipping here
76 A=this should be an error
84 # We expect an extra else warning - we are skipping here
86 B=this should be an error
H A Dforloop.exp15 We expect an error next:
H A Dunexport-env.mk6 # an example of setting up a minimal environment.
/freebsd-12-stable/sys/modules/an/
H A DMakefile3 .PATH: ${SRCTOP}/sys/dev/an
/freebsd-12-stable/sys/dev/an/
H A Dif_an_isa.c74 #include <dev/an/if_aironet_ieee.h>
75 #include <dev/an/if_anreg.h>
130 gone_in_dev(dev, 13, "pccard removed, an doesn't support modern crypto");
144 "an",
151 DRIVER_MODULE(an, isa, an_isa_driver, an_isa_devclass, 0, 0);
152 MODULE_DEPEND(an, isa, 1, 1, 1);
153 MODULE_DEPEND(an, wlan, 1, 1, 1);
H A Dif_an_pccard.c71 #include <dev/an/if_aironet_ieee.h>
72 #include <dev/an/if_anreg.h>
96 "an",
103 DRIVER_MODULE(an, pccard, an_pccard_driver, an_pccard_devclass, 0, 0);
104 MODULE_DEPEND(an, wlan, 1, 1, 1);
160 gone_in_dev(dev, 13, "pccard removed, an doesn't support modern crypto");
/freebsd-12-stable/sys/dev/ath/ath_rate/sample/
H A Dsample.c87 * This file is an implementation of the SampleRate algorithm
176 struct ath_node *an, uint8_t rix0, int is_aggr)
180 struct sample_node *sn = ATH_NODE_SAMPLE(an);
184 int is_ht40 = (an->an_node.ni_chw == 40);
284 ath_rate_node_init(struct ath_softc *sc, struct ath_node *an) argument
290 ath_rate_node_cleanup(struct ath_softc *sc, struct ath_node *an) argument
316 pick_best_rate(struct ath_node *an, const HAL_RATE_TABLE *rt, argument
319 struct sample_node *sn = ATH_NODE_SAMPLE(an);
332 if ((an->an_node.ni_flags & IEEE80211_NODE_HT) &&
361 if (an
175 ath_rate_sample_find_min_pktlength(struct ath_softc *sc, struct ath_node *an, uint8_t rix0, int is_aggr) argument
416 pick_sample_rate(struct sample_softc *ssc , struct ath_node *an, const HAL_RATE_TABLE *rt, int size_bin) argument
551 struct ath_node *an = ATH_NODE(ni); local
573 ath_rate_pick_seed_rate_legacy(struct ath_softc *sc, struct ath_node *an, int frameLen) argument
614 ath_rate_pick_seed_rate_ht(struct ath_softc *sc, struct ath_node *an, int frameLen) argument
661 ath_rate_findrate(struct ath_softc *sc, struct ath_node *an, int shortPreamble, size_t frameLen, int tid, int is_aggr, u_int8_t *rix0, int *try0, u_int8_t *txrate, int *maxdur, int *maxpktlen) argument
899 ath_rate_getxtxrates(struct ath_softc *sc, struct ath_node *an, uint8_t rix0, int is_aggr, struct ath_rc_series *rc) argument
927 ath_rate_setupxtxdesc(struct ath_softc *sc, struct ath_node *an, struct ath_desc *ds, int shortPreamble, u_int8_t rix) argument
964 update_stats(struct ath_softc *sc, struct ath_node *an, int frame_size, int rix0, int tries0, int short_tries, int tries, int status, int nframes, int nbad) argument
1093 ath_rate_tx_complete(struct ath_softc *sc, struct ath_node *an, const struct ath_rc_series *rc, const struct ath_tx_status *ts, int frame_size, int rc_framesize, int nframes, int nbad) argument
1266 ath_rate_newassoc(struct ath_softc *sc, struct ath_node *an, int isnew) argument
1273 ath_rate_update_rx_rssi(struct ath_softc *sc, struct ath_node *an, int rssi) argument
1301 struct ath_node *an = ATH_NODE(ni); local
1431 ath_rate_fetch_node_stats(struct ath_softc *sc, struct ath_node *an, struct ath_rateioctl *rs) argument
[all...]
/freebsd-12-stable/sys/contrib/ncsw/inc/Peripherals/
H A Dfm_macsec_ext.h80 @Description Exceptions user callback routine, will be called upon an
83 @Param[in] h_App A handle to an application layer object; This handle
106 t_Handle h_App; /**< A handle to an application layer object; This handle will
204 a zero value PN or an invalid ICV from its default configuration
290 When the NextPn crosses this value an interrupt event
294 @Param[in] pnExhThr If the threshold is reached, an interrupt event
515 @Description Exceptions user callback routine, will be called upon an
518 @Param[in] h_App A handle to an application layer object; This handle
528 @Description Events user callback routine, will be called upon an
531 @Param[in] h_App A handle to an applicatio
[all...]

Completed in 112 milliseconds

1234567891011>>