Lines Matching refs:ioadl
660 cpu_to_be32(dma_addr + offsetof(struct ipr_cmnd, i.ioadl));
915 /* If the number of ioadls * size of ioadl > 128 bytes,
975 * ipr_init_ioadl - initialize the ioadl for the correct SIS type
979 * @flags: ioadl flag value
981 * This function initializes an ioadl in the case where there is only a single
990 struct ipr_ioadl_desc *ioadl = ipr_cmd->i.ioadl;
1004 ioadl->flags_and_data_len = cpu_to_be32(flags | len);
1005 ioadl->address = cpu_to_be32(dma_addr);
3894 struct ipr_ioadl_desc *ioadl = ipr_cmd->i.ioadl;
3906 ioadl[i].flags_and_data_len =
3908 ioadl[i].address =
3912 ioadl[i-1].flags_and_data_len |=
5631 struct ipr_ioadl_desc *ioadl = ipr_cmd->i.ioadl;
5658 if (ipr_cmd->dma_use_sg <= ARRAY_SIZE(ioarcb->u.add_data.u.ioadl)) {
5659 ioadl = ioarcb->u.add_data.u.ioadl;
5666 ioadl[i].flags_and_data_len =
5668 ioadl[i].address = cpu_to_be32(sg_dma_address(sg));
5671 ioadl[i-1].flags_and_data_len |= cpu_to_be32(IPR_IOADL_FLAGS_LAST);
5765 cpu_to_be32(dma_addr + offsetof(struct ipr_cmnd, i.ioadl));
6559 struct ipr_ioadl_desc *ioadl = ipr_cmd->i.ioadl;
6582 ioadl->flags_and_data_len = cpu_to_be32(ioadl_flags | sg_dma_len(sg));
6583 ioadl->address = cpu_to_be32(sg_dma_address(sg));
6585 last_ioadl = ioadl;
6586 ioadl++;
9058 cpu_to_be32(dma_addr + offsetof(struct ipr_cmnd, i.ioadl));