Lines Matching refs:hw_descriptor

382 	struct mv_xor_v2_descriptor *hw_descriptor;  in mv_xor_v2_prep_dma_memcpy()  local
398 hw_descriptor = &sw_desc->hw_desc; in mv_xor_v2_prep_dma_memcpy()
401 hw_descriptor->desc_id = sw_desc->idx; in mv_xor_v2_prep_dma_memcpy()
404 hw_descriptor->desc_ctrl = in mv_xor_v2_prep_dma_memcpy()
408 hw_descriptor->desc_ctrl |= DESC_IOD; in mv_xor_v2_prep_dma_memcpy()
411 hw_descriptor->fill_pattern_src_addr[0] = lower_32_bits(src); in mv_xor_v2_prep_dma_memcpy()
412 hw_descriptor->fill_pattern_src_addr[1] = in mv_xor_v2_prep_dma_memcpy()
416 hw_descriptor->fill_pattern_src_addr[2] = lower_32_bits(dest); in mv_xor_v2_prep_dma_memcpy()
417 hw_descriptor->fill_pattern_src_addr[3] = in mv_xor_v2_prep_dma_memcpy()
421 hw_descriptor->buff_size = len; in mv_xor_v2_prep_dma_memcpy()
435 struct mv_xor_v2_descriptor *hw_descriptor; in mv_xor_v2_prep_dma_xor() local
454 hw_descriptor = &sw_desc->hw_desc; in mv_xor_v2_prep_dma_xor()
457 hw_descriptor->desc_id = sw_desc->idx; in mv_xor_v2_prep_dma_xor()
460 hw_descriptor->desc_ctrl = in mv_xor_v2_prep_dma_xor()
462 hw_descriptor->desc_ctrl |= DESC_P_BUFFER_ENABLE; in mv_xor_v2_prep_dma_xor()
465 hw_descriptor->desc_ctrl |= DESC_IOD; in mv_xor_v2_prep_dma_xor()
469 mv_xor_v2_set_data_buffers(xor_dev, hw_descriptor, src[i], i); in mv_xor_v2_prep_dma_xor()
471 hw_descriptor->desc_ctrl |= in mv_xor_v2_prep_dma_xor()
475 hw_descriptor->fill_pattern_src_addr[2] = lower_32_bits(dest); in mv_xor_v2_prep_dma_xor()
476 hw_descriptor->fill_pattern_src_addr[3] = in mv_xor_v2_prep_dma_xor()
480 hw_descriptor->buff_size = len; in mv_xor_v2_prep_dma_xor()
493 struct mv_xor_v2_descriptor *hw_descriptor; in mv_xor_v2_prep_dma_interrupt() local
502 hw_descriptor = &sw_desc->hw_desc; in mv_xor_v2_prep_dma_interrupt()
505 hw_descriptor->desc_id = sw_desc->idx; in mv_xor_v2_prep_dma_interrupt()
508 hw_descriptor->desc_ctrl = in mv_xor_v2_prep_dma_interrupt()
510 hw_descriptor->desc_ctrl |= DESC_IOD; in mv_xor_v2_prep_dma_interrupt()