ug_info 212 drivers/net/ethernet/freescale/ucc_geth.c ugeth->ug_info->uf_info.max_rx_buf_length + ug_info 228 drivers/net/ethernet/freescale/ucc_geth.c ugeth->ug_info->uf_info.max_rx_buf_length + ug_info 424 drivers/net/ethernet/freescale/ucc_geth.c ucc_fast_get_qe_cr_subblock(ugeth->ug_info->uf_info.ucc_num); ug_info 562 drivers/net/ethernet/freescale/ucc_geth.c for (i = 0; i < ugeth->ug_info->numQueuesTx; i++) { ug_info 565 drivers/net/ethernet/freescale/ucc_geth.c (ugeth->ug_info->bdRingLenTx[i] * ug_info 571 drivers/net/ethernet/freescale/ucc_geth.c for (i = 0; i < ugeth->ug_info->numQueuesRx; i++) { ug_info 574 drivers/net/ethernet/freescale/ucc_geth.c (ugeth->ug_info->bdRingLenRx[i] * ug_info 586 drivers/net/ethernet/freescale/ucc_geth.c pr_info("UCC%d Geth registers:\n", ugeth->ug_info->uf_info.ucc_num + 1); ug_info 676 drivers/net/ethernet/freescale/ucc_geth.c switch (ugeth->ug_info->numThreadsTx) { ug_info 710 drivers/net/ethernet/freescale/ucc_geth.c switch (ugeth->ug_info->numThreadsRx) { ug_info 909 drivers/net/ethernet/freescale/ucc_geth.c for (i = 0; i < ugeth->ug_info->numQueuesTx; i++) { ug_info 941 drivers/net/ethernet/freescale/ucc_geth.c for (i = 0; i < ugeth->ug_info->numQueuesRx; i++) { ug_info 963 drivers/net/ethernet/freescale/ucc_geth.c for (i = 0; i < ugeth->ug_info->numQueuesRx; i++) { ug_info 1001 drivers/net/ethernet/freescale/ucc_geth.c if (ugeth->ug_info->rxExtendedFiltering) { ug_info 1004 drivers/net/ethernet/freescale/ucc_geth.c if (ugeth->ug_info->largestexternallookupkeysize == ug_info 1008 drivers/net/ethernet/freescale/ucc_geth.c if (ugeth->ug_info->largestexternallookupkeysize == ug_info 1019 drivers/net/ethernet/freescale/ucc_geth.c ugeth->ug_info->riscTx, 0); ug_info 1024 drivers/net/ethernet/freescale/ucc_geth.c ugeth->ug_info->riscRx, 1); ug_info 1313 drivers/net/ethernet/freescale/ucc_geth.c struct ucc_geth_info *ug_info; ug_info 1322 drivers/net/ethernet/freescale/ucc_geth.c ug_info = ugeth->ug_info; ug_info 1334 drivers/net/ethernet/freescale/ucc_geth.c maccfg2 |= ug_info->padAndCrc; ug_info 1372 drivers/net/ethernet/freescale/ucc_geth.c struct ucc_geth_info *ug_info = ugeth->ug_info; ug_info 1375 drivers/net/ethernet/freescale/ucc_geth.c if (!ug_info->tbi_node) ug_info 1378 drivers/net/ethernet/freescale/ucc_geth.c tbiphy = of_phy_find_device(ug_info->tbi_node); ug_info 1389 drivers/net/ethernet/freescale/ucc_geth.c init_check_frame_length_mode(ug_info->lengthCheckRx, &ug_regs->maccfg2); ug_info 1391 drivers/net/ethernet/freescale/ucc_geth.c ret_val = init_preamble_length(ug_info->prel, &ug_regs->maccfg2); ug_info 1416 drivers/net/ethernet/freescale/ucc_geth.c ucc_fast_get_qe_cr_subblock(ugeth->ug_info->uf_info.ucc_num); ug_info 1450 drivers/net/ethernet/freescale/ucc_geth.c ucc_fast_get_qe_cr_subblock(ugeth->ug_info->uf_info. ug_info 1471 drivers/net/ethernet/freescale/ucc_geth.c ucc_fast_get_qe_cr_subblock(ugeth->ug_info->uf_info.ucc_num); ug_info 1486 drivers/net/ethernet/freescale/ucc_geth.c ucc_fast_get_qe_cr_subblock(ugeth->ug_info->uf_info.ucc_num); ug_info 1502 drivers/net/ethernet/freescale/ucc_geth.c if (ugeth->ug_info->uf_info.ucc_num >= UCC_MAX_NUM) { ug_info 1531 drivers/net/ethernet/freescale/ucc_geth.c if (ugeth->ug_info->uf_info.ucc_num >= UCC_MAX_NUM) { ug_info 1556 drivers/net/ethernet/freescale/ucc_geth.c disable_irq(ugeth->ug_info->uf_info.irq); ug_info 1565 drivers/net/ethernet/freescale/ucc_geth.c enable_irq(ugeth->ug_info->uf_info.irq); ug_info 1684 drivers/net/ethernet/freescale/ucc_geth.c struct ucc_geth_info *ug_info = ugeth->ug_info; ug_info 1687 drivers/net/ethernet/freescale/ucc_geth.c if (!ug_info->tbi_node) { ug_info 1693 drivers/net/ethernet/freescale/ucc_geth.c tbiphy = of_phy_find_device(ug_info->tbi_node); ug_info 1726 drivers/net/ethernet/freescale/ucc_geth.c struct ucc_geth_info *ug_info = priv->ug_info; ug_info 1733 drivers/net/ethernet/freescale/ucc_geth.c phydev = of_phy_connect(dev, ug_info->phy_node, &adjust_link, 0, ug_info 1830 drivers/net/ethernet/freescale/ucc_geth.c struct ucc_geth_info *ug_info; ug_info 1836 drivers/net/ethernet/freescale/ucc_geth.c ug_info = ugeth->ug_info; ug_info 1837 drivers/net/ethernet/freescale/ucc_geth.c uf_info = &ug_info->uf_info; ug_info 1839 drivers/net/ethernet/freescale/ucc_geth.c for (i = 0; i < ugeth->ug_info->numQueuesRx; i++) { ug_info 1843 drivers/net/ethernet/freescale/ucc_geth.c for (j = 0; j < ugeth->ug_info->bdRingLenRx[i]; j++) { ug_info 1847 drivers/net/ethernet/freescale/ucc_geth.c ugeth->ug_info-> ug_info 1860 drivers/net/ethernet/freescale/ucc_geth.c if (ugeth->ug_info->uf_info.bd_mem_part == ug_info 1863 drivers/net/ethernet/freescale/ucc_geth.c else if (ugeth->ug_info->uf_info.bd_mem_part == ug_info 1874 drivers/net/ethernet/freescale/ucc_geth.c struct ucc_geth_info *ug_info; ug_info 1881 drivers/net/ethernet/freescale/ucc_geth.c ug_info = ugeth->ug_info; ug_info 1882 drivers/net/ethernet/freescale/ucc_geth.c uf_info = &ug_info->uf_info; ug_info 1884 drivers/net/ethernet/freescale/ucc_geth.c for (i = 0; i < ugeth->ug_info->numQueuesTx; i++) { ug_info 1888 drivers/net/ethernet/freescale/ucc_geth.c for (j = 0; j < ugeth->ug_info->bdRingLenTx[i]; j++) { ug_info 1903 drivers/net/ethernet/freescale/ucc_geth.c if (ugeth->ug_info->uf_info.bd_mem_part == ug_info 1906 drivers/net/ethernet/freescale/ucc_geth.c else if (ugeth->ug_info->uf_info.bd_mem_part == ug_info 1974 drivers/net/ethernet/freescale/ucc_geth.c ugeth->ug_info->riscRx, 1); ug_info 1979 drivers/net/ethernet/freescale/ucc_geth.c ugeth->ug_info->riscTx, 0); ug_info 2070 drivers/net/ethernet/freescale/ucc_geth.c struct ucc_geth_info *ug_info; ug_info 2074 drivers/net/ethernet/freescale/ucc_geth.c ug_info = ugeth->ug_info; ug_info 2075 drivers/net/ethernet/freescale/ucc_geth.c uf_info = &ug_info->uf_info; ug_info 2085 drivers/net/ethernet/freescale/ucc_geth.c for (i = 0; i < ug_info->numQueuesRx; i++) { ug_info 2086 drivers/net/ethernet/freescale/ucc_geth.c if ((ug_info->bdRingLenRx[i] < UCC_GETH_RX_BD_RING_SIZE_MIN) || ug_info 2087 drivers/net/ethernet/freescale/ucc_geth.c (ug_info->bdRingLenRx[i] % ug_info 2096 drivers/net/ethernet/freescale/ucc_geth.c for (i = 0; i < ug_info->numQueuesTx; i++) { ug_info 2097 drivers/net/ethernet/freescale/ucc_geth.c if (ug_info->bdRingLenTx[i] < UCC_GETH_TX_BD_RING_SIZE_MIN) { ug_info 2113 drivers/net/ethernet/freescale/ucc_geth.c if (ug_info->numQueuesTx > NUM_TX_QUEUES) { ug_info 2120 drivers/net/ethernet/freescale/ucc_geth.c if (ug_info->numQueuesRx > NUM_RX_QUEUES) { ug_info 2128 drivers/net/ethernet/freescale/ucc_geth.c if (ug_info->l2qt[i] >= ug_info->numQueuesRx) { ug_info 2137 drivers/net/ethernet/freescale/ucc_geth.c if (ug_info->l3qt[i] >= ug_info->numQueuesRx) { ug_info 2144 drivers/net/ethernet/freescale/ucc_geth.c if (ug_info->cam && !ug_info->ecamptr) { ug_info 2150 drivers/net/ethernet/freescale/ucc_geth.c if ((ug_info->numStationAddresses != ug_info 2152 drivers/net/ethernet/freescale/ucc_geth.c ug_info->rxExtendedFiltering) { ug_info 2159 drivers/net/ethernet/freescale/ucc_geth.c uf_info->uccm_mask = ug_info->eventRegMask & UCCE_OTHER;/* Errors */ ug_info 2160 drivers/net/ethernet/freescale/ucc_geth.c for (i = 0; i < ug_info->numQueuesRx; i++) ug_info 2163 drivers/net/ethernet/freescale/ucc_geth.c for (i = 0; i < ug_info->numQueuesTx; i++) ug_info 2176 drivers/net/ethernet/freescale/ucc_geth.c ug_info->riscTx = QE_RISC_ALLOCATION_FOUR_RISCS; ug_info 2177 drivers/net/ethernet/freescale/ucc_geth.c ug_info->riscRx = QE_RISC_ALLOCATION_FOUR_RISCS; ug_info 2192 drivers/net/ethernet/freescale/ucc_geth.c struct ucc_geth_info *ug_info; ug_info 2198 drivers/net/ethernet/freescale/ucc_geth.c ug_info = ugeth->ug_info; ug_info 2199 drivers/net/ethernet/freescale/ucc_geth.c uf_info = &ug_info->uf_info; ug_info 2202 drivers/net/ethernet/freescale/ucc_geth.c for (j = 0; j < ug_info->numQueuesTx; j++) { ug_info 2206 drivers/net/ethernet/freescale/ucc_geth.c length = ((ug_info->bdRingLenTx[j] * sizeof(struct qe_bd)) ug_info 2209 drivers/net/ethernet/freescale/ucc_geth.c if ((ug_info->bdRingLenTx[j] * sizeof(struct qe_bd)) % ug_info 2239 drivers/net/ethernet/freescale/ucc_geth.c ug_info->bdRingLenTx[j] * sizeof(struct qe_bd)), 0, ug_info 2240 drivers/net/ethernet/freescale/ucc_geth.c length - ug_info->bdRingLenTx[j] * sizeof(struct qe_bd)); ug_info 2244 drivers/net/ethernet/freescale/ucc_geth.c for (j = 0; j < ug_info->numQueuesTx; j++) { ug_info 2247 drivers/net/ethernet/freescale/ucc_geth.c kmalloc_array(ugeth->ug_info->bdRingLenTx[j], ug_info 2256 drivers/net/ethernet/freescale/ucc_geth.c for (i = 0; i < ugeth->ug_info->bdRingLenTx[j]; i++) ug_info 2261 drivers/net/ethernet/freescale/ucc_geth.c for (i = 0; i < ug_info->bdRingLenTx[j]; i++) { ug_info 2278 drivers/net/ethernet/freescale/ucc_geth.c struct ucc_geth_info *ug_info; ug_info 2284 drivers/net/ethernet/freescale/ucc_geth.c ug_info = ugeth->ug_info; ug_info 2285 drivers/net/ethernet/freescale/ucc_geth.c uf_info = &ug_info->uf_info; ug_info 2288 drivers/net/ethernet/freescale/ucc_geth.c for (j = 0; j < ug_info->numQueuesRx; j++) { ug_info 2289 drivers/net/ethernet/freescale/ucc_geth.c length = ug_info->bdRingLenRx[j] * sizeof(struct qe_bd); ug_info 2317 drivers/net/ethernet/freescale/ucc_geth.c for (j = 0; j < ug_info->numQueuesRx; j++) { ug_info 2320 drivers/net/ethernet/freescale/ucc_geth.c kmalloc_array(ugeth->ug_info->bdRingLenRx[j], ug_info 2329 drivers/net/ethernet/freescale/ucc_geth.c for (i = 0; i < ugeth->ug_info->bdRingLenRx[j]; i++) ug_info 2334 drivers/net/ethernet/freescale/ucc_geth.c for (i = 0; i < ug_info->bdRingLenRx[j]; i++) { ug_info 2354 drivers/net/ethernet/freescale/ucc_geth.c struct ucc_geth_info *ug_info; ug_info 2370 drivers/net/ethernet/freescale/ucc_geth.c ug_info = ugeth->ug_info; ug_info 2371 drivers/net/ethernet/freescale/ucc_geth.c uf_info = &ug_info->uf_info; ug_info 2375 drivers/net/ethernet/freescale/ucc_geth.c switch (ug_info->numThreadsRx) { ug_info 2397 drivers/net/ethernet/freescale/ucc_geth.c switch (ug_info->numThreadsTx) { ug_info 2420 drivers/net/ethernet/freescale/ucc_geth.c ugeth->rx_non_dynamic_extended_features = ug_info->ipCheckSumCheck || ug_info 2421 drivers/net/ethernet/freescale/ucc_geth.c ug_info->ipAddressAlignment || ug_info 2422 drivers/net/ethernet/freescale/ucc_geth.c (ug_info->numStationAddresses != ug_info 2426 drivers/net/ethernet/freescale/ucc_geth.c (ug_info->vlanOperationTagged != UCC_GETH_VLAN_OPERATION_TAGGED_NOP) || ug_info 2427 drivers/net/ethernet/freescale/ucc_geth.c (ug_info->vlanOperationNonTagged != ug_info 2435 drivers/net/ethernet/freescale/ucc_geth.c init_rx_parameters(ug_info->bro, ug_info 2436 drivers/net/ethernet/freescale/ucc_geth.c ug_info->rsh, ug_info->pro, &uf_regs->upsmr); ug_info 2443 drivers/net/ethernet/freescale/ucc_geth.c init_flow_control_params(ug_info->aufc, ug_info 2444 drivers/net/ethernet/freescale/ucc_geth.c ug_info->receiveFlowControl, ug_info 2445 drivers/net/ethernet/freescale/ucc_geth.c ug_info->transmitFlowControl, ug_info 2446 drivers/net/ethernet/freescale/ucc_geth.c ug_info->pausePeriod, ug_info 2447 drivers/net/ethernet/freescale/ucc_geth.c ug_info->extensionField, ug_info 2455 drivers/net/ethernet/freescale/ucc_geth.c ret_val = init_inter_frame_gap_params(ug_info->nonBackToBackIfgPart1, ug_info 2456 drivers/net/ethernet/freescale/ucc_geth.c ug_info->nonBackToBackIfgPart2, ug_info 2457 drivers/net/ethernet/freescale/ucc_geth.c ug_info-> ug_info 2459 drivers/net/ethernet/freescale/ucc_geth.c ug_info->backToBackInterFrameGap, ug_info 2469 drivers/net/ethernet/freescale/ucc_geth.c ret_val = init_half_duplex_params(ug_info->altBeb, ug_info 2470 drivers/net/ethernet/freescale/ucc_geth.c ug_info->backPressureNoBackoff, ug_info 2471 drivers/net/ethernet/freescale/ucc_geth.c ug_info->noBackoff, ug_info 2472 drivers/net/ethernet/freescale/ucc_geth.c ug_info->excessDefer, ug_info 2473 drivers/net/ethernet/freescale/ucc_geth.c ug_info->altBebTruncation, ug_info 2474 drivers/net/ethernet/freescale/ucc_geth.c ug_info->maxRetransmission, ug_info 2475 drivers/net/ethernet/freescale/ucc_geth.c ug_info->collisionWindow, ug_info 2494 drivers/net/ethernet/freescale/ucc_geth.c init_hw_statistics_gathering_mode((ug_info->statisticsMode & ug_info 2548 drivers/net/ethernet/freescale/ucc_geth.c ug_info->vtagtable[i]); ug_info 2553 drivers/net/ethernet/freescale/ucc_geth.c ug_info->iphoffset[i]); ug_info 2558 drivers/net/ethernet/freescale/ucc_geth.c qe_muram_alloc(ug_info->numQueuesTx * ug_info 2574 drivers/net/ethernet/freescale/ucc_geth.c for (i = 0; i < ug_info->numQueuesTx; i++) { ug_info 2576 drivers/net/ethernet/freescale/ucc_geth.c ugeth->p_tx_bd_ring[i] + (ug_info->bdRingLenTx[i] - ug_info 2578 drivers/net/ethernet/freescale/ucc_geth.c if (ugeth->ug_info->uf_info.bd_mem_part == MEM_PART_SYSTEM) { ug_info 2584 drivers/net/ethernet/freescale/ucc_geth.c } else if (ugeth->ug_info->uf_info.bd_mem_part == ug_info 2596 drivers/net/ethernet/freescale/ucc_geth.c if (ug_info->numQueuesTx > 1) { ug_info 2617 drivers/net/ethernet/freescale/ucc_geth.c ug_info->mblinterval); ug_info 2619 drivers/net/ethernet/freescale/ucc_geth.c ug_info->nortsrbytetime); ug_info 2620 drivers/net/ethernet/freescale/ucc_geth.c out_8(&ugeth->p_scheduler->fracsiz, ug_info->fracsiz); ug_info 2622 drivers/net/ethernet/freescale/ucc_geth.c ug_info->strictpriorityq); ug_info 2623 drivers/net/ethernet/freescale/ucc_geth.c out_8(&ugeth->p_scheduler->txasap, ug_info->txasap); ug_info 2624 drivers/net/ethernet/freescale/ucc_geth.c out_8(&ugeth->p_scheduler->extrabw, ug_info->extrabw); ug_info 2627 drivers/net/ethernet/freescale/ucc_geth.c ug_info->weightfactor[i]); ug_info 2642 drivers/net/ethernet/freescale/ucc_geth.c if (ug_info-> ug_info 2664 drivers/net/ethernet/freescale/ucc_geth.c if (ug_info->numQueuesTx > 1) ug_info 2666 drivers/net/ethernet/freescale/ucc_geth.c if (ug_info->ipCheckSumGenerate) ug_info 2668 drivers/net/ethernet/freescale/ucc_geth.c temoder |= ((ug_info->numQueuesTx - 1) << TEMODER_NUM_OF_QUEUES_SHIFT); ug_info 2716 drivers/net/ethernet/freescale/ucc_geth.c out_be16(&ugeth->p_rx_glbl_pram->typeorlen, ug_info->typeorlen); ug_info 2719 drivers/net/ethernet/freescale/ucc_geth.c if (ug_info-> ug_info 2742 drivers/net/ethernet/freescale/ucc_geth.c qe_muram_alloc(ug_info->numQueuesRx * ug_info 2758 drivers/net/ethernet/freescale/ucc_geth.c for (i = 0; i < ug_info->numQueuesRx; i++) { ug_info 2761 drivers/net/ethernet/freescale/ucc_geth.c ug_info->interruptcoalescingmaxvalue[i]); ug_info 2764 drivers/net/ethernet/freescale/ucc_geth.c ug_info->interruptcoalescingmaxvalue[i]); ug_info 2771 drivers/net/ethernet/freescale/ucc_geth.c out_be16(&ugeth->p_rx_glbl_pram->mflr, ug_info->maxFrameLength); ug_info 2773 drivers/net/ethernet/freescale/ucc_geth.c init_min_frame_len(ug_info->minFrameLength, ug_info 2777 drivers/net/ethernet/freescale/ucc_geth.c out_be16(&ugeth->p_rx_glbl_pram->maxd1, ug_info->maxD1Length); ug_info 2779 drivers/net/ethernet/freescale/ucc_geth.c out_be16(&ugeth->p_rx_glbl_pram->maxd2, ug_info->maxD2Length); ug_info 2784 drivers/net/ethernet/freescale/ucc_geth.c l2qt |= (ug_info->l2qt[i] << (28 - 4 * i)); ug_info 2791 drivers/net/ethernet/freescale/ucc_geth.c l3qt |= (ug_info->l3qt[j + i] << (28 - 4 * i)); ug_info 2796 drivers/net/ethernet/freescale/ucc_geth.c out_be16(&ugeth->p_rx_glbl_pram->vlantype, ug_info->vlantype); ug_info 2799 drivers/net/ethernet/freescale/ucc_geth.c out_be16(&ugeth->p_rx_glbl_pram->vlantci, ug_info->vlantci); ug_info 2802 drivers/net/ethernet/freescale/ucc_geth.c out_be32(&ugeth->p_rx_glbl_pram->ecamptr, ug_info->ecamptr); ug_info 2807 drivers/net/ethernet/freescale/ucc_geth.c qe_muram_alloc(ug_info->numQueuesRx * ug_info 2824 drivers/net/ethernet/freescale/ucc_geth.c ug_info->numQueuesRx * (sizeof(struct ucc_geth_rx_bd_queues_entry) + ug_info 2829 drivers/net/ethernet/freescale/ucc_geth.c for (i = 0; i < ug_info->numQueuesRx; i++) { ug_info 2830 drivers/net/ethernet/freescale/ucc_geth.c if (ugeth->ug_info->uf_info.bd_mem_part == MEM_PART_SYSTEM) { ug_info 2833 drivers/net/ethernet/freescale/ucc_geth.c } else if (ugeth->ug_info->uf_info.bd_mem_part == ug_info 2846 drivers/net/ethernet/freescale/ucc_geth.c if (ug_info->rxExtendedFiltering) ug_info 2848 drivers/net/ethernet/freescale/ucc_geth.c if (ug_info->dynamicMaxFrameLength) ug_info 2850 drivers/net/ethernet/freescale/ucc_geth.c if (ug_info->dynamicMinFrameLength) ug_info 2853 drivers/net/ethernet/freescale/ucc_geth.c ug_info->vlanOperationTagged << REMODER_VLAN_OPERATION_TAGGED_SHIFT; ug_info 2855 drivers/net/ethernet/freescale/ucc_geth.c ug_info-> ug_info 2857 drivers/net/ethernet/freescale/ucc_geth.c remoder |= ug_info->rxQoSMode << REMODER_RX_QOS_MODE_SHIFT; ug_info 2858 drivers/net/ethernet/freescale/ucc_geth.c remoder |= ((ug_info->numQueuesRx - 1) << REMODER_NUM_OF_QUEUES_SHIFT); ug_info 2859 drivers/net/ethernet/freescale/ucc_geth.c if (ug_info->ipCheckSumCheck) ug_info 2861 drivers/net/ethernet/freescale/ucc_geth.c if (ug_info->ipAddressAlignment) ug_info 2868 drivers/net/ethernet/freescale/ucc_geth.c init_firmware_statistics_gathering_mode((ug_info-> ug_info 2871 drivers/net/ethernet/freescale/ucc_geth.c (ug_info->statisticsMode & ug_info 2884 drivers/net/ethernet/freescale/ucc_geth.c if (ug_info->rxExtendedFiltering) { ug_info 2885 drivers/net/ethernet/freescale/ucc_geth.c if (!ug_info->extendedFilteringChainPointer) { ug_info 2908 drivers/net/ethernet/freescale/ucc_geth.c (u32) ug_info->extendedFilteringChainPointer); ug_info 2963 drivers/net/ethernet/freescale/ucc_geth.c ((u32) ug_info->numThreadsRx) << ENET_INIT_PARAM_RGF_SHIFT; ug_info 2965 drivers/net/ethernet/freescale/ucc_geth.c ((u32) ug_info->numThreadsTx) << ENET_INIT_PARAM_TGF_SHIFT; ug_info 2968 drivers/net/ethernet/freescale/ucc_geth.c ugeth->rx_glbl_pram_offset | ug_info->riscRx; ug_info 2969 drivers/net/ethernet/freescale/ucc_geth.c if ((ug_info->largestexternallookupkeysize != ug_info 2971 drivers/net/ethernet/freescale/ucc_geth.c (ug_info->largestexternallookupkeysize != ug_info 2973 drivers/net/ethernet/freescale/ucc_geth.c (ug_info->largestexternallookupkeysize != ug_info 2980 drivers/net/ethernet/freescale/ucc_geth.c ug_info->largestexternallookupkeysize; ug_info 2982 drivers/net/ethernet/freescale/ucc_geth.c if (ug_info->rxExtendedFiltering) { ug_info 2984 drivers/net/ethernet/freescale/ucc_geth.c if (ug_info->largestexternallookupkeysize == ug_info 2988 drivers/net/ethernet/freescale/ucc_geth.c if (ug_info->largestexternallookupkeysize == ug_info 2999 drivers/net/ethernet/freescale/ucc_geth.c ug_info->riscRx, 1)) != 0) { ug_info 3006 drivers/net/ethernet/freescale/ucc_geth.c ugeth->tx_glbl_pram_offset | ug_info->riscTx; ug_info 3013 drivers/net/ethernet/freescale/ucc_geth.c ug_info->riscTx, 0)) != 0) { ug_info 3020 drivers/net/ethernet/freescale/ucc_geth.c for (i = 0; i < ug_info->numQueuesRx; i++) { ug_info 3064 drivers/net/ethernet/freescale/ucc_geth.c ucc_fast_get_qe_cr_subblock(ugeth->ug_info->uf_info.ucc_num); ug_info 3104 drivers/net/ethernet/freescale/ucc_geth.c 1) & TX_RING_MOD_MASK(ugeth->ug_info->bdRingLenTx[txQ]); ug_info 3217 drivers/net/ethernet/freescale/ucc_geth.c 1) & RX_RING_MOD_MASK(ugeth->ug_info->bdRingLenRx[rxQ]); ug_info 3263 drivers/net/ethernet/freescale/ucc_geth.c 1) & TX_RING_MOD_MASK(ugeth->ug_info->bdRingLenTx[txQ]); ug_info 3284 drivers/net/ethernet/freescale/ucc_geth.c struct ucc_geth_info *ug_info; ug_info 3287 drivers/net/ethernet/freescale/ucc_geth.c ug_info = ugeth->ug_info; ug_info 3291 drivers/net/ethernet/freescale/ucc_geth.c for (i = 0; i < ug_info->numQueuesTx; i++) ug_info 3296 drivers/net/ethernet/freescale/ucc_geth.c for (i = 0; i < ug_info->numQueuesRx; i++) ug_info 3312 drivers/net/ethernet/freescale/ucc_geth.c struct ucc_geth_info *ug_info; ug_info 3319 drivers/net/ethernet/freescale/ucc_geth.c ug_info = ugeth->ug_info; ug_info 3356 drivers/net/ethernet/freescale/ucc_geth.c int irq = ugeth->ug_info->uf_info.irq; ug_info 3469 drivers/net/ethernet/freescale/ucc_geth.c err = request_irq(ugeth->ug_info->uf_info.irq, ucc_geth_irq_handler, ug_info 3506 drivers/net/ethernet/freescale/ucc_geth.c free_irq(ugeth->ug_info->uf_info.irq, ugeth->ndev); ug_info 3695 drivers/net/ethernet/freescale/ucc_geth.c struct ucc_geth_info *ug_info; ug_info 3729 drivers/net/ethernet/freescale/ucc_geth.c ug_info = &ugeth_info[ucc_num]; ug_info 3730 drivers/net/ethernet/freescale/ucc_geth.c if (ug_info == NULL) { ug_info 3736 drivers/net/ethernet/freescale/ucc_geth.c ug_info->uf_info.ucc_num = ucc_num; ug_info 3740 drivers/net/ethernet/freescale/ucc_geth.c ug_info->uf_info.rx_clock = qe_clock_source(sprop); ug_info 3741 drivers/net/ethernet/freescale/ucc_geth.c if ((ug_info->uf_info.rx_clock < QE_CLK_NONE) || ug_info 3742 drivers/net/ethernet/freescale/ucc_geth.c (ug_info->uf_info.rx_clock > QE_CLK24)) { ug_info 3758 drivers/net/ethernet/freescale/ucc_geth.c ug_info->uf_info.rx_clock = *prop; ug_info 3763 drivers/net/ethernet/freescale/ucc_geth.c ug_info->uf_info.tx_clock = qe_clock_source(sprop); ug_info 3764 drivers/net/ethernet/freescale/ucc_geth.c if ((ug_info->uf_info.tx_clock < QE_CLK_NONE) || ug_info 3765 drivers/net/ethernet/freescale/ucc_geth.c (ug_info->uf_info.tx_clock > QE_CLK24)) { ug_info 3779 drivers/net/ethernet/freescale/ucc_geth.c ug_info->uf_info.tx_clock = *prop; ug_info 3786 drivers/net/ethernet/freescale/ucc_geth.c ug_info->uf_info.regs = res.start; ug_info 3787 drivers/net/ethernet/freescale/ucc_geth.c ug_info->uf_info.irq = irq_of_parse_and_map(np, 0); ug_info 3789 drivers/net/ethernet/freescale/ucc_geth.c ug_info->phy_node = of_parse_phandle(np, "phy-handle", 0); ug_info 3790 drivers/net/ethernet/freescale/ucc_geth.c if (!ug_info->phy_node && of_phy_is_fixed_link(np)) { ug_info 3798 drivers/net/ethernet/freescale/ucc_geth.c ug_info->phy_node = of_node_get(np); ug_info 3802 drivers/net/ethernet/freescale/ucc_geth.c ug_info->tbi_node = of_parse_phandle(np, "tbi-handle", 0); ug_info 3808 drivers/net/ethernet/freescale/ucc_geth.c prop = of_get_property(ug_info->phy_node, "interface", NULL); ug_info 3840 drivers/net/ethernet/freescale/ucc_geth.c ug_info->uf_info.urfs = UCC_GETH_URFS_GIGA_INIT; ug_info 3841 drivers/net/ethernet/freescale/ucc_geth.c ug_info->uf_info.urfet = UCC_GETH_URFET_GIGA_INIT; ug_info 3842 drivers/net/ethernet/freescale/ucc_geth.c ug_info->uf_info.urfset = UCC_GETH_URFSET_GIGA_INIT; ug_info 3843 drivers/net/ethernet/freescale/ucc_geth.c ug_info->uf_info.utfs = UCC_GETH_UTFS_GIGA_INIT; ug_info 3844 drivers/net/ethernet/freescale/ucc_geth.c ug_info->uf_info.utfet = UCC_GETH_UTFET_GIGA_INIT; ug_info 3845 drivers/net/ethernet/freescale/ucc_geth.c ug_info->uf_info.utftt = UCC_GETH_UTFTT_GIGA_INIT; ug_info 3846 drivers/net/ethernet/freescale/ucc_geth.c ug_info->numThreadsTx = UCC_GETH_NUM_OF_THREADS_4; ug_info 3853 drivers/net/ethernet/freescale/ucc_geth.c ug_info->numThreadsRx = UCC_GETH_NUM_OF_THREADS_6; ug_info 3855 drivers/net/ethernet/freescale/ucc_geth.c ug_info->numThreadsRx = UCC_GETH_NUM_OF_THREADS_4; ug_info 3860 drivers/net/ethernet/freescale/ucc_geth.c ug_info->uf_info.ucc_num + 1, ug_info 3861 drivers/net/ethernet/freescale/ucc_geth.c (u64)ug_info->uf_info.regs, ug_info 3862 drivers/net/ethernet/freescale/ucc_geth.c ug_info->uf_info.irq); ug_info 3882 drivers/net/ethernet/freescale/ucc_geth.c dev->base_addr = (unsigned long)(ug_info->uf_info.regs); ug_info 3913 drivers/net/ethernet/freescale/ucc_geth.c ugeth->ug_info = ug_info; ug_info 3925 drivers/net/ethernet/freescale/ucc_geth.c of_node_put(ug_info->tbi_node); ug_info 3926 drivers/net/ethernet/freescale/ucc_geth.c of_node_put(ug_info->phy_node); ug_info 3942 drivers/net/ethernet/freescale/ucc_geth.c of_node_put(ugeth->ug_info->tbi_node); ug_info 3943 drivers/net/ethernet/freescale/ucc_geth.c of_node_put(ugeth->ug_info->phy_node); ug_info 1152 drivers/net/ethernet/freescale/ucc_geth.h struct ucc_geth_info *ug_info; ug_info 138 drivers/net/ethernet/freescale/ucc_geth_ethtool.c if (ugeth->ug_info->receiveFlowControl) ug_info 140 drivers/net/ethernet/freescale/ucc_geth_ethtool.c if (ugeth->ug_info->transmitFlowControl) ug_info 151 drivers/net/ethernet/freescale/ucc_geth_ethtool.c ugeth->ug_info->receiveFlowControl = pause->rx_pause; ug_info 152 drivers/net/ethernet/freescale/ucc_geth_ethtool.c ugeth->ug_info->transmitFlowControl = pause->tx_pause; ug_info 160 drivers/net/ethernet/freescale/ucc_geth_ethtool.c struct ucc_geth_info *ug_info = ugeth->ug_info; ug_info 162 drivers/net/ethernet/freescale/ucc_geth_ethtool.c ret = init_flow_control_params(ug_info->aufc, ug_info 163 drivers/net/ethernet/freescale/ucc_geth_ethtool.c ug_info->receiveFlowControl, ug_info 164 drivers/net/ethernet/freescale/ucc_geth_ethtool.c ug_info->transmitFlowControl, ug_info 165 drivers/net/ethernet/freescale/ucc_geth_ethtool.c ug_info->pausePeriod, ug_info 166 drivers/net/ethernet/freescale/ucc_geth_ethtool.c ug_info->extensionField, ug_info 213 drivers/net/ethernet/freescale/ucc_geth_ethtool.c struct ucc_geth_info *ug_info = ugeth->ug_info; ug_info 221 drivers/net/ethernet/freescale/ucc_geth_ethtool.c ring->rx_pending = ug_info->bdRingLenRx[queue]; ug_info 222 drivers/net/ethernet/freescale/ucc_geth_ethtool.c ring->rx_mini_pending = ug_info->bdRingLenRx[queue]; ug_info 223 drivers/net/ethernet/freescale/ucc_geth_ethtool.c ring->rx_jumbo_pending = ug_info->bdRingLenRx[queue]; ug_info 224 drivers/net/ethernet/freescale/ucc_geth_ethtool.c ring->tx_pending = ug_info->bdRingLenTx[queue]; ug_info 232 drivers/net/ethernet/freescale/ucc_geth_ethtool.c struct ucc_geth_info *ug_info = ugeth->ug_info; ug_info 254 drivers/net/ethernet/freescale/ucc_geth_ethtool.c ug_info->bdRingLenRx[queue] = ring->rx_pending; ug_info 255 drivers/net/ethernet/freescale/ucc_geth_ethtool.c ug_info->bdRingLenTx[queue] = ring->tx_pending; ug_info 263 drivers/net/ethernet/freescale/ucc_geth_ethtool.c u32 stats_mode = ugeth->ug_info->statisticsMode; ug_info 285 drivers/net/ethernet/freescale/ucc_geth_ethtool.c u32 stats_mode = ugeth->ug_info->statisticsMode; ug_info 306 drivers/net/ethernet/freescale/ucc_geth_ethtool.c u32 stats_mode = ugeth->ug_info->statisticsMode;