Searched refs:xvtc (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/media/platform/xilinx/ |
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_VSIZE, config->vsize); in xvtc_generator_start() [all …]
|
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);
|