Home
last modified time | relevance | path

Searched refs:kccb (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/imagination/
Dpvr_ccb.c201 return pvr_dev->kccb.slot_count - 1; in pvr_kccb_capacity()
216 struct pvr_ccb *pvr_ccb = &pvr_dev->kccb.ccb; in pvr_kccb_used_slot_count_locked()
227 used_count = wr_offset + pvr_dev->kccb.slot_count - rd_offset; in pvr_kccb_used_slot_count_locked()
244 struct pvr_ccb *pvr_ccb = &pvr_dev->kccb.ccb; in pvr_kccb_send_cmd_reserved_powered()
245 struct rogue_fwif_kccb_cmd *kccb = pvr_ccb->ccb; in pvr_kccb_send_cmd_reserved_powered() local
254 if (WARN_ON(!pvr_dev->kccb.reserved_count)) in pvr_kccb_send_cmd_reserved_powered()
263 memcpy(&kccb[old_write_offset], cmd, in pvr_kccb_send_cmd_reserved_powered()
268 WRITE_ONCE(pvr_dev->kccb.rtn[old_write_offset], in pvr_kccb_send_cmd_reserved_powered()
273 pvr_dev->kccb.reserved_count--; in pvr_kccb_send_cmd_reserved_powered()
296 mutex_lock(&pvr_dev->kccb.ccb.lock); in pvr_kccb_try_reserve_slot()
[all …]
Dpvr_fw.c323 fwif_osinit->kernel_ccbctl_fw_addr = pvr_dev->kccb.ccb.ctrl_fw_addr; in fw_osinit_init()
324 fwif_osinit->kernel_ccb_fw_addr = pvr_dev->kccb.ccb.ccb_fw_addr; in fw_osinit_init()
325 pvr_fw_object_get_fw_addr(pvr_dev->kccb.rtn_obj, in fw_osinit_init()
930 u32 kccb_rtn_size = (1 << kccb_size_log2) * sizeof(*pvr_dev->kccb.rtn); in pvr_fw_init()
968 pvr_dev->kccb.rtn = pvr_fw_object_create_and_map(pvr_dev, kccb_rtn_size, in pvr_fw_init()
970 NULL, NULL, &pvr_dev->kccb.rtn_obj); in pvr_fw_init()
971 if (IS_ERR(pvr_dev->kccb.rtn)) { in pvr_fw_init()
972 err = PTR_ERR(pvr_dev->kccb.rtn); in pvr_fw_init()
1001 pvr_fw_object_unmap_and_destroy(pvr_dev->kccb.rtn_obj); in pvr_fw_init()
1033 pvr_fw_object_unmap_and_destroy(pvr_dev->kccb.rtn_obj); in pvr_fw_fini()
Dpvr_device.h275 } kccb; member
Dpvr_device.c206 init_waitqueue_head(&pvr_dev->kccb.rtn_q); in pvr_device_irq_init()