Home
last modified time | relevance | path

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

1234

/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()
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()
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()
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()
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()
Dgeneric-adc-battery.c335 irq = gpiod_to_irq(adc_bat->charge_finished); in gab_probe()
371 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()
/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()
/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()
/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()
/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.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()
Dextcon-intel-int3496.c145 data->usb_id_irq = gpiod_to_irq(data->gpio_usb_id); in int3496_probe()
/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()
/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()
/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()
/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()
/drivers/gpio/
Dgpio-aggregator.c388 return gpiod_to_irq(fwd->descs[offset]); in gpio_fwd_to_irq()
432 desc_to_gpio(descs[i]), gpiod_to_irq(descs[i])); in gpiochip_fwd_create()
/drivers/phy/motorola/
Dphy-mapphone-mdm6600.c272 irq = gpiod_to_irq(gpio); in phy_mdm6600_init_irq()
420 wakeirq = gpiod_to_irq(mode_gpio1); in phy_mdm6600_device_power_on()
/drivers/gpu/drm/bridge/
Dti-tpd12s015.c162 tpd->hpd_irq = gpiod_to_irq(tpd->hpd_gpio); in tpd12s015_probe()
/drivers/media/rc/
Dgpio-ir-recv.c84 gpio_dev->irq = gpiod_to_irq(gpio_dev->gpiod); in gpio_ir_recv_probe()

1234