Lines Matching refs:err
54 int err = 0; in gbm_init() local
60 err = -EINVAL; in gbm_init()
64 return err; in gbm_init()
71 int err; in gbm_mod_perform() local
74 err = gbm_init(dmod); in gbm_mod_perform()
75 if (err) in gbm_mod_perform()
76 return err; in gbm_mod_perform()
84 err = 0; in gbm_mod_perform()
88 err = -EINVAL; in gbm_mod_perform()
93 return err; in gbm_mod_perform()
100 int err; in gbm_mod_register_buffer() local
102 err = gbm_init(dmod); in gbm_mod_register_buffer()
103 if (err) in gbm_mod_register_buffer()
104 return err; in gbm_mod_register_buffer()
107 err = gralloc_gbm_handle_register(handle, dmod->gbm); in gbm_mod_register_buffer()
110 return err; in gbm_mod_register_buffer()
117 int err; in gbm_mod_unregister_buffer() local
120 err = gralloc_gbm_handle_unregister(handle); in gbm_mod_unregister_buffer()
123 return err; in gbm_mod_unregister_buffer()
130 int err; in gbm_mod_lock() local
134 err = gralloc_gbm_bo_lock(handle, usage, x, y, w, h, ptr); in gbm_mod_lock()
138 return err; in gbm_mod_lock()
144 int err; in gbm_mod_unlock() local
147 err = gralloc_gbm_bo_unlock(handle); in gbm_mod_unlock()
150 return err; in gbm_mod_unlock()
157 int err; in gbm_mod_lock_ycbcr() local
160 err = gralloc_gbm_bo_lock_ycbcr(handle, usage, x, y, w, h, ycbcr); in gbm_mod_lock_ycbcr()
163 return err; in gbm_mod_lock_ycbcr()
195 int err = 0; in gbm_mod_alloc_gpu0() local
201 err = -errno; in gbm_mod_alloc_gpu0()
205 return err; in gbm_mod_alloc_gpu0()
211 int err; in gbm_mod_open_gpu0() local
213 err = gbm_init(dmod); in gbm_mod_open_gpu0()
214 if (err) in gbm_mod_open_gpu0()
215 return err; in gbm_mod_open_gpu0()
238 int err; in gbm_mod_open() local
241 err = gbm_mod_open_gpu0(dmod, dev); in gbm_mod_open()
243 err = -EINVAL; in gbm_mod_open()
245 return err; in gbm_mod_open()