Lines Matching refs:dev
910 struct device *dev = &pdev->dev; in stm32_exti_probe() local
911 struct device_node *np = dev->of_node; in stm32_exti_probe()
916 host_data = devm_kzalloc(dev, sizeof(*host_data), GFP_KERNEL); in stm32_exti_probe()
927 host_data->hwlock = devm_hwspin_lock_request_specific(dev, ret); in stm32_exti_probe()
929 dev_err(dev, "Failed to request hwspinlock\n"); in stm32_exti_probe()
934 dev_err(dev, "Failed to get hwspinlock\n"); in stm32_exti_probe()
939 drv_data = of_device_get_match_data(dev); in stm32_exti_probe()
941 dev_err(dev, "no of match data\n"); in stm32_exti_probe()
946 host_data->chips_data = devm_kcalloc(dev, drv_data->bank_nr, in stm32_exti_probe()
961 dev_err(dev, "GIC interrupt-parent not found\n"); in stm32_exti_probe()
971 dev_err(dev, "Could not register exti domain\n"); in stm32_exti_probe()
975 ret = devm_add_action_or_reset(dev, stm32_exti_remove_irq, domain); in stm32_exti_probe()