Home
last modified time | relevance | path

Searched refs:cru (Results 1 - 25 of 39) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/media/platform/renesas/rzg2l-cru/
H A Drzg2l-video.c21 #include "rzg2l-cru.h"
108 static void rzg2l_cru_write(struct rzg2l_cru_dev *cru, u32 offset, u32 value) in rzg2l_cru_write() argument
110 iowrite32(value, cru->base + offset); in rzg2l_cru_write()
113 static u32 rzg2l_cru_read(struct rzg2l_cru_dev *cru, u32 offset) in rzg2l_cru_read() argument
115 return ioread32(cru->base + offset); in rzg2l_cru_read()
119 static void return_unused_buffers(struct rzg2l_cru_dev *cru, in return_unused_buffers() argument
126 spin_lock_irqsave(&cru->qlock, flags); in return_unused_buffers()
127 for (i = 0; i < cru->num_buf; i++) { in return_unused_buffers()
128 if (cru->queue_buf[i]) { in return_unused_buffers()
129 vb2_buffer_done(&cru in return_unused_buffers()
146 struct rzg2l_cru_dev *cru = vb2_get_drv_priv(vq); rzg2l_cru_queue_setup() local
160 struct rzg2l_cru_dev *cru = vb2_get_drv_priv(vb->vb2_queue); rzg2l_cru_buffer_prepare() local
177 struct rzg2l_cru_dev *cru = vb2_get_drv_priv(vb->vb2_queue); rzg2l_cru_buffer_queue() local
187 rzg2l_cru_mc_validate_format(struct rzg2l_cru_dev *cru, struct v4l2_subdev *sd, struct media_pad *pad) rzg2l_cru_mc_validate_format() argument
227 rzg2l_cru_set_slot_addr(struct rzg2l_cru_dev *cru, int slot, dma_addr_t addr) rzg2l_cru_set_slot_addr() argument
248 rzg2l_cru_fill_hw_slot(struct rzg2l_cru_dev *cru, int slot) rzg2l_cru_fill_hw_slot() argument
278 rzg2l_cru_initialize_axi(struct rzg2l_cru_dev *cru) rzg2l_cru_initialize_axi() argument
292 rzg2l_cru_csi2_setup(struct rzg2l_cru_dev *cru, bool *input_is_yuv, struct v4l2_mbus_framefmt *ip_sd_fmt) rzg2l_cru_csi2_setup() argument
316 rzg2l_cru_initialize_image_conv(struct rzg2l_cru_dev *cru, struct v4l2_mbus_framefmt *ip_sd_fmt) rzg2l_cru_initialize_image_conv() argument
351 rzg2l_cru_stop_image_processing(struct rzg2l_cru_dev *cru) rzg2l_cru_stop_image_processing() argument
425 rzg2l_cru_start_image_processing(struct rzg2l_cru_dev *cru) rzg2l_cru_start_image_processing() argument
464 rzg2l_cru_vclk_unprepare(struct rzg2l_cru_dev *cru) rzg2l_cru_vclk_unprepare() argument
469 rzg2l_cru_vclk_prepare(struct rzg2l_cru_dev *cru) rzg2l_cru_vclk_prepare() argument
474 rzg2l_cru_set_stream(struct rzg2l_cru_dev *cru, int on) rzg2l_cru_set_stream() argument
554 rzg2l_cru_stop_streaming(struct rzg2l_cru_dev *cru) rzg2l_cru_stop_streaming() argument
563 struct rzg2l_cru_dev *cru = data; rzg2l_cru_irq() local
646 struct rzg2l_cru_dev *cru = vb2_get_drv_priv(vq); rzg2l_cru_start_streaming_vq() local
708 struct rzg2l_cru_dev *cru = vb2_get_drv_priv(vq); rzg2l_cru_stop_streaming_vq() local
732 rzg2l_cru_dma_unregister(struct rzg2l_cru_dev *cru) rzg2l_cru_dma_unregister() argument
740 rzg2l_cru_dma_register(struct rzg2l_cru_dev *cru) rzg2l_cru_dma_register() argument
826 rzg2l_cru_format_align(struct rzg2l_cru_dev *cru, struct v4l2_pix_format *pix) rzg2l_cru_format_align() argument
856 rzg2l_cru_try_format(struct rzg2l_cru_dev *cru, struct v4l2_pix_format *pix) rzg2l_cru_try_format() argument
886 struct rzg2l_cru_dev *cru = video_drvdata(file); rzg2l_cru_try_fmt_vid_cap() local
896 struct rzg2l_cru_dev *cru = video_drvdata(file); rzg2l_cru_s_fmt_vid_cap() local
911 struct rzg2l_cru_dev *cru = video_drvdata(file); rzg2l_cru_g_fmt_vid_cap() local
953 struct rzg2l_cru_dev *cru = video_drvdata(file); rzg2l_cru_open() local
977 struct rzg2l_cru_dev *cru = video_drvdata(file); rzg2l_cru_release() local
1000 rzg2l_cru_v4l2_init(struct rzg2l_cru_dev *cru) rzg2l_cru_v4l2_init() argument
1023 rzg2l_cru_video_unregister(struct rzg2l_cru_dev *cru) rzg2l_cru_video_unregister() argument
1029 rzg2l_cru_video_register(struct rzg2l_cru_dev *cru) rzg2l_cru_video_register() argument
[all...]
H A Drzg2l-core.c24 #include "rzg2l-cru.h"
41 struct rzg2l_cru_dev *cru = notifier_to_cru(notifier); in rzg2l_cru_group_notify_complete() local
45 ret = rzg2l_cru_ip_subdev_register(cru); in rzg2l_cru_group_notify_complete()
49 ret = v4l2_device_register_subdev_nodes(&cru->v4l2_dev); in rzg2l_cru_group_notify_complete()
51 dev_err(cru->dev, "Failed to register subdev nodes\n"); in rzg2l_cru_group_notify_complete()
55 ret = rzg2l_cru_video_register(cru); in rzg2l_cru_group_notify_complete()
65 source = &cru->csi.subdev->entity; in rzg2l_cru_group_notify_complete()
66 sink = &cru->ip.subdev.entity; in rzg2l_cru_group_notify_complete()
71 dev_err(cru->dev, "Error creating link from %s to %s\n", in rzg2l_cru_group_notify_complete()
75 cru in rzg2l_cru_group_notify_complete()
97 struct rzg2l_cru_dev *cru = notifier_to_cru(notifier); rzg2l_cru_group_notify_unbind() local
115 struct rzg2l_cru_dev *cru = notifier_to_cru(notifier); rzg2l_cru_group_notify_bound() local
135 rzg2l_cru_mc_parse_of(struct rzg2l_cru_dev *cru) rzg2l_cru_mc_parse_of() argument
181 rzg2l_cru_mc_parse_of_graph(struct rzg2l_cru_dev *cru) rzg2l_cru_mc_parse_of_graph() argument
206 rzg2l_cru_media_init(struct rzg2l_cru_dev *cru) rzg2l_cru_media_init() argument
244 struct rzg2l_cru_dev *cru; rzg2l_cru_probe() local
302 struct rzg2l_cru_dev *cru = platform_get_drvdata(pdev); rzg2l_cru_remove() local
[all...]
H A Drzg2l-ip.c8 #include "rzg2l-cru.h"
36 struct v4l2_mbus_framefmt *rzg2l_cru_ip_get_src_fmt(struct rzg2l_cru_dev *cru) in rzg2l_cru_ip_get_src_fmt() argument
41 state = v4l2_subdev_lock_and_get_active_state(&cru->ip.subdev); in rzg2l_cru_ip_get_src_fmt()
42 fmt = v4l2_subdev_get_pad_format(&cru->ip.subdev, state, 1); in rzg2l_cru_ip_get_src_fmt()
50 struct rzg2l_cru_dev *cru; in rzg2l_cru_ip_s_stream() local
54 cru = v4l2_get_subdevdata(sd); in rzg2l_cru_ip_s_stream()
57 ret = v4l2_subdev_call(cru->ip.remote, video, s_stream, enable); in rzg2l_cru_ip_s_stream()
61 ret = v4l2_subdev_call(cru->ip.remote, video, post_streamoff); in rzg2l_cru_ip_s_stream()
66 rzg2l_cru_stop_image_processing(cru); in rzg2l_cru_ip_s_stream()
68 ret = v4l2_subdev_call(cru in rzg2l_cru_ip_s_stream()
209 rzg2l_cru_ip_subdev_register(struct rzg2l_cru_dev *cru) rzg2l_cru_ip_subdev_register() argument
248 rzg2l_cru_ip_subdev_unregister(struct rzg2l_cru_dev *cru) rzg2l_cru_ip_subdev_unregister() argument
[all...]
H A Drzg2l-cru.h136 void rzg2l_cru_vclk_unprepare(struct rzg2l_cru_dev *cru);
137 int rzg2l_cru_vclk_prepare(struct rzg2l_cru_dev *cru);
139 int rzg2l_cru_start_image_processing(struct rzg2l_cru_dev *cru);
140 void rzg2l_cru_stop_image_processing(struct rzg2l_cru_dev *cru);
142 int rzg2l_cru_dma_register(struct rzg2l_cru_dev *cru);
143 void rzg2l_cru_dma_unregister(struct rzg2l_cru_dev *cru);
145 int rzg2l_cru_video_register(struct rzg2l_cru_dev *cru);
146 void rzg2l_cru_video_unregister(struct rzg2l_cru_dev *cru);
150 int rzg2l_cru_ip_subdev_register(struct rzg2l_cru_dev *cru);
151 void rzg2l_cru_ip_subdev_unregister(struct rzg2l_cru_dev *cru);
[all...]
H A DMakefile5 rzg2l-cru-objs = rzg2l-core.o rzg2l-ip.o rzg2l-video.o
6 obj-$(CONFIG_VIDEO_RZG2L_CRU) += rzg2l-cru.o
/kernel/linux/linux-5.10/scripts/dtc/include-prefixes/dt-bindings/clock/
H A Drk3066a-cru.h10 #include <dt-bindings/clock/rk3188-cru-common.h>
H A Drk3188-cru.h10 #include <dt-bindings/clock/rk3188-cru-common.h>
/kernel/linux/linux-5.10/include/dt-bindings/clock/
H A Drk3066a-cru.h10 #include <dt-bindings/clock/rk3188-cru-common.h>
H A Drk3188-cru.h10 #include <dt-bindings/clock/rk3188-cru-common.h>
/kernel/linux/linux-6.6/include/dt-bindings/clock/
H A Drk3066a-cru.h10 #include <dt-bindings/clock/rk3188-cru-common.h>
H A Drk3188-cru.h10 #include <dt-bindings/clock/rk3188-cru-common.h>
/kernel/linux/linux-6.6/scripts/dtc/include-prefixes/dt-bindings/clock/
H A Drk3066a-cru.h10 #include <dt-bindings/clock/rk3188-cru-common.h>
H A Drk3188-cru.h10 #include <dt-bindings/clock/rk3188-cru-common.h>
/kernel/linux/linux-5.10/drivers/clk/rockchip/
H A Dclk-rk3036.c15 #include <dt-bindings/clock/rk3036-cru.h>
442 pr_err("%s: could not map cru region\n", __func__); in rk3036_clk_init()
485 CLK_OF_DECLARE(rk3036_cru, "rockchip,rk3036-cru", rk3036_clk_init);
H A Dclk-rk3128.c12 #include <dt-bindings/clock/rk3128-cru.h>
583 pr_err("%s: could not map cru region\n", __func__); in rk3128_common_clk_init()
629 CLK_OF_DECLARE(rk3126_cru, "rockchip,rk3126-cru", rk3126_clk_init);
647 CLK_OF_DECLARE(rk3128_cru, "rockchip,rk3128-cru", rk3128_clk_init);
H A Dclk-rk3228.c13 #include <dt-bindings/clock/rk3228-cru.h>
689 pr_err("%s: could not map cru region\n", __func__); in rk3228_clk_init()
720 CLK_OF_DECLARE(rk3228_cru, "rockchip,rk3228-cru", rk3228_clk_init);
H A Dclk-rk3188.c12 #include <dt-bindings/clock/rk3188-cru-common.h>
764 pr_err("%s: could not map cru region\n", __func__); in rk3188_common_clk_init()
807 CLK_OF_DECLARE(rk3066a_cru, "rockchip,rk3066a-cru", rk3066a_clk_init);
851 CLK_OF_DECLARE(rk3188a_cru, "rockchip,rk3188a-cru", rk3188a_clk_init);
873 CLK_OF_DECLARE(rk3188_cru, "rockchip,rk3188-cru", rk3188_clk_init);
H A Dclk-rk3288.c12 #include <dt-bindings/clock/rk3288-cru.h>
937 pr_err("%s: could not map cru region\n", __func__); in rk3288_common_init()
984 CLK_OF_DECLARE(rk3288_cru, "rockchip,rk3288-cru", rk3288_clk_init);
990 CLK_OF_DECLARE(rk3288w_cru, "rockchip,rk3288w-cru", rk3288w_clk_init);
H A Dclk-rk3368.c11 #include <dt-bindings/clock/rk3368-cru.h>
871 pr_err("%s: could not map cru region\n", __func__); in rk3368_clk_init()
907 CLK_OF_DECLARE(rk3368_cru, "rockchip,rk3368-cru", rk3368_clk_init);
H A Dclk-rk3328.c12 #include <dt-bindings/clock/rk3328-cru.h>
887 pr_err("%s: could not map cru region\n", __func__); in rk3328_clk_init()
918 CLK_OF_DECLARE(rk3328_cru, "rockchip,rk3328-cru", rk3328_clk_init);
H A Dclk-rv1108.c13 #include <dt-bindings/clock/rv1108-cru.h>
791 pr_err("%s: could not map cru region\n", __func__); in rv1108_clk_init()
822 CLK_OF_DECLARE(rv1108_cru, "rockchip,rv1108-cru", rv1108_clk_init);
/kernel/linux/linux-6.6/drivers/clk/rockchip/
H A Dclk-rk3036.c15 #include <dt-bindings/clock/rk3036-cru.h>
444 pr_err("%s: could not map cru region\n", __func__); in rk3036_clk_init()
487 CLK_OF_DECLARE(rk3036_cru, "rockchip,rk3036-cru", rk3036_clk_init);
H A Dclk-rk3228.c13 #include <dt-bindings/clock/rk3228-cru.h>
690 pr_err("%s: could not map cru region\n", __func__); in rk3228_clk_init()
721 CLK_OF_DECLARE(rk3228_cru, "rockchip,rk3228-cru", rk3228_clk_init);
H A Dclk-rk3128.c12 #include <dt-bindings/clock/rk3128-cru.h>
578 pr_err("%s: could not map cru region\n", __func__); in rk3128_common_clk_init()
624 CLK_OF_DECLARE(rk3126_cru, "rockchip,rk3126-cru", rk3126_clk_init);
642 CLK_OF_DECLARE(rk3128_cru, "rockchip,rk3128-cru", rk3128_clk_init);
H A Drst-rk3588.c10 #include <dt-bindings/reset/rockchip,rk3588-cru.h>

Completed in 15 milliseconds

12