/drivers/staging/tidspbridge/rmgr/ |
D | drv.c | 78 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 …]
|
D | drv_interface.c | 631 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/ |
D | be_cmds.c | 598 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/ |
D | be_cmds.c | 735 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/ |
D | qib_file_ops.c | 184 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 …]
|
D | qib_tx.c | 135 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()
|
D | qib_init.c | 154 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 …]
|
D | qib_iba6120.c | 306 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 …]
|
D | qib_iba7220.c | 230 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 …]
|
D | qib_iba7322.c | 696 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 …]
|
D | qib_ud.c | 396 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()
|
D | qib_user_sdma.c | 100 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()
|
D | qib_intr.c | 207 rcd->ctxt); in qib_handle_urcv()
|
D | qib_driver.c | 294 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()
|
D | qib_common.h | 411 __u16 ctxt; /* ctxt on unit assigned to caller */ member
|
D | qib.h | 156 unsigned ctxt; member 765 int ctxt);
|
D | qib_verbs.c | 1910 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/ |
D | pvrusb2-encoder.c | 141 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/ |
D | acpi_memhotplug.c | 496 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/ |
D | aacraid.h | 781 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);
|