Lines Matching refs:ERR_PTR
140 return ERR_PTR(-EINVAL); in of_pwm_xlate_with_flags()
143 return ERR_PTR(-EINVAL); in of_pwm_xlate_with_flags()
166 return ERR_PTR(-EINVAL); in of_pwm_simple_xlate()
169 return ERR_PTR(-EINVAL); in of_pwm_simple_xlate()
366 return ERR_PTR(-EINVAL); in pwm_request()
372 dev = ERR_PTR(-EPROBE_DEFER); in pwm_request()
378 dev = ERR_PTR(err); in pwm_request()
405 return ERR_PTR(-EINVAL); in pwm_request_from_chip()
412 pwm = ERR_PTR(err); in pwm_request_from_chip()
548 return ERR_PTR(-EPROBE_DEFER); in of_node_to_pwmchip()
581 return ERR_PTR(index); in of_pwm_get()
588 return ERR_PTR(err); in of_pwm_get()
601 pwm = ERR_PTR(-EINVAL); in of_pwm_get()
681 struct pwm_device *pwm = ERR_PTR(-EPROBE_DEFER); in pwm_get()
742 pwm = ERR_PTR(-ENODEV); in pwm_get()
812 return ERR_PTR(-ENOMEM); in devm_pwm_get()
845 return ERR_PTR(-ENOMEM); in devm_of_pwm_get()