Home
last modified time | relevance | path

Searched refs:buf_cmd (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/drivers/scsi/mvsas/
Dmv_sas.c444 u8 *buf_cmd, *buf_oaf; in mvs_task_prep_ata() local
490 buf_cmd = buf_tmp = slot->buf; in mvs_task_prep_ata()
535 memcpy(buf_cmd, &task->ata_task.fis, sizeof(struct host_to_dev_fis)); in mvs_task_prep_ata()
537 memcpy(buf_cmd + STP_ATAPI_CMD, in mvs_task_prep_ata()
571 u8 *buf_cmd, *buf_oaf, fburst = 0; in mvs_task_prep_ssp() local
607 buf_cmd = buf_tmp = slot->buf; in mvs_task_prep_ssp()
656 ssp_hdr = (struct ssp_frame_hdr *)buf_cmd; in mvs_task_prep_ssp()
670 buf_cmd += sizeof(*ssp_hdr); in mvs_task_prep_ssp()
671 memcpy(buf_cmd, &task->ssp_task.LUN, 8); in mvs_task_prep_ssp()
674 buf_cmd[9] = fburst | task->ssp_task.task_attr | in mvs_task_prep_ssp()
[all …]
/linux-5.19.10/drivers/scsi/hisi_sas/
Dhisi_sas_v1_hw.c963 u8 *buf_cmd, fburst = 0; in prep_ssp_v1_hw() local
1019 buf_cmd = hisi_sas_cmd_hdr_addr_mem(slot) + in prep_ssp_v1_hw()
1027 memcpy(buf_cmd, &task->ssp_task.LUN, 8); in prep_ssp_v1_hw()
1029 buf_cmd[9] = fburst | task->ssp_task.task_attr | in prep_ssp_v1_hw()
1031 memcpy(buf_cmd + 12, task->ssp_task.cmd->cmnd, in prep_ssp_v1_hw()
1034 buf_cmd[10] = tmf->tmf; in prep_ssp_v1_hw()
1038 buf_cmd[12] = in prep_ssp_v1_hw()
1040 buf_cmd[13] = in prep_ssp_v1_hw()
Dhisi_sas_v2_hw.c1747 u8 *buf_cmd; in prep_ssp_v2_hw() local
1796 buf_cmd = hisi_sas_cmd_hdr_addr_mem(slot) + in prep_ssp_v2_hw()
1799 memcpy(buf_cmd, &task->ssp_task.LUN, 8); in prep_ssp_v2_hw()
1801 buf_cmd[9] = task->ssp_task.task_attr | in prep_ssp_v2_hw()
1803 memcpy(buf_cmd + 12, task->ssp_task.cmd->cmnd, in prep_ssp_v2_hw()
1806 buf_cmd[10] = tmf->tmf; in prep_ssp_v2_hw()
1810 buf_cmd[12] = in prep_ssp_v2_hw()
1812 buf_cmd[13] = in prep_ssp_v2_hw()
2496 u8 *buf_cmd; in prep_ata_v2_hw() local
2563 buf_cmd = hisi_sas_cmd_hdr_addr_mem(slot); in prep_ata_v2_hw()
[all …]
Dhisi_sas_v3_hw.c1227 u8 *buf_cmd; in prep_ssp_v3_hw() local
1280 buf_cmd = hisi_sas_cmd_hdr_addr_mem(slot) + in prep_ssp_v3_hw()
1283 memcpy(buf_cmd, &task->ssp_task.LUN, 8); in prep_ssp_v3_hw()
1285 buf_cmd[9] = ssp_task->task_attr | (ssp_task->task_prio << 3); in prep_ssp_v3_hw()
1286 memcpy(buf_cmd + 12, scsi_cmnd->cmnd, scsi_cmnd->cmd_len); in prep_ssp_v3_hw()
1288 buf_cmd[10] = tmf->tmf; in prep_ssp_v3_hw()
1292 buf_cmd[12] = in prep_ssp_v3_hw()
1294 buf_cmd[13] = in prep_ssp_v3_hw()
1385 u8 *buf_cmd; in prep_ata_v3_hw() local
1446 buf_cmd = hisi_sas_cmd_hdr_addr_mem(slot); in prep_ata_v3_hw()
[all …]
/linux-5.19.10/drivers/net/ieee802154/
Dadf7242.c298 u8 buf_cmd; member
497 lp->buf_cmd = cmd; in adf7242_cmd()
498 status = spi_write(lp->spi, &lp->buf_cmd, 1); in adf7242_cmd()