Lines Matching +full:static +full:- +full:enable

1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2009 Texas Instruments Incorporated - https://www.ti.com/
129 static inline void vpif_set_bit(u32 reg, u32 bit) in vpif_set_bit()
134 static inline void vpif_clr_bit(u32 reg, u32 bit) in vpif_clr_bit()
145 ((((0xFFFFFFFF) << (32 - bits)) >> (32 - bits)) << pos)
183 /* bit position of clock and channel enable in vpif_chn_ctrl register */
262 /* inline function to enable/disable channel0 */
263 static inline void enable_channel0(int enable) in enable_channel0() argument
265 if (enable) in enable_channel0()
271 /* inline function to enable/disable channel1 */
272 static inline void enable_channel1(int enable) in enable_channel1() argument
274 if (enable) in enable_channel1()
280 /* inline function to enable interrupt for channel0 */
281 static inline void channel0_intr_enable(int enable) in channel0_intr_enable() argument
287 if (enable) { in channel0_intr_enable()
302 /* inline function to enable interrupt for channel1 */
303 static inline void channel1_intr_enable(int enable) in channel1_intr_enable() argument
309 if (enable) { in channel1_intr_enable()
325 static inline void ch0_set_video_buf_addr_yc_nmux(unsigned long top_strt_luma, in ch0_set_video_buf_addr_yc_nmux()
337 static inline void ch0_set_video_buf_addr(unsigned long top_strt_luma, in ch0_set_video_buf_addr()
348 static inline void ch1_set_video_buf_addr(unsigned long top_strt_luma, in ch1_set_video_buf_addr()
360 static inline void ch0_set_vbi_addr(unsigned long top_vbi, in ch0_set_vbi_addr()
367 static inline void ch0_set_hbi_addr(unsigned long top_vbi, in ch0_set_hbi_addr()
374 static inline void ch1_set_vbi_addr(unsigned long top_vbi, in ch1_set_vbi_addr()
381 static inline void ch1_set_hbi_addr(unsigned long top_vbi, in ch1_set_hbi_addr()
388 /* Inline function to enable raw vbi in the given channel */
389 static inline void disable_raw_feature(u8 channel_id, u8 index) in disable_raw_feature()
403 static inline void enable_raw_feature(u8 channel_id, u8 index) in enable_raw_feature()
417 /* inline function to enable/disable channel2 */
418 static inline void enable_channel2(int enable) in enable_channel2() argument
420 if (enable) { in enable_channel2()
429 /* inline function to enable/disable channel3 */
430 static inline void enable_channel3(int enable) in enable_channel3() argument
432 if (enable) { in enable_channel3()
441 /* inline function to enable interrupt for channel2 */
442 static inline void channel2_intr_enable(int enable) in channel2_intr_enable() argument
448 if (enable) { in channel2_intr_enable()
462 /* inline function to enable interrupt for channel3 */
463 static inline void channel3_intr_enable(int enable) in channel3_intr_enable() argument
469 if (enable) { in channel3_intr_enable()
484 /* inline function to enable raw vbi data for channel2 */
485 static inline void channel2_raw_enable(int enable, u8 index) in channel2_raw_enable() argument
494 if (enable) in channel2_raw_enable()
500 /* inline function to enable raw vbi data for channel3*/
501 static inline void channel3_raw_enable(int enable, u8 index) in channel3_raw_enable() argument
510 if (enable) in channel3_raw_enable()
516 /* function to enable clipping (for both active and blanking regions) on ch 2 */
517 static inline void channel2_clipping_enable(int enable) in channel2_clipping_enable() argument
519 if (enable) { in channel2_clipping_enable()
528 /* function to enable clipping (for both active and blanking regions) on ch 3 */
529 static inline void channel3_clipping_enable(int enable) in channel3_clipping_enable() argument
531 if (enable) { in channel3_clipping_enable()
541 static inline void ch2_set_video_buf_addr_yc_nmux(unsigned long top_strt_luma, in ch2_set_video_buf_addr_yc_nmux()
553 static inline void ch2_set_video_buf_addr(unsigned long top_strt_luma, in ch2_set_video_buf_addr()
564 static inline void ch3_set_video_buf_addr(unsigned long top_strt_luma, in ch3_set_video_buf_addr()
576 static inline void ch2_set_vbi_addr(unsigned long top_strt_luma, in ch2_set_vbi_addr()
585 static inline void ch3_set_vbi_addr(unsigned long top_strt_luma, in ch3_set_vbi_addr()
594 static inline int vpif_intr_status(int channel) in vpif_intr_status()