• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/

Lines Matching refs:ioadl

1075 	struct pmcraid_ioadl_desc *ioadl = ioarcb->add_data.u.ioadl;
1092 add_data.u.ioadl[0]));
1098 ioadl = &(ioarcb->add_data.u.ioadl[0]);
1099 ioadl->flags = IOADL_FLAGS_LAST_DESC;
1100 ioadl->address = cpu_to_le64(pinstance->inq_data_baddr);
1101 ioadl->data_len = cpu_to_le32(data_size);
1198 struct pmcraid_ioadl_desc *ioadl;
1229 add_data.u.ioadl[0]));
1231 ioadl = ioarcb->add_data.u.ioadl;
1243 ioadl[0].flags |= IOADL_FLAGS_READ_LAST;
1244 ioadl[0].data_len = cpu_to_le32(rcb_size);
1245 ioadl[0].address = cpu_to_le32(dma);
2499 struct pmcraid_ioadl_desc *ioadl = ioarcb->add_data.u.ioadl;
2525 add_data.u.ioadl[0]));
2530 ioadl->address = cpu_to_le64(cmd->sense_buffer_dma);
2531 ioadl->data_len = cpu_to_le32(SCSI_SENSE_BUFFERSIZE);
2532 ioadl->flags = IOADL_FLAGS_LAST_DESC;
3206 struct pmcraid_ioadl_desc *ioadl;
3215 if ((sgcount + ioadl_count) > (ARRAY_SIZE(ioarcb->add_data.u.ioadl))) {
3225 add_data.u.ioadl[3]));
3226 ioadl = &ioarcb->add_data.u.ioadl[3];
3231 add_data.u.ioadl[ioadl_count]));
3233 ioadl = &ioarcb->add_data.u.ioadl[ioadl_count];
3238 return ioadl;
3247 * to firmware. This builds ioadl descriptors and sets up ioarcb fields.
3262 struct pmcraid_ioadl_desc *ioadl = ioarcb->add_data.u.ioadl;
3287 ioadl = pmcraid_init_ioadls(cmd, nseg);
3291 ioadl[i].data_len = cpu_to_le32(sg_dma_len(sglist));
3292 ioadl[i].address = cpu_to_le64(sg_dma_address(sglist));
3293 ioadl[i].flags = 0;
3296 ioadl[i - 1].flags = IOADL_FLAGS_LAST_DESC;
3572 pmcraid_err("queuecommand could not build ioadl\n");
3650 struct pmcraid_ioadl_desc *ioadl;
3674 ioadl = pmcraid_init_ioadls(cmd, sglist->num_dma_sg);
3678 ioadl[i].data_len = cpu_to_le32(sg_dma_len(sg));
3679 ioadl[i].address = cpu_to_le64(sg_dma_address(sg));
3680 ioadl[i].flags = 0;
3684 ioadl[i - 1].flags = IOADL_FLAGS_LAST_DESC;
5738 struct pmcraid_ioadl_desc *ioadl = ioarcb->add_data.u.ioadl;
5763 add_data.u.ioadl[0]));
5771 ioadl = &(ioarcb->add_data.u.ioadl[0]);
5772 ioadl->flags = IOADL_FLAGS_LAST_DESC;
5773 ioadl->address = cpu_to_le64(pinstance->cfg_table_bus_addr);
5774 ioadl->data_len = cpu_to_le32(sizeof(struct pmcraid_config_table));