Home
last modified time | relevance | path

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

12345

/Linux-v6.6/arch/arm/mach-omap1/
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()
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()
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()
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()
Dboard-palmte.c250 palmte_spi_info[0].irq = gpiod_to_irq(d); in omap_palmte_init()
/Linux-v6.6/drivers/power/supply/
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()
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()
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()
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()
/Linux-v6.6/drivers/mfd/
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()
/Linux-v6.6/drivers/media/cec/platform/cec-gpio/
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()
/Linux-v6.6/drivers/hwmon/
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()
/Linux-v6.6/sound/soc/
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()
/Linux-v6.6/drivers/extcon/
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()
Dextcon-max3355.c91 irq = gpiod_to_irq(data->id_gpiod); in max3355_probe()
Dextcon-gpio.c90 irq = gpiod_to_irq(data->gpiod); in gpio_extcon_probe()
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()
Dextcon-intel-int3496.c145 data->usb_id_irq = gpiod_to_irq(data->gpio_usb_id); in int3496_probe()
/Linux-v6.6/drivers/usb/common/
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()
/Linux-v6.6/include/linux/
Dgpio.h113 return gpiod_to_irq(gpio_to_desc(gpio)); in gpio_to_irq()
/Linux-v6.6/drivers/usb/phy/
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()
/Linux-v6.6/drivers/input/touchscreen/
Djornada720_ts.c117 irq = gpiod_to_irq(jornada_ts->gpio); in jornada720_ts_probe()
/Linux-v6.6/drivers/phy/broadcom/
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()
/Linux-v6.6/drivers/gpu/drm/bridge/
Dti-tpd12s015.c162 tpd->hpd_irq = gpiod_to_irq(tpd->hpd_gpio); in tpd12s015_probe()
/Linux-v6.6/drivers/media/rc/
Dgpio-ir-recv.c80 gpio_dev->irq = gpiod_to_irq(gpio_dev->gpiod); in gpio_ir_recv_probe()

12345