Lines Matching refs:csb
92 static inline VkResult pvr_csb_get_status(const struct pvr_csb *csb) in pvr_csb_get_status() argument
94 return csb->status; in pvr_csb_get_status()
103 static inline bool pvr_csb_is_empty(const struct pvr_csb *csb) in pvr_csb_is_empty() argument
105 return list_is_empty(&csb->pvr_bo_list); in pvr_csb_is_empty()
109 pvr_csb_get_start_address(const struct pvr_csb *csb) in pvr_csb_get_start_address() argument
111 if (!pvr_csb_is_empty(csb)) { in pvr_csb_get_start_address()
113 list_first_entry(&csb->pvr_bo_list, struct pvr_bo, link); in pvr_csb_get_start_address()
123 struct pvr_csb *csb);
124 void pvr_csb_finish(struct pvr_csb *csb);
125 void *pvr_csb_alloc_dwords(struct pvr_csb *csb, uint32_t num_dwords);
126 VkResult pvr_csb_emit_return(struct pvr_csb *csb);
127 VkResult pvr_csb_emit_terminate(struct pvr_csb *csb);
167 #define pvr_csb_emit_merge(csb, dwords0, dwords1) \ argument
171 dw = pvr_csb_alloc_dwords(csb, ARRAY_SIZE(dwords0)); \
189 #define pvr_csb_emit(csb, cmd, name) \ argument
192 *_dst = pvr_csb_alloc_dwords(csb, pvr_cmd_length(cmd)); \
205 #define pvr_csb_emit_dword(csb, dword) \ argument
209 dw = pvr_csb_alloc_dwords(csb, 1U); \