/arch/arm/mach-orion5x/ |
D | board-rd88f5182.c | 47 irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW); in rd88f5182_pci_preinit() 60 irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW); in rd88f5182_pci_preinit() 89 return gpio_to_irq(RD88F5182_PCI_SLOT0_IRQ_A_PIN); in rd88f5182_pci_map_irq() 91 return gpio_to_irq(RD88F5182_PCI_SLOT0_IRQ_B_PIN); in rd88f5182_pci_map_irq()
|
D | ts209-setup.c | 115 irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW); in qnap_ts209_pci_preinit() 129 irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW); in qnap_ts209_pci_preinit() 158 return gpio_to_irq(QNAP_TS209_PCI_SLOT0_IRQ_PIN); in qnap_ts209_pci_map_irq() 160 return gpio_to_irq(QNAP_TS209_PCI_SLOT1_IRQ_PIN); in qnap_ts209_pci_map_irq() 308 qnap_ts209_i2c_rtc.irq = gpio_to_irq(TS209_RTC_GPIO); in qnap_ts209_init()
|
D | rd88f5182-setup.c | 118 irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW); in rd88f5182_pci_preinit() 131 irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW); in rd88f5182_pci_preinit() 160 return gpio_to_irq(RD88F5182_PCI_SLOT0_IRQ_A_PIN); in rd88f5182_pci_map_irq() 162 return gpio_to_irq(RD88F5182_PCI_SLOT0_IRQ_B_PIN); in rd88f5182_pci_map_irq()
|
D | db88f5281-setup.c | 212 irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW); in db88f5281_pci_preinit() 225 irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW); in db88f5281_pci_preinit() 253 return gpio_to_irq(DB88F5281_PCI_SLOT0_IRQ_PIN); in db88f5281_pci_map_irq() 256 return gpio_to_irq(DB88F5281_PCI_SLOT1_SLOT2_IRQ_PIN); in db88f5281_pci_map_irq()
|
D | rd88f5181l-ge-setup.c | 149 return gpio_to_irq(4); in rd88f5181l_ge_pci_map_irq() 151 return gpio_to_irq(10); in rd88f5181l_ge_pci_map_irq()
|
D | terastation_pro2-setup.c | 86 irq_set_irq_type(gpio_to_irq(pin), IRQ_TYPE_LEVEL_LOW); in tsp2_pci_preinit() 113 return gpio_to_irq(TSP2_PCI_SLOT0_IRQ_PIN); in tsp2_pci_map_irq() 343 tsp2_i2c_rtc.irq = gpio_to_irq(TSP2_RTC_GPIO); in tsp2_init()
|
D | rd88f5181l-fxo-setup.c | 140 return gpio_to_irq(1); in rd88f5181l_fxo_pci_map_irq()
|
/arch/arm/include/asm/ |
D | gpio.h | 18 #ifndef gpio_to_irq 19 #define gpio_to_irq __gpio_to_irq macro
|
/arch/arm/mach-omap1/ |
D | board-osk.c | 286 irq_set_irq_type(gpio_to_irq(62), IRQ_TYPE_EDGE_FALLING); in osk_init_cf() 518 irq_set_irq_type(gpio_to_irq(4), IRQ_TYPE_EDGE_FALLING); in osk_mistral_init() 520 mistral_boardinfo[0].irq = gpio_to_irq(4); in osk_mistral_init() 534 int irq = gpio_to_irq(OMAP_MPUIO(2)); in osk_mistral_init() 596 osk5912_smc91x_resources[1].start = gpio_to_irq(0); in osk_init() 597 osk5912_smc91x_resources[1].end = gpio_to_irq(0); in osk_init() 598 osk5912_cf_resources[0].start = gpio_to_irq(62); in osk_init() 599 osk5912_cf_resources[0].end = gpio_to_irq(62); in osk_init() 615 osk_i2c_board_info[0].irq = gpio_to_irq(OMAP_MPUIO(1)); in osk_init()
|
D | board-palmz71.c | 215 irq_set_irq_type(gpio_to_irq(PALMZ71_USBDETECT_GPIO), in palmz71_powercable() 219 irq_set_irq_type(gpio_to_irq(PALMZ71_USBDETECT_GPIO), in palmz71_powercable() 257 if (request_irq(gpio_to_irq(PALMZ71_USBDETECT_GPIO), in palmz71_gpio_setup() 261 palmz71_powercable(gpio_to_irq(PALMZ71_USBDETECT_GPIO), NULL); in palmz71_gpio_setup() 281 palmz71_boardinfo[0].irq = gpio_to_irq(PALMZ71_PENIRQ_GPIO); in omap_palmz71_init()
|
D | board-nokia770.c | 252 irq_set_irq_type(gpio_to_irq(retu_irq_gpio), IRQ_TYPE_EDGE_RISING); in nokia770_cbus_init() 253 irq_set_irq_type(gpio_to_irq(tahvo_irq_gpio), IRQ_TYPE_EDGE_RISING); in nokia770_cbus_init() 254 nokia770_i2c_board_info_2[0].irq = gpio_to_irq(retu_irq_gpio); in nokia770_cbus_init() 255 nokia770_i2c_board_info_2[1].irq = gpio_to_irq(tahvo_irq_gpio); in nokia770_cbus_init() 279 nokia770_spi_board_info[1].irq = gpio_to_irq(15); in omap_nokia770_init()
|
D | board-h3.c | 430 smc91x_resources[1].start = gpio_to_irq(40); in h3_init() 431 smc91x_resources[1].end = gpio_to_irq(40); in h3_init() 433 h3_spi_board_info[0].irq = gpio_to_irq(H3_TS_GPIO); in h3_init() 437 h3_i2c_board_info[1].irq = gpio_to_irq(14); in h3_init()
|
D | board-h2.c | 423 h2_smc91x_resources[1].start = gpio_to_irq(0); in h2_init() 424 h2_smc91x_resources[1].end = gpio_to_irq(0); in h2_init() 430 h2_i2c_board_info[0].irq = gpio_to_irq(58); in h2_init()
|
D | serial.c | 225 ret = request_irq(gpio_to_irq(gpio_nr), &omap_serial_wake_interrupt, in omap_serial_set_port_wakeup() 233 enable_irq_wake(gpio_to_irq(gpio_nr)); in omap_serial_set_port_wakeup()
|
D | board-htcherald.c | 559 htcpld_resources[0].start = gpio_to_irq(HTCHERALD_GIRQ_BTNS); in htcherald_init() 560 htcpld_resources[0].end = gpio_to_irq(HTCHERALD_GIRQ_BTNS); in htcherald_init() 568 htcherald_spi_board_info[0].irq = gpio_to_irq(HTCHERALD_GPIO_TS); in htcherald_init()
|
D | board-innovator.c | 406 innovator1610_smc91x_resources[1].start = gpio_to_irq(0); in innovator_init() 407 innovator1610_smc91x_resources[1].end = gpio_to_irq(0); in innovator_init()
|
D | fpga.c | 185 irq_set_irq_type(gpio_to_irq(13), IRQ_TYPE_EDGE_RISING); in omap1510_fpga_init_irq()
|
/arch/arm/mach-pxa/ |
D | zeus.c | 143 irq_set_irq_type(gpio_to_irq(ZEUS_AC97_GPIO), IRQ_TYPE_EDGE_RISING); in zeus_init_irq() 144 irq_set_irq_type(gpio_to_irq(ZEUS_WAKEUP_GPIO), IRQ_TYPE_EDGE_RISING); in zeus_init_irq() 145 irq_set_irq_type(gpio_to_irq(ZEUS_PTT_GPIO), IRQ_TYPE_EDGE_RISING); in zeus_init_irq() 146 irq_set_irq_type(gpio_to_irq(ZEUS_EXTGPIO_GPIO), in zeus_init_irq() 148 irq_set_irq_type(gpio_to_irq(ZEUS_CAN_GPIO), IRQ_TYPE_EDGE_FALLING); in zeus_init_irq() 158 irq_set_irq_type(gpio_to_irq(ZEUS_ISA_GPIO), IRQ_TYPE_EDGE_RISING); in zeus_init_irq() 159 irq_set_chained_handler(gpio_to_irq(ZEUS_ISA_GPIO), zeus_irq_handler); in zeus_init_irq()
|
D | sharpsl_pm.c | 854 irq = gpio_to_irq(sharpsl_pm.machinfo->gpio_acin); in sharpsl_pm_probe() 859 irq = gpio_to_irq(sharpsl_pm.machinfo->gpio_batlock); in sharpsl_pm_probe() 865 irq = gpio_to_irq(sharpsl_pm.machinfo->gpio_fatal); in sharpsl_pm_probe() 873 irq = gpio_to_irq(sharpsl_pm.machinfo->gpio_batfull); in sharpsl_pm_probe() 904 free_irq(gpio_to_irq(sharpsl_pm.machinfo->gpio_acin), sharpsl_ac_isr); in sharpsl_pm_remove() 905 free_irq(gpio_to_irq(sharpsl_pm.machinfo->gpio_batlock), sharpsl_fatal_isr); in sharpsl_pm_remove() 908 free_irq(gpio_to_irq(sharpsl_pm.machinfo->gpio_fatal), sharpsl_fatal_isr); in sharpsl_pm_remove() 911 free_irq(gpio_to_irq(sharpsl_pm.machinfo->gpio_batfull), sharpsl_chrg_full_isr); in sharpsl_pm_remove()
|
/arch/sh/include/asm/ |
D | gpio.h | 38 static inline int gpio_to_irq(unsigned gpio) in gpio_to_irq() function
|
/arch/arm/mach-davinci/ |
D | board-dm355-leopard.c | 141 dm355leopard_i2c_info[0].irq = gpio_to_irq(5); in leopard_init_i2c() 243 dm355leopard_dm9000_rsrc[2].start = gpio_to_irq(9); in dm355_leopard_init()
|
D | board-dm355-evm.c | 163 dm355evm_i2c_info[0].irq = gpio_to_irq(5); in evm_init_i2c() 404 dm355evm_dm9000_rsrc[2].start = gpio_to_irq(1); in dm355_evm_init()
|
/arch/arm/mach-s3c/ |
D | pm-s3c24xx.c | 68 int irq = gpio_to_irq(pin); in s3c_pm_check_resume_pin()
|
D | mach-smartq.c | 102 ret = request_irq(gpio_to_irq(S3C64XX_GPL(10)), in smartq_usb_host_enableoc() 109 free_irq(gpio_to_irq(S3C64XX_GPL(10)), info); in smartq_usb_host_enableoc()
|
/arch/m68k/include/asm/ |
D | gpio.h | 57 static inline int gpio_to_irq(unsigned gpio) in gpio_to_irq() function
|