ps3.h (6caebff168235b6102e5dc57cb95a2374301720a) | ps3.h (9733862e50fdba55e7f1554e4286fcc5302ff28e) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * PS3 platform declarations. 4 * 5 * Copyright (C) 2006 Sony Computer Entertainment Inc. 6 * Copyright 2006 Sony Corp. 7 */ 8 --- 57 unchanged lines hidden (view full) --- 66/** 67 * struct ps3_dma_region - A per device dma state variables structure 68 * @did: The HV device id. 69 * @page_size: The ioc pagesize. 70 * @region_type: The HV region type. 71 * @bus_addr: The 'translated' bus address of the region. 72 * @len: The length in bytes of the region. 73 * @offset: The offset from the start of memory of the region. | 1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * PS3 platform declarations. 4 * 5 * Copyright (C) 2006 Sony Computer Entertainment Inc. 6 * Copyright 2006 Sony Corp. 7 */ 8 --- 57 unchanged lines hidden (view full) --- 66/** 67 * struct ps3_dma_region - A per device dma state variables structure 68 * @did: The HV device id. 69 * @page_size: The ioc pagesize. 70 * @region_type: The HV region type. 71 * @bus_addr: The 'translated' bus address of the region. 72 * @len: The length in bytes of the region. 73 * @offset: The offset from the start of memory of the region. |
74 * @dma_mask: Device dma_mask. |
|
74 * @ioid: The IOID of the device who owns this region 75 * @chunk_list: Opaque variable used by the ioc page manager. 76 * @region_ops: struct ps3_dma_region_ops - dma region operations 77 */ 78 79struct ps3_dma_region { 80 struct ps3_system_bus_device *dev; 81 /* device variables */ 82 const struct ps3_dma_region_ops *region_ops; 83 unsigned char ioid; 84 enum ps3_dma_page_size page_size; 85 enum ps3_dma_region_type region_type; 86 unsigned long len; 87 unsigned long offset; | 75 * @ioid: The IOID of the device who owns this region 76 * @chunk_list: Opaque variable used by the ioc page manager. 77 * @region_ops: struct ps3_dma_region_ops - dma region operations 78 */ 79 80struct ps3_dma_region { 81 struct ps3_system_bus_device *dev; 82 /* device variables */ 83 const struct ps3_dma_region_ops *region_ops; 84 unsigned char ioid; 85 enum ps3_dma_page_size page_size; 86 enum ps3_dma_region_type region_type; 87 unsigned long len; 88 unsigned long offset; |
89 u64 dma_mask; |
|
88 89 /* driver variables (set by ps3_dma_region_create) */ 90 unsigned long bus_addr; 91 struct { 92 spinlock_t lock; 93 struct list_head head; 94 } chunk_list; 95}; --- 424 unchanged lines hidden --- | 90 91 /* driver variables (set by ps3_dma_region_create) */ 92 unsigned long bus_addr; 93 struct { 94 spinlock_t lock; 95 struct list_head head; 96 } chunk_list; 97}; --- 424 unchanged lines hidden --- |