M7350/kernel/arch/tile/include/asm/device.h

37 lines
1.0 KiB
C
Raw Normal View History

2024-09-09 08:52:07 +00:00
/*
* Copyright 2010 Tilera Corporation. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation, version 2.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
* NON INFRINGEMENT. See the GNU General Public License for
* more details.
2024-09-09 08:57:42 +00:00
* Arch specific extensions to struct device
2024-09-09 08:52:07 +00:00
*/
2024-09-09 08:57:42 +00:00
#ifndef _ASM_TILE_DEVICE_H
#define _ASM_TILE_DEVICE_H
2024-09-09 08:52:07 +00:00
2024-09-09 08:57:42 +00:00
struct dev_archdata {
/* DMA operations on that device */
struct dma_map_ops *dma_ops;
2024-09-09 08:52:07 +00:00
2024-09-09 08:57:42 +00:00
/* Offset of the DMA address from the PA. */
dma_addr_t dma_offset;
2024-09-09 08:52:07 +00:00
2024-09-09 08:57:42 +00:00
/*
* Highest DMA address that can be generated by devices that
* have limited DMA capability, i.e. non 64-bit capable.
*/
dma_addr_t max_direct_dma_addr;
};
2024-09-09 08:52:07 +00:00
2024-09-09 08:57:42 +00:00
struct pdev_archdata {
};
2024-09-09 08:52:07 +00:00
2024-09-09 08:57:42 +00:00
#endif /* _ASM_TILE_DEVICE_H */