Lines Matching refs:di
181 struct device_info *di;
185 di = &devices[0];
187 if (!syscall(API_DEV_ENUM, NULL, di))
190 while (di->cookie != NULL) {
196 di++;
199 di->cookie = devices[n - 1].cookie;
201 if (!syscall(API_DEV_ENUM, NULL, di))
215 struct device_info *di;
221 di = &devices[handle];
223 if (!syscall(API_DEV_OPEN, &err, di))
231 struct device_info *di;
236 di = &devices[handle];
237 if (!syscall(API_DEV_CLOSE, NULL, di))
277 struct device_info *di;
284 di = &devices[handle];
285 if (!syscall(API_DEV_READ, &err, di, buf, &len, &start, &act_len))
307 struct device_info *di;
313 di = &devices[handle];
314 if (!syscall(API_DEV_READ, &err, di, buf, &len, &act_len))
325 struct device_info *di;
331 di = &devices[handle];
332 if (!syscall(API_DEV_WRITE, &err, di, buf, &len))
391 int ub_display_get_info(int type, struct display_info *di)
395 if (!syscall(API_DISPLAY_GET_INFO, &err, type, di))