Lines Matching refs:uccf

1302 	uf_regs = ugeth->uccf->uf_regs;  in adjust_enet_interface()
1381 struct ucc_fast_private *uccf; in ugeth_graceful_stop_tx() local
1386 uccf = ugeth->uccf; in ugeth_graceful_stop_tx()
1389 clrbits32(uccf->p_uccm, UCC_GETH_UCCE_GRA); in ugeth_graceful_stop_tx()
1390 out_be32(uccf->p_ucce, UCC_GETH_UCCE_GRA); /* clear by writing 1 */ in ugeth_graceful_stop_tx()
1401 temp = in_be32(uccf->p_ucce); in ugeth_graceful_stop_tx()
1404 uccf->stopped_tx = 1; in ugeth_graceful_stop_tx()
1411 struct ucc_fast_private *uccf; in ugeth_graceful_stop_rx() local
1416 uccf = ugeth->uccf; in ugeth_graceful_stop_rx()
1436 uccf->stopped_rx = 1; in ugeth_graceful_stop_rx()
1443 struct ucc_fast_private *uccf; in ugeth_restart_tx() local
1446 uccf = ugeth->uccf; in ugeth_restart_tx()
1451 uccf->stopped_tx = 0; in ugeth_restart_tx()
1458 struct ucc_fast_private *uccf; in ugeth_restart_rx() local
1461 uccf = ugeth->uccf; in ugeth_restart_rx()
1467 uccf->stopped_rx = 0; in ugeth_restart_rx()
1474 struct ucc_fast_private *uccf; in ugeth_enable() local
1477 uccf = ugeth->uccf; in ugeth_enable()
1486 enabled_tx = uccf->enabled_tx; in ugeth_enable()
1487 enabled_rx = uccf->enabled_rx; in ugeth_enable()
1491 if ((mode & COMM_DIR_TX) && (!enabled_tx) && uccf->stopped_tx) in ugeth_enable()
1493 if ((mode & COMM_DIR_RX) && (!enabled_rx) && uccf->stopped_rx) in ugeth_enable()
1496 ucc_fast_enable(uccf, mode); /* OK to do even if not disabled */ in ugeth_enable()
1504 struct ucc_fast_private *uccf; in ugeth_disable() local
1506 uccf = ugeth->uccf; in ugeth_disable()
1516 if ((mode & COMM_DIR_TX) && uccf->enabled_tx && !uccf->stopped_tx) in ugeth_disable()
1520 if ((mode & COMM_DIR_RX) && uccf->enabled_rx && !uccf->stopped_rx) in ugeth_disable()
1523 ucc_fast_disable(ugeth->uccf, mode); /* OK to do even if not enabled */ in ugeth_disable()
1566 uf_regs = ugeth->uccf->uf_regs; in adjust_link()
1731 ucc_fast_dump_regs(ugeth->uccf); in ugeth_dump_regs()
1743 struct ucc_fast_private *uccf; in ugeth_82xx_filtering_clear_all_addr_in_hash() local
1751 uccf = ugeth->uccf; in ugeth_82xx_filtering_clear_all_addr_in_hash()
1771 if (uccf->enabled_tx) in ugeth_82xx_filtering_clear_all_addr_in_hash()
1773 if (uccf->enabled_rx) in ugeth_82xx_filtering_clear_all_addr_in_hash()
1886 if (ugeth->uccf) { in ucc_geth_memclean()
1887 ucc_fast_free(ugeth->uccf); in ucc_geth_memclean()
1888 ugeth->uccf = NULL; in ucc_geth_memclean()
1961 uf_regs = ugeth->uccf->uf_regs; in ucc_geth_set_multi()
2012 out_be32(ugeth->uccf->p_uccm, 0x00000000); in ucc_geth_stop()
2015 out_be32(ugeth->uccf->p_ucce, 0xffffffff); in ucc_geth_stop()
2114 if (ucc_fast_init(uf_info, &ugeth->uccf)) { in ucc_struct_init()
2262 struct ucc_fast_private *uccf; in ucc_geth_startup() local
2278 uccf = ugeth->uccf; in ucc_geth_startup()
2281 uf_regs = uccf->uf_regs; in ucc_geth_startup()
2917 struct ucc_fast_private *uccf; in ucc_geth_start_xmit() local
2981 uccf = ugeth->uccf; in ucc_geth_start_xmit()
2982 out_be16(uccf->p_utodr, UCC_FAST_TOD); in ucc_geth_start_xmit()
3137 setbits32(ugeth->uccf->p_uccm, UCCE_RX_EVENTS | UCCE_TX_EVENTS); in ucc_geth_poll()
3147 struct ucc_fast_private *uccf; in ucc_geth_irq_handler() local
3154 uccf = ugeth->uccf; in ucc_geth_irq_handler()
3158 ucce = (u32) in_be32(uccf->p_ucce); in ucc_geth_irq_handler()
3159 uccm = (u32) in_be32(uccf->p_uccm); in ucc_geth_irq_handler()
3161 out_be32(uccf->p_ucce, ucce); in ucc_geth_irq_handler()
3167 out_be32(uccf->p_uccm, uccm); in ucc_geth_irq_handler()
3413 setbits32(ugeth->uccf->p_uccm, UCC_GETH_UCCE_MPD); in ucc_geth_suspend()
3415 ucc_fast_enable(ugeth->uccf, COMM_DIR_RX_AND_TX); in ucc_geth_suspend()
3434 ucc_fast_disable(ugeth->uccf, COMM_DIR_RX_AND_TX); in ucc_geth_resume()
3436 clrbits32(ugeth->uccf->p_uccm, UCC_GETH_UCCE_MPD); in ucc_geth_resume()