Lines Matching +full:fman +full:- +full:internal +full:- +full:mdio
2 * Copyright 2008-2015 Freescale Semiconductor Inc.
37 #include "fman.h"
62 (u8)((_addr64) >> ((5 - i) * 8)); \
82 /* 10GEC MDIO scan event interrupt */
84 /* 10GEC MDIO command completion interrupt */
142 /* dTSEC Internal data error on transmit */
144 /* dTSEC Internal data error on receive */
146 /* dTSEC Time-Stamp Receive Error */
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
175 fman_mac_exception_cb *event_cb; /* MDIO Events Callback Routine */
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()