.. | .. |
---|
79 | 79 | struct dfl_feature_platform_data *pdata; |
---|
80 | 80 | }; |
---|
81 | 81 | |
---|
| 82 | +/* hold pdata->lock when call __afu_port_enable/disable */ |
---|
| 83 | +void __afu_port_enable(struct platform_device *pdev); |
---|
| 84 | +int __afu_port_disable(struct platform_device *pdev); |
---|
| 85 | + |
---|
82 | 86 | void afu_mmio_region_init(struct dfl_feature_platform_data *pdata); |
---|
83 | 87 | int afu_mmio_region_add(struct dfl_feature_platform_data *pdata, |
---|
84 | 88 | u32 region_index, u64 region_size, u64 phys, u32 flags); |
---|
.. | .. |
---|
97 | 101 | struct dfl_afu_dma_region * |
---|
98 | 102 | afu_dma_region_find(struct dfl_feature_platform_data *pdata, |
---|
99 | 103 | u64 iova, u64 size); |
---|
| 104 | + |
---|
| 105 | +extern const struct dfl_feature_ops port_err_ops; |
---|
| 106 | +extern const struct dfl_feature_id port_err_id_table[]; |
---|
| 107 | +extern const struct attribute_group port_err_group; |
---|
| 108 | + |
---|
100 | 109 | #endif /* __DFL_AFU_H */ |
---|