Home
last modified time | relevance | path

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

12345

/linux-6.1.9/drivers/power/supply/
Dtosa_battery.c439 ret = request_irq(gpiod_to_irq(tosa_bat_main.gpiod_full), in tosa_bat_probe()
446 ret = request_irq(gpiod_to_irq(tosa_bat_jacket.gpiod_full), in tosa_bat_probe()
453 ret = request_irq(gpiod_to_irq(jacket_detect), in tosa_bat_probe()
462 free_irq(gpiod_to_irq(tosa_bat_jacket.gpiod_full), &tosa_bat_jacket); in tosa_bat_probe()
464 free_irq(gpiod_to_irq(tosa_bat_main.gpiod_full), &tosa_bat_main); in tosa_bat_probe()
481 free_irq(gpiod_to_irq(jacket_detect), &tosa_bat_jacket); in tosa_bat_remove()
482 free_irq(gpiod_to_irq(tosa_bat_jacket.gpiod_full), &tosa_bat_jacket); in tosa_bat_remove()
483 free_irq(gpiod_to_irq(tosa_bat_main.gpiod_full), &tosa_bat_main); in tosa_bat_remove()
Dmax8903_charger.c363 ret = devm_request_threaded_irq(dev, gpiod_to_irq(data->dok), in max8903_probe()
370 gpiod_to_irq(data->dok), ret); in max8903_probe()
376 ret = devm_request_threaded_irq(dev, gpiod_to_irq(data->uok), in max8903_probe()
383 gpiod_to_irq(data->uok), ret); in max8903_probe()
389 ret = devm_request_threaded_irq(dev, gpiod_to_irq(data->flt), in max8903_probe()
396 gpiod_to_irq(data->flt), ret); in max8903_probe()
Ds3c_adc_battery.c344 ret = request_irq(gpiod_to_irq(gpiod), in s3c_adc_bat_probe()
369 free_irq(gpiod_to_irq(gpiod), NULL); in s3c_adc_bat_probe()
391 free_irq(gpiod_to_irq(main_bat.charge_finished), NULL); in s3c_adc_bat_remove()
408 gpiod_to_irq(main_bat.charge_finished)); in s3c_adc_bat_suspend()
410 disable_irq(gpiod_to_irq(main_bat.charge_finished)); in s3c_adc_bat_suspend()
423 gpiod_to_irq(main_bat.charge_finished)); in s3c_adc_bat_resume()
425 enable_irq(gpiod_to_irq(main_bat.charge_finished)); in s3c_adc_bat_resume()
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()
Dz2_battery.c219 irq_set_irq_type(gpiod_to_irq(charger->charge_gpiod), in z2_batt_probe()
221 ret = request_irq(gpiod_to_irq(charger->charge_gpiod), in z2_batt_probe()
250 free_irq(gpiod_to_irq(charger->charge_gpiod), charger); in z2_batt_probe()
265 free_irq(gpiod_to_irq(charger->charge_gpiod), charger); in z2_batt_remove()
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()
Dgeneric-adc-battery.c332 irq = gpiod_to_irq(adc_bat->charge_finished); in gab_probe()
368 free_irq(gpiod_to_irq(adc_bat->charge_finished), adc_bat); in gab_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()
/linux-6.1.9/drivers/mfd/
Dhi655x-pmic.c126 ret = regmap_add_irq_chip(pmic->regmap, gpiod_to_irq(pmic->gpio), in hi655x_pmic_probe()
141 regmap_del_irq_chip(gpiod_to_irq(pmic->gpio), pmic->irq_data); in hi655x_pmic_probe()
152 regmap_del_irq_chip(gpiod_to_irq(pmic->gpio), pmic->irq_data); in hi655x_pmic_remove()
/linux-6.1.9/arch/arm/mach-omap1/
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()
/linux-6.1.9/drivers/media/cec/platform/cec-gpio/
Dcec-gpio.c202 cec->cec_irq = gpiod_to_irq(cec->cec_gpio); in cec_gpio_probe()
226 cec->hpd_irq = gpiod_to_irq(cec->hpd_gpio); in cec_gpio_probe()
238 cec->v5_irq = gpiod_to_irq(cec->v5_gpio); in cec_gpio_probe()
/linux-6.1.9/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-6.1.9/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()
378 ret = irq_set_irq_wake(gpiod_to_irq(gpios[i].desc), 1); in snd_soc_jack_add_gpios()
/linux-6.1.9/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-gpio.c90 irq = gpiod_to_irq(data->gpiod); in gpio_extcon_probe()
Dextcon-max3355.c91 irq = gpiod_to_irq(data->id_gpiod); in max3355_probe()
Dextcon-palmas.c286 palmas_usb->gpio_id_irq = gpiod_to_irq(palmas_usb->id_gpiod); in palmas_usb_probe()
337 palmas_usb->gpio_vbus_irq = gpiod_to_irq(palmas_usb->vbus_gpiod); in palmas_usb_probe()
/linux-6.1.9/include/asm-generic/
Dgpio.h112 return gpiod_to_irq(gpio_to_desc(gpio)); in __gpio_to_irq()
/linux-6.1.9/drivers/usb/common/
Dusb-conn-gpio.c224 info->id_irq = gpiod_to_irq(info->id_gpiod); in usb_conn_probe()
241 info->vbus_irq = gpiod_to_irq(info->vbus_gpiod); in usb_conn_probe()
/linux-6.1.9/drivers/usb/phy/
Dphy-generic.c305 gpiod_to_irq(nop->gpiod_vbus), in usb_phy_generic_probe()
311 gpiod_to_irq(nop->gpiod_vbus), err); in usb_phy_generic_probe()
/linux-6.1.9/drivers/input/touchscreen/
Djornada720_ts.c117 irq = gpiod_to_irq(jornada_ts->gpio); in jornada720_ts_probe()
Dzylonite-wm97xx.c184 wm->pen_irq = gpiod_to_irq(gpio_touch_irq); in zylonite_wm97xx_probe()
/linux-6.1.9/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-6.1.9/drivers/media/rc/
Dgpio-ir-recv.c84 gpio_dev->irq = gpiod_to_irq(gpio_dev->gpiod); in gpio_ir_recv_probe()
/linux-6.1.9/drivers/gpu/drm/bridge/
Dti-tpd12s015.c162 tpd->hpd_irq = gpiod_to_irq(tpd->hpd_gpio); in tpd12s015_probe()

12345