Lines Matching full:emac
5 * Registers and bits definitions of ARC EMAC
27 #define TXPL_MASK (1 << 31) /* Force polling of BD by EMAC */
38 #define OWN_MASK (1 << 31) /* 0-CPU or 1-EMAC owns buffer */
52 /* ARC EMAC register set combines entries for MAC and MDIO */
74 #define EMAC_BUFFER_SIZE 1536 /* EMAC buffer size */
77 * struct arc_emac_bd - EMAC buffer descriptor (BD).
112 * struct arc_emac_priv - Storage of EMAC's private information.
116 * @regs: Base address of EMAC memory-mapped control registers.
126 * @last_rx_bd: Index of the last Rx BD we've got from EMAC.
166 * arc_reg_set - Sets EMAC register with provided value.
167 * @priv: Pointer to ARC EMAC private data structure.
177 * arc_reg_get - Gets value of specified EMAC register.
178 * @priv: Pointer to ARC EMAC private data structure.
189 * arc_reg_or - Applies mask to specified EMAC register - ("reg" | "mask").
190 * @priv: Pointer to ARC EMAC private data structure.
205 * arc_reg_clr - Applies mask to specified EMAC register - ("reg" & ~"mask").
206 * @priv: Pointer to ARC EMAC private data structure.