Searched refs:rxfilt (Results 1 – 7 of 7) sorted by relevance
/freebsd/sys/dev/sge/ |
H A D | if_sge.c | 457 uint16_t rxfilt; in sge_rxfilter() local 462 rxfilt = CSR_READ_2(sc, RxMacControl); in sge_rxfilter() 463 rxfilt &= ~(AcceptBroadcast | AcceptAllPhys | AcceptMulticast); in sge_rxfilter() 464 rxfilt |= AcceptMyPhys; in sge_rxfilter() 466 rxfilt |= AcceptBroadcast; in sge_rxfilter() 469 rxfilt |= AcceptAllPhys; in sge_rxfilter() 470 rxfilt |= AcceptMulticast; in sge_rxfilter() 474 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/sys/dev/xl/ |
H A D | if_xl.c | 607 uint8_t *rxfilt = arg; in xl_check_maddr_90x() local 609 *rxfilt |= XL_RXFILTER_ALLMULTI; in xl_check_maddr_90x() 618 u_int8_t rxfilt; in xl_rxfilter_90x() local 625 rxfilt = CSR_READ_1(sc, XL_W5_RX_FILTER); in xl_rxfilter_90x() 626 rxfilt &= ~(XL_RXFILTER_ALLFRAMES | XL_RXFILTER_ALLMULTI | in xl_rxfilter_90x() 630 rxfilt |= XL_RXFILTER_INDIVIDUAL; in xl_rxfilter_90x() 633 rxfilt |= XL_RXFILTER_BROADCAST; in xl_rxfilter_90x() 638 rxfilt |= XL_RXFILTER_ALLFRAMES; in xl_rxfilter_90x() 640 rxfilt |= XL_RXFILTER_ALLMULTI; in xl_rxfilter_90x() 642 if_foreach_llmaddr(sc->xl_ifp, xl_check_maddr_90x, &rxfilt); in xl_rxfilter_90x() [all …]
|
/freebsd/sys/dev/nge/ |
H A D | if_nge.c | 686 uint32_t i, rxfilt; in nge_rxfilter() local 692 rxfilt = CSR_READ_4(sc, NGE_RXFILT_CTL); in nge_rxfilter() 693 rxfilt &= ~NGE_RXFILTCTL_ENABLE; in nge_rxfilter() 694 CSR_WRITE_4(sc, NGE_RXFILT_CTL, rxfilt); in nge_rxfilter() 697 rxfilt &= ~(NGE_RXFILTCTL_ALLMULTI | NGE_RXFILTCTL_ALLPHYS); in nge_rxfilter() 698 rxfilt &= ~NGE_RXFILTCTL_BROAD; in nge_rxfilter() 703 rxfilt &= ~(NGE_RXFILTCTL_MCHASH | NGE_RXFILTCTL_UCHASH); in nge_rxfilter() 711 rxfilt |= NGE_RXFILTCTL_ARP | NGE_RXFILTCTL_PERFECT; in nge_rxfilter() 717 rxfilt |= NGE_RXFILTCTL_BROAD; in nge_rxfilter() 721 rxfilt |= NGE_RXFILTCTL_ALLMULTI; in nge_rxfilter() [all …]
|
/freebsd/sys/dev/rl/ |
H A D | if_rl.c | 531 uint32_t rxfilt; in rl_rxfilter() local 535 rxfilt = CSR_READ_4(sc, RL_RXCFG); in rl_rxfilter() 536 rxfilt &= ~(RL_RXCFG_RX_ALLPHYS | RL_RXCFG_RX_BROAD | in rl_rxfilter() 539 rxfilt |= RL_RXCFG_RX_INDIV; in rl_rxfilter() 542 rxfilt |= RL_RXCFG_RX_BROAD; in rl_rxfilter() 544 rxfilt |= RL_RXCFG_RX_MULTI; in rl_rxfilter() 546 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/sys/dev/my/ |
H A D | if_my.c | 321 u_int32_t rxfilt; in my_setmulti() local 327 rxfilt = CSR_READ_4(sc, MY_TCRRCR); in my_setmulti() 330 rxfilt |= MY_AM; in my_setmulti() 331 CSR_WRITE_4(sc, MY_TCRRCR, rxfilt); in my_setmulti() 343 rxfilt |= MY_AM; in my_setmulti() 345 rxfilt &= ~MY_AM; in my_setmulti() 348 CSR_WRITE_4(sc, MY_TCRRCR, rxfilt); in my_setmulti()
|
/freebsd/sys/dev/vr/ |
H A D | if_vr.c | 476 uint8_t rxfilt; in vr_set_filter() local 482 rxfilt = CSR_READ_1(sc, VR_RXCFG); in vr_set_filter() 483 rxfilt &= ~(VR_RXCFG_RX_PROMISC | VR_RXCFG_RX_BROAD | in vr_set_filter() 486 rxfilt |= VR_RXCFG_RX_BROAD; in vr_set_filter() 488 rxfilt |= VR_RXCFG_RX_MULTI; in vr_set_filter() 490 rxfilt |= VR_RXCFG_RX_PROMISC; in vr_set_filter() 491 CSR_WRITE_1(sc, VR_RXCFG, rxfilt); in vr_set_filter() 523 rxfilt |= VR_RXCFG_RX_MULTI; in vr_set_filter() 527 CSR_WRITE_1(sc, VR_RXCFG, rxfilt); in vr_set_filter()
|
/freebsd/sys/dev/re/ |
H A D | if_re.c | 675 uint32_t rxfilt; in re_set_rxmode() local 681 rxfilt = RL_RXCFG_CONFIG | RL_RXCFG_RX_INDIV | RL_RXCFG_RX_BROAD; in re_set_rxmode() 683 rxfilt |= RL_RXCFG_EARLYOFF; in re_set_rxmode() 685 rxfilt |= RL_RXCFG_EARLYOFFV2; in re_set_rxmode() 689 rxfilt |= RL_RXCFG_RX_ALLPHYS; in re_set_rxmode() 695 rxfilt |= RL_RXCFG_RX_MULTI; in re_set_rxmode() 715 rxfilt |= RL_RXCFG_RX_MULTI; in re_set_rxmode() 727 CSR_WRITE_4(sc, RL_RXCFG, rxfilt); in re_set_rxmode()
|