Searched refs:xvtc (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/media/platform/xilinx/ |
H A D | xilinx-vtc.c | 165 static inline void xvtc_gen_write(struct xvtc_device *xvtc, u32 addr, u32 value) in xvtc_gen_write() argument 167 xvip_write(&xvtc->xvip, XVTC_GENERATOR_OFFSET + addr, value); in xvtc_gen_write() 174 int xvtc_generator_start(struct xvtc_device *xvtc, in xvtc_generator_start() argument 179 if (!xvtc->has_generator) in xvtc_generator_start() 182 ret = clk_prepare_enable(xvtc->xvip.clk); in xvtc_generator_start() 189 xvtc_gen_write(xvtc, XVTC_POLARITY, in xvtc_generator_start() 198 xvtc_gen_write(xvtc, XVTC_ENCODING, 0); in xvtc_generator_start() 203 xvtc_gen_write(xvtc, XVTC_ACTIVE_SIZE, in xvtc_generator_start() 206 xvtc_gen_write(xvtc, XVTC_HSIZE, config->hsize); in xvtc_generator_start() 207 xvtc_gen_write(xvtc, XVTC_VSIZ in xvtc_generator_start() 238 xvtc_generator_stop(struct xvtc_device *xvtc) xvtc_generator_stop() argument 255 struct xvtc_device *xvtc; xvtc_of_get() local 282 xvtc_put(struct xvtc_device *xvtc) xvtc_put() argument 291 xvtc_register_device(struct xvtc_device *xvtc) xvtc_register_device() argument 298 xvtc_unregister_device(struct xvtc_device *xvtc) xvtc_unregister_device() argument 309 xvtc_parse_of(struct xvtc_device *xvtc) xvtc_parse_of() argument 321 struct xvtc_device *xvtc; xvtc_probe() local 349 struct xvtc_device *xvtc = platform_get_drvdata(pdev); xvtc_remove() local [all...] |
H A D | xilinx-vtc.h | 33 void xvtc_put(struct xvtc_device *xvtc); 35 int xvtc_generator_start(struct xvtc_device *xvtc, 37 int xvtc_generator_stop(struct xvtc_device *xvtc);
|
/kernel/linux/linux-6.6/drivers/media/platform/xilinx/ |
H A D | xilinx-vtc.c | 165 static inline void xvtc_gen_write(struct xvtc_device *xvtc, u32 addr, u32 value) in xvtc_gen_write() argument 167 xvip_write(&xvtc->xvip, XVTC_GENERATOR_OFFSET + addr, value); in xvtc_gen_write() 174 int xvtc_generator_start(struct xvtc_device *xvtc, in xvtc_generator_start() argument 179 if (!xvtc->has_generator) in xvtc_generator_start() 182 ret = clk_prepare_enable(xvtc->xvip.clk); in xvtc_generator_start() 189 xvtc_gen_write(xvtc, XVTC_POLARITY, in xvtc_generator_start() 198 xvtc_gen_write(xvtc, XVTC_ENCODING, 0); in xvtc_generator_start() 203 xvtc_gen_write(xvtc, XVTC_ACTIVE_SIZE, in xvtc_generator_start() 206 xvtc_gen_write(xvtc, XVTC_HSIZE, config->hsize); in xvtc_generator_start() 207 xvtc_gen_write(xvtc, XVTC_VSIZ in xvtc_generator_start() 238 xvtc_generator_stop(struct xvtc_device *xvtc) xvtc_generator_stop() argument 255 struct xvtc_device *xvtc; xvtc_of_get() local 282 xvtc_put(struct xvtc_device *xvtc) xvtc_put() argument 291 xvtc_register_device(struct xvtc_device *xvtc) xvtc_register_device() argument 298 xvtc_unregister_device(struct xvtc_device *xvtc) xvtc_unregister_device() argument 309 xvtc_parse_of(struct xvtc_device *xvtc) xvtc_parse_of() argument 321 struct xvtc_device *xvtc; xvtc_probe() local 349 struct xvtc_device *xvtc = platform_get_drvdata(pdev); xvtc_remove() local [all...] |
H A D | xilinx-vtc.h | 33 void xvtc_put(struct xvtc_device *xvtc); 35 int xvtc_generator_start(struct xvtc_device *xvtc, 37 int xvtc_generator_stop(struct xvtc_device *xvtc);
|
Completed in 5 milliseconds