/openbmc/linux/arch/arm/mach-omap1/ |
H A D | board-osk.c | 409 irq_set_irq_type(gpiod_to_irq(d), IRQ_TYPE_EDGE_RISING); in osk_init() 410 osk5912_smc91x_resources[1] = DEFINE_RES_IRQ(gpiod_to_irq(d)); in osk_init() 418 irq_set_irq_type(gpiod_to_irq(d), IRQ_TYPE_EDGE_FALLING); in osk_init() 419 osk5912_cf_resources[0] = DEFINE_RES_IRQ(gpiod_to_irq(d)); in osk_init() 439 osk_i2c_board_info[0].irq = gpiod_to_irq(d); in osk_init()
|
H A D | board-nokia770.c | 261 irq = gpiod_to_irq(d); in nokia770_cbus_init() 269 irq = gpiod_to_irq(d); in nokia770_cbus_init() 329 nokia770_spi_board_info[1].irq = gpiod_to_irq(d); in omap_nokia770_init()
|
H A D | ams-delta-fiq.c | 111 irq_data[i] = irq_get_irq_data(gpiod_to_irq(gpiod)); in ams_delta_init_fiq() 204 serio->resource[0].start = gpiod_to_irq(clk); in ams_delta_init_fiq()
|
H A D | serial.c | 211 ret = request_irq(gpiod_to_irq(d), &omap_serial_wake_interrupt, in omap_serial_set_port_wakeup() 218 enable_irq_wake(gpiod_to_irq(d)); in omap_serial_set_port_wakeup()
|
H A D | board-palmte.c | 250 palmte_spi_info[0].irq = gpiod_to_irq(d); in omap_palmte_init()
|
/openbmc/linux/drivers/power/supply/ |
H A D | max8903_charger.c | 362 ret = devm_request_threaded_irq(dev, gpiod_to_irq(data->dok), in max8903_probe() 369 gpiod_to_irq(data->dok), ret); in max8903_probe() 375 ret = devm_request_threaded_irq(dev, gpiod_to_irq(data->uok), in max8903_probe() 382 gpiod_to_irq(data->uok), ret); in max8903_probe() 388 ret = devm_request_threaded_irq(dev, gpiod_to_irq(data->flt), in max8903_probe() 395 gpiod_to_irq(data->flt), ret); in max8903_probe()
|
H A D | lt3651-charger.c | 152 ret = gpiod_to_irq(lt3651_charger->acpr_gpio); in lt3651_charger_probe() 162 ret = gpiod_to_irq(lt3651_charger->fault_gpio); in lt3651_charger_probe() 172 ret = gpiod_to_irq(lt3651_charger->chrg_gpio); in lt3651_charger_probe()
|
H A D | wm97xx_battery.c | 181 ret = request_irq(gpiod_to_irq(charge_gpiod), in wm97xx_bat_probe() 247 free_irq(gpiod_to_irq(charge_gpiod), dev); in wm97xx_bat_probe() 254 free_irq(gpiod_to_irq(charge_gpiod), dev); in wm97xx_bat_remove()
|
H A D | collie_battery.c | 294 wakeup_enabled = !enable_irq_wake(gpiod_to_irq(collie_bat_main.gpio_full)); in collie_bat_suspend() 304 disable_irq_wake(gpiod_to_irq(collie_bat_main.gpio_full)); in collie_bat_resume() 407 ret = request_irq(gpiod_to_irq(collie_bat_main.gpio_full), in collie_bat_probe() 443 free_irq(gpiod_to_irq(collie_bat_main.gpio_full), &collie_bat_main); in collie_bat_remove()
|
/openbmc/linux/drivers/mfd/ |
H A D | hi655x-pmic.c | 125 ret = regmap_add_irq_chip(pmic->regmap, gpiod_to_irq(pmic->gpio), in hi655x_pmic_probe() 140 regmap_del_irq_chip(gpiod_to_irq(pmic->gpio), pmic->irq_data); in hi655x_pmic_probe() 151 regmap_del_irq_chip(gpiod_to_irq(pmic->gpio), pmic->irq_data); in hi655x_pmic_remove()
|
/openbmc/linux/drivers/media/cec/platform/cec-gpio/ |
H A D | cec-gpio.c | 196 cec->cec_irq = gpiod_to_irq(cec->cec_gpio); in cec_gpio_probe() 218 cec->hpd_irq = gpiod_to_irq(cec->hpd_gpio); in cec_gpio_probe() 230 cec->v5_irq = gpiod_to_irq(cec->v5_gpio); in cec_gpio_probe()
|
/openbmc/linux/drivers/hwmon/ |
H A D | sht15.c | 535 enable_irq(gpiod_to_irq(data->data)); in sht15_measurement() 537 disable_irq_nosync(gpiod_to_irq(data->data)); in sht15_measurement() 549 disable_irq_nosync(gpiod_to_irq(data->data)); in sht15_measurement() 828 enable_irq(gpiod_to_irq(data->data)); in sht15_bh_read_data() 979 ret = devm_request_irq(&pdev->dev, gpiod_to_irq(data->data), in sht15_probe() 988 disable_irq_nosync(gpiod_to_irq(data->data)); in sht15_probe()
|
/openbmc/linux/sound/soc/ |
H A D | soc-jack.c | 287 free_irq(gpiod_to_irq(gpios[i].desc), &gpios[i]); in jack_free_gpios() 368 ret = request_any_context_irq(gpiod_to_irq(gpios[i].desc), in snd_soc_jack_add_gpios() 379 ret = irq_set_irq_wake(gpiod_to_irq(gpios[i].desc), 1); in snd_soc_jack_add_gpios()
|
/openbmc/linux/drivers/extcon/ |
H A D | extcon-usb-gpio.c | 152 info->id_irq = gpiod_to_irq(info->id_gpiod); in usb_extcon_probe() 170 info->vbus_irq = gpiod_to_irq(info->vbus_gpiod); in usb_extcon_probe()
|
H A D | extcon-gpio.c | 90 irq = gpiod_to_irq(data->gpiod); in gpio_extcon_probe()
|
H A D | extcon-max3355.c | 91 irq = gpiod_to_irq(data->id_gpiod); in max3355_probe()
|
H A D | extcon-palmas.c | 285 palmas_usb->gpio_id_irq = gpiod_to_irq(palmas_usb->id_gpiod); in palmas_usb_probe() 336 palmas_usb->gpio_vbus_irq = gpiod_to_irq(palmas_usb->vbus_gpiod); in palmas_usb_probe()
|
/openbmc/linux/include/linux/ |
H A D | gpio.h | 113 return gpiod_to_irq(gpio_to_desc(gpio)); in gpio_to_irq()
|
/openbmc/linux/drivers/usb/common/ |
H A D | usb-conn-gpio.c | 227 info->id_irq = gpiod_to_irq(info->id_gpiod); in usb_conn_probe() 244 info->vbus_irq = gpiod_to_irq(info->vbus_gpiod); in usb_conn_probe()
|
/openbmc/linux/drivers/usb/phy/ |
H A D | phy-generic.c | 302 gpiod_to_irq(nop->gpiod_vbus), in usb_phy_generic_probe() 308 gpiod_to_irq(nop->gpiod_vbus), err); in usb_phy_generic_probe()
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | jornada720_ts.c | 117 irq = gpiod_to_irq(jornada_ts->gpio); in jornada720_ts_probe()
|
/openbmc/linux/drivers/phy/broadcom/ |
H A D | phy-bcm-ns2-usbdrd.c | 345 driver->id_irq = gpiod_to_irq(driver->id_gpiod); in ns2_drd_phy_probe() 351 driver->vbus_irq = gpiod_to_irq(driver->vbus_gpiod); in ns2_drd_phy_probe()
|
/openbmc/linux/drivers/gpu/drm/bridge/ |
H A D | ti-tpd12s015.c | 162 tpd->hpd_irq = gpiod_to_irq(tpd->hpd_gpio); in tpd12s015_probe()
|
/openbmc/linux/drivers/media/rc/ |
H A D | gpio-ir-recv.c | 80 gpio_dev->irq = gpiod_to_irq(gpio_dev->gpiod); in gpio_ir_recv_probe()
|
/openbmc/linux/drivers/hte/ |
H A D | hte-tegra194-test.c | 138 ret = gpiod_to_irq(hte.gpio_in); in tegra_hte_test_probe()
|