Lines Matching refs:dl
77 void GDInitGDLObj(GDLObj *dl, void *start, u32 length);
78 static inline void *GDGetGDLObjStart(const GDLObj *dl);
79 static inline u32 GDGetGDLObjLength(const GDLObj *dl);
80 static inline void *GDGetGDLObjPointer(const GDLObj *dl);
81 static inline u32 GDGetGDLObjOffset(const GDLObj *dl); // For convenience
84 static inline void GDSetCurrent(GDLObj *dl);
86 static inline GXBool GDIsCurrent(const GDLObj *dl);
152 static inline void *GDGetGDLObjStart(const GDLObj *dl) in GDGetGDLObjStart() argument
154 return (void *) dl->start; in GDGetGDLObjStart()
157 static inline u32 GDGetGDLObjLength(const GDLObj *dl) in GDGetGDLObjLength() argument
159 return dl->length; in GDGetGDLObjLength()
162 static inline void *GDGetGDLObjPointer(const GDLObj *dl) in GDGetGDLObjPointer() argument
164 return dl->ptr; in GDGetGDLObjPointer()
167 static inline u32 GDGetGDLObjOffset(const GDLObj *dl) in GDGetGDLObjOffset() argument
169 return (u32) (dl->ptr - dl->start); in GDGetGDLObjOffset()
173 static inline void GDSetCurrent(GDLObj *dl) in GDSetCurrent() argument
175 __GDCurrentDL = dl; in GDSetCurrent()
183 static inline GXBool GDIsCurrent(const GDLObj *dl) in GDIsCurrent() argument
185 return (dl == __GDCurrentDL); in GDIsCurrent()