Home
last modified time | relevance | path

Searched refs:gpio_to_irq (Results 1 – 25 of 83) sorted by relevance

1234

/arch/arm/mach-orion5x/
Dboard-rd88f5182.c50 irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW); in rd88f5182_pci_preinit()
63 irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW); in rd88f5182_pci_preinit()
92 return gpio_to_irq(RD88F5182_PCI_SLOT0_IRQ_A_PIN); in rd88f5182_pci_map_irq()
94 return gpio_to_irq(RD88F5182_PCI_SLOT0_IRQ_B_PIN); in rd88f5182_pci_map_irq()
Dts209-setup.c119 irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW); in qnap_ts209_pci_preinit()
133 irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW); in qnap_ts209_pci_preinit()
162 return gpio_to_irq(QNAP_TS209_PCI_SLOT0_IRQ_PIN); in qnap_ts209_pci_map_irq()
164 return gpio_to_irq(QNAP_TS209_PCI_SLOT1_IRQ_PIN); in qnap_ts209_pci_map_irq()
312 qnap_ts209_i2c_rtc.irq = gpio_to_irq(TS209_RTC_GPIO); in qnap_ts209_init()
Drd88f5182-setup.c121 irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW); in rd88f5182_pci_preinit()
134 irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW); in rd88f5182_pci_preinit()
163 return gpio_to_irq(RD88F5182_PCI_SLOT0_IRQ_A_PIN); in rd88f5182_pci_map_irq()
165 return gpio_to_irq(RD88F5182_PCI_SLOT0_IRQ_B_PIN); in rd88f5182_pci_map_irq()
Drd88f5181l-ge-setup.c129 gpio_to_irq(8)); in rd88f5181l_ge_init()
158 return gpio_to_irq(4); in rd88f5181l_ge_pci_map_irq()
160 return gpio_to_irq(10); in rd88f5181l_ge_pci_map_irq()
Ddb88f5281-setup.c215 irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW); in db88f5281_pci_preinit()
228 irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW); in db88f5281_pci_preinit()
256 return gpio_to_irq(DB88F5281_PCI_SLOT0_IRQ_PIN); in db88f5281_pci_map_irq()
259 return gpio_to_irq(DB88F5281_PCI_SLOT1_SLOT2_IRQ_PIN); in db88f5281_pci_map_irq()
/arch/arm/include/asm/
Dgpio.h21 #ifndef gpio_to_irq
22 #define gpio_to_irq __gpio_to_irq macro
/arch/unicore32/kernel/
Dpuv3-nb0916.c131 if (request_irq(gpio_to_irq(GPI_LCD_CASE_OFF), in mach_nb0916_init()
137 gpio_to_irq(GPI_LCD_CASE_OFF)); in mach_nb0916_init()
140 if (request_irq(gpio_to_irq(GPI_OTP_INT), &nb0916_overheat_handler, in mach_nb0916_init()
145 gpio_to_irq(GPI_OTP_INT)); in mach_nb0916_init()
/arch/arm/mach-omap1/
Dboard-osk.c278 irq_set_irq_type(gpio_to_irq(62), IRQ_TYPE_EDGE_FALLING); in osk_init_cf()
498 irq_set_irq_type(gpio_to_irq(4), IRQ_TYPE_EDGE_FALLING); in osk_mistral_init()
500 mistral_boardinfo[0].irq = gpio_to_irq(4); in osk_mistral_init()
514 int irq = gpio_to_irq(OMAP_MPUIO(2)); in osk_mistral_init()
578 osk5912_smc91x_resources[1].start = gpio_to_irq(0); in osk_init()
579 osk5912_smc91x_resources[1].end = gpio_to_irq(0); in osk_init()
580 osk5912_cf_resources[0].start = gpio_to_irq(62); in osk_init()
581 osk5912_cf_resources[0].end = gpio_to_irq(62); in osk_init()
596 osk_i2c_board_info[0].irq = gpio_to_irq(OMAP_MPUIO(1)); in osk_init()
Dboard-palmz71.c218 irq_set_irq_type(gpio_to_irq(PALMZ71_USBDETECT_GPIO), in palmz71_powercable()
222 irq_set_irq_type(gpio_to_irq(PALMZ71_USBDETECT_GPIO), in palmz71_powercable()
260 if (request_irq(gpio_to_irq(PALMZ71_USBDETECT_GPIO), in palmz71_gpio_setup()
264 palmz71_powercable(gpio_to_irq(PALMZ71_USBDETECT_GPIO), NULL); in palmz71_gpio_setup()
284 palmz71_boardinfo[0].irq = gpio_to_irq(PALMZ71_PENIRQ_GPIO); in omap_palmz71_init()
Dboard-nokia770.c254 irq_set_irq_type(gpio_to_irq(retu_irq_gpio), IRQ_TYPE_EDGE_RISING); in nokia770_cbus_init()
255 irq_set_irq_type(gpio_to_irq(tahvo_irq_gpio), IRQ_TYPE_EDGE_RISING); in nokia770_cbus_init()
256 nokia770_i2c_board_info_2[0].irq = gpio_to_irq(retu_irq_gpio); in nokia770_cbus_init()
257 nokia770_i2c_board_info_2[1].irq = gpio_to_irq(tahvo_irq_gpio); in nokia770_cbus_init()
280 nokia770_spi_board_info[1].irq = gpio_to_irq(15); in omap_nokia770_init()
Dams-delta-fiq.c50 irq_chip = irq_get_chip(gpio_to_irq(AMS_DELTA_GPIO_PIN_KEYBRD_CLK)); in deferred_fiq()
58 irq_num = gpio_to_irq(gpio); in deferred_fiq()
Dboard-h2.c409 h2_smc91x_resources[1].start = gpio_to_irq(0); in h2_init()
410 h2_smc91x_resources[1].end = gpio_to_irq(0); in h2_init()
413 h2_i2c_board_info[0].irq = gpio_to_irq(58); in h2_init()
414 h2_i2c_board_info[1].irq = gpio_to_irq(2); in h2_init()
Dboard-h3.c433 smc91x_resources[1].start = gpio_to_irq(40); in h3_init()
434 smc91x_resources[1].end = gpio_to_irq(40); in h3_init()
436 h3_spi_board_info[0].irq = gpio_to_irq(H3_TS_GPIO); in h3_init()
440 h3_i2c_board_info[1].irq = gpio_to_irq(14); in h3_init()
/arch/arm/mach-imx/
Dmach-kzm_arm11_01.c126 gpio_to_irq(IOMUX_TO_GPIO(MX31_PIN_GPIO1_1)); in kzm_init_ext_uart()
128 gpio_to_irq(IOMUX_TO_GPIO(MX31_PIN_GPIO1_1)); in kzm_init_ext_uart()
130 gpio_to_irq(IOMUX_TO_GPIO(MX31_PIN_GPIO1_1)); in kzm_init_ext_uart()
191 gpio_to_irq(IOMUX_TO_GPIO(MX31_PIN_GPIO1_2)); in kzm_init_smsc9118()
193 gpio_to_irq(IOMUX_TO_GPIO(MX31_PIN_GPIO1_2)); in kzm_init_smsc9118()
Dmach-mx21ads.c266 return request_irq(gpio_to_irq(MX21ADS_MMC_CD), detect_irq, in mx21ads_sdhc_init()
272 free_irq(gpio_to_irq(MX21ADS_MMC_CD), data); in mx21ads_sdhc_exit()
313 gpio_to_irq(MX21ADS_CS8900A_IRQ_GPIO); in mx21ads_board_init()
315 gpio_to_irq(MX21ADS_CS8900A_IRQ_GPIO); in mx21ads_board_init()
Dmach-scb9328.c124 dm9000x_resources[2].start = gpio_to_irq(IMX_GPIO_NR(3, 3)); in scb9328_init()
125 dm9000x_resources[2].end = gpio_to_irq(IMX_GPIO_NR(3, 3)); in scb9328_init()
Dmach-apf9328.c130 dm9000_resources[2].start = gpio_to_irq(IMX_GPIO_NR(2, 14)); in apf9328_init()
131 dm9000_resources[2].end = gpio_to_irq(IMX_GPIO_NR(2, 14)); in apf9328_init()
Dmach-mx27ads.c295 return request_irq(gpio_to_irq(IMX_GPIO_NR(5, 21)), detect_irq, in mx27ads_sdhc1_init()
302 return request_irq(gpio_to_irq(IMX_GPIO_NR(2, 7)), detect_irq, in mx27ads_sdhc2_init()
308 free_irq(gpio_to_irq(IMX_GPIO_NR(5, 21)), data); in mx27ads_sdhc1_exit()
313 free_irq(gpio_to_irq(IMX_GPIO_NR(2, 7)), data); in mx27ads_sdhc2_exit()
Dmach-mx31lite.c259 mc13783_spi_dev.irq = gpio_to_irq(IOMUX_TO_GPIO(MX31_PIN_GPIO1_3)); in mx31lite_init()
277 gpio_to_irq(IOMUX_TO_GPIO(MX31_PIN_SFS6)); in mx31lite_init()
279 gpio_to_irq(IOMUX_TO_GPIO(MX31_PIN_SFS6)); in mx31lite_init()
Dmach-pcm037.c374 ret = request_irq(gpio_to_irq(IOMUX_TO_GPIO(MX31_PIN_SCK6)), detect_irq, in pcm970_sdhc1_init()
393 free_irq(gpio_to_irq(IOMUX_TO_GPIO(MX31_PIN_SCK6)), data); in pcm970_sdhc1_exit()
631 gpio_to_irq(IOMUX_TO_GPIO(MX31_PIN_GPIO3_1)); in pcm037_init()
633 gpio_to_irq(IOMUX_TO_GPIO(MX31_PIN_GPIO3_1)); in pcm037_init()
661 gpio_to_irq(IOMUX_TO_GPIO(IOMUX_PIN(48, 105))); in pcm037_init()
663 gpio_to_irq(IOMUX_TO_GPIO(IOMUX_PIN(48, 105))); in pcm037_init()
/arch/arm/mach-ixp4xx/
Dnslu2-setup.c267 if (request_irq(gpio_to_irq(NSLU2_RB_GPIO), &nslu2_reset_handler, in nslu2_init()
271 gpio_to_irq(NSLU2_RB_GPIO)); in nslu2_init()
274 if (request_irq(gpio_to_irq(NSLU2_PB_GPIO), &nslu2_power_handler, in nslu2_init()
278 gpio_to_irq(NSLU2_PB_GPIO)); in nslu2_init()
Dfsg-setup.c210 if (request_irq(gpio_to_irq(FSG_RB_GPIO), &fsg_reset_handler, in fsg_init()
214 gpio_to_irq(FSG_RB_GPIO)); in fsg_init()
217 if (request_irq(gpio_to_irq(FSG_SB_GPIO), &fsg_power_handler, in fsg_init()
221 gpio_to_irq(FSG_SB_GPIO)); in fsg_init()
/arch/sh/include/asm/
Dgpio.h42 static inline int gpio_to_irq(unsigned gpio) in gpio_to_irq() function
/arch/avr32/mach-at32ap/include/mach/
Dgpio.h33 static inline int gpio_to_irq(unsigned int gpio) in gpio_to_irq() function
/arch/arm/mach-pxa/
Dcm-x2xx-pci.c46 irq_set_irq_type(gpio_to_irq(irq_gpio), IRQ_TYPE_EDGE_RISING); in __cmx2xx_pci_init_irq()
48 irq_set_chained_handler(gpio_to_irq(irq_gpio), in __cmx2xx_pci_init_irq()

1234