Lines Matching refs:ret
804 int ret;
810 ret = npcm7xx_pwm_config_set(cdev->data, cdev->pwm_port,
813 return ret;
827 int ret;
839 ret = of_property_read_u8_array(child, "cooling-levels",
842 if (ret) {
844 return ret;
868 int ret, fan_cnt;
871 ret = of_property_read_u32(child, "reg", &pwm_port);
872 if (ret)
873 return ret;
876 ret = npcm7xx_pwm_config_set(data, pwm_port,
879 ret = of_property_count_u8_elems(child, "cooling-levels");
880 if (ret > 0) {
881 ret = npcm7xx_create_pwm_cooling(dev, child, data, pwm_port,
882 ret);
883 if (ret)
884 return ret;
895 ret = of_property_read_u8_array(child, "fan-tach-ch", fan_ch, fan_cnt);
896 if (ret)
897 return ret;
916 int ret, cnt;
974 ret = devm_request_irq(dev, data->fan_irq[i], npcm7xx_fan_isr,
976 if (ret) {
978 return ret;
983 ret = npcm7xx_en_pwm_fan(dev, child, data);
984 if (ret) {
987 return ret;