Home
last modified time | relevance | path

Searched refs:smp_req (Results 1 – 18 of 18) sorted by relevance

/openbmc/linux/drivers/scsi/aic94xx/
H A Daic94xx_task.c418 dma_map_sg(&asd_ha->pcidev->dev, &task->smp_task.smp_req, 1, in asd_build_smp_ascb()
429 scb->smp_task.smp_req.bus_addr = in asd_build_smp_ascb()
430 cpu_to_le64((u64)sg_dma_address(&task->smp_task.smp_req)); in asd_build_smp_ascb()
431 scb->smp_task.smp_req.size = in asd_build_smp_ascb()
432 cpu_to_le32((u32)sg_dma_len(&task->smp_task.smp_req)-4); in asd_build_smp_ascb()
453 dma_unmap_sg(&a->ha->pcidev->dev, &task->smp_task.smp_req, 1, in asd_unbuild_smp_ascb()
H A Daic94xx_sas.h374 struct sg_el smp_req; member
/openbmc/linux/drivers/scsi/isci/
H A Drequest.c2913 struct scatterlist *sg = &task->smp_task.smp_req; in isci_request_io_request_complete()
2914 struct smp_req *smp_req; in isci_request_io_request_complete() local
2921 smp_req = kaddr + sg->offset; in isci_request_io_request_complete()
2922 sci_swab32_cpy(smp_req, smp_req, sg->length / sizeof(u32)); in isci_request_io_request_complete()
3180 struct scatterlist *sg = &task->smp_task.smp_req; in sci_io_request_construct_smp()
3184 struct smp_req *smp_req; in sci_io_request_construct_smp() local
3190 smp_req = kaddr + sg->offset; in sci_io_request_construct_smp()
3196 if (smp_req->req_len == 0) { in sci_io_request_construct_smp()
3197 switch (smp_req->func) { in sci_io_request_construct_smp()
3202 smp_req->req_len = 2; in sci_io_request_construct_smp()
[all …]
H A Dsas.h199 struct smp_req { struct
/openbmc/linux/drivers/scsi/pm8001/
H A Dpm80xx_hwi.c4110 struct smp_req *psmp_cmd, int mode, int length) in build_smp_cmd()
4134 struct scatterlist *sg_req, *sg_resp, *smp_req; in pm80xx_chip_smp_req() local
4136 struct smp_req smp_cmd; in pm80xx_chip_smp_req()
4146 sg_req = &task->smp_task.smp_req; in pm80xx_chip_smp_req()
4176 smp_req = &task->smp_task.smp_req; in pm80xx_chip_smp_req()
4177 to = kmap_atomic(sg_page(smp_req)); in pm80xx_chip_smp_req()
4178 payload = to + smp_req->offset; in pm80xx_chip_smp_req()
4190 (&task->smp_task.smp_req) + 4); in pm80xx_chip_smp_req()
4193 cpu_to_le32((u32)sg_dma_len(&task->smp_task.smp_req)-8); in pm80xx_chip_smp_req()
4203 (&task->smp_task.smp_req)); in pm80xx_chip_smp_req()
[all …]
H A Dpm8001_hwi.h392 struct smp_req { struct
403 u8 smp_req[32]; argument
H A Dpm80xx_hwi.h629 struct smp_req { struct
640 u8 smp_req[32]; member
H A Dpm8001_sas.c316 return PM8001_CHIP_DISP->smp_req(pm8001_ha, ccb); in pm8001_task_prep_smp()
548 dma_unmap_sg(pm8001_ha->dev, &task->smp_task.smp_req, 1, in pm8001_ccb_task_free()
H A Dpm8001_hwi.c3959 static void build_smp_cmd(u32 deviceID, __le32 hTag, struct smp_req *psmp_cmd) in build_smp_cmd()
3980 struct smp_req smp_cmd; in pm8001_chip_smp_req()
3987 sg_req = &task->smp_task.smp_req; in pm8001_chip_smp_req()
4009 cpu_to_le64((u64)sg_dma_address(&task->smp_task.smp_req)); in pm8001_chip_smp_req()
4011 cpu_to_le32((u32)sg_dma_len(&task->smp_task.smp_req)-4); in pm8001_chip_smp_req()
4028 dma_unmap_sg(pm8001_ha->dev, &ccb->task->smp_task.smp_req, 1, in pm8001_chip_smp_req()
4822 .smp_req = pm8001_chip_smp_req,
H A Dpm8001_sas.h189 int (*smp_req)(struct pm8001_hba_info *pm8001_ha, member
/openbmc/linux/drivers/scsi/hisi_sas/
H A Dhisi_sas_main.c228 dma_unmap_sg(dev, &task->smp_task.smp_req, in hisi_sas_slot_task_free()
290 dma_unmap_sg(dev, &task->smp_task.smp_req, in hisi_sas_dma_unmap()
315 *n_elem = dma_map_sg(dev, &task->smp_task.smp_req, in hisi_sas_dma_map()
321 req_len = sg_dma_len(&task->smp_task.smp_req); in hisi_sas_dma_map()
H A Dhisi_sas_v2_hw.c1709 sg_req = &task->smp_task.smp_req; in prep_smp_v2_hw()
1711 req_len = sg_dma_len(&task->smp_task.smp_req); in prep_smp_v2_hw()
H A Dhisi_sas_v1_hw.c926 sg_req = &task->smp_task.smp_req; in prep_smp_v1_hw()
H A Dhisi_sas_v3_hw.c1392 sg_req = &task->smp_task.smp_req; in prep_smp_v3_hw()
/openbmc/linux/include/scsi/
H A Dlibsas.h551 struct scatterlist smp_req; member
/openbmc/linux/drivers/scsi/mvsas/
H A Dmv_sas.c321 sg_req = &task->smp_task.smp_req; in mvs_task_prep_smp()
404 dma_unmap_sg(mvi->dev, &tei->task->smp_task.smp_req, 1, in mvs_task_prep_smp()
883 dma_unmap_sg(mvi->dev, &task->smp_task.smp_req, 1, in mvs_slot_task_free()
/openbmc/linux/drivers/scsi/esas2r/
H A Datioctl.h418 u8 smp_req[1020]; member
/openbmc/linux/drivers/scsi/libsas/
H A Dsas_expander.c58 task->smp_task.smp_req = *req; in smp_execute_task_sg()