/openbmc/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot_fdma.c | 3 * Microsemi SoCs FDMA driver 24 regmap_write(ocelot->targets[FDMA], reg, data); in ocelot_fdma_writel() 31 regmap_read(ocelot->targets[FDMA], reg, &retval); in ocelot_fdma_readl() 56 static int ocelot_fdma_rx_ring_free(struct ocelot_fdma *fdma) in ocelot_fdma_rx_ring_free() argument 58 struct ocelot_fdma_rx_ring *rx_ring = &fdma->rx_ring; in ocelot_fdma_rx_ring_free() 67 static int ocelot_fdma_tx_ring_free(struct ocelot_fdma *fdma) in ocelot_fdma_tx_ring_free() argument 69 struct ocelot_fdma_tx_ring *tx_ring = &fdma->tx_ring; in ocelot_fdma_tx_ring_free() 78 static bool ocelot_fdma_tx_ring_empty(struct ocelot_fdma *fdma) in ocelot_fdma_tx_ring_empty() argument 80 struct ocelot_fdma_tx_ring *tx_ring = &fdma->tx_ring; in ocelot_fdma_tx_ring_empty() 148 struct ocelot_fdma *fdma = ocelot->fdma; in ocelot_fdma_alloc_rx_buffs() local [all …]
|
H A D | ocelot_fdma.h | 3 * Microsemi SoCs FDMA driver 135 * struct ocelot_fdma - FDMA context 137 * @irq: FDMA interrupt 160 int ocelot_fdma_inject_frame(struct ocelot *fdma, int port, u32 rew_op,
|
H A D | ocelot_vsc7514.c | 258 { FDMA, "fdma", 1 }, in mscc_ocelot_probe() 294 if (ocelot->targets[FDMA]) in mscc_ocelot_probe() 360 if (ocelot->fdma) in mscc_ocelot_probe() 403 if (ocelot->fdma) in mscc_ocelot_remove()
|
H A D | ocelot_net.c | 1824 if (ocelot->fdma) in ocelot_probe_port() 1837 if (ocelot->fdma) in ocelot_probe_port() 1852 struct ocelot_fdma *fdma = ocelot->fdma; in ocelot_release_port() local 1856 if (fdma) in ocelot_release_port()
|
/openbmc/linux/Documentation/devicetree/bindings/dma/ |
H A D | st_fdma.txt | 3 The FDMA is a general-purpose direct memory access controller capable of 5 The FDMA is based on a Slim processor which requires a firmware. 7 * FDMA Controller 11 - st,stih407-fdma-mpe31-11, "st,slim-rproc"; 12 - st,stih407-fdma-mpe31-12, "st,slim-rproc"; 13 - st,stih407-fdma-mpe31-13, "st,slim-rproc"; 26 compatible = "st,stih407-fdma-mpe31-11", "st,slim-rproc"; 48 1. A phandle pointing to the FDMA controller 50 3. A 32bit mask specifying (see include/linux/platform_data/dma-st-fdma.h)
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | mscc,vsc7514-switch.yaml | 18 packets using CPU. Additionally, PTP is supported as well as FDMA for faster 88 - description: fdma target 113 - const: fdma 127 - const: fdma 166 "ana", "s0", "s1", "s2", "fdma"; 168 interrupt-names = "ptp_rdy", "xtr", "fdma";
|
H A D | microchip,lan966x-switch.yaml | 48 - const: fdma
|
H A D | microchip,sparx5-switch.yaml | 62 - const: fdma
|
/openbmc/linux/arch/arm/mach-rpc/ |
H A D | dma.c | 267 struct floppy_dma *fdma = container_of(dma, struct floppy_dma, dma); in floppy_enable_dma() local 272 if (fdma->dma.sg) in floppy_enable_dma() 275 if (fdma->dma.dma_mode == DMA_MODE_READ) { in floppy_enable_dma() 285 regs.ARM_r9 = fdma->dma.count; in floppy_enable_dma() 286 regs.ARM_r10 = (unsigned long)fdma->dma.addr; in floppy_enable_dma() 296 enable_fiq(fdma->fiq); in floppy_enable_dma() 301 struct floppy_dma *fdma = container_of(dma, struct floppy_dma, dma); in floppy_disable_dma() local 302 disable_fiq(fdma->fiq); in floppy_disable_dma()
|
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_regs.h | 940 /* FDMA:FDMA:FDMA_CH_ACTIVATE */ 949 /* FDMA:FDMA:FDMA_CH_RELOAD */ 958 /* FDMA:FDMA:FDMA_CH_DISABLE */ 967 /* FDMA:FDMA:FDMA_CH_DB_DISCARD */ 976 /* FDMA:FDMA:FDMA_DCB_LLP */ 979 /* FDMA:FDMA:FDMA_DCB_LLP1 */ 982 /* FDMA:FDMA:FDMA_CH_ACTIVE */ 985 /* FDMA:FDMA:FDMA_CH_CFG */ 1012 /* FDMA:FDMA:FDMA_PORT_CTRL */ 1027 /* FDMA:FDMA:FDMA_INTR_DB */ [all …]
|
H A D | lan966x_main.c | 387 if (port->lan966x->fdma) in lan966x_port_xmit() 407 if (!lan966x->fdma) in lan966x_port_change_mtu() 754 if (lan966x->fdma && lan966x->fdma_ndev == port->dev) in lan966x_cleanup_ports() 777 if (lan966x->fdma) in lan966x_cleanup_ports() 864 if (lan966x->fdma) in lan966x_probe_port() 926 lan_wr(QS_XTR_GRP_CFG_MODE_SET(lan966x->fdma ? 2 : 1) | in lan966x_init() 931 lan_wr(QS_INJ_GRP_CFG_MODE_SET(lan966x->fdma ? 2 : 1) | in lan966x_init() 1151 lan966x->fdma_irq = platform_get_irq_byname(pdev, "fdma"); in lan966x_probe() 1155 "fdma irq", lan966x); in lan966x_probe() 1157 return dev_err_probe(&pdev->dev, err, "Unable to use fdma irq"); in lan966x_probe() [all …]
|
H A D | lan966x_xdp.c | 17 if (!lan966x->fdma) { in lan966x_xdp_setup() 19 "Allow to set xdp only when using fdma"); in lan966x_xdp_setup()
|
H A D | lan966x_fdma.c | 186 /* Start fdma */ in lan966x_fdma_rx_start() 311 /* Start fdma */ in lan966x_fdma_tx_activate() 1033 if (!lan966x->fdma) in lan966x_fdma_init() 1060 if (!lan966x->fdma) in lan966x_fdma_deinit()
|
H A D | lan966x_main.h | 137 /* FDMA return action codes for checking if the frame is valid 374 /* fdma */ 375 bool fdma; member
|
/openbmc/linux/drivers/dma/ |
H A D | st_fdma.c | 3 * DMA driver for STMicroelectronics STi FDMA controller 40 * dreq_mask is shared for n channels of fdma, so all accesses must be in st_fdma_dreq_get() 702 { .compatible = "st,stih407-fdma-mpe31-11" 704 { .compatible = "st,stih407-fdma-mpe31-12" 706 { .compatible = "st,stih407-fdma-mpe31-13" 792 /* Initialise list of FDMA channels */ in st_fdma_probe() 802 /* Initialise the FDMA dreq (reserve 0 & 31 for FDMA use) */ in st_fdma_probe() 841 dev_info(&pdev->dev, "ST FDMA engine driver, irq:%d\n", fdev->irq); in st_fdma_probe() 874 MODULE_DESCRIPTION("STMicroelectronics FDMA engine driver");
|
H A D | st_fdma.h | 3 * DMA driver header for STMicroelectronics STi FDMA controller 20 #define DRIVER_NAME "st-fdma" 36 * struct st_fdma_hw_node - Node structure used by fdma hw
|
H A D | Kconfig | 544 tristate "ST FDMA dmaengine support" 551 Enable support for ST FDMA controller.
|
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_fdma.c | 131 /* Start RX fdma */ in sparx5_fdma_rx_activate() 154 /* Stop RX fdma */ in sparx5_fdma_rx_deactivate() 172 /* Start TX fdma */ in sparx5_fdma_tx_activate() 493 /* Change mode to fdma extraction and injection */ in sparx5_fdma_injection_mode() 551 /* Reset FDMA state */ in sparx5_fdma_start() 590 /* Stop the fdma and channel interrupts */ in sparx5_fdma_stop()
|
H A D | sparx5_main_regs.h | 4152 /* FDMA:FDMA:FDMA_CH_ACTIVATE */ 4162 /* FDMA:FDMA:FDMA_CH_RELOAD */ 4172 /* FDMA:FDMA:FDMA_CH_DISABLE */ 4182 /* FDMA:FDMA:FDMA_DCB_LLP */ 4186 /* FDMA:FDMA:FDMA_DCB_LLP1 */ 4190 /* FDMA:FDMA:FDMA_DCB_LLP_PREV */ 4194 /* FDMA:FDMA:FDMA_DCB_LLP_PREV1 */ 4198 /* FDMA:FDMA:FDMA_CH_CFG */ 4232 /* FDMA:FDMA:FDMA_CH_TRANSLATE */ 4242 /* FDMA:FDMA:FDMA_XTR_CFG */ [all …]
|
/openbmc/linux/arch/arm/boot/dts/st/ |
H A D | stih407-family.dtsi | 847 /* fdma audio */ 849 compatible = "st,stih407-fdma-mpe31-11", "st,slim-rproc"; 864 /* fdma app */ 866 compatible = "st,stih407-fdma-mpe31-12", "st,slim-rproc"; 884 /* fdma free running */ 886 compatible = "st,stih407-fdma-mpe31-13", "st,slim-rproc";
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | stih407-family.dtsi | 810 /* fdma audio */ 812 compatible = "st,stih407-fdma-mpe31-11", "st,slim-rproc"; 827 /* fdma app */ 829 compatible = "st,stih407-fdma-mpe31-12", "st,slim-rproc"; 845 /* fdma free running */ 847 compatible = "st,stih407-fdma-mpe31-13", "st,slim-rproc";
|
H A D | stih407-clock.dtsi | 166 "clk-fdma",
|
/openbmc/linux/arch/mips/boot/dts/mscc/ |
H A D | ocelot.dtsi | 144 "ana", "s0", "s1", "s2", "fdma"; 146 interrupt-names = "ptp_rdy", "xtr", "inj", "fdma";
|
/openbmc/linux/drivers/clk/st/ |
H A D | clk-flexgen.c | 329 { .name = "clk-fdma", }, 374 { .name = "clk-fdma", }, 427 { .name = "clk-fdma", },
|
/openbmc/linux/Documentation/devicetree/bindings/clock/st/ |
H A D | st,flexgen.txt | 102 "clk-fdma",
|