Lines Matching refs:pf_ctrl
1038 u32 pf_ctrl = 0; in et1310_config_rxmac_regs() local
1068 writel(0, &rxmac->pf_ctrl); in et1310_config_rxmac_regs()
1073 pf_ctrl |= ET_RX_PFCTRL_UNICST_FILTER_ENABLE; in et1310_config_rxmac_regs()
1082 pf_ctrl |= ET_RX_PFCTRL_MLTCST_FILTER_ENABLE; in et1310_config_rxmac_regs()
1087 pf_ctrl |= (NIC_MIN_PACKET_SIZE + 4) << ET_RX_PFCTRL_MIN_PKT_SZ_SHIFT; in et1310_config_rxmac_regs()
1088 pf_ctrl |= ET_RX_PFCTRL_FRAG_FILTER_ENABLE; in et1310_config_rxmac_regs()
1133 writel(pf_ctrl, &rxmac->pf_ctrl); in et1310_config_rxmac_regs()
3650 u32 pf_ctrl; in et131x_set_packet_filter() local
3653 pf_ctrl = readl(&adapter->regs->rxmac.pf_ctrl); in et131x_set_packet_filter()
3662 pf_ctrl &= ~7; /* Clear filter bits */ in et131x_set_packet_filter()
3669 pf_ctrl &= ~2; /* Multicast filter bit */ in et131x_set_packet_filter()
3672 pf_ctrl |= 2; in et131x_set_packet_filter()
3679 pf_ctrl |= 4; in et131x_set_packet_filter()
3685 pf_ctrl |= 1; /* Broadcast filter bit */ in et131x_set_packet_filter()
3688 pf_ctrl &= ~1; in et131x_set_packet_filter()
3695 writel(pf_ctrl, &adapter->regs->rxmac.pf_ctrl); in et131x_set_packet_filter()