Lines Matching refs:rxctrl
400 struct ks8851_rxctrl *rxc = &ks->rxctrl; in ks8851_irq()
615 struct ks8851_rxctrl rxctrl; in ks8851_set_rx_mode() local
617 memset(&rxctrl, 0, sizeof(rxctrl)); in ks8851_set_rx_mode()
622 rxctrl.rxcr1 = RXCR1_RXAE | RXCR1_RXINVF; in ks8851_set_rx_mode()
626 rxctrl.rxcr1 = (RXCR1_RXME | RXCR1_RXAE | in ks8851_set_rx_mode()
638 rxctrl.mchash[crc >> 4] |= (1 << (crc & 0xf)); in ks8851_set_rx_mode()
641 rxctrl.rxcr1 = RXCR1_RXME | RXCR1_RXPAFMA; in ks8851_set_rx_mode()
644 rxctrl.rxcr1 = RXCR1_RXPAFMA; in ks8851_set_rx_mode()
647 rxctrl.rxcr1 |= (RXCR1_RXUE | /* unicast enable */ in ks8851_set_rx_mode()
652 rxctrl.rxcr2 |= RXCR2_SRDBL_FRAME; in ks8851_set_rx_mode()
658 if (memcmp(&rxctrl, &ks->rxctrl, sizeof(rxctrl)) != 0) { in ks8851_set_rx_mode()
659 memcpy(&ks->rxctrl, &rxctrl, sizeof(ks->rxctrl)); in ks8851_set_rx_mode()