Lines Matching defs:ret
34 int ret;
41 ret = pmbus_read_word_data(client, 0, 0xff,
45 ret = pmbus_read_word_data(client, 0, 0xff,
49 ret = pmbus_read_word_data(client, 0, 0xff,
55 ret = 0;
58 ret = -ENODATA;
61 return ret;
67 int ret;
71 ret = pmbus_write_word_data(client, 0, MAX8688_MFR_VOUT_PEAK,
75 ret = pmbus_write_word_data(client, 0, MAX8688_MFR_IOUT_PEAK,
79 ret = pmbus_write_word_data(client, 0,
84 ret = -ENODATA;
87 return ret;
92 int ret = 0;
105 ret |= PB_VOLTAGE_UV_WARNING;
107 ret |= PB_VOLTAGE_UV_FAULT;
109 ret |= PB_VOLTAGE_OV_WARNING;
111 ret |= PB_VOLTAGE_OV_FAULT;
119 ret |= PB_IOUT_UC_FAULT;
121 ret |= PB_IOUT_OC_WARNING;
123 ret |= PB_IOUT_OC_FAULT;
131 ret |= PB_TEMP_OT_WARNING;
133 ret |= PB_TEMP_OT_FAULT;
136 ret = -ENODATA;
139 return ret;