Home
last modified time | relevance | path

Searched refs:gpiod_to_irq (Results 1 – 25 of 113) sorted by relevance

12345

/openbmc/linux/arch/arm/mach-omap1/
H A Dboard-osk.c409 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 Dboard-nokia770.c261 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 Dams-delta-fiq.c111 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 Dserial.c211 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 Dboard-palmte.c250 palmte_spi_info[0].irq = gpiod_to_irq(d); in omap_palmte_init()
/openbmc/linux/drivers/power/supply/
H A Dmax8903_charger.c362 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 Dlt3651-charger.c152 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 Dwm97xx_battery.c181 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 Dcollie_battery.c294 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 Dhi655x-pmic.c125 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 Dcec-gpio.c196 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 Dsht15.c535 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 Dsoc-jack.c287 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 Dextcon-usb-gpio.c152 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 Dextcon-gpio.c90 irq = gpiod_to_irq(data->gpiod); in gpio_extcon_probe()
H A Dextcon-max3355.c91 irq = gpiod_to_irq(data->id_gpiod); in max3355_probe()
H A Dextcon-palmas.c285 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 Dgpio.h113 return gpiod_to_irq(gpio_to_desc(gpio)); in gpio_to_irq()
/openbmc/linux/drivers/usb/common/
H A Dusb-conn-gpio.c227 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 Dphy-generic.c302 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 Djornada720_ts.c117 irq = gpiod_to_irq(jornada_ts->gpio); in jornada720_ts_probe()
/openbmc/linux/drivers/phy/broadcom/
H A Dphy-bcm-ns2-usbdrd.c345 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 Dti-tpd12s015.c162 tpd->hpd_irq = gpiod_to_irq(tpd->hpd_gpio); in tpd12s015_probe()
/openbmc/linux/drivers/media/rc/
H A Dgpio-ir-recv.c80 gpio_dev->irq = gpiod_to_irq(gpio_dev->gpiod); in gpio_ir_recv_probe()
/openbmc/linux/drivers/hte/
H A Dhte-tegra194-test.c138 ret = gpiod_to_irq(hte.gpio_in); in tegra_hte_test_probe()

12345