Home
last modified time | relevance | path

Searched refs:rcr (Results 1 – 20 of 20) sorted by relevance

/freebsd/sys/contrib/ncsw/Peripherals/BM/
H A Dbman_low.c167 static __inline__ void RCR_INC(struct bm_rcr *rcr) in RCR_INC() argument
172 struct bm_rcr_entry *partial = rcr->cursor + 1; in RCR_INC()
173 rcr->cursor = RCR_CARRYCLEAR(partial); in RCR_INC()
174 if (partial != rcr->cursor) in RCR_INC()
175 rcr->vbit ^= BM_RCR_VERB_VBIT; in RCR_INC()
182 register struct bm_rcr *rcr = &portal->rcr; in bm_rcr_init() local
186 rcr->ring = ptr_ADD(portal->addr.addr_ce, CL_RCR); in bm_rcr_init()
187 rcr->ci = (uint8_t)(bm_in(RCR_CI_CINH) & (BM_RCR_SIZE - 1)); in bm_rcr_init()
189 rcr->cursor = rcr->ring + pi; in bm_rcr_init()
190 rcr->vbit = (uint8_t)((bm_in(RCR_PI_CINH) & BM_RCR_SIZE) ? BM_RCR_VERB_VBIT : 0); in bm_rcr_init()
[all …]
H A Dbman_private.h169 struct bm_rcr rcr; member
/freebsd/sys/dev/rtwn/
H A Dif_rtwn_rx.c455 sc->rcr |= R92C_RCR_AM | R92C_RCR_AB | R92C_RCR_APM | in rtwn_rxfilter_init()
467 rtwn_write_4(sc, R92C_RCR, sc->rcr); in rtwn_rxfilter_set()
475 sc->rcr &= ~R92C_RCR_CBSSID_BCN; in rtwn_set_rx_bssid_all()
477 sc->rcr |= R92C_RCR_CBSSID_BCN; in rtwn_set_rx_bssid_all()
503 sc->rcr &= ~mask_all; in rtwn_set_promisc()
504 sc->rcr |= mask_min; in rtwn_set_promisc()
506 sc->rcr &= ~mask_min; in rtwn_set_promisc()
507 sc->rcr |= mask_all; in rtwn_set_promisc()
H A Dif_rtwnvar.h402 uint32_t rcr; /* Rx filter */ member
/freebsd/sys/dev/rtwn/rtl8812a/
H A Dr12a_caps.c91 sc->rcr &= ~R12A_RCR_TCP_OFFLD_EN; in r12a_ioctl_net()
93 sc->rcr |= R12A_RCR_TCP_OFFLD_EN; in r12a_ioctl_net()
/freebsd/sys/arm/allwinner/
H A Dif_emac.c232 uint32_t rcr = 0; in emac_set_rx_mode() local
238 rcr = EMAC_READ_REG(sc, EMAC_RX_CTL); in emac_set_rx_mode()
241 rcr |= EMAC_RX_UCAD; in emac_set_rx_mode()
242 rcr |= EMAC_RX_DAF; in emac_set_rx_mode()
251 rcr |= EMAC_RX_MCO; in emac_set_rx_mode()
252 rcr |= EMAC_RX_MHF; in emac_set_rx_mode()
257 rcr |= EMAC_RX_BCO; in emac_set_rx_mode()
258 rcr |= EMAC_RX_MCO; in emac_set_rx_mode()
262 rcr |= EMAC_RX_PA; in emac_set_rx_mode()
264 rcr |= EMAC_RX_UCAD; in emac_set_rx_mode()
[all …]
/freebsd/sys/contrib/dev/rtw88/
H A Dmac80211.c296 rtwdev->hal.rcr |= BIT_AM; in rtw_ops_configure_filter()
298 rtwdev->hal.rcr &= ~(BIT_AM); in rtw_ops_configure_filter()
302 rtwdev->hal.rcr |= BIT_ACRC32; in rtw_ops_configure_filter()
304 rtwdev->hal.rcr &= ~(BIT_ACRC32); in rtw_ops_configure_filter()
308 rtwdev->hal.rcr |= BIT_AAP; in rtw_ops_configure_filter()
310 rtwdev->hal.rcr &= ~(BIT_AAP); in rtw_ops_configure_filter()
314 rtwdev->hal.rcr &= ~(BIT_CBSSID_BCN | BIT_CBSSID_DATA); in rtw_ops_configure_filter()
316 rtwdev->hal.rcr |= BIT_CBSSID_BCN; in rtw_ops_configure_filter()
320 "config rx filter, changed=0x%08x, new=0x%08x, rcr=0x%08x\n", in rtw_ops_configure_filter()
321 changed_flags, *new_flags, rtwdev->hal.rcr); in rtw_ops_configure_filter()
[all...]
H A Dfw.c2230 rtwdev->hal.rcr &= ~BIT_CBSSID_BCN; in rtw_hw_scan_offload()
2231 rtw_write32(rtwdev, REG_RCR, rtwdev->hal.rcr); in rtw_hw_scan_offload()
2248 rtwdev->hal.rcr |= BIT_CBSSID_BCN; in rtw_hw_scan_abort()
2249 rtw_write32(rtwdev, REG_RCR, rtwdev->hal.rcr); in rtw_hw_scan_abort()
H A Dmain.c1514 /* rcr reset after powered on */ in rtw_core_start()
1515 rtw_write32(rtwdev, REG_RCR, rtwdev->hal.rcr); in rtw_core_start()
1885 rtwdev->hal.rcr |= BIT_VHT_DACK; in rtw_chip_parameter_setup()
2163 rtwdev->hal.rcr = BIT_APP_FCS | BIT_APP_MIC | BIT_APP_ICV | in rtw_core_init()
H A Dmain.h1913 u32 rcr;
1900 u32 rcr; global() member
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstrShiftRotate.td233 defm RCR: ShiftRotate<"rcr", MRM3r, MRM3m, null_frag, WriteRotateCL, WriteRotate, WriteRotateCLLd, WriteRotateLd, [EFLAGS]>;
/freebsd/sys/dev/ffec/
H A Dif_ffec.c370 uint32_t ecr, rcr, tcr; in ffec_miibus_statchg()
389 rcr = RD4(sc, FEC_RCR_REG) & ~(FEC_RCR_RMII_10T | FEC_RCR_RMII_MODE | in ffec_miibus_statchg()
393 rcr |= FEC_RCR_MII_MODE; /* Must always be on even for R[G]MII. */ in ffec_miibus_statchg()
396 rcr |= FEC_RCR_RMII_MODE; in ffec_miibus_statchg()
402 rcr |= FEC_RCR_RGMII_EN; in ffec_miibus_statchg()
417 rcr |= FEC_RCR_RMII_10T; in ffec_miibus_statchg()
432 rcr |= FEC_RCR_DRT; in ffec_miibus_statchg()
435 rcr |= FEC_RCR_FCE; in ffec_miibus_statchg()
437 WR4(sc, FEC_RCR_REG, rcr); in ffec_miibus_statchg()
369 uint32_t ecr, rcr, tcr; ffec_miibus_statchg() local
/freebsd/sys/dev/rtwn/rtl8192e/usb/
H A Dr92eu_attach.c196 sc->rcr = 0; in r92eu_attach()
/freebsd/sys/dev/rtwn/rtl8188e/usb/
H A Dr88eu_attach.c218 sc->rcr = 0; in r88eu_attach()
/freebsd/sys/dev/rtwn/rtl8192c/usb/
H A Dr92cu_attach.c241 sc->rcr = 0; in r92cu_attach()
/freebsd/sys/dev/rtwn/rtl8188e/pci/
H A Dr88ee_attach.c234 sc->rcr = 0; in r88ee_attach()
/freebsd/sys/dev/rtwn/rtl8192c/pci/
H A Dr92ce_attach.c260 sc->rcr = 0; in r92ce_attach()
/freebsd/sys/dev/rtwn/rtl8812a/usb/
H A Dr12au_attach.c287 sc->rcr = R12A_RCR_DIS_CHK_14 | in r12au_attach()
/freebsd/sys/dev/rtwn/rtl8821a/usb/
H A Dr21au_attach.c273 sc->rcr = R12A_RCR_DIS_CHK_14 | in r21au_attach()
/freebsd/sys/contrib/ncsw/Peripherals/FM/
H A Dfm_ncsw.c5197 uint32_t event, rcr; in FM_ChangeClock() local
5199 rcr = GET_UINT32(p_Fm->p_FmFpmRegs->fm_rcr); in FM_ChangeClock()
5200 rcr |= 0x04000000; in FM_ChangeClock()
5201 WRITE_UINT32(p_Fm->p_FmFpmRegs->fm_rcr, rcr); in FM_ChangeClock()
5209 rcr = GET_UINT32(p_Fm->p_FmFpmRegs->fm_rcr); in FM_ChangeClock()
5210 rcr &= ~0x04000000; in FM_ChangeClock()
5211 WRITE_UINT32(p_Fm->p_FmFpmRegs->fm_rcr, rcr); in FM_ChangeClock()