Home
last modified time | relevance | path

Searched refs:slot (Results 1 - 25 of 39) sorted by relevance

12

/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_dummy_job_wa.c113 static inline int run_job(struct kbase_device *kbdev, int as, int slot, in run_job() argument
119 kbase_reg_write(kbdev, JOB_SLOT_REG(slot, JS_HEAD_NEXT_LO), in run_job()
121 kbase_reg_write(kbdev, JOB_SLOT_REG(slot, JS_HEAD_NEXT_HI), in run_job()
123 kbase_reg_write(kbdev, JOB_SLOT_REG(slot, JS_AFFINITY_NEXT_LO), in run_job()
125 kbase_reg_write(kbdev, JOB_SLOT_REG(slot, JS_AFFINITY_NEXT_HI), in run_job()
127 kbase_reg_write(kbdev, JOB_SLOT_REG(slot, JS_CONFIG_NEXT), in run_job()
131 kbase_reg_write(kbdev, JOB_SLOT_REG(slot, JS_COMMAND_NEXT), in run_job()
134 /* wait for the slot to finish (done, error) */ in run_job()
136 (1ul << (16+slot)) | (1ul << slot)); in run_job()
157 int slot; kbase_dummy_job_wa_execute() local
[all...]
H A Dmali_kbase_kinstr_jm.c104 * @data.start.slot: Extra data for the state change. Active member depends on
140 u8 slot; member
833 change.data.start.slot = katom->slot_nr; in kbasep_kinstr_jm_atom_state()
852 const int slot = katom->slot_nr; in kbasep_kinstr_jm_atom_hw_submit() local
853 struct kbase_jd_atom *const submitted = kbase_gpu_inspect(kbdev, slot, 0); in kbasep_kinstr_jm_atom_hw_submit()
859 if (WARN_ON(slot < 0 || slot >= GPU_MAX_JOB_SLOTS)) in kbasep_kinstr_jm_atom_hw_submit()
872 const int slot = katom->slot_nr; in kbasep_kinstr_jm_atom_hw_release() local
873 struct kbase_jd_atom *const submitted = kbase_gpu_inspect(kbdev, slot, 0); in kbasep_kinstr_jm_atom_hw_release()
874 struct kbase_jd_atom *const queued = kbase_gpu_inspect(kbdev, slot, in kbasep_kinstr_jm_atom_hw_release()
[all...]
H A Dmali_kbase_js.c144 * @js: Job slot id to check.
175 * @js: Job slot id to check.
201 * @js: Job slot id to iterate.
231 * list of atoms blocked on cross-slot dependencies. Remove them in jsctx_queue_foreach_prio()
268 * @js: Job slot id to iterate.
288 * @js: Job slot id to check.
319 * @js: Job slot id to check.
456 /* It only makes sense to make this test for atoms on the same slot */ in kbase_js_atom_runs_before()
472 * for a particular slot from such contexts have the highest in kbase_js_atom_runs_before()
752 * A priority level on a slot i
1863 int slot; kbasep_js_runpool_release_ctx_internal() local
3044 int slot; global() local
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
H A Dmali_kbase_dummy_job_wa.c113 static inline int run_job(struct kbase_device *kbdev, int as, int slot, u64 cores, u64 jc) in run_job() argument
118 kbase_reg_write(kbdev, JOB_SLOT_REG(slot, JS_HEAD_NEXT_LO), jc & U32_MAX); in run_job()
119 kbase_reg_write(kbdev, JOB_SLOT_REG(slot, JS_HEAD_NEXT_HI), jc >> 0x20); in run_job()
120 kbase_reg_write(kbdev, JOB_SLOT_REG(slot, JS_AFFINITY_NEXT_LO), cores & U32_MAX); in run_job()
121 kbase_reg_write(kbdev, JOB_SLOT_REG(slot, JS_AFFINITY_NEXT_HI), cores >> 0x20); in run_job()
122 kbase_reg_write(kbdev, JOB_SLOT_REG(slot, JS_CONFIG_NEXT), JS_CONFIG_DISABLE_DESCRIPTOR_WR_BK | as); in run_job()
125 kbase_reg_write(kbdev, JOB_SLOT_REG(slot, JS_COMMAND_NEXT), JS_COMMAND_START); in run_job()
127 /* wait for the slot to finish (done, error) */ in run_job()
128 done = wait_any(kbdev, JOB_CONTROL_REG(JOB_IRQ_RAWSTAT), (1ul << (0x10 + slot)) | (1ul << slot)); in run_job()
146 int slot; kbase_dummy_job_wa_execute() local
[all...]
H A Dmali_kbase_kinstr_jm.c141 u8 slot; member
824 change.data.start.slot = katom->jobslot; in kbasep_kinstr_jm_atom_state()
842 const int slot = katom->slot_nr; in kbasep_kinstr_jm_atom_hw_submit() local
843 struct kbase_jd_atom *const submitted = kbase_gpu_inspect(kbdev, slot, 0); in kbasep_kinstr_jm_atom_hw_submit()
849 if (WARN_ON(slot < 0 || slot >= GPU_MAX_JOB_SLOTS)) { in kbasep_kinstr_jm_atom_hw_submit()
865 const int slot = katom->slot_nr; in kbasep_kinstr_jm_atom_hw_release() local
866 struct kbase_jd_atom *const submitted = kbase_gpu_inspect(kbdev, slot, 0); in kbasep_kinstr_jm_atom_hw_release()
867 struct kbase_jd_atom *const queued = kbase_gpu_inspect(kbdev, slot, 1); in kbasep_kinstr_jm_atom_hw_release()
873 if (WARN_ON(slot < in kbasep_kinstr_jm_atom_hw_release()
[all...]
H A Dmali_kbase_js.c140 * @js: Job slot id to check.
169 * @js: Job slot id to check.
194 * @js: Job slot id to iterate.
222 * list of atoms blocked on cross-slot dependencies. Remove them in jsctx_queue_foreach_prio()
250 * @js: Job slot id to iterate.
269 * @js: Job slot id to check.
297 * @js: Job slot id to check.
621 * @js: Job slot to use
661 * @js: Job slot to use
696 * per-slot pullabl
1524 int slot; kbasep_js_runpool_release_ctx_internal() local
2614 int slot; global() local
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/mmc/host/
H A Dcqhci-core.c161 * link desc to the transfer desc table on a per slot basis.
192 /* total size of a slot: 1 task & 1 transfer (link) */ in cqhci_host_alloc_tdl()
200 pr_debug("%s: cqhci: desc_size: %zu data_sz: %zu slot-sz: %d\n", in cqhci_host_alloc_tdl()
207 * setup each link-desc memory offset per slot-number to in cqhci_host_alloc_tdl()
635 cq_host->slot[tag].mrq = mrq; in cqhci_request()
636 cq_host->slot[tag].flags = 0; in cqhci_request()
686 struct cqhci_slot *slot; in cqhci_error_irq() local
711 slot = &cq_host->slot[tag]; in cqhci_error_irq()
712 if (slot in cqhci_error_irq()
773 struct cqhci_slot *slot = &cq_host->slot[tag]; cqhci_finish_mrq() local
883 struct cqhci_slot *slot = &cq_host->slot[tag]; cqhci_timeout() local
1010 struct cqhci_slot *slot = &cq_host->slot[tag]; cqhci_recover_mrq() local
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/debug/backend/
H A Dmali_kbase_debug_ktrace_csf.c31 "group,slot,prio,csi,kcpu"), 0); in kbasep_ktrace_backend_format_header()
44 const s8 slot = be_msg->gpu.csg_nr; in kbasep_ktrace_backend_format_msg() local
45 /* group,slot, */ in kbasep_ktrace_backend_format_msg()
48 "%u,%d,", be_msg->gpu.group_handle, slot), 0); in kbasep_ktrace_backend_format_msg()
51 if (slot >= 0) in kbasep_ktrace_backend_format_msg()
61 /* No group,slot,prio fields, but ensure ending with "," */ in kbasep_ktrace_backend_format_msg()
133 const s8 slot = group->csg_nr; in kbasep_ktrace_add_csf() local
137 trace_msg->backend.gpu.csg_nr = slot; in kbasep_ktrace_add_csf()
139 if (slot >= 0) { in kbasep_ktrace_add_csf()
141 &kbdev->csf.scheduler.csg_slots[slot]; in kbasep_ktrace_add_csf()
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/csf/
H A Dmali_kbase_csf_scheduler.c47 /* Maximum dynamic CSG slot priority value */
80 /* A GPU address space slot is reserved for MCU. */
111 * it is called when an on-slot group is terminated or when the suspend
112 * buffer of an on-slot group needs to be captured.
165 * wake up of MCU and suspension of on-slot groups. It is called at the time of
435 * given CSG slot.
438 * @slot: Index/number of the CSG slot in question.
444 static inline bool csg_slot_in_use(struct kbase_device *kbdev, int slot) in csg_slot_in_use() argument
448 return (kbdev->csf.scheduler.csg_slots[slot] in csg_slot_in_use()
945 kbase_csf_scheduler_get_group_on_slot( struct kbase_device *kbdev, int slot) kbase_csf_scheduler_get_group_on_slot() argument
1028 int slot; can_halt_stream() local
1068 int slot; sched_halt_stream() local
1253 int slot = kbase_csf_scheduler_group_get_slot(group); kbase_csf_scheduler_queue_stop() local
1489 update_csg_slot_status( struct kbase_device *kbdev, s8 slot) update_csg_slot_status() argument
1542 csg_slot_running(struct kbase_device *kbdev, s8 slot) csg_slot_running() argument
1549 csg_slot_stopped_locked(struct kbase_device *kbdev, s8 slot) csg_slot_stopped_locked() argument
1561 csg_slot_stopped_raw(struct kbase_device *kbdev, s8 slot) csg_slot_stopped_raw() argument
1585 s8 slot; halt_csg_slot() local
2198 s8 slot; cleanup_csg_slot() local
2269 s8 slot; update_csg_slot_priority() local
2321 program_csg_slot(struct kbase_queue_group *group, s8 slot, u8 prio) program_csg_slot() argument
2890 program_group_on_vacant_csg_slot(struct kbase_device *kbdev, s8 slot) program_group_on_vacant_csg_slot() argument
2939 program_vacant_csg_slot(struct kbase_device *kbdev, s8 slot) program_vacant_csg_slot() argument
3222 group_on_slot_is_idle(struct kbase_device *kbdev, unsigned long slot) group_on_slot_is_idle() argument
3357 u32 slot; kbase_csf_scheduler_evict_ctx_slots() local
3407 scheduler_slot_protm_ack(struct kbase_device *const kbdev, struct kbase_queue_group *const group, const int slot) scheduler_slot_protm_ack() argument
3519 const int slot = scheduler_group_check_protm_enter() local
3600 s8 slot = (s8)find_first_zero_bit( scheduler_apply() local
[all...]
H A Dmali_kbase_csf.h325 * @slot: Index of CSG interface for ringing the door-bell.
329 void kbase_csf_ring_csg_doorbell(struct kbase_device *kbdev, int slot);
336 * @slot_bitmap: bitmap for the given slots, slot-0 on bit-0, etc.
349 * @csg_nr: Index of the CSG slot assigned to the queue
356 * starting/resuming the group on a CSG slot.
H A Dmali_kbase_csf_scheduler.h70 * programmed on a firmware CSG slot
71 * and returns the slot number.
75 * Return: The slot number, if the group is programmed on a slot.
85 * programmed on a firmware CSG slot
86 * and returns the slot number.
90 * Return: The slot number, if the group is programmed on a slot.
113 * programmed to a firmware CSG slot.
116 * @slot
[all...]
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
H A Doal_sdio.h71 extern void hisi_sdio_rescan(int slot);
73 extern int hisi_sdio_rescan(int slot);
/device/soc/rockchip/common/sdk_linux/drivers/mmc/host/
H A Ddw_mmc-rockchip.c11 #include <linux/mmc/slot-gpio.h>
156 static int dw_mci_v2_execute_tuning(struct dw_mci_slot *slot, u32 opcode) in dw_mci_v2_execute_tuning() argument
158 struct dw_mci *host = slot->host; in dw_mci_v2_execute_tuning()
160 struct mmc_host *mmc = slot->mmc; in dw_mci_v2_execute_tuning()
195 static int dw_mci_rk3288_execute_tuning(struct dw_mci_slot *slot, u32 opcode) in dw_mci_rk3288_execute_tuning() argument
197 struct dw_mci *host = slot->host; in dw_mci_rk3288_execute_tuning()
199 struct mmc_host *mmc = slot->mmc; in dw_mci_rk3288_execute_tuning()
219 ret = dw_mci_v2_execute_tuning(slot, opcode); in dw_mci_rk3288_execute_tuning()
368 /* It is slot 8 on Rockchip SoCs */ in dw_mci_rockchip_init()
H A Ddw_mmc.h60 * @mrq: The request currently being processed on @slot,
104 * @slot: Slots sharing this MMC controller.
127 * @slot, @mrq and @state. These must always be updated
130 * and must always be written at the same time as the slot is added to
205 struct dw_mci_slot *slot; member
491 * struct dw_mci_slot - MMC slot state
492 * @mmc: The mmc_host representing this slot.
493 * @host: The MMC controller this slot is using.
494 * @ctype: Card type for this slot.
496 * processed, or NULL when the slot i
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/
H A Dmali_kbase_js.c164 * @js: Job slot id to check.
187 * @js: Job slot id to check.
212 * @js: Job slot id to iterate.
252 * @js: Job slot id to iterate.
271 * @js: Job slot id to check.
297 * @js: Job slot id to check.
617 * @js: Job slot to use
656 * @js: Job slot to use
690 * per-slot pullable context queue
693 * @js: Job slot t
1351 int slot; kbasep_js_runpool_release_ctx_internal() local
2144 int slot; js_return_worker() local
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/
H A Dmali_kbase_js.c168 * @js: Job slot id to check.
192 * @js: Job slot id to check.
217 * @js: Job slot id to iterate.
261 * @js: Job slot id to iterate.
281 * @js: Job slot id to check.
307 * @js: Job slot id to check.
647 * @js: Job slot to use
688 * @js: Job slot to use
723 * per-slot pullable context queue
726 * @js: Job slot t
1421 int slot; kbasep_js_runpool_release_ctx_internal() local
2243 int slot; js_return_worker() local
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/csf/
H A Dmali_kbase_csf.h368 * @slot: Index of command stream group interface for ringing the door-bell.
370 void kbase_csf_ring_csg_doorbell(struct kbase_device *kbdev, int slot);
381 * @slot_bitmap: bitmap for the given slots, slot-0 on bit-0, etc.
H A Dmali_kbase_csf_scheduler.h72 * programmed on a firmware Command Stream Group slot
73 * and returns the slot number.
77 * Return: The slot number, if the group is programmed on a slot.
87 * programmed on a firmware Command Stream Group slot
88 * and returns the slot number.
92 * Return: The slot number, if the group is programmed on a slot.
114 * programmed to a firmware Command Stream Group slot.
117 * @slot
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/backend/gpu/
H A Dmali_kbase_jm_rb.c79 * @js: Job slot to remove atom from
401 * @js: Job slot
407 int slot; in other_slots_busy() local
409 for (slot = 0; slot < kbdev->gpu_props.num_job_slots; slot++) { in other_slots_busy()
410 if (slot == js) in other_slots_busy()
413 if (kbase_gpu_nr_atoms_on_slot_min(kbdev, slot, in other_slots_busy()
978 /* If intra-slot serialization in use in kbase_backend_slot_update()
979 * then don't submit atom to NEXT slot in kbase_backend_slot_update()
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/backend/gpu/
H A Dmali_kbase_jm_rb.c67 * @js: Job slot to remove atom from
130 * kbase_gpu_atoms_submitted - Inspect whether a slot has any atoms currently
133 * @js: Job slot to inspect
135 * Return: true if there are atoms on the GPU for slot js,
635 /* Don't submit slot 2 atom while GPU has jobs on slots 0/1 */ in kbase_gpu_rmu_workaround()
641 /* Don't submit slot 0/1 atom while GPU has jobs on slot 2 */ in kbase_gpu_rmu_workaround()
655 * @js: Job slot
661 int slot; in other_slots_busy() local
663 for (slot in other_slots_busy()
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/backend/gpu/
H A Dmali_kbase_jm_rb.c75 * @js: Job slot to remove atom from
370 * @js: Job slot
376 int slot; in other_slots_busy() local
378 for (slot = 0; slot < kbdev->gpu_props.num_job_slots; slot++) { in other_slots_busy()
379 if (slot == js) { in other_slots_busy()
383 if (kbase_gpu_nr_atoms_on_slot_min(kbdev, slot, KBASE_ATOM_GPU_RB_SUBMITTED)) { in other_slots_busy()
897 /* If intra-slot serialization in use
898 * then don't submit atom to NEXT slot
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/backend/gpu/
H A Dmali_kbase_jm_rb.c72 * @js: Job slot to remove atom from
138 * kbase_gpu_atoms_submitted - Inspect whether a slot has any atoms currently
141 * @js: Job slot to inspect
143 * Return: true if there are atoms on the GPU for slot js,
723 /* Don't submit slot 2 atom while GPU has jobs on slots 0/1 */ in kbase_gpu_rmu_workaround()
729 /* Don't submit slot 0/1 atom while GPU has jobs on slot 2 */ in kbase_gpu_rmu_workaround()
743 * @js: Job slot
749 int slot; in other_slots_busy() local
751 for (slot in other_slots_busy()
[all...]
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/
H A Dbcmsdh.h222 void *(*probe)(uint16 vend_id, uint16 dev_id, uint16 bus, uint16 slot,
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Ddbus_usb.c164 uint16 bus_no, uint16 slot, uint32 hdrlen);
174 uint16 slot, uint32 hdrlen) in dbus_usb_probe()
194 disc_arg = probe_cb(probe_arg, "DBUS USB", USB_BUS, bus_no, slot, hdrlen); in dbus_usb_probe()
173 dbus_usb_probe(void *arg, const char *desc, uint32 bustype, uint16 bus_no, uint16 slot, uint32 hdrlen) dbus_usb_probe() argument
/device/soc/rockchip/common/sdk_linux/kernel/bpf/
H A Dverifier.c707 int slot = size / (SIZE); \
712 state->COUNT = slot * (SIZE); \
719 new_##FIELD = kmalloc_array(slot, sizeof(struct bpf_##NAME##_state), GFP_KERNEL); \
727 state->COUNT = slot * (SIZE); \
1534 /* Parentage chain of this register (or stack slot) should take care of all
1535 * issues like callee-saved registers, stack slot allocation time, etc.
1871 * that [fp - off] slot contains scalar that needs to be in backtrack_insn()
2162 * stack slot fp-8 is still marked in stack_mask. in __mark_chain_precision()
2291 int i, slot = -off - 1, spi = slot / BPF_REG_SIZ in check_stack_write_fixed_off() local
2447 int slot, spi; check_stack_write_var_off() local
2512 int i, slot, spi; mark_reg_stack_read() local
2563 int i, slot = -off - 1, spi = slot / BPF_REG_SIZE; check_stack_read_fixed_off() local
3953 int err, min_off, max_off, i, j, slot, spi; check_stack_range_initialized() local
[all...]

Completed in 34 milliseconds

12