Lines Matching refs:uf_info

98 	.uf_info = {
230 ugeth->ug_info->uf_info.max_rx_buf_length + in get_new_skb()
246 ugeth->ug_info->uf_info.max_rx_buf_length + in get_new_skb()
442 ucc_fast_get_qe_cr_subblock(ugeth->ug_info->uf_info.ucc_num); in hw_add_addr_in_hash()
604 pr_info("UCC%d Geth registers:\n", ugeth->ug_info->uf_info.ucc_num + 1); in dump_regs()
1394 ucc_fast_get_qe_cr_subblock(ugeth->ug_info->uf_info.ucc_num); in ugeth_graceful_stop_tx()
1428 ucc_fast_get_qe_cr_subblock(ugeth->ug_info->uf_info. in ugeth_graceful_stop_rx()
1449 ucc_fast_get_qe_cr_subblock(ugeth->ug_info->uf_info.ucc_num); in ugeth_restart_tx()
1464 ucc_fast_get_qe_cr_subblock(ugeth->ug_info->uf_info.ucc_num); in ugeth_restart_rx()
1480 if (ugeth->ug_info->uf_info.ucc_num >= UCC_MAX_NUM) { in ugeth_enable()
1509 if (ugeth->ug_info->uf_info.ucc_num >= UCC_MAX_NUM) { in ugeth_disable()
1534 disable_irq(ugeth->ug_info->uf_info.irq); in ugeth_quiesce()
1543 enable_irq(ugeth->ug_info->uf_info.irq); in ugeth_activate()
1809 struct ucc_fast_info *uf_info; in ucc_geth_free_rx() local
1815 uf_info = &ug_info->uf_info; in ucc_geth_free_rx()
1826 uf_info.max_rx_buf_length + in ucc_geth_free_rx()
1848 struct ucc_fast_info *uf_info; in ucc_geth_free_tx() local
1855 uf_info = &ug_info->uf_info; in ucc_geth_free_tx()
2026 struct ucc_fast_info *uf_info; in ucc_struct_init() local
2030 uf_info = &ug_info->uf_info; in ucc_struct_init()
2053 if ((uf_info->max_rx_buf_length == 0) || in ucc_struct_init()
2054 (uf_info->max_rx_buf_length % UCC_GETH_MRBLR_ALIGNMENT)) { in ucc_struct_init()
2107 uf_info->uccm_mask = ug_info->eventRegMask & UCCE_OTHER;/* Errors */ in ucc_struct_init()
2109 uf_info->uccm_mask |= (UCC_GETH_UCCE_RXF0 << i); in ucc_struct_init()
2112 uf_info->uccm_mask |= (UCC_GETH_UCCE_TXB0 << i); in ucc_struct_init()
2114 if (ucc_fast_init(uf_info, &ugeth->uccf)) { in ucc_struct_init()
2128 ugeth->ug_regs = ioremap(uf_info->regs, sizeof(*ugeth->ug_regs)); in ucc_struct_init()
2141 struct ucc_fast_info *uf_info; in ucc_geth_alloc_tx() local
2147 uf_info = &ug_info->uf_info; in ucc_geth_alloc_tx()
2203 struct ucc_fast_info *uf_info; in ucc_geth_alloc_rx() local
2209 uf_info = &ug_info->uf_info; in ucc_geth_alloc_rx()
2264 struct ucc_fast_info *uf_info; in ucc_geth_startup() local
2280 uf_info = &ug_info->uf_info; in ucc_geth_startup()
2618 init_max_rx_buff_len(uf_info->max_rx_buf_length, in ucc_geth_startup()
2900 ucc_fast_get_qe_cr_subblock(ugeth->ug_info->uf_info.ucc_num); in ucc_geth_startup()
3192 int irq = ugeth->ug_info->uf_info.irq; in ucc_netpoll()
3305 err = request_irq(ugeth->ug_info->uf_info.irq, ucc_geth_irq_handler, in ucc_geth_open()
3342 free_irq(ugeth->ug_info->uf_info.irq, ugeth->ndev); in ucc_geth_close()
3597 ug_info->uf_info.ucc_num = ucc_num; in ucc_geth_probe()
3599 err = ucc_geth_parse_clock(np, "rx", &ug_info->uf_info.rx_clock); in ucc_geth_probe()
3602 err = ucc_geth_parse_clock(np, "tx", &ug_info->uf_info.tx_clock); in ucc_geth_probe()
3610 ug_info->uf_info.regs = res.start; in ucc_geth_probe()
3611 ug_info->uf_info.irq = irq_of_parse_and_map(np, 0); in ucc_geth_probe()
3664 ug_info->uf_info.urfs = UCC_GETH_URFS_GIGA_INIT; in ucc_geth_probe()
3665 ug_info->uf_info.urfet = UCC_GETH_URFET_GIGA_INIT; in ucc_geth_probe()
3666 ug_info->uf_info.urfset = UCC_GETH_URFSET_GIGA_INIT; in ucc_geth_probe()
3667 ug_info->uf_info.utfs = UCC_GETH_UTFS_GIGA_INIT; in ucc_geth_probe()
3668 ug_info->uf_info.utfet = UCC_GETH_UTFET_GIGA_INIT; in ucc_geth_probe()
3669 ug_info->uf_info.utftt = UCC_GETH_UTFTT_GIGA_INIT; in ucc_geth_probe()
3684 ug_info->uf_info.ucc_num + 1, in ucc_geth_probe()
3685 (u64)ug_info->uf_info.regs, in ucc_geth_probe()
3686 ug_info->uf_info.irq); in ucc_geth_probe()
3706 dev->base_addr = (unsigned long)(ug_info->uf_info.regs); in ucc_geth_probe()