Lines Matching refs:res
99 int res = 0; in prog_efuse() local
101 res = mvebu_efuse_init_hw(); in prog_efuse()
102 if (res) in prog_efuse()
103 return res; in prog_efuse()
125 res = do_prog_efuse(efuse, new_val, mask0, mask1); in prog_efuse()
129 return res; in prog_efuse()
153 int res; in mvebu_read_efuse() local
155 res = mvebu_efuse_init_hw(); in mvebu_read_efuse()
156 if (res) in mvebu_read_efuse()
157 return res; in mvebu_read_efuse()
202 int res; in fuse_read() local
207 res = mvebu_read_efuse(bank, &fuse_line); in fuse_read()
208 if (res) in fuse_read()
209 return res; in fuse_read()
216 return res; in fuse_read()
227 int res = 0; in fuse_prog() local
248 res = mvebu_lock_efuse(bank); in fuse_prog()
251 res = -EINVAL; in fuse_prog()
254 res = mvebu_write_efuse(bank, &prog_val); in fuse_prog()
258 return res; in fuse_prog()