.. | .. |
---|
29 | 29 | struct rkisp_hw_dev *dev; |
---|
30 | 30 | struct work_struct work; |
---|
31 | 31 | struct completion cmpl; |
---|
32 | | - int (*reset_handle)(struct rkisp_device *dev); |
---|
33 | 32 | u32 state; |
---|
34 | 33 | u8 retry; |
---|
35 | 34 | bool is_en; |
---|
.. | .. |
---|
53 | 52 | struct platform_device *pdev; |
---|
54 | 53 | struct device *dev; |
---|
55 | 54 | struct regmap *grf; |
---|
| 55 | + void *sw_reg; |
---|
56 | 56 | void __iomem *base_addr; |
---|
57 | 57 | void __iomem *base_next_addr; |
---|
58 | 58 | struct clk *clks[RKISP_MAX_BUS_CLK]; |
---|
.. | .. |
---|
89 | 89 | struct rkisp_monitor monitor; |
---|
90 | 90 | u64 iq_feature; |
---|
91 | 91 | int buf_init_cnt; |
---|
| 92 | + u32 unite; |
---|
92 | 93 | bool is_feature_on; |
---|
93 | 94 | bool is_dma_contig; |
---|
94 | 95 | bool is_dma_sg_ops; |
---|
.. | .. |
---|
99 | 100 | bool is_thunderboot; |
---|
100 | 101 | bool is_buf_init; |
---|
101 | 102 | bool is_shutdown; |
---|
102 | | - bool is_unite; |
---|
103 | 103 | bool is_multi_overflow; |
---|
104 | 104 | bool is_runing; |
---|
105 | 105 | bool is_frm_buf; |
---|
106 | 106 | bool is_dvfs; |
---|
| 107 | + bool is_assigned_clk; |
---|
107 | 108 | }; |
---|
108 | 109 | |
---|
109 | 110 | int rkisp_register_irq(struct rkisp_hw_dev *dev); |
---|
110 | 111 | void rkisp_soft_reset(struct rkisp_hw_dev *dev, bool is_secure); |
---|
111 | 112 | void rkisp_hw_enum_isp_size(struct rkisp_hw_dev *hw_dev); |
---|
| 113 | +void rkisp_hw_reg_save(struct rkisp_hw_dev *dev); |
---|
| 114 | +void rkisp_hw_reg_restore(struct rkisp_hw_dev *dev); |
---|
112 | 115 | #endif |
---|