Home
last modified time | relevance | path

Searched full:rf (Results 1 – 25 of 2273) sorted by relevance

12345678910>>...91

/freebsd/sys/dev/irdma/
H A Dirdma_hw.c105 * @rf: RDMA PCI function
109 irdma_puda_ce_handler(struct irdma_pci_f *rf, in irdma_puda_ce_handler() argument
112 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_puda_ce_handler()
136 * @rf: RDMA PCI function
140 irdma_process_ceq(struct irdma_pci_f *rf, struct irdma_ceq *ceq) in irdma_process_ceq() argument
142 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_process_ceq()
162 queue_work(rf->cqp_cmpl_wq, &rf->cqp_cmpl_work); in irdma_process_ceq()
165 irdma_puda_ce_handler(rf, cq); in irdma_process_ceq()
205 * @rf: RDMA PCI function
208 irdma_process_aeq(struct irdma_pci_f *rf) in irdma_process_aeq() argument
[all …]
H A Dicrdma.c59 * @rf: RDMA PCI function
63 irdma_init_tunable(struct irdma_pci_f *rf, uint8_t pf_id) in irdma_init_tunable() argument
66 struct irdma_tunable_info *t_info = &rf->tun_info; in irdma_init_tunable()
87 OID_AUTO, "debug", CTLFLAG_RWTUN, &rf->sc_dev.debug_mask, in irdma_init_tunable()
98 rf->protocol_used = IRDMA_IWARP_PROTOCOL_ONLY; in irdma_init_tunable()
100 rf->protocol_used = IRDMA_ROCE_PROTOCOL_ONLY; in irdma_init_tunable()
105 (rf->protocol_used == IRDMA_IWARP_PROTOCOL_ONLY) ? "iWARP" : "RoCEv2", in irdma_init_tunable()
113 irdma_dcqcn_tunables_init(rf); in irdma_init_tunable()
114 irdma_sysctl_settings(rf); in irdma_init_tunable()
129 if (!hdl->iwdev->rf->peer_info) in irdma_find_handler()
[all …]
H A Dfbsd_kcompat.c96 irdma_request_reset(struct irdma_pci_f *rf) in irdma_request_reset() argument
98 struct ice_rdma_peer *peer = rf->peer_info; in irdma_request_reset()
111 struct ice_rdma_peer *peer = iwdev->rf->peer_info; in irdma_register_qset()
135 struct ice_rdma_peer *peer = iwdev->rf->peer_info; in irdma_unregister_qset()
152 struct irdma_pci_f *rf; in hw_to_dev() local
154 rf = container_of(hw, struct irdma_pci_f, hw); in hw_to_dev()
155 return rf->pcidev; in hw_to_dev()
206 irdma_manage_arp_cache(iwdev->rf, mac_addr, local_ipaddr6, in irdma_add_ipv6_cb()
247 irdma_manage_arp_cache(iwdev->rf, mac_addr, ip_addr, in irdma_add_ipv4_cb()
295 struct irdma_pci_f *rf = arg; in irdma_ifaddrevent_handler() local
[all …]
H A Dirdma_utils.c206 * @rf: RDMA PCI function
212 irdma_arp_table(struct irdma_pci_f *rf, u32 *ip_addr, const u8 *mac_addr, in irdma_arp_table() argument
221 spin_lock_irqsave(&rf->arp_lock, flags); in irdma_arp_table()
222 for (arp_index = 0; (u32)arp_index < rf->arp_table_size; arp_index++) { in irdma_arp_table()
223 if (!memcmp(rf->arp_table[arp_index].ip_addr, ip, sizeof(ip))) in irdma_arp_table()
229 if (arp_index != rf->arp_table_size) { in irdma_arp_table()
235 if (irdma_alloc_rsrc(rf, rf->allocated_arps, rf->arp_table_size, in irdma_arp_table()
236 (u32 *)&arp_index, &rf->next_arp_index)) { in irdma_arp_table()
241 memcpy(rf->arp_table[arp_index].ip_addr, ip, in irdma_arp_table()
242 sizeof(rf->arp_table[arp_index].ip_addr)); in irdma_arp_table()
[all …]
H A Dirdma_kcompat.c75 irdma_fw_major_ver(&iwdev->rf->sc_dev), in irdma_get_dev_fw_str()
76 irdma_fw_minor_ver(&iwdev->rf->sc_dev)); in irdma_get_dev_fw_str()
140 status = irdma_get_pble(iwdev->rf->pble_rsrc, palloc, iwmr->page_cnt, in irdma_alloc_mr()
153 irdma_free_pble(iwdev->rf->pble_rsrc, palloc); in irdma_alloc_mr()
180 struct irdma_uk_attrs *uk_attrs = &iwdev->rf->sc_dev.hw_attrs.uk_attrs; in irdma_alloc_ucontext()
204 uresp.max_qps = iwdev->rf->max_qp; in irdma_alloc_ucontext()
205 uresp.max_pds = iwdev->rf->sc_dev.hw_attrs.max_hw_pds; in irdma_alloc_ucontext()
206 uresp.wq_size = iwdev->rf->sc_dev.hw_attrs.max_qp_wr * 2; in irdma_alloc_ucontext()
229 (uintptr_t)iwdev->rf->sc_dev.hw_regs[IRDMA_DB_ADDR_OFFSET]; in irdma_alloc_ucontext()
288 struct irdma_sc_dev *dev = &iwdev->rf->sc_dev; in irdma_alloc_pd()
[all …]
H A Dirdma_verbs.c49 struct irdma_pci_f *rf = iwdev->rf; in irdma_query_device() local
50 struct pci_dev *pcidev = iwdev->rf->pcidev; in irdma_query_device()
51 struct irdma_hw_attrs *hw_attrs = &rf->sc_dev.hw_attrs; in irdma_query_device()
59 props->fw_ver = (u64)irdma_fw_major_ver(&rf->sc_dev) << 32 | in irdma_query_device()
60 irdma_fw_minor_ver(&rf->sc_dev); in irdma_query_device()
69 props->max_qp = rf->max_qp - rf->used_qps; in irdma_query_device()
71 set_max_sge(props, rf); in irdma_query_device()
72 props->max_cq = rf->max_cq - rf->used_cqs; in irdma_query_device()
73 props->max_cqe = rf->max_cqe - 1; in irdma_query_device()
74 props->max_mr = rf->max_mr - rf->used_mrs; in irdma_query_device()
[all …]
H A Dirdma_main.h216 struct irdma_pci_f *rf; member
269 void (*request_reset)(struct irdma_pci_f *rf);
368 struct irdma_pci_f *rf; member
470 static inline int irdma_alloc_rsrc(struct irdma_pci_f *rf, in irdma_alloc_rsrc() argument
477 spin_lock_irqsave(&rf->rsrc_lock, flags); in irdma_alloc_rsrc()
482 spin_unlock_irqrestore(&rf->rsrc_lock, flags); in irdma_alloc_rsrc()
483 irdma_debug(&rf->sc_dev, IRDMA_DEBUG_ERR, in irdma_alloc_rsrc()
494 spin_unlock_irqrestore(&rf->rsrc_lock, flags); in irdma_alloc_rsrc()
505 static inline void irdma_free_rsrc(struct irdma_pci_f *rf, in irdma_free_rsrc() argument
510 spin_lock_irqsave(&rf->rsrc_lock, flags); in irdma_free_rsrc()
[all …]
/freebsd/sys/dev/bwi/
H A Dbwirf.c187 struct bwi_rf *rf = &mac->mac_rf; in bwi_rf_lo_isused() local
190 idx = lo - rf->rf_lo; in bwi_rf_lo_isused()
193 return isset(rf->rf_lo_used, idx); in bwi_rf_lo_isused()
208 struct bwi_rf *rf = &mac->mac_rf; in bwi_rf_read() local
211 ctrl |= rf->rf_ctrl_rd; in bwi_rf_read()
212 if (rf->rf_ctrl_adj) { in bwi_rf_read()
229 struct bwi_rf *rf = &mac->mac_rf; in bwi_rf_attach() local
234 * Get RF manufacture/type/revision in bwi_rf_attach()
238 * Fake a BCM2050 RF in bwi_rf_attach()
262 device_printf(sc->sc_dev, "RF: manu 0x%03x, type 0x%04x, rev %u\n", in bwi_rf_attach()
[all …]
H A Dbwiphy.c315 struct bwi_rf *rf = &mac->mac_rf; in bwi_phy_init_11g() local
357 if (rf->rf_rev == 8) { in bwi_phy_init_11g()
365 if (rf->rf_rev != 8) in bwi_phy_init_11g()
371 if (rf->rf_type == BWI_RF_T_BCM2050 && rf->rf_rev == 8) { in bwi_phy_init_11g()
403 if (rf->rf_nrssi[0] == BWI_INVALID_NRSSI) { in bwi_phy_init_11g()
404 KASSERT(rf->rf_nrssi[1] == BWI_INVALID_NRSSI, in bwi_phy_init_11g()
405 ("rf_nrssi[1] %d", rf->rf_nrssi[1])); in bwi_phy_init_11g()
408 KASSERT(rf->rf_nrssi[1] != BWI_INVALID_NRSSI, in bwi_phy_init_11g()
409 ("rf_nrssi[1] %d", rf->rf_nrssi[1])); in bwi_phy_init_11g()
414 if (rf->rf_rev == 8) in bwi_phy_init_11g()
[all …]
H A Dbwimac.c290 /* Clear MAC/PHY/RF states */ in bwi_mac_init()
340 * Turn on RF in bwi_mac_init()
344 /* TODO: LED, hardware rf enabled is only related to LED setting */ in bwi_mac_init()
501 struct bwi_rf *rf = &mac->mac_rf; in bwi_mac_set_tpctl_11bg() local
508 (rf->rf_rev < 6 ? BWI_RF_ATTEN_MAX0 in bwi_mac_set_tpctl_11bg()
522 /* Set RF attenuation */ in bwi_mac_set_tpctl_11bg()
528 if (rf->rf_type == BWI_RF_T_BCM2050) { in bwi_mac_set_tpctl_11bg()
533 /* Adjust RF Local Oscillator */ in bwi_mac_set_tpctl_11bg()
593 struct bwi_rf *rf = &mac->mac_rf; in bwi_mac_setup_tpctl() local
598 if (rf->rf_type == BWI_RF_T_BCM2050 && rf->rf_rev < 6) in bwi_mac_setup_tpctl()
[all …]
/freebsd/sys/gnu/dev/bwn/phy_n/
H A Dif_bwn_radio_2055.h90 #define B2055_RF_PLLMOD0 0x3B /* RF PLL MOD0 */
91 #define B2055_RF_PLLMOD1 0x3C /* RF PLL MOD1 */
92 #define B2055_RF_MMDIDAC1 0x3D /* RF MMD IDAC 1 */
93 #define B2055_RF_MMDIDAC0 0x3E /* RF MMD IDAC 0 */
94 #define B2055_RF_MMDSP 0x3F /* RF MMD spare */
115 #define B2055_PLL_RFVTH 0x54 /* PLL RF VTH */
133 #define B2055_C1_RX_RFSPC1 0x66 /* Core 1 RX RF SPC1 */
134 #define B2055_C1_RX_RFR1 0x67 /* Core 1 RX RF reg 1 */
135 #define B2055_C1_RX_RFR2 0x68 /* Core 1 RX RF reg 2 */
136 #define B2055_C1_RX_RFRCAL 0x69 /* Core 1 RX RF RCAL */
[all …]
/freebsd/sys/dev/usb/wlan/
H A Dif_run.c831 /* retrieve RF rev. no and various other things from EEPROM */ in run_attach()
835 "MAC/BBP RT%04X (rev 0x%04X), RF %s (MIMO %dT%dR), address %s\n", in run_attach()
1890 /* read vendor RF settings */ in run_read_eeprom()
1894 sc->rf[i].val = val & 0xff; in run_read_eeprom()
1895 sc->rf[i].reg = val >> 8; in run_read_eeprom()
1896 RUN_DPRINTF(sc, RUN_DEBUG_ROM, "RF%d=0x%02x\n", in run_read_eeprom()
1897 sc->rf[i].reg, sc->rf[i].val); in run_read_eeprom()
1902 /* read RF frequency offset from EEPROM */ in run_read_eeprom()
1931 /* read RF information */ in run_read_eeprom()
1965 RUN_DPRINTF(sc, RUN_DEBUG_ROM, "EEPROM RF rev=0x%04x chains=%dT%dR\n", in run_read_eeprom()
[all …]
H A Dif_zyd.c892 struct zyd_rf *rf = &sc->sc_rf; in zyd_rfwrite() local
901 req.width = htole16(rf->width); in zyd_rfwrite()
902 for (i = 0; i < rf->width; i++) { in zyd_rfwrite()
904 if (val & (1 << (rf->width - 1 - i))) in zyd_rfwrite()
907 error = zyd_cmd(sc, ZYD_CMD_RFCFG, &req, 4 + 2 * rf->width, NULL, 0, 0); in zyd_rfwrite()
951 * RFMD RF methods.
954 zyd_rfmd_init(struct zyd_rf *rf) in zyd_rfmd_init() argument
956 struct zyd_softc *sc = rf->rf_sc; in zyd_rfmd_init()
961 /* init RF-dependent PHY registers */ in zyd_rfmd_init()
976 zyd_rfmd_switch_radio(struct zyd_rf *rf, int on) in zyd_rfmd_switch_radio() argument
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DARMWinEH.cpp14 std::pair<uint16_t, uint32_t> SavedRegisterMask(const RuntimeFunction &RF, in SavedRegisterMask() argument
16 uint8_t NumRegisters = RF.Reg(); in SavedRegisterMask()
17 uint8_t RegistersVFP = RF.R(); in SavedRegisterMask()
18 uint8_t LinkRegister = RF.L(); in SavedRegisterMask()
19 uint8_t ChainedFrame = RF.C(); in SavedRegisterMask()
28 if (RF.Ret() != ReturnType::RT_POP) in SavedRegisterMask()
30 else if (!RF.H()) // If H == 0, we pop directly into Pc in SavedRegisterMask()
40 if ((PrologueFolding(RF) && Prologue) || (EpilogueFolding(RF) && !Prologue)) in SavedRegisterMask()
41 GPRMask |= (((1 << ((RF.StackAdjust() & 0x3) + 1)) - 1) in SavedRegisterMask()
42 << (~RF.StackAdjust() & 0x3)); in SavedRegisterMask()
/freebsd/sys/dev/ral/
H A Drt2860.c271 /* retrieve RF rev. no and various other things from EEPROM */ in rt2860_attach()
274 "RF %s (MIMO %dT%dR), address %6D\n", in rt2860_attach()
2080 * Write to one of the 4 programmable 24-bit RF registers.
2094 device_printf(sc->sc_dev, "could not write to RF\n"); in rt2860_rf_write()
2098 /* RF registers are 24-bit on the RT2860 */ in rt2860_rf_write()
2116 device_printf(sc->sc_dev, "could not read RF register\n"); in rt3090_rf_read()
2129 device_printf(sc->sc_dev, "could not read RF register\n"); in rt3090_rf_read()
2147 device_printf(sc->sc_dev, "could not write to RF\n"); in rt3090_rf_write()
2464 uint8_t rf; in rt3090_set_chan() local
2478 rf = rt3090_rf_read(sc, 3); in rt3090_set_chan()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcRegisterInfo.td46 // Rf - 32-bit floating-point registers
47 class Rf<bits<16> Enc, string n> : SparcReg<Enc, n>;
176 def F0 : Rf< 0, "f0">, DwarfRegNum<[32]>;
177 def F1 : Rf< 1, "f1">, DwarfRegNum<[33]>;
178 def F2 : Rf< 2, "f2">, DwarfRegNum<[34]>;
179 def F3 : Rf< 3, "f3">, DwarfRegNum<[35]>;
180 def F4 : Rf< 4, "f4">, DwarfRegNum<[36]>;
181 def F5 : Rf< 5, "f5">, DwarfRegNum<[37]>;
182 def F6 : Rf< 6, "f6">, DwarfRegNum<[38]>;
183 def F7 : Rf<
[all...]
/freebsd/bin/pax/
H A Doptions.h65 #define RF 0x00000800 macro
95 #define ISLIST(x) (((x) & (RF|WF)) == 0)
96 #define ISEXTRACT(x) (((x) & (RF|WF)) == RF)
97 #define ISARCHIVE(x) (((x) & (AF|RF|WF)) == WF)
98 #define ISAPPND(x) (((x) & (AF|RF|WF)) == (AF|WF))
99 #define ISCOPY(x) (((x) & (RF|WF)) == (RF|WF))
100 #define ISWRITE(x) (((x) & (RF|WF)) == WF)
107 #define BDARCH (CF|KF|LF|NF|PF|RF|CDF|CEF|CYF|CZF)
109 #define BDLIST (AF|BF|IF|KF|LF|OF|PF|RF|TF|UF|WF|XF|CBF|CDF|CHF|CLF|CPF|CXF|CYF|CZF)
/freebsd/sys/dev/qat/qat_hw/qat_c4xxx/
H A Dadf_c4xxx_inline.h444 /* cd rf parity error
445 * BIT(2) rf parity mul 0
446 * BIT(3) rf parity 0
447 * BIT(10) rf parity mul 2
448 * BIT(11) rf parity 2
452 /* inln rf parity error
453 * BIT(2) rf parity mul 0
454 * BIT(3) rf parity 0
455 * BIT(6) rf parity mul 1
456 * BIT(7) rf parity 1
[all …]
/freebsd/contrib/netbsd-tests/rump/rumpkern/h_client/
H A Dh_forkcli.c20 struct rumpclient_fork *rf; in simple() local
31 if ((rf = rumpclient_prefork()) == NULL) in simple()
39 if (rumpclient_fork_init(rf) == -1) in simple()
81 struct rumpclient_fork *rf; in pipecomm() local
89 if ((rf = rumpclient_prefork()) == NULL) in pipecomm()
97 if (rumpclient_fork_init(rf) == -1) in pipecomm()
120 struct rumpclient_fork *rf; in fakeauth() local
124 if ((rf = rumpclient_prefork()) == NULL) in fakeauth()
127 /* XXX: we know the internal structure of rf */ in fakeauth()
128 auth = (void *)rf; in fakeauth()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DARMWinEHPrinter.cpp1141 unsigned Index, const RuntimeFunction &RF) { in dumpUnpackedEntry()
1142 assert(RF.Flag() == RuntimeFunctionFlag::RFF_Unpacked && in dumpUnpackedEntry()
1147 COFF, Section, Offset, RF.BeginAddress, FunctionAddress, FunctionOffset, in dumpUnpackedEntry()
1152 COFF, Section, Offset + 4, RF.ExceptionInformationRVA(), XDataAddress, in dumpUnpackedEntry()
1155 if (!RF.BeginAddress && !Function) in dumpUnpackedEntry()
1157 if (!RF.UnwindData && !XDataRecord) in dumpUnpackedEntry()
1209 unsigned Index, const RuntimeFunction &RF) { in dumpPackedEntry()
1210 assert((RF.Flag() == RuntimeFunctionFlag::RFF_Packed || in dumpPackedEntry()
1211 RF.Flag() == RuntimeFunctionFlag::RFF_PackedFragment) && in dumpPackedEntry()
1216 COFF, Section, Offset, RF in dumpPackedEntry()
1133 dumpUnpackedEntry(const COFFObjectFile & COFF,const SectionRef Section,uint64_t Offset,unsigned Index,const RuntimeFunction & RF) dumpUnpackedEntry() argument
1201 dumpPackedEntry(const object::COFFObjectFile & COFF,const SectionRef Section,uint64_t Offset,unsigned Index,const RuntimeFunction & RF) dumpPackedEntry() argument
1300 dumpPackedARM64Entry(const object::COFFObjectFile & COFF,const SectionRef Section,uint64_t Offset,unsigned Index,const RuntimeFunctionARM64 & RF) dumpPackedARM64Entry() argument
[all...]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_rollback/
H A Dzfs_rollback_001_pos.ksh37 # 'zfs rollback -r|-rf|-R|-Rf' will recursively destroy any snapshots
52 log_assert "'zfs rollback -r|-rf|-R|-Rf' will recursively destroy any " \
79 datasetexists $FS && destroy_dataset $FS -Rf
86 destroy_dataset $VOL -Rf
156 for opt in "-r" "-rf" "-R" "-Rf"; do
174 log_pass "'zfs rollback -r|-rf|-R|-Rf' recursively destroy any snapshots more "\
/freebsd/sbin/ifconfig/
H A Diflagg.c154 struct lagg_reqflags rf; in setlagghash() local
158 rf.rf_flags = 0; in setlagghash()
162 rf.rf_flags |= LAGG_F_HASHL2; in setlagghash()
164 rf.rf_flags |= LAGG_F_HASHL3; in setlagghash()
166 rf.rf_flags |= LAGG_F_HASHL4; in setlagghash()
171 if (rf.rf_flags == 0) in setlagghash()
174 strlcpy(rf.rf_ifname, ctx->ifname, sizeof(rf.rf_ifname)); in setlagghash()
175 if (ioctl_ctx(ctx, SIOCSLAGGHASH, &rf)) in setlagghash()
213 struct lagg_reqflags *rf; in lagg_status() local
224 rf = lagg->rf; in lagg_status()
[all …]
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_destroy/
H A Dzfs_destroy_001_pos.ksh37 # 'zfs destroy -r|-rf|-R|-Rf <fs|ctr|vol|snap>' should recursively destroy
88 log_must $ZFS destroy -Rf $CTR
93 -r|-rf) setup_testenv snap ;;
94 -R|-Rf) setup_testenv clone ;;
197 log_assert "'zfs destroy -r|-R|-f|-rf|-Rf <fs|ctr|vol|snap>' should " \
204 for opt in "-r" "-R" "-f" "-rf" "-Rf"; do
210 log_pass "'zfs destroy -r|-R|-f|-rf|-Rf <fs|ctr|vol|snap>' passed."
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_destroy/
H A Dzfs_destroy_001_pos.ksh38 # 'zfs destroy -r|-rf|-R|-Rf <fs|ctr|vol|snap>' should recursively destroy
80 datasetexists $CTR && destroy_dataset $CTR -Rf
84 -r|-rf) setup_testenv snap ;;
85 -R|-Rf) setup_testenv clone ;;
219 log_assert "'zfs destroy -r|-R|-f|-rf|-Rf <fs|ctr|vol|snap>' should " \
227 for opt in "-r" "-R" "-f" "-rf" "-Rf"; do
233 log_pass "'zfs destroy -r|-R|-f|-rf|-Rf <fs|ctr|vol|snap>' passed."
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_rollback/
H A Dzfs_rollback_001_pos.ksh37 # 'zfs rollback -r|-rf|-R|-Rf' will recursively destroy any snapshots
61 log_assert "'zfs rollback -r|-rf|-R|-Rf' will recursively destroy any " \
84 datasetexists $FS && log_must $ZFS destroy -Rf $FS
89 log_must $ZFS destroy -Rf $VOL
157 for opt in "-r" "-rf" "-R" "-Rf"; do
175 log_pass "'zfs rollback -r|-rf|-R|-Rf' recursively destroy any snapshots more "\

12345678910>>...91