Lines Matching refs:pf_ctrl
1042 u32 pf_ctrl = 0; in et1310_config_rxmac_regs() local
1072 writel(0, &rxmac->pf_ctrl); in et1310_config_rxmac_regs()
1077 pf_ctrl |= ET_RX_PFCTRL_UNICST_FILTER_ENABLE; in et1310_config_rxmac_regs()
1086 pf_ctrl |= ET_RX_PFCTRL_MLTCST_FILTER_ENABLE; in et1310_config_rxmac_regs()
1091 pf_ctrl |= (NIC_MIN_PACKET_SIZE + 4) << ET_RX_PFCTRL_MIN_PKT_SZ_SHIFT; in et1310_config_rxmac_regs()
1092 pf_ctrl |= ET_RX_PFCTRL_FRAG_FILTER_ENABLE; in et1310_config_rxmac_regs()
1137 writel(pf_ctrl, &rxmac->pf_ctrl); in et1310_config_rxmac_regs()
3676 u32 pf_ctrl; in et131x_set_packet_filter() local
3679 pf_ctrl = readl(&adapter->regs->rxmac.pf_ctrl); in et131x_set_packet_filter()
3688 pf_ctrl &= ~7; /* Clear filter bits */ in et131x_set_packet_filter()
3695 pf_ctrl &= ~2; /* Multicast filter bit */ in et131x_set_packet_filter()
3698 pf_ctrl |= 2; in et131x_set_packet_filter()
3705 pf_ctrl |= 4; in et131x_set_packet_filter()
3711 pf_ctrl |= 1; /* Broadcast filter bit */ in et131x_set_packet_filter()
3714 pf_ctrl &= ~1; in et131x_set_packet_filter()
3721 writel(pf_ctrl, &adapter->regs->rxmac.pf_ctrl); in et131x_set_packet_filter()