Lines Matching refs:GEM_BIT
575 config &= ~(GEM_BIT(TX_SCR_BYPASS) | GEM_BIT(RX_SCR_BYPASS)); in macb_usx_pcs_link_up()
576 config |= GEM_BIT(TX_EN); in macb_usx_pcs_link_up()
591 state->link = !!(val & GEM_BIT(USX_BLOCK_LOCK)); in macb_usx_pcs_get_state()
593 if (val & GEM_BIT(PAE)) in macb_usx_pcs_get_state()
606 GEM_BIT(SIGNAL_OK)); in macb_usx_pcs_config()
661 ctrl &= ~(GEM_BIT(SGMIIEN) | GEM_BIT(PCSSEL)); in macb_mac_config()
662 ncr &= ~GEM_BIT(ENABLE_HS_MAC); in macb_mac_config()
665 ctrl |= GEM_BIT(SGMIIEN) | GEM_BIT(PCSSEL); in macb_mac_config()
667 ctrl |= GEM_BIT(PCSSEL); in macb_mac_config()
668 ncr |= GEM_BIT(ENABLE_HS_MAC); in macb_mac_config()
691 pcsctrl = old_pcsctrl & ~GEM_BIT(PCSAUTONEG); in macb_mac_config()
693 pcsctrl = old_pcsctrl | GEM_BIT(PCSAUTONEG); in macb_mac_config()
750 ctrl &= ~GEM_BIT(GBE); in macb_mac_link_up()
753 ctrl |= GEM_BIT(GBE); in macb_mac_link_up()
1087 addr &= ~GEM_BIT(DMA_RXVALID); in macb_get_addr()
1884 if (status & GEM_BIT(WOL)) { in gem_wol_interrupt()
1885 queue_writel(queue, IDR, GEM_BIT(WOL)); in gem_wol_interrupt()
1891 queue_writel(queue, ISR, GEM_BIT(WOL)); in gem_wol_interrupt()
2751 dmacfg |= GEM_BIT(TXPBMS) | GEM_BF(RXBMS, -1L); in macb_configure_dma()
2752 dmacfg &= ~GEM_BIT(ENDIA_PKT); in macb_configure_dma()
2755 dmacfg &= ~GEM_BIT(ENDIA_DESC); in macb_configure_dma()
2757 dmacfg |= GEM_BIT(ENDIA_DESC); /* CPU in big endian */ in macb_configure_dma()
2760 dmacfg |= GEM_BIT(TXCOEN); in macb_configure_dma()
2762 dmacfg &= ~GEM_BIT(TXCOEN); in macb_configure_dma()
2764 dmacfg &= ~GEM_BIT(ADDR64); in macb_configure_dma()
2767 dmacfg |= GEM_BIT(ADDR64); in macb_configure_dma()
2771 dmacfg |= GEM_BIT(RXEXT) | GEM_BIT(TXEXT); in macb_configure_dma()
2796 config |= GEM_BIT(RXCOEN); in macb_init_hw()
2811 gem_writel(bp, PBUFRXCUT, (bp->rx_watermark | GEM_BIT(ENCUTTHRU))); in macb_init_hw()
2904 cfg &= ~GEM_BIT(RXCOEN); in macb_set_rx_mode()
2911 cfg |= GEM_BIT(RXCOEN); in macb_set_rx_mode()
3806 val |= GEM_BIT(TXCOEN); in macb_set_txcsum_feature()
3808 val &= ~GEM_BIT(TXCOEN); in macb_set_txcsum_feature()
3824 val |= GEM_BIT(RXCOEN); in macb_set_rxcsum_feature()
3826 val &= ~GEM_BIT(RXCOEN); in macb_set_rxcsum_feature()
3920 if ((dcfg & (GEM_BIT(RX_PKT_BUFF) | GEM_BIT(TX_PKT_BUFF))) == 0) in macb_configure_caps()
4210 val |= GEM_BIT(SGMIIEN) | GEM_BIT(PCSSEL); in macb_init()
4219 .rgmii = GEM_BIT(RGMII),
5238 queue_writel(bp->queues, IER, GEM_BIT(WOL)); in macb_suspend()
5310 queue_writel(bp->queues, IDR, GEM_BIT(WOL)); in macb_resume()