Searched refs:GPIO2 (Results 1 - 113 of 113) sorted by relevance

/linux-4.4.14/drivers/media/usb/dvb-usb/
H A Ddib07x0.h7 GPIO2 = 3, enumerator in enum:dib07x0_gpios
H A Ddib0700_devices.c3361 dib0700_set_gpio(dev, GPIO2, GPIO_OUT, 1); novatd_frontend_attach()
3401 GPIO2 - CX25843 sleep
3432 dib0700_set_gpio(adap->dev, GPIO2, GPIO_OUT, 0); s5h1411_frontend_attach()
3436 dib0700_set_gpio(adap->dev, GPIO2, GPIO_OUT, 1); s5h1411_frontend_attach()
3562 GPIO2 - CX25843 sleep
3594 dib0700_set_gpio(adap->dev, GPIO2, GPIO_OUT, 1); pctv340e_frontend_attach()
/linux-4.4.14/include/sound/
H A Drt286.h16 bool gpio2_en; /*GPIO2 enable*/
H A Drt298.h16 bool gpio2_en; /*GPIO2 enable*/
H A Drt5677.h34 /* jd1 can select 0 ~ 3 as OFF, GPIO1, GPIO2 and GPIO3 respectively */
/linux-4.4.14/include/linux/platform_data/
H A Dpinctrl-adi2.h2 * Pinctrl Driver for ADI GPIO2 controller
18 * for ADI GPIO2 device.
/linux-4.4.14/drivers/video/fbdev/omap/
H A Dlcd_h3.c44 /* GPIO1 and GPIO2 of TPS65010 send LCD_ENBKL and LCD_ENVDD signals */ h3_panel_enable()
47 r = tps65010_set_gpio_out_value(GPIO2, HIGH); h3_panel_enable()
58 /* GPIO1 and GPIO2 of TPS65010 send LCD_ENBKL and LCD_ENVDD signals */ h3_panel_disable()
61 tps65010_set_gpio_out_value(GPIO2, LOW); h3_panel_disable()
H A Dlcd_osk.c54 /* set GPIO2 high (lcd power enabled) */ osk_panel_enable()
68 /* set GPIO2 low */ osk_panel_disable()
/linux-4.4.14/arch/mips/include/asm/mach-au1x00/
H A Dgpio-au1000.h15 * GPIO0-31 from GPIO1 block, GPIO200-215 from GPIO2 block.
36 /* register offsets within GPIO2 block */
281 * GPIO2 block macros for common linux GPIO functions. The 'gpio'
357 /* GPIO2 shared interrupts and control */
372 * alchemy_gpio2_enable_int - Enable a GPIO2 pins' shared irq contribution.
373 * @gpio2: The GPIO2 pin to activate (200...215).
383 * GPIO2-based interrupts have their own request to the INTC. Please
390 * NOTE: 'gpio2' parameter must be in range of the GPIO2 numberspace
412 * alchemy_gpio2_disable_int - Disable a GPIO2 pins' shared irq contribution.
413 * @gpio2: The GPIO2 pin to activate (200...215).
436 * alchemy_gpio2_enable - Activate GPIO2 block.
438 * The GPIO2 block must be enabled excplicitly to work. On systems
451 * alchemy_gpio2_disable - disable GPIO2 block.
453 * Disable and put GPIO2 block in low-power mode.
H A Dau1000.h395 # define SYS_PF_CK4 (1 << 9) /* GPIO2/CLK4 */
410 # define SYS_PF_EX0 (1 << 9) /* GPIO2/clock */
/linux-4.4.14/drivers/pinctrl/
H A Dpinctrl-adi2.h2 * Pinctrl Driver for ADI GPIO2 controller
H A Dpinctrl-lantiq.h111 GPIO2, enumerator in enum:ltq_pin
H A Dpinctrl-xway.c113 MFP_XWAY(GPIO2, GPIO, CGU, EXIN, GPHY),
173 MFP_XWAY(GPIO2, GPIO, STP, DFE, EPHY),
214 static const unsigned pins_gphy0_led2[] = {GPIO2};
236 static const unsigned pins_exin2[] = {GPIO2};
256 static const unsigned pins_clkout3[] = {GPIO2};
269 static const unsigned ase_pins_stp[] = {GPIO1, GPIO2, GPIO3};
270 static const unsigned ase_pins_ephy[] = {GPIO2, GPIO3, GPIO4};
271 static const unsigned ase_pins_dfe[] = {GPIO1, GPIO2};
698 static const unsigned xway_exin_pin_map[] = {GPIO0, GPIO1, GPIO2, GPIO39, GPIO46, GPIO9};
H A Dpinctrl-adi2-bf54x.c2 * Pinctrl Driver for ADI GPIO2 controller
H A Dpinctrl-adi2-bf60x.c2 * Pinctrl Driver for ADI GPIO2 controller
H A Dpinctrl-as3722.c166 AS3722_PINGROUP(gpio2, GPIO2),
H A Dpinctrl-falcon.c116 MFP_FALCON(GPIO2, GPIO, GPIO, NONE, NONE),
H A Dpinctrl-adi2.c2 * Pinctrl Driver for ADI GPIO2 controller
/linux-4.4.14/arch/arm/mach-pxa/
H A Dpxa300.c28 MFP_ADDR_X(GPIO0, GPIO2, 0x00b4),
H A Dmfp-pxa2xx.c307 /* skip GPIO2, 5, 6, 7, 8, they are not pxa27x_mfp_init()
326 /* skip GPIO2, 5, 6, 7, 8 */ pxa27x_mfp_init()
H A Dcsb726.c52 GPIO9_GPIO, /* GPIO2 */
H A Dpcm027.c63 * GPIO2 -> SYS_ENA*)
H A Dpxa930.c28 MFP_ADDR(GPIO2, 0x02e8),
H A Dmxm8x10.c103 GPIO2 - nWait (Data Bus)
/linux-4.4.14/drivers/net/usb/
H A Dsr9800.h90 #define SR_GPIO_GPO2EN (1 << 4) /* GPIO2 Output enable */
91 #define SR_GPIO_GPO_2 (1 << 5) /* GPIO2 Output value */
H A Dasix.h151 #define AX_GPIO_GPO2EN 0x10 /* GPIO2 Output enable */
152 #define AX_GPIO_GPO_2 0x20 /* GPIO2 Output value */
/linux-4.4.14/arch/sh/kernel/cpu/sh4a/
H A Dsetup-shx3.c190 GPIO0, GPIO1, GPIO2, GPIO3, enumerator in enum:__anon2675
238 INTC_VECT(GPIO2, 0xe80), INTC_VECT(GPIO3, 0xea0),
272 DU, GPIO3, GPIO2, GPIO1, GPIO0, PAM, 0, 0,
308 GPIO2, GPIO1, GPIO0, IRM } },
/linux-4.4.14/arch/arm/mach-sa1100/
H A Dh3100.c84 /* Older bootldrs put GPIO2-9 in alternate mode on the h3100_map_io()
/linux-4.4.14/drivers/media/pci/cx23885/
H A Dcx23885-f300.c10 * GPIO2 - clk - P0.1 F300
H A Dcx23885-reg.h98 #define GPIO2 0x00000164 macro
H A Dcx23885-core.c1278 dprintk(1, "%s() GPIO2 0x%08X\n", __func__, cx23885_tsport_reg_dump()
1279 cx_read(GPIO2)); cx23885_tsport_reg_dump()
H A Dcx23885-cards.c1452 /* GPIO1 and GPIO2 as INTA and INTB from CiMaxes, reset low */ cx23885_gpio_setup()
/linux-4.4.14/arch/cris/boot/dts/include/dt-bindings/pinctrl/
H A Dqcom,pmic-gpio.h52 * Note: PM8916 GPIO1 and GPIO2 are supporting
/linux-4.4.14/include/dt-bindings/pinctrl/
H A Dqcom,pmic-gpio.h52 * Note: PM8916 GPIO1 and GPIO2 are supporting
/linux-4.4.14/arch/metag/boot/dts/include/dt-bindings/pinctrl/
H A Dqcom,pmic-gpio.h52 * Note: PM8916 GPIO1 and GPIO2 are supporting
/linux-4.4.14/arch/mips/boot/dts/include/dt-bindings/pinctrl/
H A Dqcom,pmic-gpio.h52 * Note: PM8916 GPIO1 and GPIO2 are supporting
/linux-4.4.14/arch/powerpc/boot/dts/include/dt-bindings/pinctrl/
H A Dqcom,pmic-gpio.h52 * Note: PM8916 GPIO1 and GPIO2 are supporting
/linux-4.4.14/arch/arm64/boot/dts/include/dt-bindings/pinctrl/
H A Dqcom,pmic-gpio.h52 * Note: PM8916 GPIO1 and GPIO2 are supporting
/linux-4.4.14/arch/arm/boot/dts/include/dt-bindings/pinctrl/
H A Dqcom,pmic-gpio.h52 * Note: PM8916 GPIO1 and GPIO2 are supporting
/linux-4.4.14/drivers/hwmon/
H A Datxp1.c206 /* sys file functions for GPIO2 */ atxp1_showgpio2()
246 * GPIO2 data register
/linux-4.4.14/include/linux/i2c/
H A Dtps65010.h118 #define GPIO2 2 macro
138 * gpio: GPIO1, GPIO2, GPIO3 or GPIO4
/linux-4.4.14/arch/arm/mach-davinci/
H A Dboard-da830-evm.c41 * USB1 VBUS is controlled by GPIO1[15], over-current is reported on GPIO2[4].
215 * GPIO2[1] is used as MMC_SD_WP and GPIO2[2] as MMC_SD_INS.
/linux-4.4.14/arch/mips/alchemy/common/
H A Dgpiolib.c29 * Au1100, Au15x0, Au12x0 have a second one : GPIO2
/linux-4.4.14/arch/arm/mach-nomadik/
H A Dcpu-8815.c61 #define NOMADIK_GPIO2_BASE 0x101E6000 /* GPIO2 */
/linux-4.4.14/drivers/video/fbdev/via/
H A Ddvi.c78 0 = Emulate I2C and DDC bus by GPIO2/3/4. */ viafb_tmds_trasmitter_identify()
227 0 = Emulate I2C and DDC bus by GPIO2/3/4. */ viafb_dvi_sense()
/linux-4.4.14/drivers/pinctrl/berlin/
H A Dberlin-bg4ct.c46 BERLIN_PINCTRL_FUNCTION(0x3, "gpio")), /* GPIO2 */
273 BERLIN_PINCTRL_FUNCTION(0x0, "gpio"), /* AVIO GPIO2 */
365 BERLIN_PINCTRL_FUNCTION(0x1, "gpio")), /* SM GPIO2 */
/linux-4.4.14/arch/arm/mach-mmp/include/mach/
H A Dmfp-pxa168.h23 #define GPIO2_GPIO MFP_CFG(GPIO2, AF5)
148 #define GPIO2_DFI_D13 MFP_CFG(GPIO2, AF0)
H A Dmfp-pxa910.h69 #define GPIO02_KP_MKIN1 MFP_CFG(GPIO2, AF1)
H A Dmfp-mmp2.h14 #define GPIO2_GPIO MFP_CFG(GPIO2, AF0)
354 #define GPIO02_KP_MKIN1 MFP_CFG(GPIO2, AF1)
/linux-4.4.14/drivers/pinctrl/mediatek/
H A Dpinctrl-mtk-mt6397.h27 MTK_FUNCTION(0, "GPIO2"),
H A Dpinctrl-mtk-mt8127.h28 MTK_FUNCTION(0, "GPIO2")
H A Dpinctrl-mtk-mt8173.h48 MTK_FUNCTION(0, "GPIO2"),
H A Dpinctrl-mtk-mt8135.h52 MTK_FUNCTION(0, "GPIO2"),
/linux-4.4.14/arch/arm/mach-pxa/include/mach/
H A Dmfp-pxa25x.h7 #define GPIO2_GPIO MFP_CFG_IN(GPIO2, AF0)
H A Dmfp-pxa3xx.h13 #define GPIO2_GPIO MFP_CFG(GPIO2, AF0)
H A Dmfp-pxa930.h150 #define GPIO2_KP_MKIN_1 MFP_CFG_LPM(GPIO2, AF1, FLOAT)
488 #define GPIO2_CLK13MOUTDMD MFP_CFG(GPIO2, AF3)
H A Dmfp-pxa320.h450 #define GPIO2_RDY MFP_CFG(GPIO2, AF1)
H A Dmfp-pxa300.h44 #define GPIO2_nCS3 MFP_CFG(GPIO2, AF1)
/linux-4.4.14/arch/arm/mach-realview/
H A Drealview_pb1176.c171 APB_DEVICE(gpio2, "dev:gpio2", GPIO2, &gpio2_plat_data);
H A Drealview_pb11mp.c165 APB_DEVICE(gpio2, "dev:gpio2", GPIO2, &gpio2_plat_data);
H A Drealview_pba8.c160 APB_DEVICE(gpio2, "dev:gpio2", GPIO2, &gpio2_plat_data);
H A Drealview_pbx.c183 APB_DEVICE(gpio2, "dev:gpio2", GPIO2, &gpio2_plat_data);
H A Drealview_eb.c189 APB_DEVICE(gpio2, "dev:gpio2", GPIO2, &gpio2_plat_data);
/linux-4.4.14/arch/arm/mach-s3c64xx/
H A Dmach-crag6410-module.c129 0x8001, /* GPIO2 == ADCLRCLK2, input due to CPU */
/linux-4.4.14/drivers/gpio/
H A Dgpio-cs5535.c278 "GPIO0", "GPIO1", "GPIO2", "GPIO3",
/linux-4.4.14/drivers/media/usb/dvb-usb-v2/
H A Drtl28xxu.c289 * GPIO2 | LED | 0 off | 1 on | rtl2831u_read_config()
298 /* enable as output GPIO0, GPIO2, GPIO4 */ rtl2831u_read_config()
1439 gpio |= 0x04; /* GPIO2 = 1, LED on */ rtl2831u_power_ctrl()
1447 gpio &= (~0x04); /* GPIO2 = 1, LED off */ rtl2831u_power_ctrl()
/linux-4.4.14/arch/arm/mach-omap2/
H A Domap_hwmod_33xx_43xx_interconnect_data.c125 /* l4 per/ls -> GPIO2 */
/linux-4.4.14/drivers/watchdog/
H A Dw83627hf_wdt.c152 /* set CR30 bit 0 to activate GPIO2 */ w83627hf_init()
/linux-4.4.14/drivers/pinctrl/nomadik/
H A Dpinctrl-ab8505.c278 ALTERNATE_FUNCTIONS(2, 1, UNUSED, UNUSED, 0, 0, 0), /* GPIO2, altA controlled by bit 1 */
H A Dpinctrl-ab8540.c307 ALTERNATE_FUNCTIONS(2, 1, UNUSED, UNUSED, 0, 0, 0), /* GPIO2, altA controlled by bit 1 */
H A Dpinctrl-ab8500.c396 ALTERNATE_FUNCTIONS(2, 1, UNUSED, UNUSED, 0, 0, 0), /* GPIO2, altA controlled by bit 1 */
H A Dpinctrl-ab9540.c387 ALTERNATE_FUNCTIONS(2, 1, UNUSED, UNUSED, 0, 0, 0), /* GPIO2, altA controlled by bit 1 */
/linux-4.4.14/arch/arm/mach-omap1/
H A Dboard-osk.c204 tps65010_set_gpio_out_value(GPIO2, HIGH); osk_tps_setup()
/linux-4.4.14/sound/pci/ice1712/
H A Drevo.c371 /* CDTO (pin 32) -- GPIO2 pin 52
H A Dquartet.c83 /* GPIO2 - I/O - DATA2, Jack Detect Input1 (0:present, 1:missing), def. 1 */
/linux-4.4.14/drivers/staging/comedi/drivers/
H A Ds626.h108 #define S626_RPS_GPIO2 0x00080000 /* RPS GPIO2 */
139 #define S626_PSR_GPIO2 0x00000020 /* GPIO2 input pin: 0=AdcBusy,
H A Ds626.c1681 * Wait for ADC to complete (GPIO2 is asserted high when ADC not s626_reset_adc()
1846 * Wait for ADC to complete (GPIO2 is asserted high when s626_ai_insn_read()
/linux-4.4.14/drivers/scsi/sym53c8xx_2/
H A Dsym_nvram.c542 * GPIO2 - clock
/linux-4.4.14/arch/mips/alchemy/devboards/
H A Ddb1200.c894 pfc |= (2 << 17); /* GPIO2 block owns GPIO215 */ db1200_dev_setup()
/linux-4.4.14/arch/arm/mach-versatile/
H A Dcore.c652 APB_DEVICE(gpio2, "dev:e6", GPIO2, &gpio2_plat_data);
/linux-4.4.14/sound/soc/codecs/
H A Dwm8990.h350 * R19 (0x13) - GPIO1 & GPIO2
H A Dwm8991.h348 * R19 (0x13) - GPIO1 & GPIO2
H A Dwm8990.c68 { 19, 0x1000 }, /* R19 - GPIO1 & GPIO2 */
H A Dwm8991.c58 { 19, 0x1000 }, /* R19 - GPIO1 & GPIO2 */
H A Dtlv320aic3x.c1218 /* set clock on MCLK or GPIO2 or BCLK */ aic3x_set_dai_sysclk()
H A Dwm8996.c3040 dev_err(&i2c->dev, "Failed to read GPIO2: %d\n", ret); wm8996_i2c_probe()
/linux-4.4.14/drivers/media/dvb-frontends/drx39xyj/
H A Ddrx_driver.h392 * \brief GPIO2 capability flag
394 * Device has GPIO2
/linux-4.4.14/drivers/mfd/
H A Dlpc_ich.c877 if (!acpi_check_region(res->start + 0x30, 0x10, "LPC ICH GPIO2")) lpc_ich_check_conflict_gpio()
H A Dtps65010.c729 * gpio: GPIO1, GPIO2, GPIO3 or GPIO4
H A Dwm8997-tables.c660 { 0x00000C01, 0xA101 }, /* R3073 - GPIO2 CTRL */
H A Dwm5102-tables.c859 { 0x00000C01, 0xA101 }, /* R3073 - GPIO2 CTRL */
H A Dwm8998-tables.c681 { 0x00000C01, 0xA101 }, /* R3073 - GPIO2 CTRL */
H A Ddb8500-prcmu.c323 IRQ_ENTRY(GPIO2),
H A Dwm5110-tables.c1478 { 0x00000C01, 0xA101 }, /* R3073 - GPIO2 CTRL */
/linux-4.4.14/drivers/media/dvb-frontends/
H A Daf9013.c236 * GPIO2 & GPIO3 0xd736 af9013_set_gpio()
/linux-4.4.14/drivers/net/wireless/libertas/
H A Dif_usb.c145 priv->wol_gpio = 2; /* Wake via GPIO2... */ if_usb_setup_firmware()
/linux-4.4.14/drivers/net/wireless/rt2x00/
H A Drt61pci.h1241 * POLARITY_GPIO_2: Polarity GPIO2 setting.
H A Drt73usb.h881 * POLARITY_GPIO_2: Polarity GPIO2 setting.
H A Drt2800.h2505 * POLARITY_GPIO_2: Polarity GPIO2 setting.
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_reg.h1033 function1; [2] GPIO1 mcp; [3] GPIO2 mcp; [4] GPIO3 mcp; [5] GPIO4 mcp;
1034 [6] GPIO1 function 1; [7] GPIO2 function 1; [8] GPIO3 function 1; [9]
1048 mcp; [3] GPIO2 mcp; [4] GPIO3 mcp; [5] GPIO4 mcp; [6] GPIO1 function 1;
1049 [7] GPIO2 function 1; [8] GPIO3 function 1; [9] GPIO4 function 1; [10]
1161 function1; [2] GPIO1 function 0; [3] GPIO2 function 0; [4] GPIO3 function
1162 0; [5] GPIO4 function 0; [6] GPIO1 function 1; [7] GPIO2 function 1; [8]
1181 function1; [2] GPIO1 function 1; [3] GPIO2 function 1; [4] GPIO3 function
1182 1; [5] GPIO4 function 1; [6] GPIO1 function 1; [7] GPIO2 function 1; [8]
1201 function1; [2] GPIO1 function 0; [3] GPIO2 function 0; [4] GPIO3 function
1202 0; [5] GPIO4 function 0; [6] GPIO1 function 1; [7] GPIO2 function 1; [8]
1216 function1; [2] GPIO1 function 0; [3] GPIO2 function 0; [4] GPIO3 function
1217 0; [5] GPIO4 function 0; [6] GPIO1 function 1; [7] GPIO2 function 1; [8]
1443 function0; [1] NIG attention for function1; [2] GPIO1 mcp; [3] GPIO2 mcp;
1444 [4] GPIO3 mcp; [5] GPIO4 mcp; [6] GPIO1 function 1; [7] GPIO2 function 1;
1480 mcp; [3] GPIO2 mcp; [4] GPIO3 mcp; [5] GPIO4 mcp; [6] GPIO1 function 1;
1481 [7] GPIO2 function 1; [8] GPIO3 function 1; [9] GPIO4 function 1; [10]
H A Dbnx2x_link.c13164 /* PART3 - complete TX_POWER_DOWN process, and set GPIO2 back to low */ bnx2x_8073_common_init_phy()
13185 /* set GPIO2 back to LOW */ bnx2x_8073_common_init_phy()
/linux-4.4.14/include/linux/mfd/
H A Dwm8400-private.h165 * R19 (0x13) - GPIO1 & GPIO2
/linux-4.4.14/sound/pci/hda/
H A Dpatch_cirrus.c523 spec->gpio_eapd_hp = 4; /* GPIO2 = headphones */ cs420x_fixup_gpio_23()
H A Dpatch_realtek.c1385 SND_PCI_QUIRK(0x1558, 0x5401, "Clevo GPIO2", ALC880_FIXUP_GPIO2),
3479 /* GPIO2 just toggles on a keypress/keyrelease cycle. Therefore gpio2_mic_hotkey_event()
3522 GPIO2 = mic mute hotkey alc280_fixup_hp_gpio2_mic_hotkey()
3570 GPIO2 = mic mute LED */ alc233_fixup_lenovo_line2_mic_hotkey()
4628 /* TX300 needs to set up GPIO2 for the speaker amp */ alc282_fixup_asus_tx300()
H A Dpatch_sigmatel.c3835 /* GPIO2 High = Enable EAPD */ stac927x_fixup_dell_dmic()
/linux-4.4.14/drivers/media/pci/ttpci/
H A Dbudget-ci.c1422 * connected to the SAA7146 GPIO, GPIO2, Pin 142 frontend_init()
/linux-4.4.14/drivers/atm/
H A Dsolos-pci.c590 static SOLOS_GPIO_ATTR(GPIO2, 0644, geos_gpio_show, geos_gpio_store, 10);
/linux-4.4.14/sound/pci/ctxfi/
H A Dcthw20k1.c1559 * ADC_Gain = GPIO2 adc_input_select_SB055x()
/linux-4.4.14/sound/pci/emu10k1/
H A Demu10k1_main.c255 * GPIO2: Unknown snd_emu10k1_init()
/linux-4.4.14/drivers/media/pci/bt8xx/
H A Dbttv-cards.c1445 GPIO2: U4.A1 (second hef4052bt)
1584 GPIO2: HEF4052 nENABLE
/linux-4.4.14/drivers/media/tuners/
H A Dmxl5005s.c3365 /* GPIO2 is not available */ MXL_SetGPIO()
/linux-4.4.14/drivers/media/i2c/cx25840/
H A Dcx25840-core.c618 /* Drive GPIO2 direction and values for HVR1700 cx23885_initialize()
/linux-4.4.14/drivers/net/ethernet/broadcom/
H A Dtg3.c2906 /* On 5753 and variants, GPIO2 cannot be used. */ tg3_pwrsrc_switch_to_vaux()

Completed in 3624 milliseconds