| /device/soc/rockchip/common/sdk_linux/drivers/clk/rockchip/ |
| D | clk-ddr.c | 27 struct clk_hw hw; member 37 #define to_rockchip_ddrclk_hw(hw) container_of(hw, struct rockchip_ddrclk, hw) argument 63 static int rockchip_ddrclk_sip_set_rate(struct clk_hw *hw, unsigned long drate, unsigned long prate) in rockchip_ddrclk_sip_set_rate() 76 static unsigned long rockchip_ddrclk_sip_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) in rockchip_ddrclk_sip_recalc_rate() 85 static long rockchip_ddrclk_sip_round_rate(struct clk_hw *hw, unsigned long rate, unsigned long *pr… in rockchip_ddrclk_sip_round_rate() 94 static u8 rockchip_ddrclk_get_parent(struct clk_hw *hw) in rockchip_ddrclk_get_parent() 114 static int rockchip_ddrclk_scpi_set_rate(struct clk_hw *hw, unsigned long drate, unsigned long prat… in rockchip_ddrclk_scpi_set_rate() 137 static unsigned long rockchip_ddrclk_scpi_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) in rockchip_ddrclk_scpi_recalc_rate() 146 static long rockchip_ddrclk_scpi_round_rate(struct clk_hw *hw, unsigned long rate, unsigned long *p… in rockchip_ddrclk_scpi_round_rate() 161 static int rockchip_ddrclk_sip_set_rate_v2(struct clk_hw *hw, unsigned long drate, unsigned long pr… in rockchip_ddrclk_sip_set_rate_v2() [all …]
|
| D | clk-pll.c | 32 struct clk_hw hw; member 364 static long rockchip_pll_round_rate(struct clk_hw *hw, unsigned long drate, unsigned long *prate) in rockchip_pll_round_rate() 461 static unsigned long rockchip_rk3036_pll_recalc_rate(struct clk_hw *hw, unsigned long prate) in rockchip_rk3036_pll_recalc_rate() 544 static int rockchip_rk3036_pll_set_rate(struct clk_hw *hw, unsigned long drate, unsigned long prate) in rockchip_rk3036_pll_set_rate() 561 static int rockchip_rk3036_pll_enable(struct clk_hw *hw) in rockchip_rk3036_pll_enable() 571 static void rockchip_rk3036_pll_disable(struct clk_hw *hw) in rockchip_rk3036_pll_disable() 578 static int rockchip_rk3036_pll_is_enabled(struct clk_hw *hw) in rockchip_rk3036_pll_is_enabled() 586 static int rockchip_rk3036_pll_init(struct clk_hw *hw) in rockchip_rk3036_pll_init() 679 static unsigned long rockchip_rk3066_pll_recalc_rate(struct clk_hw *hw, unsigned long prate) in rockchip_rk3066_pll_recalc_rate() 757 static int rockchip_rk3066_pll_set_rate(struct clk_hw *hw, unsigned long drate, unsigned long prate) in rockchip_rk3066_pll_set_rate() [all …]
|
| D | clk-half-divider.c | 22 static unsigned long clk_half_divider_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) in clk_half_divider_recalc_rate() 34 static int clk_half_divider_bestdiv(struct clk_hw *hw, unsigned long rate, unsigned long *best_pare… in clk_half_divider_bestdiv() 87 static long clk_half_divider_round_rate(struct clk_hw *hw, unsigned long rate, unsigned long *prate) in clk_half_divider_round_rate() 97 static int clk_half_divider_set_rate(struct clk_hw *hw, unsigned long rate, unsigned long parent_ra… in clk_half_divider_set_rate() 154 struct clk_hw *hw = ERR_PTR(-ENOMEM); in rockchip_clk_register_halfdiv() local
|
| D | clk-cpu.c | 53 struct clk_hw hw; member 68 #define to_rockchip_cpuclk_hw(hw) container_of(hw, struct rockchip_cpuclk, hw) argument 86 static unsigned long rockchip_cpuclk_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) in rockchip_cpuclk_recalc_rate()
|
| D | clk.c | 44 struct clk_hw *hw; in rockchip_clk_register_branch() local 165 static void rockchip_fractional_approximation(struct clk_hw *hw, unsigned long rate, unsigned long … in rockchip_fractional_approximation() 228 struct clk_hw *hw; in rockchip_clk_register_frac_branch() local 332 struct clk_hw *hw; in rockchip_clk_register_factor_branch() local 379 struct clk_hw *hw, *brother_hw; in rockchip_clk_register_composite_brother_branch() local
|
| /device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/ispp/ |
| D | common.c | 165 struct rkispp_hw_dev *hw; in rkispp_attach_hw() local 198 static int rkispp_init_regbuf(struct rkispp_hw_dev *hw) in rkispp_init_regbuf() 227 static void rkispp_free_regbuf(struct rkispp_hw_dev *hw) in rkispp_free_regbuf() 235 static int rkispp_find_regbuf_by_stat(struct rkispp_hw_dev *hw, struct rkisp_ispp_reg **free_buf, in rkispp_find_regbuf_by_stat() 261 static void rkispp_free_pool(struct rkispp_hw_dev *hw) in rkispp_free_pool() 294 static int rkispp_init_pool(struct rkispp_hw_dev *hw, struct rkisp_ispp_buf *dbufs) in rkispp_init_pool() 346 static void rkispp_queue_dmabuf(struct rkispp_hw_dev *hw, struct rkisp_ispp_buf *dbufs) in rkispp_queue_dmabuf() 394 struct rkispp_hw_dev *hw = ispp->hw_dev; in rkispp_event_handle() local 423 struct rkispp_hw_dev *hw = dev->hw_dev; in rkispp_alloc_page_dummy_buf() local 487 struct rkispp_hw_dev *hw = dev->hw_dev; in rkispp_alloc_common_dummy_buf() local [all …]
|
| D | hw.h | 28 struct rkispp_hw_dev *hw; member 80 static inline int rkispp_register_fec(struct rkispp_hw_dev *hw) in rkispp_register_fec() 84 static inline void rkispp_unregister_fec(struct rkispp_hw_dev *hw) in rkispp_unregister_fec() 87 static inline void rkispp_fec_irq(struct rkispp_hw_dev *hw) in rkispp_fec_irq()
|
| /device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/ispp/ |
| D | common.c | 164 struct rkispp_hw_dev *hw; in rkispp_attach_hw() local 196 static int rkispp_init_regbuf(struct rkispp_hw_dev *hw) in rkispp_init_regbuf() 224 static void rkispp_free_regbuf(struct rkispp_hw_dev *hw) in rkispp_free_regbuf() 232 static int rkispp_find_regbuf_by_stat(struct rkispp_hw_dev *hw, struct rkisp_ispp_reg **free_buf, in rkispp_find_regbuf_by_stat() 256 static void rkispp_free_pool(struct rkispp_hw_dev *hw) in rkispp_free_pool() 287 static int rkispp_init_pool(struct rkispp_hw_dev *hw, struct rkisp_ispp_buf *dbufs) in rkispp_init_pool() 339 static void rkispp_queue_dmabuf(struct rkispp_hw_dev *hw, struct rkisp_ispp_buf *dbufs) in rkispp_queue_dmabuf() 384 struct rkispp_hw_dev *hw = ispp->hw_dev; in rkispp_event_handle() local 412 struct rkispp_hw_dev *hw = dev->hw_dev; in rkispp_alloc_page_dummy_buf() local 473 struct rkispp_hw_dev *hw = dev->hw_dev; in rkispp_alloc_common_dummy_buf() local [all …]
|
| D | fec.h | 10 struct rkispp_hw_dev *hw; member 22 static inline int rkispp_register_fec(struct rkispp_hw_dev *hw) { return 0; } in rkispp_register_fec() 23 static inline void rkispp_unregister_fec(struct rkispp_hw_dev *hw) { } in rkispp_unregister_fec() 24 static inline void rkispp_fec_irq(struct rkispp_hw_dev *hw) { } in rkispp_fec_irq()
|
| /device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/rockchip/ |
| D | rockchip_vop2_clk.c | 145 static unsigned long clk_virtual_recalc_rate(struct clk_hw *hw, in clk_virtual_recalc_rate() 153 static long clk_virtual_round_rate(struct clk_hw *hw, unsigned long rate, in clk_virtual_round_rate() 163 static int clk_virtual_set_rate(struct clk_hw *hw, unsigned long rate, in clk_virtual_set_rate() 175 static u8 vop2_mux_get_parent(struct clk_hw *hw) in vop2_mux_get_parent() 183 static int vop2_mux_set_parent(struct clk_hw *hw, u8 index) in vop2_mux_set_parent() 193 static int vop2_clk_mux_determine_rate(struct clk_hw *hw, in vop2_clk_mux_determine_rate() 220 static unsigned long vop2_clk_div_recalc_rate(struct clk_hw *hw, in vop2_clk_div_recalc_rate() 235 static long vop2_clk_div_round_rate(struct clk_hw *hw, unsigned long rate, in vop2_clk_div_round_rate() 259 static int vop2_clk_div_set_rate(struct clk_hw *hw, unsigned long rate, unsigned long parent_rate) in vop2_clk_div_set_rate()
|
| /device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/ |
| D | rockchip_vop2_clk.c | 132 static unsigned long clk_virtual_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) in clk_virtual_recalc_rate() 139 static long clk_virtual_round_rate(struct clk_hw *hw, unsigned long rate, unsigned long *prate) in clk_virtual_round_rate() 148 static int clk_virtual_set_rate(struct clk_hw *hw, unsigned long rate, unsigned long parent_rate) in clk_virtual_set_rate() 159 static u8 vop2_mux_get_parent(struct clk_hw *hw) in vop2_mux_get_parent() 167 static int vop2_mux_set_parent(struct clk_hw *hw, u8 index) in vop2_mux_set_parent() 177 static int vop2_clk_mux_determine_rate(struct clk_hw *hw, struct clk_rate_request *req) in vop2_clk_mux_determine_rate() 202 static unsigned long vop2_clk_div_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) in vop2_clk_div_recalc_rate() 216 static long vop2_clk_div_round_rate(struct clk_hw *hw, unsigned long rate, unsigned long *prate) in vop2_clk_div_round_rate() 243 static int vop2_clk_div_set_rate(struct clk_hw *hw, unsigned long rate, unsigned long parent_rate) in vop2_clk_div_set_rate()
|
| /device/soc/rockchip/common/vendor/drivers/phy/ |
| D | phy-rockchip-csi2-dphy-hw.c | 226 static inline void write_sys_grf_reg(struct csi2_dphy_hw *hw, int index, u8 value) in write_sys_grf_reg() 236 static inline void write_grf_reg(struct csi2_dphy_hw *hw, int index, u8 value) in write_grf_reg() 246 static inline u32 read_grf_reg(struct csi2_dphy_hw *hw, int index) in read_grf_reg() 259 static inline void write_csi2_dphy_reg(struct csi2_dphy_hw *hw, int index, u32 value) in write_csi2_dphy_reg() 269 static inline void write_csi2_dphy_reg_mask(struct csi2_dphy_hw *hw, int index, u32 value, u32 mask) in write_csi2_dphy_reg_mask() 280 static inline void read_csi2_dphy_reg(struct csi2_dphy_hw *hw, int index, u32 *value) in read_csi2_dphy_reg() 290 static void csi_mipidphy_wr_ths_settle(struct csi2_dphy_hw *hw, int hsfreq, enum csi2_dphy_lane lan… in csi_mipidphy_wr_ths_settle() 474 static void csi2_dphy_hw_do_reset(struct csi2_dphy_hw *hw) in csi2_dphy_hw_do_reset() 489 struct csi2_dphy_hw *hw = dphy->dphy_hw; in csi2_dphy_config_dual_mode() local 577 struct csi2_dphy_hw *hw = dphy->dphy_hw; in csi2_dphy_hw_stream_on() local [all …]
|
| D | phy-rockchip-csi2-dphy.c | 138 struct csi2_dphy_hw *hw = dphy->dphy_hw; in csi2_dphy_s_stream_start() local 164 struct csi2_dphy_hw *hw = dphy->dphy_hw; in csi2_dphy_s_stream_stop() local 242 struct csi2_dphy_hw *hw = dphy->dphy_hw; in csi2_dphy_runtime_suspend() local 256 struct csi2_dphy_hw *hw = dphy->dphy_hw; in csi2_dphy_runtime_resume() local
|
| /device/soc/rockchip/rk3588/kernel/drivers/phy/rockchip/ |
| D | phy-rockchip-csi2-dphy-hw.c | 224 static inline void write_sys_grf_reg(struct csi2_dphy_hw *hw, in write_sys_grf_reg() 234 static inline void write_grf_reg(struct csi2_dphy_hw *hw, in write_grf_reg() 244 static inline u32 read_grf_reg(struct csi2_dphy_hw *hw, int index) in read_grf_reg() 257 static inline void write_csi2_dphy_reg(struct csi2_dphy_hw *hw, in write_csi2_dphy_reg() 269 static inline void write_csi2_dphy_reg_mask(struct csi2_dphy_hw *hw, in write_csi2_dphy_reg_mask() 281 static inline void read_csi2_dphy_reg(struct csi2_dphy_hw *hw, in read_csi2_dphy_reg() 293 static void csi_mipidphy_wr_ths_settle(struct csi2_dphy_hw *hw, in csi_mipidphy_wr_ths_settle() 488 static void csi2_dphy_hw_do_reset(struct csi2_dphy_hw *hw) in csi2_dphy_hw_do_reset() 502 struct csi2_dphy_hw *hw = dphy->dphy_hw; in csi2_dphy_config_dual_mode() local 596 struct csi2_dphy_hw *hw = dphy->dphy_hw; in csi2_dphy_hw_stream_on() local [all …]
|
| D | phy-rockchip-csi2-dphy.c | 135 struct csi2_dphy_hw *hw = dphy->dphy_hw; in csi2_dphy_s_stream_start() local 158 struct csi2_dphy_hw *hw = dphy->dphy_hw; in csi2_dphy_s_stream_stop() local 235 struct csi2_dphy_hw *hw = dphy->dphy_hw; in csi2_dphy_runtime_suspend() local 248 struct csi2_dphy_hw *hw = dphy->dphy_hw; in csi2_dphy_runtime_resume() local
|
| /device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/ |
| D | bridge.c | 28 struct rkisp_hw_dev *hw = dev->ispdev->hw_dev; in free_bridge_buf() local 86 struct rkisp_hw_dev *hw = dev->ispdev->hw_dev; in init_buf() local 186 struct rkisp_hw_dev *hw = dev->ispdev->hw_dev; in config_mode() local 378 struct rkisp_hw_dev *hw = dev->ispdev->hw_dev; in bridge_s_rx_buffer() local 396 struct rkisp_hw_dev *hw = dev->ispdev->hw_dev; in bridge_s_stream() local 484 struct rkisp_hw_dev *hw = dev->hw_dev; in rkisp_bridge_update_mi() local
|
| D | common.c | 217 struct rkisp_hw_dev *hw; in rkisp_attach_hw() local 253 struct rkisp_hw_dev *hw = dev->hw_dev; in rkisp_alloc_page_dummy_buf() local 318 struct rkisp_hw_dev *hw = dev->hw_dev; in rkisp_alloc_common_dummy_buf() local 369 struct rkisp_hw_dev *hw = dev->hw_dev; in rkisp_free_common_dummy_buf() local
|
| /device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/ |
| D | bridge.c | 29 struct rkisp_hw_dev *hw = dev->ispdev->hw_dev; in free_bridge_buf() local 88 struct rkisp_hw_dev *hw = dev->ispdev->hw_dev; in init_buf() local 192 struct rkisp_hw_dev *hw = dev->ispdev->hw_dev; in config_mode() local 388 struct rkisp_hw_dev *hw = dev->ispdev->hw_dev; in bridge_s_rx_buffer() local 406 struct rkisp_hw_dev *hw = dev->ispdev->hw_dev; in bridge_s_stream() local 494 struct rkisp_hw_dev *hw = dev->hw_dev; in rkisp_bridge_update_mi() local
|
| D | common.c | 216 struct rkisp_hw_dev *hw; in rkisp_attach_hw() local 251 struct rkisp_hw_dev *hw = dev->hw_dev; in rkisp_alloc_page_dummy_buf() local 312 struct rkisp_hw_dev *hw = dev->hw_dev; in rkisp_alloc_common_dummy_buf() local 359 struct rkisp_hw_dev *hw = dev->hw_dev; in rkisp_free_common_dummy_buf() local
|
| D | bridge_v30.c | 93 struct rkisp_hw_dev *hw = dev->hw_dev; in bridge_update_mi() local 114 struct rkisp_hw_dev *hw = ispdev->hw_dev; in bridge_frame_end() local
|
| /device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/cif/ |
| D | common.c | 89 struct rkcif_hw *hw = dev->hw_dev; in rkcif_alloc_page_dummy_buf() local 148 struct rkcif_hw *hw = dev->hw_dev; in rkcif_alloc_common_dummy_buf() local 177 struct rkcif_hw *hw = dev->hw_dev; in rkcif_free_common_dummy_buf() local
|
| /device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/cif/ |
| D | common.c | 87 struct rkcif_hw *hw = dev->hw_dev; in rkcif_alloc_page_dummy_buf() local 150 struct rkcif_hw *hw = dev->hw_dev; in rkcif_alloc_common_dummy_buf() local 181 struct rkcif_hw *hw = dev->hw_dev; in rkcif_free_common_dummy_buf() local
|
| /device/soc/rockchip/rk3588/kernel/drivers/clk/rockchip/ |
| D | clk-dclk-divider.c | 15 static unsigned long clk_dclk_recalc_rate(struct clk_hw *hw, in clk_dclk_recalc_rate() 27 static long clk_dclk_round_rate(struct clk_hw *hw, unsigned long rate, in clk_dclk_round_rate() 41 static int clk_dclk_set_rate(struct clk_hw *hw, unsigned long rate, in clk_dclk_set_rate()
|
| /device/soc/rockchip/common/vendor/drivers/clk/ |
| D | clk-dclk-divider.c | 17 static unsigned long clk_dclk_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) in clk_dclk_recalc_rate() 28 static long clk_dclk_round_rate(struct clk_hw *hw, unsigned long rate, unsigned long *prate) in clk_dclk_round_rate() 42 static int clk_dclk_set_rate(struct clk_hw *hw, unsigned long rate, unsigned long parent_rate) in clk_dclk_set_rate()
|
| /device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/mpp/ |
| D | mpp_rkvenc2.c | 89 struct mpp_hw_info hw; member 319 struct rkvenc_hw_info *hw = task->hw_info; in req_over_class() local 346 struct rkvenc_hw_info *hw = task->hw_info; in rkvenc_alloc_class_msg() local 368 struct rkvenc_hw_info *hw = task->hw_info; in rkvenc_update_req() local 389 struct rkvenc_hw_info *hw = task->hw_info; in rkvenc_get_class_msg() local 415 struct rkvenc_hw_info *hw = task->hw_info; in rkvenc_get_class_reg() local 455 struct rkvenc_hw_info *hw = task->hw_info; in rkvenc_extract_task_msg() local 541 struct rkvenc_hw_info *hw = task->hw_info; in rkvenc_task_get_format() local 669 struct rkvenc_hw_info *hw = task->hw_info; in rkvenc_alloc_task() local 811 struct rkvenc_hw_info *hw = enc->hw_info; in rkvenc_irq() local [all …]
|