Lines Matching +full:function +full:- +full:mask
1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2009 Texas Instruments Incorporated - https://www.ti.com/
139 /* Macro for Generating mask */
145 ((((0xFFFFFFFF) << (32 - bits)) >> (32 - bits)) << pos)
168 /* Mask various length */
262 /* inline function to enable/disable channel0 */
271 /* inline function to enable/disable channel1 */
280 /* inline function to enable interrupt for channel0 */
302 /* inline function to enable interrupt for channel1 */
324 /* inline function to set buffer addresses in case of Y/C non mux mode */
336 /* inline function to set buffer addresses in VPIF registers for video data */
388 /* Inline function to enable raw vbi in the given channel */
417 /* inline function to enable/disable channel2 */
429 /* inline function to enable/disable channel3 */
441 /* inline function to enable interrupt for channel2 */
462 /* inline function to enable interrupt for channel3 */
484 /* inline function to enable raw vbi data for channel2 */
487 u32 mask; in channel2_raw_enable() local
490 mask = VPIF_CH_VANC_EN_BIT; in channel2_raw_enable()
492 mask = VPIF_CH_HANC_EN_BIT; in channel2_raw_enable()
495 vpif_set_bit(VPIF_CH2_CTRL, mask); in channel2_raw_enable()
497 vpif_clr_bit(VPIF_CH2_CTRL, mask); in channel2_raw_enable()
500 /* inline function to enable raw vbi data for channel3*/
503 u32 mask; in channel3_raw_enable() local
506 mask = VPIF_CH_VANC_EN_BIT; in channel3_raw_enable()
508 mask = VPIF_CH_HANC_EN_BIT; in channel3_raw_enable()
511 vpif_set_bit(VPIF_CH3_CTRL, mask); in channel3_raw_enable()
513 vpif_clr_bit(VPIF_CH3_CTRL, mask); in channel3_raw_enable()
516 /* function to enable clipping (for both active and blanking regions) on ch 2 */
528 /* function to enable clipping (for both active and blanking regions) on ch 3 */
540 /* inline function to set buffer addresses in case of Y/C non mux mode */
552 /* inline function to set buffer addresses in VPIF registers for video data */
575 /* inline function to set buffer addresses in VPIF registers for vbi data */
597 int mask; in vpif_intr_status() local
602 mask = 1 << channel; in vpif_intr_status()
603 status = regr(VPIF_STATUS) & mask; in vpif_intr_status()