Lines Matching refs:gfargrp
127 struct gfar __iomem *regs = priv->gfargrp[0].regs; in gfar_init_tx_rx_base()
146 struct gfar __iomem *regs = priv->gfargrp[0].regs; in gfar_init_rqprm()
172 struct gfar __iomem *regs = priv->gfargrp[0].regs; in gfar_mac_rx_config()
216 struct gfar __iomem *regs = priv->gfargrp[0].regs; in gfar_mac_tx_config()
239 struct gfar __iomem *regs = priv->gfargrp[0].regs; in gfar_configure_coalescing()
294 struct rmon_mib __iomem *rmon = &priv->gfargrp[0].regs->rmon; in gfar_get_stats64()
353 struct gfar __iomem *regs = priv->gfargrp[0].regs; in gfar_set_mac_for_addr()
390 struct gfar __iomem *regs = priv->gfargrp[i].regs; in gfar_ints_disable()
403 struct gfar __iomem *regs = priv->gfargrp[i].regs; in gfar_ints_enable()
465 if (priv->gfargrp[i].regs) in unmap_group_regs()
466 iounmap(priv->gfargrp[i].regs); in unmap_group_regs()
475 kfree(priv->gfargrp[i].irqinfo[j]); in free_gfar_dev()
476 priv->gfargrp[i].irqinfo[j] = NULL; in free_gfar_dev()
487 napi_disable(&priv->gfargrp[i].napi_rx); in disable_napi()
488 napi_disable(&priv->gfargrp[i].napi_tx); in disable_napi()
497 napi_enable(&priv->gfargrp[i].napi_rx); in enable_napi()
498 napi_enable(&priv->gfargrp[i].napi_tx); in enable_napi()
505 struct gfar_priv_grp *grp = &priv->gfargrp[priv->num_grps]; in gfar_parse_group()
592 struct gfar __iomem *regs = priv->gfargrp[0].regs; in gfar_get_interface()
718 priv->gfargrp[i].regs = NULL; in gfar_of_init()
949 struct gfar __iomem *regs = priv->gfargrp[0].regs; in gfar_init_addr_hash_table()
1001 res = gfar_read((void __iomem *)priv->gfargrp[0].regs + 0xd1c); in __gfar_is_rx_idle()
1012 struct gfar __iomem *regs = priv->gfargrp[0].regs; in gfar_halt_nodisable()
1045 struct gfar __iomem *regs = priv->gfargrp[0].regs; in gfar_halt()
1176 struct gfar __iomem *regs = priv->gfargrp[0].regs; in gfar_start()
1195 regs = priv->gfargrp[i].regs; in gfar_start()
1197 gfar_write(®s->tstat, priv->gfargrp[i].tstat); in gfar_start()
1198 gfar_write(®s->rstat, priv->gfargrp[i].rstat); in gfar_start()
1285 struct gfar __iomem *regs = priv->gfargrp[0].regs; in gfar_init_bds()
1486 struct gfar __iomem *regs = priv->gfargrp[0].regs; in gfar_update_link_state()
2606 struct gfar_priv_grp *gfargrp = in gfar_poll_rx_sq() local
2608 struct gfar __iomem *regs = gfargrp->regs; in gfar_poll_rx_sq()
2609 struct gfar_priv_rx_q *rx_queue = gfargrp->rx_queue; in gfar_poll_rx_sq()
2623 gfar_write(®s->rstat, gfargrp->rstat); in gfar_poll_rx_sq()
2625 spin_lock_irq(&gfargrp->grplock); in gfar_poll_rx_sq()
2629 spin_unlock_irq(&gfargrp->grplock); in gfar_poll_rx_sq()
2637 struct gfar_priv_grp *gfargrp = in gfar_poll_tx_sq() local
2639 struct gfar __iomem *regs = gfargrp->regs; in gfar_poll_tx_sq()
2640 struct gfar_priv_tx_q *tx_queue = gfargrp->tx_queue; in gfar_poll_tx_sq()
2654 spin_lock_irq(&gfargrp->grplock); in gfar_poll_tx_sq()
2658 spin_unlock_irq(&gfargrp->grplock); in gfar_poll_tx_sq()
2666 struct gfar_priv_grp *gfargrp = grp_id; in gfar_error() local
2667 struct gfar __iomem *regs = gfargrp->regs; in gfar_error()
2668 struct gfar_private *priv= gfargrp->priv; in gfar_error()
2748 struct gfar_priv_grp *gfargrp = grp_id; in gfar_interrupt() local
2751 u32 events = gfar_read(&gfargrp->regs->ievent); in gfar_interrupt()
2781 struct gfar_priv_grp *grp = &priv->gfargrp[i]; in gfar_netpoll()
2793 struct gfar_priv_grp *grp = &priv->gfargrp[i]; in gfar_netpoll()
2878 free_grp_irqs(&priv->gfargrp[i]); in gfar_free_irq()
2881 free_irq(gfar_irq(&priv->gfargrp[i], TX)->irq, in gfar_free_irq()
2882 &priv->gfargrp[i]); in gfar_free_irq()
2891 err = register_grp_irqs(&priv->gfargrp[i]); in gfar_request_irq()
2894 free_grp_irqs(&priv->gfargrp[j]); in gfar_request_irq()
2962 struct gfar __iomem *regs = priv->gfargrp[0].regs; in gfar_set_multi()
3046 struct gfar __iomem *regs = priv->gfargrp[0].regs; in gfar_mac_reset()
3122 struct gfar __iomem *regs = priv->gfargrp[0].regs; in gfar_hw_init()
3222 dev->base_addr = (unsigned long) priv->gfargrp[0].regs; in gfar_probe()
3235 netif_napi_add(dev, &priv->gfargrp[i].napi_rx, in gfar_probe()
3237 netif_napi_add_tx_weight(dev, &priv->gfargrp[i].napi_tx, in gfar_probe()
3296 struct rmon_mib __iomem *rmon = &priv->gfargrp[0].regs->rmon; in gfar_probe()
3324 struct gfar_priv_grp *grp = &priv->gfargrp[i]; in gfar_probe()
3390 struct gfar __iomem *regs = priv->gfargrp[0].regs; in __gfar_filer_disable()
3400 struct gfar __iomem *regs = priv->gfargrp[0].regs; in __gfar_filer_enable()
3426 u8 qindex = (u8)priv->gfargrp[0].rx_queue->qindex; in gfar_filer_config_wol()
3466 struct gfar __iomem *regs = priv->gfargrp[0].regs; in gfar_start_wol_filer()
3484 regs = priv->gfargrp[i].regs; in gfar_start_wol_filer()
3486 gfar_write(®s->rstat, priv->gfargrp[i].rstat); in gfar_start_wol_filer()
3501 struct gfar __iomem *regs = priv->gfargrp[0].regs; in gfar_suspend()
3544 struct gfar __iomem *regs = priv->gfargrp[0].regs; in gfar_resume()