Searched refs:xvtc (Results 1 – 2 of 2) sorted by relevance
/drivers/media/platform/xilinx/ |
D | xilinx-vtc.c | 168 static inline void xvtc_gen_write(struct xvtc_device *xvtc, u32 addr, u32 value) in xvtc_gen_write() argument 170 xvip_write(&xvtc->xvip, XVTC_GENERATOR_OFFSET + addr, value); in xvtc_gen_write() 177 int xvtc_generator_start(struct xvtc_device *xvtc, in xvtc_generator_start() argument 182 if (!xvtc->has_generator) in xvtc_generator_start() 185 ret = clk_prepare_enable(xvtc->xvip.clk); in xvtc_generator_start() 192 xvtc_gen_write(xvtc, XVTC_POLARITY, in xvtc_generator_start() 201 xvtc_gen_write(xvtc, XVTC_ENCODING, 0); in xvtc_generator_start() 206 xvtc_gen_write(xvtc, XVTC_ACTIVE_SIZE, in xvtc_generator_start() 209 xvtc_gen_write(xvtc, XVTC_HSIZE, config->hsize); in xvtc_generator_start() 210 xvtc_gen_write(xvtc, XVTC_VSIZE, config->vsize); in xvtc_generator_start() [all …]
|
D | xilinx-vtc.h | 36 void xvtc_put(struct xvtc_device *xvtc); 38 int xvtc_generator_start(struct xvtc_device *xvtc, 40 int xvtc_generator_stop(struct xvtc_device *xvtc);
|