Home
last modified time | relevance | path

Searched full:macb (Results 1 – 15 of 15) 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()
46 struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); in gem_tsu_get_time()
82 struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); in gem_tsu_set_time()
104 static int gem_tsu_incr_set(struct macb *bp, struct tsu_incr *incr_spec) in gem_tsu_incr_set()
126 struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); in gem_ptp_adjfine()
161 struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); in gem_ptp_adjtime()
207 static void gem_ptp_init_timer(struct macb *bp) in gem_ptp_init_timer()
222 static void gem_ptp_init_tsu(struct macb *bp) in gem_ptp_init_tsu()
238 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 */
129 static unsigned int macb_dma_desc_get_size(struct macb *bp) in macb_dma_desc_get_size()
141 static unsigned int macb_adj_dma_desc_idx(struct macb *bp, unsigned int desc_idx) in macb_adj_dma_desc_idx()
146 static struct macb_dma_desc_64 *macb_64b_desc(struct macb *bp, struct macb_dma_desc *desc) in macb_64b_desc()
153 static unsigned int macb_tx_ring_wrap(struct macb *bp, unsigned int index) in macb_tx_ring_wrap()
182 static unsigned int macb_rx_ring_wrap(struct macb *bp, unsigned int index) in macb_rx_ring_wrap()
201 static u32 hw_readl_native(struct macb *bp, int offset) in hw_readl_native()
206 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_pci.c17 #include "macb.h"
20 #define PLAT_DRIVER_NAME "macb"
57 /* set up macb platform data */ in macb_probe()
/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 Dat91sam9g45.dtsi383 macb {
746 compatible = "cdns,at91sam9260-macb", "cdns,macb";
H A Dat91rm9200.dtsi344 macb {
/linux/arch/riscv/boot/dts/microchip/
H A Dmpfs.dtsi470 compatible = "microchip,mpfs-macb", "cdns,macb";
484 compatible = "microchip,mpfs-macb", "cdns,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/
H A DMAINTAINERS4271 ATMEL MACB ETHERNET DRIVER