Lines Matching +full:fman +full:- +full:dtsec
2 * Copyright 2008-2015 Freescale Semiconductor Inc.
37 #include "fman.h"
62 (u8)((_addr64) >> ((5 - i) * 8)); \
116 /* dTSEC Babbling receive error */
118 /* dTSEC Receive control (pause frame) interrupt */
120 /* dTSEC Graceful transmit stop complete */
122 /* dTSEC Babbling transmit error */
124 /* dTSEC Transmit control (pause frame) interrupt */
126 /* dTSEC Transmit error */
128 /* dTSEC Late collision */
130 /* dTSEC Collision retry limit */
132 /* dTSEC Transmit FIFO underrun */
134 /* dTSEC Magic Packet detection */
136 /* dTSEC MII management read completion */
138 /* dTSEC MII management write completion */
140 /* dTSEC Graceful receive stop complete */
142 /* dTSEC Internal data error on transmit */
144 /* dTSEC Internal data error on receive */
146 /* dTSEC Time-Stamp Receive Error */
148 /* dTSEC MIB counter overflow */
150 /* mEMAC Time-stamp FIFO ECC error interrupt;
165 /* FMan MAC config input */
167 /* MAC ID; numbering of dTSEC and 1G-mEMAC:
168 * 0 - FM_MAX_NUM_OF_1G_MACS;
169 * numbering of 10G-MAC (TGEC) and 10G-mEMAC:
170 * 0 - FM_MAX_NUM_OF_10G_MACS
190 hash_entry = ETH_HASH_ENTRY_OBJ(addr_lst->next); in dequeue_addr_from_hash_entry()
191 list_del_init(&hash_entry->node); in dequeue_addr_from_hash_entry()
202 if (hash->lsts) { in free_hash_table()
203 for (i = 0; i < hash->size; i++) { in free_hash_table()
205 dequeue_addr_from_hash_entry(&hash->lsts[i]); in free_hash_table()
209 dequeue_addr_from_hash_entry(&hash-> in free_hash_table()
214 kfree(hash->lsts); in free_hash_table()
231 hash->size = size; in alloc_hash_table()
233 hash->lsts = kmalloc_array(hash->size, sizeof(struct list_head), in alloc_hash_table()
235 if (!hash->lsts) { in alloc_hash_table()
240 for (i = 0; i < hash->size; i++) in alloc_hash_table()
241 INIT_LIST_HEAD(&hash->lsts[i]); in alloc_hash_table()