Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/net/ethernet/cadence/
DKconfig22 config MACB config
23 tristate "Cadence MACB/GEM support"
28 The Cadence MACB ethernet interface is found on many Atmel AT32 and
31 support for the MACB/GEM chip.
34 will be macb.
38 depends on MACB
42 Enable IEEE 1588 Precision Time Protocol (PTP) support for MACB.
45 tristate "Cadence PCI MACB/GEM support"
46 depends on MACB && PCI
48 This is PCI wrapper for MACB driver.
Dmacb_ptp.c24 #include "macb.h"
28 static struct macb_dma_desc_ptp *macb_ptp_desc(struct macb *bp, in macb_ptp_desc()
43 struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); in gem_tsu_get_time()
75 struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); in gem_tsu_set_time()
97 static int gem_tsu_incr_set(struct macb *bp, struct tsu_incr *incr_spec) in gem_tsu_incr_set()
119 struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); in gem_ptp_adjfine()
154 struct macb *bp = container_of(ptp, struct macb, ptp_clock_info); in gem_ptp_adjtime()
200 static void gem_ptp_init_timer(struct macb *bp) in gem_ptp_init_timer()
215 static void gem_ptp_init_tsu(struct macb *bp) in gem_ptp_init_tsu()
231 static void gem_ptp_clear_timer(struct macb *bp) in gem_ptp_clear_timer()
[all …]
Dmacb_main.c3 * Cadence MACB/GEM Ethernet Controller driver
38 #include "macb.h"
40 /* This structure is only used for MACB on SiFive FU540 devices */
123 static unsigned int macb_dma_desc_get_size(struct macb *bp) in macb_dma_desc_get_size()
150 static unsigned int macb_adj_dma_desc_idx(struct macb *bp, unsigned int desc_idx) in macb_adj_dma_desc_idx()
169 static struct macb_dma_desc_64 *macb_64b_desc(struct macb *bp, struct macb_dma_desc *desc) in macb_64b_desc()
177 static unsigned int macb_tx_ring_wrap(struct macb *bp, unsigned int index) in macb_tx_ring_wrap()
206 static unsigned int macb_rx_ring_wrap(struct macb *bp, unsigned int index) in macb_rx_ring_wrap()
225 static u32 hw_readl_native(struct macb *bp, int offset) in hw_readl_native()
230 static void hw_writel_native(struct macb *bp, int offset, u32 value) in hw_writel_native()
[all …]
DMakefile5 macb-y := macb_main.o
8 macb-y += macb_ptp.o
11 obj-$(CONFIG_MACB) += macb.o
Dmacb.h3 * Atmel MACB Ethernet Controller driver
24 /* MACB register offsets */
710 /* Conditional GEM/MACB macros. These perform the operation to the correct
711 * register dependent on whether the device is a GEM or a MACB. For registers
1077 struct macb;
1081 int (*mog_alloc_rx_buffers)(struct macb *bp);
1082 void (*mog_free_rx_buffers)(struct macb *bp);
1083 void (*mog_init_rings)(struct macb *bp);
1088 /* MACB-PTP interface: adapt to platform needs. */
1093 unsigned int (*get_tsu_rate)(struct macb *bp);
[all …]
Dmacb_pci.c17 #include "macb.h"
20 #define PLAT_DRIVER_NAME "macb"
58 /* set up macb platform data */ in macb_probe()
/kernel/linux/linux-6.6/drivers/net/ethernet/cadence/
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.
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 …]
Dmacb_main.c3 * Cadence MACB/GEM Ethernet Controller driver
41 #include "macb.h"
43 /* 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 …]
DMakefile5 macb-y := macb_main.o
8 macb-y += macb_ptp.o
11 obj-$(CONFIG_MACB) += macb.o
Dmacb.h3 * Atmel MACB Ethernet Controller driver
25 /* MACB register offsets */
786 /* Conditional GEM/MACB macros. These perform the operation to the correct
787 * register dependent on whether the device is a GEM or a MACB. For registers
1148 struct macb;
1152 int (*mog_alloc_rx_buffers)(struct macb *bp);
1153 void (*mog_free_rx_buffers)(struct macb *bp);
1154 void (*mog_init_rings)(struct macb *bp);
1159 /* MACB-PTP interface: adapt to platform needs. */
1164 unsigned int (*get_tsu_rate)(struct macb *bp);
[all …]
Dmacb_pci.c17 #include "macb.h"
20 #define PLAT_DRIVER_NAME "macb"
58 /* set up macb platform data */ in macb_probe()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
Dmacb.txt1 * Cadence MACB/GEM Ethernet controller
4 - compatible: Should be "cdns,[<chip>-]{macb|gem}"
6 Use "cdns,at91sam9260-macb" for Atmel at91sam9 SoCs.
7 Use "cdns,sam9x60-macb" for Microchip sam9x60 SoC.
8 Use "cdns,np4-macb" for NP4 SoC devices.
9 Use "cdns,at32ap7000-macb" for other 10/100 usage or use the generic form: "cdns,macb".
13 Use "atmel,sama5d3-macb" for the 10/100Mbit IP available on Atmel sama5d3 SoCs.
23 - interrupts: Should contain macb interrupt
44 compatible = "cdns,at32ap7000-macb";
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/
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 …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/microchip/
Dsama5d3_emac.dtsi37 compatible = "atmel,sama5d3-macb", "cdns,at91sam9260-macb", "cdns,macb";
Dat91sam9x5_macb1.dtsi34 compatible = "cdns,at91sam9260-macb", "cdns,macb";
Dat91sam9x5_macb0.dtsi46 compatible = "cdns,at91sam9260-macb", "cdns,macb";
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dsama5d3_emac.dtsi37 compatible = "atmel,sama5d3-macb", "cdns,at91sam9260-macb", "cdns,macb";
Dat91sam9x5_macb1.dtsi34 compatible = "cdns,at91sam9260-macb", "cdns,macb";
Dat91sam9x5_macb0.dtsi46 compatible = "cdns,at91sam9260-macb", "cdns,macb";
Dsam9x60.dtsi448 compatible = "cdns,sam9x60-macb", "cdns,macb";
457 compatible = "cdns,sam9x60-macb", "cdns,macb";
/kernel/linux/linux-6.6/drivers/clk/socfpga/
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()
/kernel/linux/linux-6.6/arch/riscv/boot/dts/microchip/
Dmpfs.dtsi419 compatible = "microchip,mpfs-macb", "cdns,macb";
433 compatible = "microchip,mpfs-macb", "cdns,macb";
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/usb/
Datmel-usb.txt59 - interrupts: Should contain macb interrupt
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/usb/
Datmel-usb.txt63 - interrupts: Should contain macb interrupt

12