[ SYSTEM ]: Linux srv.persadacompanies.com 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
[ SERVER ]: Apache | PHP: 8.4.20
[ USER ]: persadamedika | IP: 45.64.1.108
GEFORCE FILE MANAGER
/
usr
/
src
/
kernels
/
4.18.0-553.63.1.el8_10.x86_64
/
include
/
linux
/
platform_data
/
UPLOAD:
NAME
SIZE
QUICK PERMS
ACTIONS
📁 media
SET
[ DEL ]
📁 x86
SET
[ DEL ]
📄 ad5449.h
1,184 B
SET
[ EDIT ]
|
[ DEL ]
📄 ad5755.h
2,801 B
SET
[ EDIT ]
|
[ DEL ]
📄 ad5761.h
1,261 B
SET
[ EDIT ]
|
[ DEL ]
📄 ad7266.h
1,490 B
SET
[ EDIT ]
|
[ DEL ]
📄 ad7291.h
296 B
SET
[ EDIT ]
|
[ DEL ]
📄 ad7298.h
410 B
SET
[ EDIT ]
|
[ DEL ]
📄 ad7303.h
458 B
SET
[ EDIT ]
|
[ DEL ]
📄 ad7791.h
530 B
SET
[ EDIT ]
|
[ DEL ]
📄 ad7793.h
3,834 B
SET
[ EDIT ]
|
[ DEL ]
📄 ad7879.h
1,188 B
SET
[ EDIT ]
|
[ DEL ]
📄 ad7887.h
749 B
SET
[ EDIT ]
|
[ DEL ]
📄 adau17x1.h
3,590 B
SET
[ EDIT ]
|
[ DEL ]
📄 adp5588.h
6,700 B
SET
[ EDIT ]
|
[ DEL ]
📄 adp8860.h
4,713 B
SET
[ EDIT ]
|
[ DEL ]
📄 adp8870.h
4,617 B
SET
[ EDIT ]
|
[ DEL ]
📄 ads1015.h
1,132 B
SET
[ EDIT ]
|
[ DEL ]
📄 ads7828.h
832 B
SET
[ EDIT ]
|
[ DEL ]
📄 apds990x.h
2,487 B
SET
[ EDIT ]
|
[ DEL ]
📄 arm-ux500-pm.h
586 B
SET
[ EDIT ]
|
[ DEL ]
📄 asoc-imx-ssi.h
686 B
SET
[ EDIT ]
|
[ DEL ]
📄 asoc-kirkwood.h
145 B
SET
[ EDIT ]
|
[ DEL ]
📄 asoc-mx27vis.h
285 B
SET
[ EDIT ]
|
[ DEL ]
📄 asoc-palm27x.h
152 B
SET
[ EDIT ]
|
[ DEL ]
📄 asoc-s3c.h
1,501 B
SET
[ EDIT ]
|
[ DEL ]
📄 asoc-s3c24xx_simtec.h
892 B
SET
[ EDIT ]
|
[ DEL ]
📄 asoc-ti-mcbsp.h
1,488 B
SET
[ EDIT ]
|
[ DEL ]
📄 asoc-ux500-msp.h
452 B
SET
[ EDIT ]
|
[ DEL ]
📄 at24.h
2,131 B
SET
[ EDIT ]
|
[ DEL ]
📄 at91_adc.h
1,411 B
SET
[ EDIT ]
|
[ DEL ]
📄 ata-pxa.h
1,057 B
SET
[ EDIT ]
|
[ DEL ]
📄 ata-samsung_cf.h
962 B
SET
[ EDIT ]
|
[ DEL ]
📄 atmel.h
646 B
SET
[ EDIT ]
|
[ DEL ]
📄 b53.h
1,145 B
SET
[ EDIT ]
|
[ DEL ]
📄 bcmgenet.h
402 B
SET
[ EDIT ]
|
[ DEL ]
📄 bd6107.h
414 B
SET
[ EDIT ]
|
[ DEL ]
📄 bh1770glc.h
1,818 B
SET
[ EDIT ]
|
[ DEL ]
📄 brcmfmac.h
6,790 B
SET
[ EDIT ]
|
[ DEL ]
📄 brcmnand.h
286 B
SET
[ EDIT ]
|
[ DEL ]
📄 bt-nokia-h4p.h
1,162 B
SET
[ EDIT ]
|
[ DEL ]
📄 clk-da8xx-cfgchip.h
504 B
SET
[ EDIT ]
|
[ DEL ]
📄 clk-davinci-pll.h
465 B
SET
[ EDIT ]
|
[ DEL ]
📄 clk-fch.h
299 B
SET
[ EDIT ]
|
[ DEL ]
📄 clk-integrator.h
118 B
SET
[ EDIT ]
|
[ DEL ]
📄 clk-u300.h
47 B
SET
[ EDIT ]
|
[ DEL ]
📄 cpuidle-exynos.h
507 B
SET
[ EDIT ]
|
[ DEL ]
📄 crypto-atmel.h
545 B
SET
[ EDIT ]
|
[ DEL ]
📄 crypto-ux500.h
543 B
SET
[ EDIT ]
|
[ DEL ]
📄 cyttsp4.h
2,266 B
SET
[ EDIT ]
|
[ DEL ]
📄 davinci_asp.h
3,315 B
SET
[ EDIT ]
|
[ DEL ]
📄 db8500_thermal.h
1,093 B
SET
[ EDIT ]
|
[ DEL ]
📄 dma-atmel.h
2,512 B
SET
[ EDIT ]
|
[ DEL ]
📄 dma-coh901318.h
2,039 B
SET
[ EDIT ]
|
[ DEL ]
📄 dma-dw.h
2,633 B
SET
[ EDIT ]
|
[ DEL ]
📄 dma-ep93xx.h
2,740 B
SET
[ EDIT ]
|
[ DEL ]
📄 dma-hsu.h
478 B
SET
[ EDIT ]
|
[ DEL ]
📄 dma-imx-sdma.h
1,558 B
SET
[ EDIT ]
|
[ DEL ]
📄 dma-imx.h
2,021 B
SET
[ EDIT ]
|
[ DEL ]
📄 dma-mmp_tdma.h
799 B
SET
[ EDIT ]
|
[ DEL ]
📄 dma-mv_xor.h
375 B
SET
[ EDIT ]
|
[ DEL ]
📄 dma-s3c24xx.h
1,538 B
SET
[ EDIT ]
|
[ DEL ]
📄 dma-ste-dma40.h
6,193 B
SET
[ EDIT ]
|
[ DEL ]
📄 dmtimer-omap.h
2,476 B
SET
[ EDIT ]
|
[ DEL ]
📄 ds620.h
426 B
SET
[ EDIT ]
|
[ DEL ]
📄 dwc3-omap.h
2,012 B
SET
[ EDIT ]
|
[ DEL ]
📄 edma.h
2,794 B
SET
[ EDIT ]
|
[ DEL ]
📄 efm32-spi.h
375 B
SET
[ EDIT ]
|
[ DEL ]
📄 efm32-uart.h
393 B
SET
[ EDIT ]
|
[ DEL ]
📄 ehci-sh.h
995 B
SET
[ EDIT ]
|
[ DEL ]
📄 elm.h
1,778 B
SET
[ EDIT ]
|
[ DEL ]
📄 emif_plat.h
4,156 B
SET
[ EDIT ]
|
[ DEL ]
📄 eth-netx.h
884 B
SET
[ EDIT ]
|
[ DEL ]
📄 fsa9480.h
656 B
SET
[ EDIT ]
|
[ DEL ]
📄 g762.h
1,366 B
SET
[ EDIT ]
|
[ DEL ]
📄 gpio-ath79.h
476 B
SET
[ EDIT ]
|
[ DEL ]
📄 gpio-davinci.h
1,470 B
SET
[ EDIT ]
|
[ DEL ]
📄 gpio-dwapb.h
826 B
SET
[ EDIT ]
|
[ DEL ]
📄 gpio-htc-egpio.h
1,783 B
SET
[ EDIT ]
|
[ DEL ]
📄 gpio-omap.h
6,540 B
SET
[ EDIT ]
|
[ DEL ]
📄 gpio-ts5500.h
838 B
SET
[ EDIT ]
|
[ DEL ]
📄 gpio_backlight.h
445 B
SET
[ EDIT ]
|
[ DEL ]
📄 gpmc-omap.h
5,821 B
SET
[ EDIT ]
|
[ DEL ]
📄 hsmmc-omap.h
2,521 B
SET
[ EDIT ]
|
[ DEL ]
📄 hwmon-s3c.h
1,358 B
SET
[ EDIT ]
|
[ DEL ]
📄 i2c-cbus-gpio.h
790 B
SET
[ EDIT ]
|
[ DEL ]
📄 i2c-davinci.h
835 B
SET
[ EDIT ]
|
[ DEL ]
📄 i2c-gpio.h
1,218 B
SET
[ EDIT ]
|
[ DEL ]
📄 i2c-imx.h
420 B
SET
[ EDIT ]
|
[ DEL ]
📄 i2c-mux-gpio.h
1,383 B
SET
[ EDIT ]
|
[ DEL ]
📄 i2c-mux-reg.h
1,442 B
SET
[ EDIT ]
|
[ DEL ]
📄 i2c-ocores.h
757 B
SET
[ EDIT ]
|
[ DEL ]
📄 i2c-omap.h
1,241 B
SET
[ EDIT ]
|
[ DEL ]
📄 i2c-pca-platform.h
291 B
SET
[ EDIT ]
|
[ DEL ]
📄 i2c-pxa.h
2,596 B
SET
[ EDIT ]
|
[ DEL ]
📄 i2c-s3c2410.h
3,075 B
SET
[ EDIT ]
|
[ DEL ]
📄 i2c-xiic.h
1,444 B
SET
[ EDIT ]
|
[ DEL ]
📄 ina2xx.h
546 B
SET
[ EDIT ]
|
[ DEL ]
📄 intel-mid_wdt.h
620 B
SET
[ EDIT ]
|
[ DEL ]
📄 intel-spi.h
751 B
SET
[ EDIT ]
|
[ DEL ]
📄 invensense_mpu6050.h
1,272 B
SET
[ EDIT ]
|
[ DEL ]
📄 iommu-omap.h
567 B
SET
[ EDIT ]
|
[ DEL ]
📄 irda-pxaficp.h
704 B
SET
[ EDIT ]
|
[ DEL ]
📄 irda-sa11x0.h
557 B
SET
[ EDIT ]
|
[ DEL ]
📄 isl9305.h
704 B
SET
[ EDIT ]
|
[ DEL ]
📄 itco_wdt.h
569 B
SET
[ EDIT ]
|
[ DEL ]
📄 keyboard-pxa930_rotary.h
642 B
SET
[ EDIT ]
|
[ DEL ]
📄 keyboard-spear.h
3,897 B
SET
[ EDIT ]
|
[ DEL ]
📄 keypad-ep93xx.h
1,071 B
SET
[ EDIT ]
|
[ DEL ]
📄 keypad-nomadik-ske.h
1,200 B
SET
[ EDIT ]
|
[ DEL ]
📄 keypad-omap.h
1,478 B
SET
[ EDIT ]
|
[ DEL ]
📄 keypad-pxa27x.h
2,213 B
SET
[ EDIT ]
|
[ DEL ]
📄 keypad-w90p910.h
380 B
SET
[ EDIT ]
|
[ DEL ]
📄 keyscan-davinci.h
1,182 B
SET
[ EDIT ]
|
[ DEL ]
📄 lcd-mipid.h
586 B
SET
[ EDIT ]
|
[ DEL ]
📄 leds-kirkwood-netxbig.h
1,102 B
SET
[ EDIT ]
|
[ DEL ]
📄 leds-kirkwood-ns2.h
742 B
SET
[ EDIT ]
|
[ DEL ]
📄 leds-lm355x.h
1,461 B
SET
[ EDIT ]
|
[ DEL ]
📄 leds-lm3642.h
823 B
SET
[ EDIT ]
|
[ DEL ]
📄 leds-lp55xx.h
2,090 B
SET
[ EDIT ]
|
[ DEL ]
📄 leds-omap.h
498 B
SET
[ EDIT ]
|
[ DEL ]
📄 leds-pca963x.h
1,254 B
SET
[ EDIT ]
|
[ DEL ]
📄 leds-s3c24xx.h
669 B
SET
[ EDIT ]
|
[ DEL ]
📄 lm3630a_bl.h
1,683 B
SET
[ EDIT ]
|
[ DEL ]
📄 lm3639_bl.h
1,545 B
SET
[ EDIT ]
|
[ DEL ]
📄 lm8323.h
1,372 B
SET
[ EDIT ]
|
[ DEL ]
📄 lp855x.h
4,171 B
SET
[ EDIT ]
|
[ DEL ]
📄 lp8727.h
1,623 B
SET
[ EDIT ]
|
[ DEL ]
📄 lp8755.h
1,654 B
SET
[ EDIT ]
|
[ DEL ]
📄 ltc4245.h
538 B
SET
[ EDIT ]
|
[ DEL ]
📄 lv5207lp.h
419 B
SET
[ EDIT ]
|
[ DEL ]
📄 macb.h
799 B
SET
[ EDIT ]
|
[ DEL ]
📄 max197.h
757 B
SET
[ EDIT ]
|
[ DEL ]
📄 max3421-hcd.h
808 B
SET
[ EDIT ]
|
[ DEL ]
📄 max6639.h
433 B
SET
[ EDIT ]
|
[ DEL ]
📄 max6697.h
1,058 B
SET
[ EDIT ]
|
[ DEL ]
📄 max732x.h
573 B
SET
[ EDIT ]
|
[ DEL ]
📄 mcs.h
913 B
SET
[ EDIT ]
|
[ DEL ]
📄 mdio-bcm-unimac.h
275 B
SET
[ EDIT ]
|
[ DEL ]
📄 mdio-gpio.h
273 B
SET
[ EDIT ]
|
[ DEL ]
📄 mfd-mcp-sa11x0.h
418 B
SET
[ EDIT ]
|
[ DEL ]
📄 microchip-ksz.h
962 B
SET
[ EDIT ]
|
[ DEL ]
📄 mlxcpld.h
885 B
SET
[ EDIT ]
|
[ DEL ]
📄 mlxreg.h
7,654 B
SET
[ EDIT ]
|
[ DEL ]
📄 mmc-davinci.h
736 B
SET
[ EDIT ]
|
[ DEL ]
📄 mmc-esdhc-imx.h
1,592 B
SET
[ EDIT ]
|
[ DEL ]
📄 mmc-mxcmmc.h
1,099 B
SET
[ EDIT ]
|
[ DEL ]
📄 mmc-omap.h
3,463 B
SET
[ EDIT ]
|
[ DEL ]
📄 mmc-pxamci.h
1,036 B
SET
[ EDIT ]
|
[ DEL ]
📄 mmc-s3cmci.h
2,084 B
SET
[ EDIT ]
|
[ DEL ]
📄 mmc-sdhci-s3c.h
2,278 B
SET
[ EDIT ]
|
[ DEL ]
📄 mmp_audio.h
492 B
SET
[ EDIT ]
|
[ DEL ]
📄 mmp_dma.h
419 B
SET
[ EDIT ]
|
[ DEL ]
📄 mouse-pxa930_trkball.h
226 B
SET
[ EDIT ]
|
[ DEL ]
📄 mtd-davinci-aemif.h
769 B
SET
[ EDIT ]
|
[ DEL ]
📄 mtd-davinci.h
3,006 B
SET
[ EDIT ]
|
[ DEL ]
📄 mtd-mxc_nand.h
1,275 B
SET
[ EDIT ]
|
[ DEL ]
📄 mtd-nand-omap2.h
2,195 B
SET
[ EDIT ]
|
[ DEL ]
📄 mtd-nand-pxa3xx.h
812 B
SET
[ EDIT ]
|
[ DEL ]
📄 mtd-nand-s3c2410.h
2,235 B
SET
[ EDIT ]
|
[ DEL ]
📄 mtd-orion_nand.h
561 B
SET
[ EDIT ]
|
[ DEL ]
📄 mv88e6xxx.h
390 B
SET
[ EDIT ]
|
[ DEL ]
📄 mv_usb.h
1,281 B
SET
[ EDIT ]
|
[ DEL ]
📄 net-cw1200.h
2,781 B
SET
[ EDIT ]
|
[ DEL ]
📄 nfcmrvl.h
1,262 B
SET
[ EDIT ]
|
[ DEL ]
📄 ntc_thermistor.h
1,937 B
SET
[ EDIT ]
|
[ DEL ]
📄 nxp-nci.h
816 B
SET
[ EDIT ]
|
[ DEL ]
📄 omap-twl4030.h
1,675 B
SET
[ EDIT ]
|
[ DEL ]
📄 omap-wd-timer.h
1,108 B
SET
[ EDIT ]
|
[ DEL ]
📄 omap1_bl.h
229 B
SET
[ EDIT ]
|
[ DEL ]
📄 omapdss.h
1,104 B
SET
[ EDIT ]
|
[ DEL ]
📄 pca953x.h
690 B
SET
[ EDIT ]
|
[ DEL ]
📄 pca954x.h
1,567 B
SET
[ EDIT ]
|
[ DEL ]
📄 pcf857x.h
1,825 B
SET
[ EDIT ]
|
[ DEL ]
📄 pcmcia-pxa2xx_viper.h
200 B
SET
[ EDIT ]
|
[ DEL ]
📄 phy-da8xx-usb.h
474 B
SET
[ EDIT ]
|
[ DEL ]
📄 pinctrl-single.h
339 B
SET
[ EDIT ]
|
[ DEL ]
📄 pixcir_i2c_ts.h
1,486 B
SET
[ EDIT ]
|
[ DEL ]
📄 pm33xx.h
976 B
SET
[ EDIT ]
|
[ DEL ]
📄 pwm_omap_dmtimer.h
3,403 B
SET
[ EDIT ]
|
[ DEL ]
📄 pxa2xx_udc.h
983 B
SET
[ EDIT ]
|
[ DEL ]
📄 pxa_sdhci.h
1,798 B
SET
[ EDIT ]
|
[ DEL ]
📄 regulator-haptic.h
837 B
SET
[ EDIT ]
|
[ DEL ]
📄 remoteproc-omap.h
1,748 B
SET
[ EDIT ]
|
[ DEL ]
📄 rtc-ds2404.h
467 B
SET
[ EDIT ]
|
[ DEL ]
📄 rtc-v3020.h
1,057 B
SET
[ EDIT ]
|
[ DEL ]
📄 s3c-hsotg.h
1,210 B
SET
[ EDIT ]
|
[ DEL ]
📄 s3c-hsudc.h
1,161 B
SET
[ EDIT ]
|
[ DEL ]
📄 sa11x0-serial.h
874 B
SET
[ EDIT ]
|
[ DEL ]
📄 sc18is602.h
543 B
SET
[ EDIT ]
|
[ DEL ]
📄 sdhci-pic32.h
757 B
SET
[ EDIT ]
|
[ DEL ]
📄 serial-imx.h
945 B
SET
[ EDIT ]
|
[ DEL ]
📄 serial-omap.h
1,231 B
SET
[ EDIT ]
|
[ DEL ]
📄 serial-sccnxp.h
2,149 B
SET
[ EDIT ]
|
[ DEL ]
📄 shmob_drm.h
2,843 B
SET
[ EDIT ]
|
[ DEL ]
📄 sht3x.h
801 B
SET
[ EDIT ]
|
[ DEL ]
📄 shtc1.h
720 B
SET
[ EDIT ]
|
[ DEL ]
📄 si5351.h
3,634 B
SET
[ EDIT ]
|
[ DEL ]
📄 simplefb.h
2,312 B
SET
[ EDIT ]
|
[ DEL ]
📄 sky81452-backlight.h
1,560 B
SET
[ EDIT ]
|
[ DEL ]
📄 spi-clps711x.h
628 B
SET
[ EDIT ]
|
[ DEL ]
📄 spi-davinci.h
3,164 B
SET
[ EDIT ]
|
[ DEL ]
📄 spi-ep93xx.h
454 B
SET
[ EDIT ]
|
[ DEL ]
📄 spi-imx.h
1,482 B
SET
[ EDIT ]
|
[ DEL ]
📄 spi-mt65xx.h
531 B
SET
[ EDIT ]
|
[ DEL ]
📄 spi-nuc900.h
730 B
SET
[ EDIT ]
|
[ DEL ]
📄 spi-omap2-mcspi.h
453 B
SET
[ EDIT ]
|
[ DEL ]
📄 spi-s3c64xx.h
2,057 B
SET
[ EDIT ]
|
[ DEL ]
📄 ssm2518.h
489 B
SET
[ EDIT ]
|
[ DEL ]
📄 st33zp24.h
967 B
SET
[ EDIT ]
|
[ DEL ]
📄 st_sensors_pdata.h
730 B
SET
[ EDIT ]
|
[ DEL ]
📄 syscon.h
163 B
SET
[ EDIT ]
|
[ DEL ]
📄 tc35876x.h
172 B
SET
[ EDIT ]
|
[ DEL ]
📄 tda9950.h
282 B
SET
[ EDIT ]
|
[ DEL ]
📄 ti-aemif.h
1,254 B
SET
[ EDIT ]
|
[ DEL ]
📄 ti-sysc.h
3,753 B
SET
[ EDIT ]
|
[ DEL ]
📄 touchscreen-s3c2410.h
741 B
SET
[ EDIT ]
|
[ DEL ]
📄 tsc2007.h
655 B
SET
[ EDIT ]
|
[ DEL ]
📄 tsl2563.h
180 B
SET
[ EDIT ]
|
[ DEL ]
📄 tsl2772.h
3,819 B
SET
[ EDIT ]
|
[ DEL ]
📄 uio_dmem_genirq.h
800 B
SET
[ EDIT ]
|
[ DEL ]
📄 uio_pruss.h
827 B
SET
[ EDIT ]
|
[ DEL ]
📄 usb-davinci.h
1,068 B
SET
[ EDIT ]
|
[ DEL ]
📄 usb-ehci-mxc.h
332 B
SET
[ EDIT ]
|
[ DEL ]
📄 usb-ehci-orion.h
440 B
SET
[ EDIT ]
|
[ DEL ]
📄 usb-musb-ux500.h
575 B
SET
[ EDIT ]
|
[ DEL ]
📄 usb-mx2.h
864 B
SET
[ EDIT ]
|
[ DEL ]
📄 usb-ohci-pxa27x.h
925 B
SET
[ EDIT ]
|
[ DEL ]
📄 usb-ohci-s3c2410.h
1,087 B
SET
[ EDIT ]
|
[ DEL ]
📄 usb-omap.h
2,880 B
SET
[ EDIT ]
|
[ DEL ]
📄 usb-omap1.h
1,505 B
SET
[ EDIT ]
|
[ DEL ]
📄 usb-pxa3xx-ulpi.h
821 B
SET
[ EDIT ]
|
[ DEL ]
📄 usb-s3c2410_udc.h
1,221 B
SET
[ EDIT ]
|
[ DEL ]
📄 usb3503.h
431 B
SET
[ EDIT ]
|
[ DEL ]
📄 ux500_wdt.h
320 B
SET
[ EDIT ]
|
[ DEL ]
📄 video-clcd-versatile.h
758 B
SET
[ EDIT ]
|
[ DEL ]
📄 video-ep93xx.h
1,525 B
SET
[ EDIT ]
|
[ DEL ]
📄 video-imxfb.h
1,796 B
SET
[ EDIT ]
|
[ DEL ]
📄 video-mx3fb.h
1,573 B
SET
[ EDIT ]
|
[ DEL ]
📄 video-nuc900fb.h
1,935 B
SET
[ EDIT ]
|
[ DEL ]
📄 video-pxafb.h
5,503 B
SET
[ EDIT ]
|
[ DEL ]
📄 video_s3c.h
1,756 B
SET
[ EDIT ]
|
[ DEL ]
📄 voltage-omap.h
1,326 B
SET
[ EDIT ]
|
[ DEL ]
📄 wiznet.h
504 B
SET
[ EDIT ]
|
[ DEL ]
📄 wkup_m3.h
937 B
SET
[ EDIT ]
|
[ DEL ]
📄 zforce_ts.h
727 B
SET
[ EDIT ]
|
[ DEL ]
DELETE SELECTED
[ CLOSE ]
EDIT: dma-ste-dma40.h
/* * Copyright (C) ST-Ericsson SA 2007-2010 * Author: Per Forlin <per.forlin@stericsson.com> for ST-Ericsson * Author: Jonas Aaberg <jonas.aberg@stericsson.com> for ST-Ericsson * License terms: GNU General Public License (GPL) version 2 */ #ifndef STE_DMA40_H #define STE_DMA40_H #include <linux/dmaengine.h> #include <linux/scatterlist.h> #include <linux/workqueue.h> #include <linux/interrupt.h> /* * Maxium size for a single dma descriptor * Size is limited to 16 bits. * Size is in the units of addr-widths (1,2,4,8 bytes) * Larger transfers will be split up to multiple linked desc */ #define STEDMA40_MAX_SEG_SIZE 0xFFFF /* dev types for memcpy */ #define STEDMA40_DEV_DST_MEMORY (-1) #define STEDMA40_DEV_SRC_MEMORY (-1) enum stedma40_mode { STEDMA40_MODE_LOGICAL = 0, STEDMA40_MODE_PHYSICAL, STEDMA40_MODE_OPERATION, }; enum stedma40_mode_opt { STEDMA40_PCHAN_BASIC_MODE = 0, STEDMA40_LCHAN_SRC_LOG_DST_LOG = 0, STEDMA40_PCHAN_MODULO_MODE, STEDMA40_PCHAN_DOUBLE_DST_MODE, STEDMA40_LCHAN_SRC_PHY_DST_LOG, STEDMA40_LCHAN_SRC_LOG_DST_PHY, }; #define STEDMA40_ESIZE_8_BIT 0x0 #define STEDMA40_ESIZE_16_BIT 0x1 #define STEDMA40_ESIZE_32_BIT 0x2 #define STEDMA40_ESIZE_64_BIT 0x3 /* The value 4 indicates that PEN-reg shall be set to 0 */ #define STEDMA40_PSIZE_PHY_1 0x4 #define STEDMA40_PSIZE_PHY_2 0x0 #define STEDMA40_PSIZE_PHY_4 0x1 #define STEDMA40_PSIZE_PHY_8 0x2 #define STEDMA40_PSIZE_PHY_16 0x3 /* * The number of elements differ in logical and * physical mode */ #define STEDMA40_PSIZE_LOG_1 STEDMA40_PSIZE_PHY_2 #define STEDMA40_PSIZE_LOG_4 STEDMA40_PSIZE_PHY_4 #define STEDMA40_PSIZE_LOG_8 STEDMA40_PSIZE_PHY_8 #define STEDMA40_PSIZE_LOG_16 STEDMA40_PSIZE_PHY_16 /* Maximum number of possible physical channels */ #define STEDMA40_MAX_PHYS 32 enum stedma40_flow_ctrl { STEDMA40_NO_FLOW_CTRL, STEDMA40_FLOW_CTRL, }; /** * struct stedma40_half_channel_info - dst/src channel configuration * * @big_endian: true if the src/dst should be read as big endian * @data_width: Data width of the src/dst hardware * @p_size: Burst size * @flow_ctrl: Flow control on/off. */ struct stedma40_half_channel_info { bool big_endian; enum dma_slave_buswidth data_width; int psize; enum stedma40_flow_ctrl flow_ctrl; }; /** * struct stedma40_chan_cfg - Structure to be filled by client drivers. * * @dir: MEM 2 MEM, PERIPH 2 MEM , MEM 2 PERIPH, PERIPH 2 PERIPH * @high_priority: true if high-priority * @realtime: true if realtime mode is to be enabled. Only available on DMA40 * version 3+, i.e DB8500v2+ * @mode: channel mode: physical, logical, or operation * @mode_opt: options for the chosen channel mode * @dev_type: src/dst device type (driver uses dir to figure out which) * @src_info: Parameters for dst half channel * @dst_info: Parameters for dst half channel * @use_fixed_channel: if true, use physical channel specified by phy_channel * @phy_channel: physical channel to use, only if use_fixed_channel is true * * This structure has to be filled by the client drivers. * It is recommended to do all dma configurations for clients in the machine. * */ struct stedma40_chan_cfg { enum dma_transfer_direction dir; bool high_priority; bool realtime; enum stedma40_mode mode; enum stedma40_mode_opt mode_opt; int dev_type; struct stedma40_half_channel_info src_info; struct stedma40_half_channel_info dst_info; bool use_fixed_channel; int phy_channel; }; /** * struct stedma40_platform_data - Configuration struct for the dma device. * * @dev_tx: mapping between destination event line and io address * @dev_rx: mapping between source event line and io address * @disabled_channels: A vector, ending with -1, that marks physical channels * that are for different reasons not available for the driver. * @soft_lli_chans: A vector, that marks physical channels will use LLI by SW * which avoids HW bug that exists in some versions of the controller. * SoftLLI introduces relink overhead that could impact performace for * certain use cases. * @num_of_soft_lli_chans: The number of channels that needs to be configured * to use SoftLLI. * @use_esram_lcla: flag for mapping the lcla into esram region * @num_of_memcpy_chans: The number of channels reserved for memcpy. * @num_of_phy_chans: The number of physical channels implemented in HW. * 0 means reading the number of channels from DMA HW but this is only valid * for 'multiple of 4' channels, like 8. */ struct stedma40_platform_data { int disabled_channels[STEDMA40_MAX_PHYS]; int *soft_lli_chans; int num_of_soft_lli_chans; bool use_esram_lcla; int num_of_memcpy_chans; int num_of_phy_chans; }; #ifdef CONFIG_STE_DMA40 /** * stedma40_filter() - Provides stedma40_chan_cfg to the * ste_dma40 dma driver via the dmaengine framework. * does some checking of what's provided. * * Never directly called by client. It used by dmaengine. * @chan: dmaengine handle. * @data: Must be of type: struct stedma40_chan_cfg and is * the configuration of the framework. * * */ bool stedma40_filter(struct dma_chan *chan, void *data); /** * stedma40_slave_mem() - Transfers a raw data buffer to or from a slave * (=device) * * @chan: dmaengine handle * @addr: source or destination physicall address. * @size: bytes to transfer * @direction: direction of transfer * @flags: is actually enum dma_ctrl_flags. See dmaengine.h */ static inline struct dma_async_tx_descriptor *stedma40_slave_mem(struct dma_chan *chan, dma_addr_t addr, unsigned int size, enum dma_transfer_direction direction, unsigned long flags) { struct scatterlist sg; sg_init_table(&sg, 1); sg.dma_address = addr; sg.length = size; return dmaengine_prep_slave_sg(chan, &sg, 1, direction, flags); } #else static inline bool stedma40_filter(struct dma_chan *chan, void *data) { return false; } static inline struct dma_async_tx_descriptor *stedma40_slave_mem(struct dma_chan *chan, dma_addr_t addr, unsigned int size, enum dma_transfer_direction direction, unsigned long flags) { return NULL; } #endif #endif