Home
last modified time | relevance | path

Searched refs:rxfilt (Results 1 – 10 of 10) sorted by relevance

/freebsd-11-stable/sys/dev/sge/
HDif_sge.c449 uint16_t rxfilt; in sge_rxfilter() local
454 rxfilt = CSR_READ_2(sc, RxMacControl); in sge_rxfilter()
455 rxfilt &= ~(AcceptBroadcast | AcceptAllPhys | AcceptMulticast); in sge_rxfilter()
456 rxfilt |= AcceptMyPhys; in sge_rxfilter()
458 rxfilt |= AcceptBroadcast; in sge_rxfilter()
461 rxfilt |= AcceptAllPhys; in sge_rxfilter()
462 rxfilt |= AcceptMulticast; in sge_rxfilter()
466 rxfilt |= AcceptMulticast; in sge_rxfilter()
479 CSR_WRITE_2(sc, RxMacControl, rxfilt); in sge_rxfilter()
488 uint16_t rxfilt; in sge_setvlan() local
[all …]
/freebsd-11-stable/sys/dev/xl/
HDif_xl.c610 u_int8_t rxfilt; in xl_rxfilter_90x() local
617 rxfilt = CSR_READ_1(sc, XL_W5_RX_FILTER); in xl_rxfilter_90x()
618 rxfilt &= ~(XL_RXFILTER_ALLFRAMES | XL_RXFILTER_ALLMULTI | in xl_rxfilter_90x()
622 rxfilt |= XL_RXFILTER_INDIVIDUAL; in xl_rxfilter_90x()
625 rxfilt |= XL_RXFILTER_BROADCAST; in xl_rxfilter_90x()
630 rxfilt |= XL_RXFILTER_ALLFRAMES; in xl_rxfilter_90x()
632 rxfilt |= XL_RXFILTER_ALLMULTI; in xl_rxfilter_90x()
638 rxfilt |= XL_RXFILTER_ALLMULTI; in xl_rxfilter_90x()
644 CSR_WRITE_2(sc, XL_COMMAND, rxfilt | XL_CMD_RX_SET_FILT); in xl_rxfilter_90x()
658 u_int8_t rxfilt; in xl_rxfilter_90xB() local
[all …]
/freebsd-11-stable/sys/dev/nge/
HDif_nge.c667 uint32_t h, i, rxfilt; in nge_rxfilter() local
674 rxfilt = CSR_READ_4(sc, NGE_RXFILT_CTL); in nge_rxfilter()
675 rxfilt &= ~NGE_RXFILTCTL_ENABLE; in nge_rxfilter()
676 CSR_WRITE_4(sc, NGE_RXFILT_CTL, rxfilt); in nge_rxfilter()
679 rxfilt &= ~(NGE_RXFILTCTL_ALLMULTI | NGE_RXFILTCTL_ALLPHYS); in nge_rxfilter()
680 rxfilt &= ~NGE_RXFILTCTL_BROAD; in nge_rxfilter()
685 rxfilt &= ~(NGE_RXFILTCTL_MCHASH | NGE_RXFILTCTL_UCHASH); in nge_rxfilter()
693 rxfilt |= NGE_RXFILTCTL_ARP | NGE_RXFILTCTL_PERFECT; in nge_rxfilter()
699 rxfilt |= NGE_RXFILTCTL_BROAD; in nge_rxfilter()
703 rxfilt |= NGE_RXFILTCTL_ALLMULTI; in nge_rxfilter()
[all …]
/freebsd-11-stable/sys/dev/wb/
HDif_wb.c420 u_int32_t rxfilt; local
425 rxfilt = CSR_READ_4(sc, WB_NETCFG);
428 rxfilt |= WB_NETCFG_RX_MULTI;
429 CSR_WRITE_4(sc, WB_NETCFG, rxfilt);
455 rxfilt |= WB_NETCFG_RX_MULTI;
457 rxfilt &= ~WB_NETCFG_RX_MULTI;
461 CSR_WRITE_4(sc, WB_NETCFG, rxfilt);
/freebsd-11-stable/sys/dev/rl/
HDif_rl.c520 uint32_t rxfilt; in rl_rxfilter() local
524 rxfilt = CSR_READ_4(sc, RL_RXCFG); in rl_rxfilter()
525 rxfilt &= ~(RL_RXCFG_RX_ALLPHYS | RL_RXCFG_RX_BROAD | in rl_rxfilter()
528 rxfilt |= RL_RXCFG_RX_INDIV; in rl_rxfilter()
531 rxfilt |= RL_RXCFG_RX_BROAD; in rl_rxfilter()
533 rxfilt |= RL_RXCFG_RX_MULTI; in rl_rxfilter()
535 rxfilt |= RL_RXCFG_RX_ALLPHYS; in rl_rxfilter()
553 rxfilt |= RL_RXCFG_RX_MULTI; in rl_rxfilter()
558 CSR_WRITE_4(sc, RL_RXCFG, rxfilt); in rl_rxfilter()
/freebsd-11-stable/sys/arm/lpc/
HDif_lpe.c665 uint32_t rxfilt; in lpe_set_rxmode() local
667 rxfilt = LPE_RXFILTER_UNIHASH | LPE_RXFILTER_MULTIHASH | LPE_RXFILTER_PERFECT; in lpe_set_rxmode()
670 rxfilt |= LPE_RXFILTER_BROADCAST; in lpe_set_rxmode()
673 rxfilt |= LPE_RXFILTER_UNICAST | LPE_RXFILTER_MULTICAST; in lpe_set_rxmode()
676 rxfilt |= LPE_RXFILTER_MULTICAST; in lpe_set_rxmode()
678 lpe_write_4(sc, LPE_RXFILTER_CTRL, rxfilt); in lpe_set_rxmode()
/freebsd-11-stable/sys/dev/my/
HDif_my.c314 u_int32_t rxfilt; in my_setmulti() local
321 rxfilt = CSR_READ_4(sc, MY_TCRRCR); in my_setmulti()
324 rxfilt |= MY_AM; in my_setmulti()
325 CSR_WRITE_4(sc, MY_TCRRCR, rxfilt); in my_setmulti()
351 rxfilt |= MY_AM; in my_setmulti()
353 rxfilt &= ~MY_AM; in my_setmulti()
356 CSR_WRITE_4(sc, MY_TCRRCR, rxfilt); in my_setmulti()
/freebsd-11-stable/sys/dev/vr/
HDif_vr.c443 uint8_t rxfilt; in vr_set_filter() local
450 rxfilt = CSR_READ_1(sc, VR_RXCFG); in vr_set_filter()
451 rxfilt &= ~(VR_RXCFG_RX_PROMISC | VR_RXCFG_RX_BROAD | in vr_set_filter()
454 rxfilt |= VR_RXCFG_RX_BROAD; in vr_set_filter()
456 rxfilt |= VR_RXCFG_RX_MULTI; in vr_set_filter()
458 rxfilt |= VR_RXCFG_RX_PROMISC; in vr_set_filter()
459 CSR_WRITE_1(sc, VR_RXCFG, rxfilt); in vr_set_filter()
512 rxfilt |= VR_RXCFG_RX_MULTI; in vr_set_filter()
516 CSR_WRITE_1(sc, VR_RXCFG, rxfilt); in vr_set_filter()
/freebsd-11-stable/sys/dev/sf/
HDif_sf.c459 uint32_t rxfilt; in sf_rxfilter() local
470 rxfilt = csr_read_4(sc, SF_RXFILT); in sf_rxfilter()
471 rxfilt &= ~(SF_RXFILT_PROMISC | SF_RXFILT_ALLMULTI | SF_RXFILT_BROAD); in sf_rxfilter()
473 rxfilt |= SF_RXFILT_BROAD; in sf_rxfilter()
477 rxfilt |= SF_RXFILT_PROMISC; in sf_rxfilter()
479 rxfilt |= SF_RXFILT_ALLMULTI; in sf_rxfilter()
508 csr_write_4(sc, SF_RXFILT, rxfilt); in sf_rxfilter()
/freebsd-11-stable/sys/dev/re/
HDif_re.c655 uint32_t h, rxfilt; in re_set_rxmode() local
661 rxfilt = RL_RXCFG_CONFIG | RL_RXCFG_RX_INDIV | RL_RXCFG_RX_BROAD; in re_set_rxmode()
663 rxfilt |= RL_RXCFG_EARLYOFF; in re_set_rxmode()
665 rxfilt |= RL_RXCFG_EARLYOFFV2; in re_set_rxmode()
669 rxfilt |= RL_RXCFG_RX_ALLPHYS; in re_set_rxmode()
675 rxfilt |= RL_RXCFG_RX_MULTI; in re_set_rxmode()
706 rxfilt |= RL_RXCFG_RX_MULTI; in re_set_rxmode()
718 CSR_WRITE_4(sc, RL_RXCFG, rxfilt); in re_set_rxmode()