Lines Matching defs:filter
53 * has a single perfect filter entry for the station address and a
668 * return the filter bit position
670 * The NatSemi chip has a 512-bit filter, which is
699 uint32_t h, i, filter;
703 filter = CSR_READ_4(sc, SIS_RXFILT_CTL);
704 if (filter & SIS_RXFILTCTL_ENABLE) {
708 CSR_WRITE_4(sc, SIS_RXFILT_CTL, filter & ~SIS_RXFILTCTL_ENABLE);
711 filter &= ~(NS_RXFILTCTL_ARP | NS_RXFILTCTL_PERFECT |
716 filter |= SIS_RXFILTCTL_BROAD;
720 * match' filter where we store the station address, otherwise
723 filter |= NS_RXFILTCTL_ARP | NS_RXFILTCTL_PERFECT;
726 filter |= SIS_RXFILTCTL_ALLMULTI;
728 filter |= SIS_RXFILTCTL_ALLPHYS;
734 filter |= NS_RXFILTCTL_MCHASH;
760 /* Turn the receive filter on */
761 CSR_WRITE_4(sc, SIS_RXFILT_CTL, filter | SIS_RXFILTCTL_ENABLE);
770 uint32_t filter, h, i, n;
781 filter = CSR_READ_4(sc, SIS_RXFILT_CTL);
782 if (filter & SIS_RXFILTCTL_ENABLE) {
783 CSR_WRITE_4(sc, SIS_RXFILT_CTL, filter & ~SIS_RXFILTCTL_ENABLE);
786 filter &= ~(SIS_RXFILTCTL_ALLPHYS | SIS_RXFILTCTL_BROAD |
789 filter |= SIS_RXFILTCTL_BROAD;
792 filter |= SIS_RXFILTCTL_ALLMULTI;
794 filter |= SIS_RXFILTCTL_ALLPHYS;
812 filter |= SIS_RXFILTCTL_ALLMULTI;
823 /* Turn the receive filter on */
824 CSR_WRITE_4(sc, SIS_RXFILT_CTL, filter | SIS_RXFILTCTL_ENABLE);