Home
last modified time | relevance | path

Searched refs:qhandle (Results 1 – 7 of 7) sorted by relevance

/drivers/staging/media/atomisp/pci/runtime/queue/src/
Dqueue.c25 int ia_css_queue_local_init(ia_css_queue_t *qhandle, ia_css_queue_local_t *desc) in ia_css_queue_local_init() argument
27 if (NULL == qhandle || NULL == desc in ia_css_queue_local_init()
34 qhandle->type = IA_CSS_QUEUE_TYPE_LOCAL; in ia_css_queue_local_init()
37 ia_css_circbuf_create(&qhandle->desc.cb_local, in ia_css_queue_local_init()
44 int ia_css_queue_remote_init(ia_css_queue_t *qhandle, ia_css_queue_remote_t *desc) in ia_css_queue_remote_init() argument
46 if (NULL == qhandle || NULL == desc) { in ia_css_queue_remote_init()
52 qhandle->type = IA_CSS_QUEUE_TYPE_REMOTE; in ia_css_queue_remote_init()
55 qhandle->location = desc->location; in ia_css_queue_remote_init()
56 qhandle->proc_id = desc->proc_id; in ia_css_queue_remote_init()
57 qhandle->desc.remote.cb_desc_addr = desc->cb_desc_addr; in ia_css_queue_remote_init()
[all …]
/drivers/staging/media/atomisp/pci/runtime/queue/interface/
Dia_css_queue.h48 ia_css_queue_t *qhandle,
59 ia_css_queue_t *qhandle,
69 ia_css_queue_t *qhandle);
81 ia_css_queue_t *qhandle,
95 ia_css_queue_t *qhandle,
108 ia_css_queue_t *qhandle,
121 ia_css_queue_t *qhandle,
133 ia_css_queue_t *qhandle,
145 ia_css_queue_t *qhandle,
159 ia_css_queue_t *qhandle,
[all …]
/drivers/crypto/
Dn2_core.h215 unsigned long *qhandle);
216 extern unsigned long sun4v_ncs_qinfo(unsigned long qhandle,
220 extern unsigned long sun4v_ncs_gethead(unsigned long qhandle,
222 extern unsigned long sun4v_ncs_gettail(unsigned long qhandle,
224 extern unsigned long sun4v_ncs_settail(unsigned long qhandle,
226 extern unsigned long sun4v_ncs_qhandle_to_devino(unsigned long qhandle,
228 extern unsigned long sun4v_ncs_sethead_marker(unsigned long qhandle,
Dn2_core.c54 unsigned long qhandle; member
127 smp_processor_id(), q->qhandle); in cwq_intr()
131 hv_ret = sun4v_ncs_gethead(q->qhandle, &new_head); in cwq_intr()
140 hv_ret = sun4v_ncs_sethead_marker(q->qhandle, new_head); in cwq_intr()
157 smp_processor_id(), q->qhandle); in mau_intr()
159 hv_ret = sun4v_ncs_gethead(q->qhandle, &head); in mau_intr()
164 sun4v_ncs_sethead_marker(q->qhandle, head); in mau_intr()
207 hv_ret = sun4v_ncs_settail(q->qhandle, new_tail); in spu_queue_submit()
495 hv_ret = sun4v_ncs_gethead(qp->qhandle, &head); in wait_for_tail()
1541 herr = sun4v_ncs_qhandle_to_devino(p->qhandle, &p->devino); in spu_map_ino()
[all …]
/drivers/staging/media/atomisp/pci/runtime/bufq/src/
Dbufq.c489 static void bufq_dump_queue_info(const char *prefix, ia_css_queue_t *qhandle) in bufq_dump_queue_info() argument
493 assert(prefix && qhandle); in bufq_dump_queue_info()
494 ia_css_queue_get_used_space(qhandle, &used); in bufq_dump_queue_info()
495 ia_css_queue_get_free_space(qhandle, &free); in bufq_dump_queue_info()
/drivers/soc/ti/
Dknav_qmss_queue.c419 static int knav_queue_get_count(void *qhandle) in knav_queue_get_count() argument
421 struct knav_queue *qh = qhandle; in knav_queue_get_count()
550 void knav_queue_close(void *qhandle) in knav_queue_close() argument
552 struct knav_queue *qh = qhandle; in knav_queue_close()
581 int knav_queue_device_control(void *qhandle, enum knav_queue_ctrl_cmd cmd, in knav_queue_device_control() argument
584 struct knav_queue *qh = qhandle; in knav_queue_device_control()
633 int knav_queue_push(void *qhandle, dma_addr_t dma, in knav_queue_push() argument
636 struct knav_queue *qh = qhandle; in knav_queue_push()
654 dma_addr_t knav_queue_pop(void *qhandle, unsigned *size) in knav_queue_pop() argument
656 struct knav_queue *qh = qhandle; in knav_queue_pop()
/drivers/scsi/lpfc/
Dlpfc_nvme.c88 struct lpfc_nvme_qhandle *qhandle; in lpfc_nvme_create_queue() local
101 qhandle = kzalloc(sizeof(struct lpfc_nvme_qhandle), GFP_KERNEL); in lpfc_nvme_create_queue()
102 if (qhandle == NULL) in lpfc_nvme_create_queue()
105 qhandle->cpu_id = raw_smp_processor_id(); in lpfc_nvme_create_queue()
106 qhandle->qidx = qidx; in lpfc_nvme_create_queue()
114 qhandle->index = ((qidx - 1) % in lpfc_nvme_create_queue()
118 qhandle->index = qidx; in lpfc_nvme_create_queue()
124 qidx, qhandle->cpu_id, qhandle->index, qhandle); in lpfc_nvme_create_queue()
125 *handle = (void *)qhandle; in lpfc_nvme_create_queue()