Home
last modified time | relevance | path

Searched full:macb (Results 1 – 20 of 20) sorted by relevance

/linux/drivers/net/ethernet/cadence/
H A DKconfig22 config MACB config
23 tristate "Cadence MACB/GEM support"
29 The Cadence MACB ethernet interface is found on many Atmel AT32 and
32 support for the MACB/GEM chip.
35 will be macb.
39 depends on MACB
43 Enable IEEE 1588 Precision Time Protocol (PTP) support for MACB.
46 tristate "Cadence PCI MACB/GEM support"
47 depends on MACB && PCI
49 This is PCI wrapper for MACB driver.
H A Dmacb_ptp.c24 #include "macb.h"
28 static struct macb_dma_desc_ptp *macb_ptp_desc(struct macb *bp, in macb_ptp_desc()
44 struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); in gem_tsu_get_time()
80 struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); in gem_tsu_set_time()
102 static int gem_tsu_incr_set(struct macb *bp, struct tsu_incr *incr_spec) in gem_tsu_incr_set()
124 struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); in gem_ptp_adjfine()
159 struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); in gem_ptp_adjtime()
205 static void gem_ptp_init_timer(struct macb *bp) in gem_ptp_init_timer()
220 static void gem_ptp_init_tsu(struct macb *bp) in gem_ptp_init_tsu()
236 static void gem_ptp_clear_timer(struct macb *bp) in gem_ptp_clear_timer()
[all …]
H A Dmacb_main.c3 * Cadence MACB/GEM Ethernet Controller driver
42 #include "macb.h"
44 /* This structure is only used for MACB on SiFive FU540 devices */
128 static unsigned int macb_dma_desc_get_size(struct macb *bp) in macb_dma_desc_get_size()
155 static unsigned int macb_adj_dma_desc_idx(struct macb *bp, unsigned int desc_idx) in macb_adj_dma_desc_idx()
174 static struct macb_dma_desc_64 *macb_64b_desc(struct macb *bp, struct macb_dma_desc *desc) in macb_64b_desc()
182 static unsigned int macb_tx_ring_wrap(struct macb *bp, unsigned int index) in macb_tx_ring_wrap()
211 static unsigned int macb_rx_ring_wrap(struct macb *bp, unsigned int index) in macb_rx_ring_wrap()
230 static u32 hw_readl_native(struct macb *bp, int offset) in hw_readl_native()
235 static void hw_writel_native(struct macb *bp, int offset, u32 value) in hw_writel_native()
[all …]
H A DMakefile5 macb-y := macb_main.o
8 macb-y += macb_ptp.o
11 obj-$(CONFIG_MACB) += macb.o
H A Dmacb.h3 * Atmel MACB Ethernet Controller driver
26 /* MACB register offsets */
792 /* Conditional GEM/MACB macros. These perform the operation to the correct
793 * register dependent on whether the device is a GEM or a MACB. For registers
1154 struct macb;
1158 int (*mog_alloc_rx_buffers)(struct macb *bp);
1159 void (*mog_free_rx_buffers)(struct macb *bp);
1160 void (*mog_init_rings)(struct macb *bp);
1165 /* MACB-PTP interface: adapt to platform needs. */
1170 unsigned int (*get_tsu_rate)(struct macb *bp);
[all …]
H A Dmacb_pci.c17 #include "macb.h"
20 #define PLAT_DRIVER_NAME "macb"
57 /* set up macb platform data */ in macb_probe()
/linux/Documentation/devicetree/bindings/net/
H A Dcdns,macb.yaml4 $id: http://devicetree.org/schemas/net/cdns,macb.yaml#
7 title: Cadence MACB/GEM Ethernet controller
37 - cdns,at91sam9260-macb # Atmel at91sam9 SoCs
38 - cdns,sam9x60-macb # Microchip sam9x60 SoC
39 - microchip,mpfs-macb # Microchip PolarFire SoC
40 - const: cdns,macb # Generic
44 - atmel,sama5d3-macb # 10/100Mbit IP on Atmel sama5d3 SoCs
46 - cdns,at91sam9260-macb # Atmel at91sam9 SoCs.
47 - const: cdns,macb # Generic
54 - cdns,np4-macb # NP4 SoC devices
[all …]
/linux/arch/arm/boot/dts/microchip/
H A Dsama5d3_emac.dtsi37 compatible = "atmel,sama5d3-macb", "cdns,at91sam9260-macb", "cdns,macb";
H A Dat91sam9x5_macb1.dtsi34 compatible = "cdns,at91sam9260-macb", "cdns,macb";
H A Dat91sam9x5_macb0.dtsi46 compatible = "cdns,at91sam9260-macb", "cdns,macb";
H A Dat91sam9260.dtsi308 macb {
630 compatible = "cdns,at91sam9260-macb", "cdns,macb";
H A Dat91sam9263.dtsi257 macb {
629 compatible = "cdns,at91sam9260-macb", "cdns,macb";
H A Dsam9x60.dtsi1011 compatible = "cdns,sam9x60-macb", "cdns,macb";
1020 compatible = "cdns,sam9x60-macb", "cdns,macb";
H A Dat91sam9g45.dtsi383 macb {
746 compatible = "cdns,at91sam9260-macb", "cdns,macb";
H A Dat91rm9200.dtsi344 macb {
/linux/drivers/clk/socfpga/
H A Dclk-gate-s10.c75 if (parent == 1) /* only applicable if parent is macb */ in socfpga_gate_get_parent()
105 if (parent == 1) /* only applicable if parent is macb */ in socfpga_agilex_gate_get_parent()
/linux/arch/riscv/boot/dts/microchip/
H A Dmpfs.dtsi441 compatible = "microchip,mpfs-macb", "cdns,macb";
455 compatible = "microchip,mpfs-macb", "cdns,macb";
/linux/Documentation/devicetree/bindings/usb/
H A Datmel-usb.txt63 - interrupts: Should contain macb interrupt
/linux/arch/arm/mach-at91/
H A Dpm.c221 { .compatible = "cdns,sam9x60-macb", .data = &ws_info[5] },
1149 { .compatible = "atmel,sama5d3-macb" },
/linux/
H A DMAINTAINERS3610 ATMEL MACB ETHERNET DRIVER