Home
last modified time | relevance | path

Searched refs:ctxt (Results 1 – 20 of 20) sorted by relevance

/drivers/staging/tidspbridge/rmgr/
Ddrv.c78 struct process_context *ctxt = (struct process_context *)process_ctxt; in drv_insert_node_res_element() local
89 retval = idr_get_new(ctxt->node_id, *node_res_obj, in drv_insert_node_res_element()
92 if (!idr_pre_get(ctxt->node_id, GFP_KERNEL)) { in drv_insert_node_res_element()
98 retval = idr_get_new(ctxt->node_id, *node_res_obj, in drv_insert_node_res_element()
116 struct process_context *ctxt = data; in drv_proc_free_node_res() local
130 node_delete(node_res_obj, ctxt); in drv_proc_free_node_res()
140 struct process_context *ctxt = (struct process_context *)process_ctxt; in drv_remove_all_dmm_res_elements() local
146 list_for_each_entry_safe(map_obj, temp_map, &ctxt->dmm_map_list, link) { in drv_remove_all_dmm_res_elements()
147 status = proc_un_map(ctxt->processor, in drv_remove_all_dmm_res_elements()
148 (void *)map_obj->dsp_addr, ctxt); in drv_remove_all_dmm_res_elements()
[all …]
Ddrv_interface.c631 struct process_context *ctxt = (struct process_context *)process_ctxt; in drv_remove_all_resources() local
632 drv_remove_all_strm_res_elements(ctxt); in drv_remove_all_resources()
633 drv_remove_all_node_res_elements(ctxt); in drv_remove_all_resources()
634 drv_remove_all_dmm_res_elements(ctxt); in drv_remove_all_resources()
635 ctxt->res_state = PROC_RES_FREED; in drv_remove_all_resources()
/drivers/scsi/be2iscsi/
Dbe_cmds.c598 void *ctxt = &req->context; in beiscsi_cmd_cq_create() local
614 AMAP_SET_BITS(struct amap_cq_context, coalescwm, ctxt, coalesce_wm); in beiscsi_cmd_cq_create()
615 AMAP_SET_BITS(struct amap_cq_context, nodelay, ctxt, no_delay); in beiscsi_cmd_cq_create()
616 AMAP_SET_BITS(struct amap_cq_context, count, ctxt, in beiscsi_cmd_cq_create()
618 AMAP_SET_BITS(struct amap_cq_context, valid, ctxt, 1); in beiscsi_cmd_cq_create()
619 AMAP_SET_BITS(struct amap_cq_context, solevent, ctxt, sol_evts); in beiscsi_cmd_cq_create()
620 AMAP_SET_BITS(struct amap_cq_context, eventable, ctxt, 1); in beiscsi_cmd_cq_create()
621 AMAP_SET_BITS(struct amap_cq_context, eqid, ctxt, eq->id); in beiscsi_cmd_cq_create()
622 AMAP_SET_BITS(struct amap_cq_context, armed, ctxt, 1); in beiscsi_cmd_cq_create()
623 AMAP_SET_BITS(struct amap_cq_context, func, ctxt, in beiscsi_cmd_cq_create()
[all …]
/drivers/net/ethernet/emulex/benet/
Dbe_cmds.c735 void *ctxt; in be_cmd_cq_create() local
743 ctxt = &req->context; in be_cmd_cq_create()
752 AMAP_SET_BITS(struct amap_cq_context_lancer, nodelay, ctxt, in be_cmd_cq_create()
754 AMAP_SET_BITS(struct amap_cq_context_lancer, count, ctxt, in be_cmd_cq_create()
756 AMAP_SET_BITS(struct amap_cq_context_lancer, valid, ctxt, 1); in be_cmd_cq_create()
758 ctxt, 1); in be_cmd_cq_create()
760 ctxt, eq->id); in be_cmd_cq_create()
762 AMAP_SET_BITS(struct amap_cq_context_be, coalescwm, ctxt, in be_cmd_cq_create()
765 ctxt, no_delay); in be_cmd_cq_create()
766 AMAP_SET_BITS(struct amap_cq_context_be, count, ctxt, in be_cmd_cq_create()
[all …]
/drivers/infiniband/hw/qib/
Dqib_file_ops.c184 kinfo->spi_uregbase = (u64) dd->uregbase + dd->ureg_align * rcd->ctxt; in qib_get_base_info()
233 kinfo->spi_ctxt = rcd->ctxt; in qib_get_base_info()
299 ctxttid = rcd->ctxt * dd->rcvtidcnt; in qib_tid_update()
488 ctxttid = rcd->ctxt * dd->rcvtidcnt; in qib_tid_free()
678 dd->f_rcvctrl(rcd->ppd, rcvctrl_op, rcd->ctxt); in qib_manage_rcvq()
754 "bytes failed: %d\n", what, rcd->ctxt, in qib_mmap_mem()
1032 ureg = dd->uregbase + dd->ureg_align * rcd->ctxt; in qib_mmapf()
1125 dd->f_rcvctrl(rcd->ppd, QIB_RCVCTRL_INTRAVAIL_ENB, rcd->ctxt); in qib_poll_next()
1253 static int setup_ctxt(struct qib_pportdata *ppd, int ctxt, in setup_ctxt() argument
1261 rcd = qib_create_ctxtdata(ppd, ctxt); in setup_ctxt()
[all …]
Dqib_tx.c135 unsigned ctxt; in find_ctxt() local
139 for (ctxt = dd->first_user_ctxt; ctxt < dd->cfgctxts; ctxt++) { in find_ctxt()
140 rcd = dd->rcd[ctxt]; in find_ctxt()
452 unsigned ctxt; in qib_cancel_sends() local
464 for (ctxt = dd->first_user_ctxt; ctxt < dd->cfgctxts; ctxt++) { in qib_cancel_sends()
466 rcd = dd->rcd[ctxt]; in qib_cancel_sends()
Dqib_init.c154 struct qib_ctxtdata *qib_create_ctxtdata(struct qib_pportdata *ppd, u32 ctxt) in qib_create_ctxtdata() argument
165 rcd->ctxt = ctxt; in qib_create_ctxtdata()
166 dd->rcd[ctxt] = rcd; in qib_create_ctxtdata()
1117 int ctxt; in cleanup_device_data() local
1142 for (ctxt = 0; ctxt < dd->cfgctxts; ctxt++) { in cleanup_device_data()
1143 int ctxt_tidbase = ctxt * dd->rcvtidcnt; in cleanup_device_data()
1173 for (ctxt = 0; tmp && ctxt < dd->ctxtcnt; ctxt++) { in cleanup_device_data()
1174 struct qib_ctxtdata *rcd = tmp[ctxt]; in cleanup_device_data()
1176 tmp[ctxt] = NULL; /* debugging paranoia */ in cleanup_device_data()
1356 gfp_flags = (rcd->ctxt >= dd->first_user_ctxt) ? in qib_create_rcvhdrq()
[all …]
Dqib_iba6120.c306 enum qib_ureg regno, int ctxt) in qib_read_ureg32() argument
314 dd->ureg_align * ctxt)); in qib_read_ureg32()
319 dd->ureg_align * ctxt)); in qib_read_ureg32()
332 enum qib_ureg regno, u64 value, int ctxt) in qib_write_ureg() argument
338 dd->ureg_align * ctxt); in qib_write_ureg()
343 dd->ureg_align * ctxt); in qib_write_ureg()
381 const u16 regno, unsigned ctxt, in qib_write_kreg_ctxt() argument
384 qib_write_kreg(dd, regno + ctxt, value); in qib_write_kreg_ctxt()
1975 u32 ctxt; in qib_6120_clear_tids() local
1981 ctxt = rcd->ctxt; in qib_6120_clear_tids()
[all …]
Dqib_iba7220.c230 enum qib_ureg regno, int ctxt) in qib_read_ureg32() argument
238 dd->ureg_align * ctxt)); in qib_read_ureg32()
243 dd->ureg_align * ctxt)); in qib_read_ureg32()
256 enum qib_ureg regno, u64 value, int ctxt) in qib_write_ureg() argument
263 dd->ureg_align * ctxt); in qib_write_ureg()
268 dd->ureg_align * ctxt); in qib_write_ureg()
282 const u16 regno, unsigned ctxt, in qib_write_kreg_ctxt() argument
285 qib_write_kreg(dd, regno + ctxt, value); in qib_write_kreg_ctxt()
2220 u32 ctxt; in qib_7220_clear_tids() local
2226 ctxt = rcd->ctxt; in qib_7220_clear_tids()
[all …]
Dqib_iba7322.c696 enum qib_ureg regno, int ctxt) in qib_read_ureg32() argument
701 (dd->ureg_align * ctxt) + (dd->userbase ? in qib_read_ureg32()
717 enum qib_ureg regno, int ctxt) in qib_read_ureg() argument
723 (dd->ureg_align * ctxt) + (dd->userbase ? in qib_read_ureg()
738 enum qib_ureg regno, u64 value, int ctxt) in qib_write_ureg() argument
744 dd->ureg_align * ctxt); in qib_write_ureg()
749 dd->ureg_align * ctxt); in qib_write_ureg()
806 const u16 regno, unsigned ctxt, in qib_write_kreg_ctxt() argument
809 qib_write_kreg(dd, regno + ctxt, value); in qib_write_kreg_ctxt()
2765 u32 timeout = dd->cspec->rcvavail_timeout[rcd->ctxt]; in adjust_rcv_timeout()
[all …]
Dqib_ud.c396 unsigned ctxt = ppd->hw_pidx; in qib_lookup_pkey() local
401 for (i = 0; i < ARRAY_SIZE(dd->rcd[ctxt]->pkeys); ++i) in qib_lookup_pkey()
402 if ((dd->rcd[ctxt]->pkeys[i] & 0x7fff) == pkey) in qib_lookup_pkey()
Dqib_user_sdma.c100 qib_user_sdma_queue_create(struct device *dev, int unit, int ctxt, int sctxt) in qib_user_sdma_queue_create() argument
115 "qib-user-sdma-pkts-%u-%02u.%02u", unit, ctxt, sctxt); in qib_user_sdma_queue_create()
124 "qib-user-sdma-headers-%u-%02u.%02u", unit, ctxt, sctxt); in qib_user_sdma_queue_create()
Dqib_intr.c207 rcd->ctxt); in qib_handle_urcv()
Dqib_driver.c294 u32 ctxt, u32 eflags, u32 l, u32 etail, in qib_rcv_hdrerr() argument
507 crcs += qib_rcv_hdrerr(rcd, ppd, rcd->ctxt, eflags, l, in qib_kreceive()
Dqib_common.h411 __u16 ctxt; /* ctxt on unit assigned to caller */ member
Dqib.h156 unsigned ctxt; member
765 int ctxt);
Dqib_verbs.c1910 unsigned ctxt = ppd->hw_pidx; in qib_get_pkey() local
1914 if (!dd->rcd || index >= ARRAY_SIZE(dd->rcd[ctxt]->pkeys)) in qib_get_pkey()
1917 ret = dd->rcd[ctxt]->pkeys[index]; in qib_get_pkey()
/drivers/media/video/pvrusb2/
Dpvrusb2-encoder.c141 static int pvr2_encoder_cmd(void *ctxt, in pvr2_encoder_cmd() argument
155 struct pvr2_hdw *hdw = (struct pvr2_hdw *)ctxt; in pvr2_encoder_cmd()
/drivers/acpi/
Dacpi_memhotplug.c496 u32 level, void *ctxt, void **retv) in acpi_memory_register_notify_handler() argument
513 u32 level, void *ctxt, void **retv) in acpi_memory_deregister_notify_handler() argument
/drivers/scsi/aacraid/
Daacraid.h781 typedef void (*fib_callback)(void *ctxt, struct fib *fibctx);
1971 …context, unsigned long size, int priority, int wait, int reply, fib_callback callback, void *ctxt);