• Home
  • Raw
  • Download

Lines Matching refs:hw_desc

50 	struct mv_xor_desc *hw_desc = desc->hw_desc;  in mv_desc_init()  local
52 hw_desc->status = (1 << 31); in mv_desc_init()
53 hw_desc->phy_next_desc = 0; in mv_desc_init()
54 hw_desc->desc_command = (1 << 31); in mv_desc_init()
59 struct mv_xor_desc *hw_desc = desc->hw_desc; in mv_desc_get_dest_addr() local
60 return hw_desc->phy_dest_addr; in mv_desc_get_dest_addr()
66 struct mv_xor_desc *hw_desc = desc->hw_desc; in mv_desc_get_src_addr() local
67 return hw_desc->phy_src_addr[src_idx]; in mv_desc_get_src_addr()
74 struct mv_xor_desc *hw_desc = desc->hw_desc; in mv_desc_set_byte_count() local
75 hw_desc->byte_count = byte_count; in mv_desc_set_byte_count()
81 struct mv_xor_desc *hw_desc = desc->hw_desc; in mv_desc_set_next_desc() local
82 BUG_ON(hw_desc->phy_next_desc); in mv_desc_set_next_desc()
83 hw_desc->phy_next_desc = next_desc_addr; in mv_desc_set_next_desc()
88 struct mv_xor_desc *hw_desc = desc->hw_desc; in mv_desc_clear_next_desc() local
89 hw_desc->phy_next_desc = 0; in mv_desc_clear_next_desc()
100 struct mv_xor_desc *hw_desc = desc->hw_desc; in mv_desc_set_dest_addr() local
101 hw_desc->phy_dest_addr = addr; in mv_desc_set_dest_addr()
114 struct mv_xor_desc *hw_desc = desc->hw_desc; in mv_desc_set_src_addr() local
115 hw_desc->phy_src_addr[index] = addr; in mv_desc_set_src_addr()
117 hw_desc->desc_command |= (1 << index); in mv_desc_set_src_addr()
281 struct mv_xor_desc *hw_desc = sw_desc->hw_desc; in mv_xor_start_new_chain() local
282 mv_chan_set_dest_pointer(mv_chan, hw_desc->phy_dest_addr); in mv_xor_start_new_chain()
605 char *hw_desc; in mv_xor_alloc_chan_resources() local
620 hw_desc = (char *) mv_chan->dma_desc_pool_virt; in mv_xor_alloc_chan_resources()
621 slot->hw_desc = (void *) &hw_desc[idx * MV_XOR_SLOT_SIZE]; in mv_xor_alloc_chan_resources()
628 hw_desc = (char *) mv_chan->dma_desc_pool; in mv_xor_alloc_chan_resources()
630 (dma_addr_t) &hw_desc[idx * MV_XOR_SLOT_SIZE]; in mv_xor_alloc_chan_resources()