Lines Matching defs:ioadl
657 cpu_to_be32(dma_addr + offsetof(struct ipr_cmnd, i.ioadl));
956 /* If the number of ioadls * size of ioadl > 128 bytes,
1015 * ipr_init_ioadl - initialize the ioadl for the correct SIS type
1019 * @flags: ioadl flag value
1021 * This function initializes an ioadl in the case where there is only a single
1030 struct ipr_ioadl_desc *ioadl = ipr_cmd->i.ioadl;
1044 ioadl->flags_and_data_len = cpu_to_be32(flags | len);
1045 ioadl->address = cpu_to_be32(dma_addr);
3997 struct ipr_ioadl_desc *ioadl = ipr_cmd->i.ioadl;
4010 ioadl[i].flags_and_data_len =
4012 ioadl[i].address =
4016 ioadl[i-1].flags_and_data_len |=
5994 struct ipr_ioadl_desc *ioadl = ipr_cmd->i.ioadl;
6021 if (ipr_cmd->dma_use_sg <= ARRAY_SIZE(ioarcb->u.add_data.u.ioadl)) {
6022 ioadl = ioarcb->u.add_data.u.ioadl;
6029 ioadl[i].flags_and_data_len =
6031 ioadl[i].address = cpu_to_be32(sg_dma_address(sg));
6034 ioadl[i-1].flags_and_data_len |= cpu_to_be32(IPR_IOADL_FLAGS_LAST);
6121 cpu_to_be32(dma_addr + offsetof(struct ipr_cmnd, i.ioadl));
6968 struct ipr_ioadl_desc *ioadl = ipr_cmd->i.ioadl;
6991 ioadl->flags_and_data_len = cpu_to_be32(ioadl_flags | sg_dma_len(sg));
6992 ioadl->address = cpu_to_be32(sg_dma_address(sg));
6994 last_ioadl = ioadl;
6995 ioadl++;
9732 cpu_to_be32(dma_addr + offsetof(struct ipr_cmnd, i.ioadl));