Home
last modified time | relevance | path

Searched refs:dma_mem (Results 1 – 9 of 9) sorted by relevance

/drivers/base/
Ddma-coherent.c24 struct dma_coherent_mem *dma_mem = NULL; in dma_init_coherent_memory() local
38 dma_mem = kzalloc(sizeof(struct dma_coherent_mem), GFP_KERNEL); in dma_init_coherent_memory()
39 if (!dma_mem) in dma_init_coherent_memory()
41 dma_mem->bitmap = kzalloc(bitmap_size, GFP_KERNEL); in dma_init_coherent_memory()
42 if (!dma_mem->bitmap) in dma_init_coherent_memory()
45 dma_mem->virt_base = mem_base; in dma_init_coherent_memory()
46 dma_mem->device_base = device_addr; in dma_init_coherent_memory()
47 dma_mem->pfn_base = PFN_DOWN(phys_addr); in dma_init_coherent_memory()
48 dma_mem->size = pages; in dma_init_coherent_memory()
49 dma_mem->flags = flags; in dma_init_coherent_memory()
[all …]
/drivers/scsi/be2iscsi/
Dbe.h39 struct be_dma_mem dma_mem; member
61 return q->dma_mem.va + q->head * q->entry_size; in queue_head_node()
66 return q->dma_mem.va + wrb_num * q->entry_size; in queue_get_wrb()
71 return q->dma_mem.va + q->tail * q->entry_size; in queue_tail_node()
Dbe_cmds.c829 struct be_dma_mem *q_mem = &eq->dma_mem; in beiscsi_cmd_eq_create()
952 struct be_dma_mem *q_mem = &cq->dma_mem; in beiscsi_cmd_cq_create()
1025 struct be_dma_mem *q_mem = &mccq->dma_mem; in beiscsi_cmd_mccq_create()
1149 struct be_dma_mem *q_mem = &dq->dma_mem; in be_cmd_create_default_pdu_queue()
Dbe_main.c3210 struct be_dma_mem *mem = &q->dma_mem; in be_fill_queue()
3242 mem = &eq->dma_mem; in beiscsi_create_eqs()
3277 mem = &eq->dma_mem; in beiscsi_create_eqs()
3306 mem = &cq->dma_mem; in beiscsi_create_cqs()
3339 mem = &cq->dma_mem; in beiscsi_create_cqs()
3365 mem = &dq->dma_mem; in beiscsi_create_def_hdr()
3418 mem = &dataq->dma_mem; in beiscsi_create_def_data()
3535 struct be_dma_mem *mem = &q->dma_mem; in be_queue_free()
3546 struct be_dma_mem *mem = &q->dma_mem; in be_queue_alloc()
/drivers/scsi/
Dstex.c296 void *dma_mem; member
396 struct req_msg *req = hba->dma_mem + hba->req_head * hba->rq_size; in stex_alloc_req()
406 return (struct req_msg *)(hba->dma_mem + in stex_ss_alloc_req()
1087 msg_h = (struct st_msg_header *)hba->dma_mem; in stex_ss_handshake()
1603 hba->dma_mem = dma_alloc_coherent(&pdev->dev, in stex_probe()
1605 if (!hba->dma_mem) { in stex_probe()
1614 hba->dma_mem = dma_alloc_coherent(&pdev->dev, in stex_probe()
1618 if (!hba->dma_mem) { in stex_probe()
1635 hba->scratch = (__le32 *)(hba->dma_mem + scratch_offset); in stex_probe()
1636 hba->status_buffer = (struct status_msg *)(hba->dma_mem + sts_offset); in stex_probe()
[all …]
/drivers/net/ethernet/emulex/benet/
Dbe.h134 struct be_dma_mem dma_mem; member
161 return q->dma_mem.va + q->head * q->entry_size; in queue_head_node()
166 return q->dma_mem.va + q->tail * q->entry_size; in queue_tail_node()
171 return q->dma_mem.va + index * q->entry_size; in queue_index_node()
Dbe_cmds.c892 struct be_dma_mem *q_mem = &eqo->q.dma_mem; in be_cmd_eq_create()
1057 struct be_dma_mem *q_mem = &cq->dma_mem; in be_cmd_cq_create()
1135 struct be_dma_mem *q_mem = &mccq->dma_mem; in be_cmd_mccq_ext_create()
1194 struct be_dma_mem *q_mem = &mccq->dma_mem; in be_cmd_mccq_org_create()
1253 struct be_dma_mem *q_mem = &txq->dma_mem; in be_cmd_txq_create()
1301 struct be_dma_mem *q_mem = &rxq->dma_mem; in be_cmd_rxq_create()
Dbe_main.c127 struct be_dma_mem *mem = &q->dma_mem; in be_queue_free()
139 struct be_dma_mem *mem = &q->dma_mem; in be_queue_alloc()
/drivers/staging/media/dt3155v4l/
Ddt3155v4l.c853 if (dev->dma_mem) in dt3155_alloc_coherent()
871 dev->dma_mem = mem; in dt3155_alloc_coherent()
885 struct dma_coherent_mem *mem = dev->dma_mem; in dt3155_free_coherent()
889 dev->dma_mem = NULL; in dt3155_free_coherent()