Lines Matching +full:mac +full:- +full:address
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* Altera Triple-Speed Ethernet MAC driver
3 * Copyright (C) 2008-2014 Altera Corporation. All rights reserved
47 /* MAC function configuration default settings */
54 /* MAC Command_Config Register Bit Definitions
123 /* MDIO registers within MAC register Space
130 u32 auto_negotiation_advertisement; /* Auto-negotiation
164 /* MAC register Space. Note that some of these registers may or may not be
179 * MAC block
182 /* 32-bit primary MAC address word 0 bits 0 to 31 of the primary
183 * MAC address
186 /* 32-bit primary MAC address word 1 bits 32 to 47 of the primary
187 * MAC address
190 /* 14-bit maximum frame length. The MAC receive logic */
196 /* 12-bit receive FIFO section-empty threshold */
198 /* 12-bit receive FIFO section-full threshold */
200 /* 12-bit transmit FIFO section-empty threshold */
202 /* 12-bit transmit FIFO section-full threshold */
204 /* 12-bit receive FIFO almost-empty threshold */
206 /* 12-bit receive FIFO almost-full threshold */
208 /* 12-bit transmit FIFO almost-empty threshold */
210 /* 12-bit transmit FIFO almost-full threshold */
212 /* MDIO address of PHY Device 0. Bits 0 to 4 hold a 5-bit PHY address */
214 /* MDIO address of PHY Device 1. Bits 0 to 4 hold a 5-bit PHY address */
217 /* Bit[15:0]—16-bit holdoff quanta */
228 /* The MAC addresses */
254 /* IETF MIB (MIB-II) Object Support */
278 * of the MAC client.
326 /* Multicast address resolution table, mapped in the controller address
337 /* 4 Supplemental MAC Addresses */
411 /* MAC address space */
417 /* mSGDMA Rx Dispatcher address space */
422 /* mSGDMA Tx Dispatcher address space */
443 /* RX/TX MAC FIFO configs */
464 /* MAC command_config register protection */
472 int phy_addr; /* PHY's MDIO address, -1 for autodetection */
490 u32 csrrd32(void __iomem *mac, size_t offs) in csrrd32() argument
492 void __iomem *paddr = (void __iomem *)((uintptr_t)mac + offs); in csrrd32()
497 u16 csrrd16(void __iomem *mac, size_t offs) in csrrd16() argument
499 void __iomem *paddr = (void __iomem *)((uintptr_t)mac + offs); in csrrd16()
504 u8 csrrd8(void __iomem *mac, size_t offs) in csrrd8() argument
506 void __iomem *paddr = (void __iomem *)((uintptr_t)mac + offs); in csrrd8()
511 void csrwr32(u32 val, void __iomem *mac, size_t offs) in csrwr32() argument
513 void __iomem *paddr = (void __iomem *)((uintptr_t)mac + offs); in csrwr32()
519 void csrwr16(u16 val, void __iomem *mac, size_t offs) in csrwr16() argument
521 void __iomem *paddr = (void __iomem *)((uintptr_t)mac + offs); in csrwr16()
527 void csrwr8(u8 val, void __iomem *mac, size_t offs) in csrwr8() argument
529 void __iomem *paddr = (void __iomem *)((uintptr_t)mac + offs); in csrwr8()