Searched defs:rf (Results 1 - 25 of 36) sorted by relevance

12

/freebsd-head/lib/libifconfig/
H A Dlibifconfig_lagg.c52 struct lagg_reqflags rf; member in struct:_ifconfig_lagg_status
80 ls->l.rf = &ls->rf;
89 strlcpy(ls->rf.rf_ifname, name, sizeof(ls->rf.rf_ifname));
90 if (ifconfig_ioctlwrap(h, AF_LOCAL, SIOCGLAGGFLAGS, &ls->rf) != 0) {
91 ls->rf.rf_flags = 0;
H A Dlibifconfig.h100 struct lagg_reqflags *rf; member in struct:ifconfig_lagg_status
/freebsd-head/contrib/netbsd-tests/lib/libc/gen/
H A Dt_fpsetround.c63 int rf; member in struct:__anon32
148 ATF_CHECK_EQ(r = FLT_ROUNDS, rnd[j].rf);
149 if (r != rnd[j].rf)
151 rnd[j].rf, r);
/freebsd-head/contrib/netbsd-tests/rump/rumpkern/h_client/
H A Dh_forkcli.c20 struct rumpclient_fork *rf; local
31 if ((rf = rumpclient_prefork()) == NULL)
39 if (rumpclient_fork_init(rf) == -1)
81 struct rumpclient_fork *rf; local
89 if ((rf = rumpclient_prefork()) == NULL)
97 if (rumpclient_fork_init(rf) == -1)
120 struct rumpclient_fork *rf; local
124 if ((rf = rumpclient_prefork()) == NULL)
127 /* XXX: we know the internal structure of rf */
128 auth = (void *)rf;
[all...]
/freebsd-head/sys/crypto/siphash/
H A Dsiphash.c58 SipHash_InitX(SIPHASH_CTX *ctx, int rc, int rf) argument
69 ctx->rounds_final = rf;
199 SipHashX(SIPHASH_CTX *ctx, int rc, int rf, argument
203 SipHash_InitX(ctx, rc, rf);
/freebsd-head/sys/dev/ath/ath_hal/ar5312/
H A Dar5312_attach.c71 struct ath_hal_rf *rf; local
126 /* setup common ini data; rf backends handle remainder */
191 rf = ath_hal_rfprobe(ah, &ecode);
192 if (rf == AH_NULL)
257 if (!rf->attach(ah, &ecode)) {
/freebsd-head/sbin/ifconfig/
H A Diflagg.c159 struct lagg_reqflags rf; local
163 rf.rf_flags = 0;
167 rf.rf_flags |= LAGG_F_HASHL2;
169 rf.rf_flags |= LAGG_F_HASHL3;
171 rf.rf_flags |= LAGG_F_HASHL4;
176 if (rf.rf_flags == 0)
179 strlcpy(rf.rf_ifname, name, sizeof(rf.rf_ifname));
180 if (ioctl(s, SIOCSLAGGHASH, &rf))
219 struct lagg_reqflags rf; local
[all...]
/freebsd-head/usr.sbin/makefs/cd9660/
H A Dcd9660_write.c430 FILE *rf; local
437 if ((rf = fopen(filename, "rb")) == NULL) {
449 while (!feof(rf)) {
450 bytes_read = fread(buf,1,buf_size,rf);
451 if (ferror(rf)) {
454 (void)fclose(rf);
462 (void)fclose(rf);
468 fclose(rf);
/freebsd-head/sys/dev/ath/ath_hal/ar5212/
H A Dar5212_attach.c328 struct ath_hal_rf *rf; local
368 /* setup common ini data; rf backends handle remainder */
405 rf = ath_hal_rfprobe(ah, &ecode);
406 if (rf == AH_NULL)
546 if (!rf->attach(ah, &ecode)) {
H A Dar5212_misc.c157 * and enable baseband rf silence.
766 * Default method: this may be overridden by the rf backend.
1424 uint32_t rf = OS_REG_READ(ah, AR_RFCNT); local
1441 hsample->rx_busy = rf - ahp->ah_rxBusy;
1450 ahp->ah_rxBusy = rf;
/freebsd-head/contrib/dma/
H A Dutil.c334 int rf; local
336 rf = open("/dev/urandom", O_RDONLY);
337 if (rf == -1)
338 rf = open("/dev/random", O_RDONLY);
340 if (!(rf != -1 && read(rf, &seed, sizeof(seed)) == sizeof(seed)))
345 if (rf != -1)
346 close(rf);
/freebsd-head/usr.bin/newkey/
H A Dupdate.c241 FILE *rf; local
267 rf = fopen(filename, "r");
268 if (rf == NULL) {
274 fclose(rf);
279 while (fgets(line, sizeof (line), rf)) {
313 fclose(rf);
/freebsd-head/usr.sbin/rpc.ypupdated/
H A Dupdate.c238 FILE *rf; local
264 rf = fopen(filename, "r");
265 if (rf == NULL) {
271 fclose(rf);
276 while (fgets(line, sizeof (line), rf)) {
310 fclose(rf);
/freebsd-head/sys/dev/bwi/
H A Dbwiphy.c318 struct bwi_rf *rf = &mac->mac_rf; local
360 if (rf->rf_rev == 8) {
368 if (rf->rf_rev != 8)
374 if (rf->rf_type == BWI_RF_T_BCM2050 && rf->rf_rev == 8) {
406 if (rf->rf_nrssi[0] == BWI_INVALID_NRSSI) {
407 KASSERT(rf->rf_nrssi[1] == BWI_INVALID_NRSSI,
408 ("rf_nrssi[1] %d", rf->rf_nrssi[1]));
411 KASSERT(rf->rf_nrssi[1] != BWI_INVALID_NRSSI,
412 ("rf_nrssi[1] %d", rf
440 struct bwi_rf *rf = &mac->mac_rf; local
509 struct bwi_rf *rf = &mac->mac_rf; local
611 struct bwi_rf *rf = &mac->mac_rf; local
[all...]
H A Dbwimac.c346 /* TODO: LED, hardware rf enabled is only related to LED setting */
503 struct bwi_rf *rf = &mac->mac_rf; local
510 (rf->rf_rev < 6 ? BWI_RF_ATTEN_MAX0
530 if (rf->rf_type == BWI_RF_T_BCM2050) {
595 struct bwi_rf *rf = &mac->mac_rf; local
600 if (rf->rf_type == BWI_RF_T_BCM2050 && rf->rf_rev < 6)
607 if (rf->rf_type == BWI_RF_T_BCM2050) {
608 if (rf->rf_rev == 1)
610 else if (rf
702 struct bwi_rf *rf = &mac->mac_rf; local
762 struct bwi_rf *rf = &mac->mac_rf; local
1311 struct bwi_rf *rf = &mac->mac_rf; local
1750 struct bwi_rf *rf = &mac->mac_rf; local
1806 struct bwi_rf *rf = &mac->mac_rf; local
[all...]
H A Dbwirf.c189 struct bwi_rf *rf = &mac->mac_rf; local
192 idx = lo - rf->rf_lo;
195 return isset(rf->rf_lo_used, idx);
210 struct bwi_rf *rf = &mac->mac_rf; local
213 ctrl |= rf->rf_ctrl_rd;
214 if (rf->rf_ctrl_adj) {
231 struct bwi_rf *rf = &mac->mac_rf; local
270 rf->rf_ctrl_rd = 0;
271 rf->rf_ctrl_adj = 0;
281 rf
389 struct bwi_rf *rf = &mac->mac_rf; local
530 struct bwi_rf *rf = &mac->mac_rf; local
571 struct bwi_rf *rf = &mac->mac_rf; local
681 struct bwi_rf *rf = &mac->mac_rf; local
772 struct bwi_rf *rf = &mac->mac_rf; local
1088 struct bwi_rf *rf = &mac->mac_rf; local
1261 struct bwi_rf *rf = &mac->mac_rf; local
1648 struct bwi_rf *rf = &mac->mac_rf; local
1922 struct bwi_rf *rf = &mac->mac_rf; local
2086 struct bwi_rf *rf = &mac->mac_rf; local
2126 struct bwi_rf *rf = &mac->mac_rf; local
2164 _nrssi_threshold(const struct bwi_rf *rf, int32_t val) argument
2247 bwi_rf_clear_state(struct bwi_rf *rf) argument
2390 struct bwi_rf *rf = &mac->mac_rf; local
2429 struct bwi_rf *rf = &mac->mac_rf; local
2515 struct bwi_rf *rf = &mac->mac_rf; local
2574 struct bwi_rf *rf = &mac->mac_rf; local
[all...]
/freebsd-head/sys/dev/ath/ath_hal/ar5416/
H A Dar5416_misc.c226 uint32_t rf = OS_REG_READ(ah, AR_RFCNT); local
243 hsample->rx_busy = rf - ahp->ah_rxBusy;
252 ahp->ah_rxBusy = rf;
/freebsd-head/sys/kern/
H A Dsys_pipe.c432 struct file *rf, *wf; local
442 error = falloc_caps(td, &rf, &fd, flags, fcaps1);
448 /* An extra reference on `rf' has been held for us by falloc_caps(). */
461 finit(rf, fflags, DTYPE_PIPE, rpipe, &pipeops);
464 fdclose(td, rf, fildes[0]);
465 fdrop(rf, td);
474 fdrop(rf, td);
/freebsd-head/sys/dev/ral/
H A Drt2860var.h190 } bbp[8], rf[10]; member in struct:rt2860_softc
H A Drt2860.c2478 uint8_t rf; local
2492 rf = rt3090_rf_read(sc, 3);
2493 rf = (rf & ~0x0f) | rt3090_freqs[i].k;
2494 rt3090_rf_write(sc, 3, rf);
2495 rf = rt3090_rf_read(sc, 6);
2496 rf = (rf & ~0x03) | rt3090_freqs[i].r;
2497 rt3090_rf_write(sc, 6, rf);
2500 rf
2542 uint8_t h20mhz, rf, tmp; local
2644 uint8_t rf, bbp; local
2751 uint8_t rf, bbp; local
2821 uint8_t rf; local
2887 uint8_t rf; local
[all...]
/freebsd-head/contrib/llvm-project/lld/COFF/
H A DDriverUtils.cpp710 object::WindowsResource *rf = dyn_cast<object::WindowsResource>(bin.get()); local
711 if (!rf)
714 if (auto ec = parser.parse(rf, duplicates))
/freebsd-head/sys/dev/usb/wlan/
H A Dif_runvar.h208 } bbp[10], rf[10]; member in struct:run_softc
H A Dif_zyd.c897 struct zyd_rf *rf = &sc->sc_rf; local
906 req.width = htole16(rf->width);
907 for (i = 0; i < rf->width; i++) {
909 if (val & (1 << (rf->width - 1 - i)))
912 error = zyd_cmd(sc, ZYD_CMD_RFCFG, &req, 4 + 2 * rf->width, NULL, 0, 0);
959 zyd_rfmd_init(struct zyd_rf *rf) argument
961 struct zyd_softc *sc = rf->rf_sc;
981 zyd_rfmd_switch_radio(struct zyd_rf *rf, int on) argument
984 struct zyd_softc *sc = rf->rf_sc;
993 zyd_rfmd_set_channel(struct zyd_rf *rf, uint8_ argument
1016 zyd_al2230_init(struct zyd_rf *rf) argument
1072 zyd_al2230_fini(struct zyd_rf *rf) argument
1090 zyd_al2230_init_b(struct zyd_rf *rf) argument
1159 zyd_al2230_switch_radio(struct zyd_rf *rf, int on) argument
1171 zyd_al2230_set_channel(struct zyd_rf *rf, uint8_t chan) argument
1199 zyd_al2230_set_channel_b(struct zyd_rf *rf, uint8_t chan) argument
1232 zyd_al2230_bandedge6(struct zyd_rf *rf, struct ieee80211_channel *c) argument
1253 zyd_al7230B_init(struct zyd_rf *rf) argument
1291 zyd_al7230B_switch_radio(struct zyd_rf *rf, int on) argument
1303 zyd_al7230B_set_channel(struct zyd_rf *rf, uint8_t chan) argument
1347 zyd_al2210_init(struct zyd_rf *rf) argument
1379 zyd_al2210_switch_radio(struct zyd_rf *rf, int on) argument
1387 zyd_al2210_set_channel(struct zyd_rf *rf, uint8_t chan) argument
1417 zyd_gct_init(struct zyd_rf *rf) argument
1472 zyd_gct_mode(struct zyd_rf *rf) argument
1488 zyd_gct_set_channel_synth(struct zyd_rf *rf, int chan, int acal) argument
1504 zyd_gct_write(struct zyd_rf *rf, uint16_t value) argument
1512 zyd_gct_switch_radio(struct zyd_rf *rf, int on) argument
1529 zyd_gct_set_channel(struct zyd_rf *rf, uint8_t chan) argument
1560 zyd_gct_txgain(struct zyd_rf *rf, uint8_t chan) argument
1579 zyd_maxim2_init(struct zyd_rf *rf) argument
1606 zyd_maxim2_switch_radio(struct zyd_rf *rf, int on) argument
1614 zyd_maxim2_set_channel(struct zyd_rf *rf, uint8_t chan) argument
1659 struct zyd_rf *rf = &sc->sc_rf; local
1737 struct zyd_rf *rf = &sc->sc_rf; local
1945 struct zyd_rf *rf = &sc->sc_rf; local
2061 struct zyd_rf *rf = &sc->sc_rf; local
[all...]
/freebsd-head/sys/dev/ath/ath_hal/
H A Dah.c243 struct ath_hal_rf * rf; local
246 struct ath_hal_rf *rf = *prf; local
247 if (rf->probe(ah))
248 return rf;
251 TAILQ_FOREACH(rf, &ah_rf_list, node) {
252 if (rf->probe(ah))
253 return rf;
/freebsd-head/sys/amd64/include/
H A Dcpufunc.h354 u_long rf; local
356 __asm __volatile("pushfq; popq %0" : "=r" (rf));
357 return (rf);
421 write_rflags(u_long rf) argument
423 __asm __volatile("pushq %0; popfq" : : "r" (rf));
992 void intr_restore(register_t rf);
1035 void write_rflags(u_int rf);

Completed in 159 milliseconds

12