Lines Matching defs:res
301 * @res: resource struct
309 static inline void rio_init_mbox_res(struct resource *res, int start, int end)
311 memset(res, 0, sizeof(struct resource));
312 res->start = start;
313 res->end = end;
314 res->flags = RIO_RESOURCE_MAILBOX;
319 * @res: resource struct
327 static inline void rio_init_dbell_res(struct resource *res, u16 start, u16 end)
329 memset(res, 0, sizeof(struct resource));
330 res->start = start;
331 res->end = end;
332 res->flags = RIO_RESOURCE_DOORBELL;