Lines Matching refs:out_bytes
107 if (mcmd->out_bytes) {
111 if (ocs_dma_alloc(ocs, dma, mcmd->out_bytes, 4096)) {
113 __func__, (unsigned long long)mcmd->out_bytes);
117 memset(dma->virt, 0, mcmd->out_bytes);
120 rdobj->host_buffer_descriptor[0].buffer_length = mcmd->out_bytes;
149 if (mcmd->out_bytes) {
153 if (ocs_dma_alloc(ocs, dma, mcmd->out_bytes, 4096)) {
155 __func__,(unsigned long long) mcmd->out_bytes);
159 memset(dma->virt, 0, mcmd->out_bytes);
162 rdobj->host_buffer_descriptor[0].buffer_length = mcmd->out_bytes;
173 (void *)(uintptr_t)mcmd->out_addr, (unsigned long long)mcmd->out_bytes);
180 uint32_t max_bytes = max(mcmd->in_bytes, mcmd->out_bytes);
252 && mcmd->out_bytes && dma.virt) {
253 copyout(dma.virt, (void *)(uintptr_t)mcmd->out_addr, mcmd->out_bytes);