Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/scsi/mvsas/
Dmv_sas.c440 u8 *buf_cmd, *buf_oaf; in mvs_task_prep_ata() local
486 buf_cmd = buf_tmp = slot->buf; in mvs_task_prep_ata()
531 memcpy(buf_cmd, &task->ata_task.fis, sizeof(struct host_to_dev_fis)); in mvs_task_prep_ata()
533 memcpy(buf_cmd + STP_ATAPI_CMD, in mvs_task_prep_ata()
567 u8 *buf_cmd, *buf_oaf; in mvs_task_prep_ssp() local
599 buf_cmd = buf_tmp = slot->buf; in mvs_task_prep_ssp()
648 ssp_hdr = (struct ssp_frame_hdr *)buf_cmd; in mvs_task_prep_ssp()
662 buf_cmd += sizeof(*ssp_hdr); in mvs_task_prep_ssp()
663 memcpy(buf_cmd, &task->ssp_task.LUN, 8); in mvs_task_prep_ssp()
666 buf_cmd[9] = task->ssp_task.task_attr; in mvs_task_prep_ssp()
[all …]
/linux-6.6.21/drivers/scsi/hisi_sas/
Dhisi_sas_v1_hw.c963 u8 *buf_cmd; in prep_ssp_v1_hw() local
1019 buf_cmd = hisi_sas_cmd_hdr_addr_mem(slot) + in prep_ssp_v1_hw()
1023 memcpy(buf_cmd, &task->ssp_task.LUN, 8); in prep_ssp_v1_hw()
1025 buf_cmd[9] = task->ssp_task.task_attr; in prep_ssp_v1_hw()
1026 memcpy(buf_cmd + 12, task->ssp_task.cmd->cmnd, in prep_ssp_v1_hw()
1029 buf_cmd[10] = tmf->tmf; in prep_ssp_v1_hw()
1033 buf_cmd[12] = in prep_ssp_v1_hw()
1035 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()
1802 memcpy(buf_cmd + 12, task->ssp_task.cmd->cmnd, in prep_ssp_v2_hw()
1805 buf_cmd[10] = tmf->tmf; in prep_ssp_v2_hw()
1809 buf_cmd[12] = in prep_ssp_v2_hw()
1811 buf_cmd[13] = in prep_ssp_v2_hw()
2504 u8 *buf_cmd; in prep_ata_v2_hw() local
2571 buf_cmd = hisi_sas_cmd_hdr_addr_mem(slot); in prep_ata_v2_hw()
[all …]
Dhisi_sas_v3_hw.c1271 u8 *buf_cmd; in prep_ssp_v3_hw() local
1324 buf_cmd = hisi_sas_cmd_hdr_addr_mem(slot) + in prep_ssp_v3_hw()
1327 memcpy(buf_cmd, &task->ssp_task.LUN, 8); in prep_ssp_v3_hw()
1329 buf_cmd[9] = ssp_task->task_attr; in prep_ssp_v3_hw()
1330 memcpy(buf_cmd + 12, scsi_cmnd->cmnd, scsi_cmnd->cmd_len); in prep_ssp_v3_hw()
1332 buf_cmd[10] = tmf->tmf; in prep_ssp_v3_hw()
1336 buf_cmd[12] = in prep_ssp_v3_hw()
1338 buf_cmd[13] = in prep_ssp_v3_hw()
1429 u8 *buf_cmd; in prep_ata_v3_hw() local
1490 buf_cmd = hisi_sas_cmd_hdr_addr_mem(slot); in prep_ata_v3_hw()
[all …]
/linux-6.6.21/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()