summaryrefslogblamecommitdiff
path: root/include/linux/platform_data/dma-mv_xor.h
blob: 82a5f4b84afe6dec6948340f7056bdeda9d63148 (plain) (tree)
1
2
3
4
5
6
7
8
  

                                            


                                                    

                       




                                               
 
                            




                                                  
                             
                                                
  

      
/*
 * arch/arm/plat-orion/include/plat/mv_xor.h
 *
 * Marvell XOR platform device data definition file.
 */

#ifndef __PLAT_MV_XOR_H
#define __PLAT_MV_XOR_H

#include <linux/dmaengine.h>
#include <linux/mbus.h>

#define MV_XOR_SHARED_NAME	"mv_xor_shared"

struct mv_xor_channel_data {
	int				hw_id;
	dma_cap_mask_t			cap_mask;
	size_t				pool_size;
};

struct mv_xor_platform_data {
	struct mv_xor_channel_data    *channels;
};

#endif