Lines Matching refs:rctl
587 uint32_t tctl, rctl; in eth_igc_rxtx_control() local
590 rctl = IGC_READ_REG(hw, IGC_RCTL); in eth_igc_rxtx_control()
595 rctl |= IGC_RCTL_EN; in eth_igc_rxtx_control()
599 rctl &= ~IGC_RCTL_EN; in eth_igc_rxtx_control()
602 IGC_WRITE_REG(hw, IGC_RCTL, rctl); in eth_igc_rxtx_control()
1395 uint32_t rctl; in eth_igc_promiscuous_enable() local
1397 rctl = IGC_READ_REG(hw, IGC_RCTL); in eth_igc_promiscuous_enable()
1398 rctl |= (IGC_RCTL_UPE | IGC_RCTL_MPE); in eth_igc_promiscuous_enable()
1399 IGC_WRITE_REG(hw, IGC_RCTL, rctl); in eth_igc_promiscuous_enable()
1407 uint32_t rctl; in eth_igc_promiscuous_disable() local
1409 rctl = IGC_READ_REG(hw, IGC_RCTL); in eth_igc_promiscuous_disable()
1410 rctl &= (~IGC_RCTL_UPE); in eth_igc_promiscuous_disable()
1412 rctl |= IGC_RCTL_MPE; in eth_igc_promiscuous_disable()
1414 rctl &= (~IGC_RCTL_MPE); in eth_igc_promiscuous_disable()
1415 IGC_WRITE_REG(hw, IGC_RCTL, rctl); in eth_igc_promiscuous_disable()
1423 uint32_t rctl; in eth_igc_allmulticast_enable() local
1425 rctl = IGC_READ_REG(hw, IGC_RCTL); in eth_igc_allmulticast_enable()
1426 rctl |= IGC_RCTL_MPE; in eth_igc_allmulticast_enable()
1427 IGC_WRITE_REG(hw, IGC_RCTL, rctl); in eth_igc_allmulticast_enable()
1435 uint32_t rctl; in eth_igc_allmulticast_disable() local
1440 rctl = IGC_READ_REG(hw, IGC_RCTL); in eth_igc_allmulticast_disable()
1441 rctl &= (~IGC_RCTL_MPE); in eth_igc_allmulticast_disable()
1442 IGC_WRITE_REG(hw, IGC_RCTL, rctl); in eth_igc_allmulticast_disable()
1581 uint32_t rctl; in eth_igc_mtu_set() local
1600 rctl = IGC_READ_REG(hw, IGC_RCTL); in eth_igc_mtu_set()
1606 rctl |= IGC_RCTL_LPE; in eth_igc_mtu_set()
1610 rctl &= ~IGC_RCTL_LPE; in eth_igc_mtu_set()
1612 IGC_WRITE_REG(hw, IGC_RCTL, rctl); in eth_igc_mtu_set()
2185 uint32_t rctl; in eth_igc_flow_ctrl_set() local
2235 rctl = IGC_READ_REG(hw, IGC_RCTL); in eth_igc_flow_ctrl_set()
2239 rctl |= IGC_RCTL_PMCF; in eth_igc_flow_ctrl_set()
2241 rctl &= ~IGC_RCTL_PMCF; in eth_igc_flow_ctrl_set()
2243 IGC_WRITE_REG(hw, IGC_RCTL, rctl); in eth_igc_flow_ctrl_set()