Searched refs:dcmds (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/scsi/
H A Dmac53c94.c365 struct dbdma_cmd *dcmds; set_dma_cmds() local
376 dcmds = state->dma_cmds; set_dma_cmds()
385 dcmds->req_count = cpu_to_le16(dma_len); scsi_for_each_sg()
386 dcmds->command = cpu_to_le16(dma_cmd); scsi_for_each_sg()
387 dcmds->phy_addr = cpu_to_le32(dma_addr); scsi_for_each_sg()
388 dcmds->xfer_status = 0; scsi_for_each_sg()
389 ++dcmds; scsi_for_each_sg()
393 dcmds[-1].command = cpu_to_le16(dma_cmd);
394 dcmds->command = cpu_to_le16(DBDMA_STOP);
H A Dmesh.c1261 struct dbdma_cmd *dcmds; set_dma_cmds() local
1265 dcmds = ms->dma_cmds; set_dma_cmds()
1290 dcmds->req_count = cpu_to_le16(dma_len - off); scsi_for_each_sg()
1291 dcmds->command = cpu_to_le16(dma_cmd); scsi_for_each_sg()
1292 dcmds->phy_addr = cpu_to_le32(dma_addr + off); scsi_for_each_sg()
1293 dcmds->xfer_status = 0; scsi_for_each_sg()
1294 ++dcmds; scsi_for_each_sg()
1306 dcmds->req_count = cpu_to_le16(dtot);
1307 dcmds->phy_addr = cpu_to_le32(virt_to_phys(mesh_extra_buf));
1308 dcmds->xfer_status = 0;
1309 ++dcmds;
1312 dcmds[-1].command = cpu_to_le16(dma_cmd);
1313 memset(dcmds, 0, sizeof(*dcmds));
1314 dcmds->command = cpu_to_le16(DBDMA_STOP);

Completed in 106 milliseconds