Home
last modified time | relevance | path

Searched full:fdma (Results 1 – 25 of 35) sorted by relevance

12

/linux-6.8/drivers/net/ethernet/mscc/
Docelot_fdma.c3 * 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 …]
Docelot_fdma.h3 * 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,
Docelot_vsc7514.c254 { FDMA, "fdma", 1 }, in mscc_ocelot_probe()
290 if (ocelot->targets[FDMA]) in mscc_ocelot_probe()
356 if (ocelot->fdma) in mscc_ocelot_probe()
399 if (ocelot->fdma) in mscc_ocelot_remove()
Docelot_net.c1824 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()
/linux-6.8/Documentation/devicetree/bindings/dma/
Dst_fdma.txt3 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)
/linux-6.8/Documentation/devicetree/bindings/net/
Dmscc,vsc7514-switch.yaml18 packets using CPU. Additionally, PTP is supported as well as FDMA for faster
78 - description: fdma target
103 - const: fdma
117 - const: fdma
156 "ana", "s0", "s1", "s2", "fdma";
158 interrupt-names = "ptp_rdy", "xtr", "fdma";
Dmicrochip,lan966x-switch.yaml48 - const: fdma
Dmicrochip,sparx5-switch.yaml62 - const: fdma
/linux-6.8/arch/arm/mach-rpc/
Ddma.c267 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()
/linux-6.8/drivers/net/ethernet/microchip/lan966x/
Dlan966x_regs.h940 /* 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 …]
Dlan966x_main.c387 if (port->lan966x->fdma) in lan966x_port_xmit()
407 if (!lan966x->fdma) in lan966x_port_change_mtu()
753 if (lan966x->fdma && lan966x->fdma_ndev == port->dev) in lan966x_cleanup_ports()
776 if (lan966x->fdma) in lan966x_cleanup_ports()
863 if (lan966x->fdma) in lan966x_probe_port()
925 lan_wr(QS_XTR_GRP_CFG_MODE_SET(lan966x->fdma ? 2 : 1) | in lan966x_init()
930 lan_wr(QS_INJ_GRP_CFG_MODE_SET(lan966x->fdma ? 2 : 1) | in lan966x_init()
1152 lan966x->fdma_irq = platform_get_irq_byname(pdev, "fdma"); in lan966x_probe()
1156 "fdma irq", lan966x); in lan966x_probe()
1158 return dev_err_probe(&pdev->dev, err, "Unable to use fdma irq"); in lan966x_probe()
[all …]
Dlan966x_xdp.c17 if (!lan966x->fdma) { in lan966x_xdp_setup()
19 "Allow to set xdp only when using fdma"); in lan966x_xdp_setup()
Dlan966x_fdma.c186 /* 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()
Dlan966x_main.h137 /* FDMA return action codes for checking if the frame is valid
374 /* fdma */
375 bool fdma; member
/linux-6.8/drivers/dma/
Dst_fdma.c3 * DMA driver for STMicroelectronics STi FDMA controller
41 * dreq_mask is shared for n channels of fdma, so all accesses must be in st_fdma_dreq_get()
703 { .compatible = "st,stih407-fdma-mpe31-11"
705 { .compatible = "st,stih407-fdma-mpe31-12"
707 { .compatible = "st,stih407-fdma-mpe31-13"
786 /* Initialise list of FDMA channels */ in st_fdma_probe()
796 /* Initialise the FDMA dreq (reserve 0 & 31 for FDMA use) */ in st_fdma_probe()
835 dev_info(&pdev->dev, "ST FDMA engine driver, irq:%d\n", fdev->irq); in st_fdma_probe()
866 MODULE_DESCRIPTION("STMicroelectronics FDMA engine driver");
Dst_fdma.h3 * 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
DKconfig558 tristate "ST FDMA dmaengine support"
565 Enable support for ST FDMA controller.
/linux-6.8/drivers/net/ethernet/microchip/sparx5/
Dsparx5_fdma.c131 /* 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()
Dsparx5_main_regs.h4152 /* 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 …]
/linux-6.8/arch/arm/boot/dts/st/
Dstih407-family.dtsi846 /* fdma audio */
848 compatible = "st,stih407-fdma-mpe31-11", "st,slim-rproc";
863 /* fdma app */
865 compatible = "st,stih407-fdma-mpe31-12", "st,slim-rproc";
883 /* fdma free running */
885 compatible = "st,stih407-fdma-mpe31-13", "st,slim-rproc";
/linux-6.8/arch/mips/boot/dts/mscc/
Docelot.dtsi144 "ana", "s0", "s1", "s2", "fdma";
146 interrupt-names = "ptp_rdy", "xtr", "inj", "fdma";
/linux-6.8/drivers/clk/st/
Dclk-flexgen.c329 { .name = "clk-fdma", },
374 { .name = "clk-fdma", },
427 { .name = "clk-fdma", },
/linux-6.8/Documentation/devicetree/bindings/clock/st/
Dst,flexgen.txt102 "clk-fdma",
/linux-6.8/drivers/media/pci/cobalt/
Dcobalt-driver.h149 /* FDMA to PCIe packing */
/linux-6.8/include/acpi/
Dprocessor.h248 u8 fdma:1; member

12