Home
last modified time | relevance | path

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

1234

/drivers/power/supply/
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()
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.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/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.c153 info->id_irq = gpiod_to_irq(info->id_gpiod); in usb_extcon_probe()
171 info->vbus_irq = gpiod_to_irq(info->vbus_gpiod); in usb_extcon_probe()
Dextcon-max3355.c92 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.c116 data->usb_id_irq = gpiod_to_irq(data->gpio_usb_id); in int3496_probe()
/drivers/usb/phy/
Dphy-generic.c308 gpiod_to_irq(nop->gpiod_vbus), in usb_phy_generic_probe()
314 gpiod_to_irq(nop->gpiod_vbus), err); in usb_phy_generic_probe()
/drivers/usb/common/
Dusb-conn-gpio.c257 info->id_irq = gpiod_to_irq(info->id_gpiod); in usb_conn_probe()
274 info->vbus_irq = gpiod_to_irq(info->vbus_gpiod); in usb_conn_probe()
/drivers/phy/broadcom/
Dphy-bcm-ns2-usbdrd.c355 driver->id_irq = gpiod_to_irq(driver->id_gpiod); in ns2_drd_phy_probe()
361 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()
/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()
/drivers/usb/host/
Dohci-at91.c478 if (gpiod_to_irq(pdata->overcurrent_pin[port]) == irq) in ohci_hcd_at91_overcurrent_irq()
569 gpiod_to_irq(pdata->overcurrent_pin[i]), in ohci_hcd_at91_drv_probe()
/drivers/staging/fbtft/
Dfb_st7789v.c107 irq = gpiod_to_irq(te); in init_tearing_effect_line()
/drivers/thermal/ti-soc-thermal/
Dti-bandgap.c763 status = request_irq(gpiod_to_irq(bgp->tshut_gpiod), in ti_bandgap_tshut_init()
1066 free_irq(gpiod_to_irq(bgp->tshut_gpiod), NULL); in ti_bandgap_probe()
1100 free_irq(gpiod_to_irq(bgp->tshut_gpiod), NULL); in ti_bandgap_remove()
/drivers/usb/gadget/udc/
Datmel_usba_udc.c1998 enable_irq(gpiod_to_irq(udc->vbus_pin)); in atmel_usba_start()
2013 disable_irq(gpiod_to_irq(udc->vbus_pin)); in atmel_usba_start()
2029 disable_irq(gpiod_to_irq(udc->vbus_pin)); in atmel_usba_stop()
2342 irq_set_status_flags(gpiod_to_irq(udc->vbus_pin), IRQ_NOAUTOEN); in usba_udc_probe()
2344 gpiod_to_irq(udc->vbus_pin), NULL, in usba_udc_probe()
2408 enable_irq_wake(gpiod_to_irq(udc->vbus_pin)); in usba_udc_suspend()
2428 disable_irq_wake(gpiod_to_irq(udc->vbus_pin)); in usba_udc_resume()

1234