Lines Matching refs:x
47 # define UPLL_REF_DIV(x) ((x) << 16)
52 # define UPLL_SW_HILEN(x) ((x) << 0)
53 # define UPLL_SW_LOLEN(x) ((x) << 4)
54 # define UPLL_SW_HILEN2(x) ((x) << 8)
55 # define UPLL_SW_LOLEN2(x) ((x) << 12)
57 # define VCLK_SRC_SEL(x) ((x) << 20)
59 # define DCLK_SRC_SEL(x) ((x) << 25)
62 # define UPLL_FB_DIV(x) ((x) << 0)
74 #define HOST_SMC_MSG(x) ((x) << 0)
77 #define HOST_SMC_RESP(x) ((x) << 8)
80 #define SMC_HOST_MSG(x) ((x) << 16)
83 #define SMC_HOST_RESP(x) ((x) << 24)
94 #define SPLL_REF_DIV(x) ((x) << 4)
96 #define SPLL_HILEN(x) ((x) << 12)
98 #define SPLL_LOLEN(x) ((x) << 16)
101 #define SCLK_MUX_SEL(x) ((x) << 0)
105 #define SPLL_FB_DIV(x) ((x) << 0)
119 #define CLKF(x) ((x) << 0)
121 #define CLKR(x) ((x) << 7)
123 #define CLKFRAC(x) ((x) << 12)
125 #define YCLK_POST_DIV(x) ((x) << 17)
127 #define IBIAS(x) ((x) << 20)
146 # define SW_SMIO_INDEX(x) ((x) << 6)
172 # define DLL_SPEED(x) ((x) << 0)
208 # define MPLL_LOCK_TIME(x) ((x) << 0)
210 # define MPLL_RESET_TIME(x) ((x) << 16)
228 # define UTC_0(x) ((x) << 0)
230 # define DTC_0(x) ((x) << 10)
234 # define BSP(x) ((x) << 0)
236 # define BSU(x) ((x) << 16)
239 # define CG_R(x) ((x) << 0)
241 # define CG_L(x) ((x) << 16)
244 # define CG_GICST(x) ((x) << 0)
246 # define CG_GIPOT(x) ((x) << 16)
250 # define SST(x) ((x) << 0)
252 # define SSTU(x) ((x) << 16)
256 # define DISP1_GAP(x) ((x) << 0)
258 # define DISP2_GAP(x) ((x) << 2)
260 # define VBI_TIMER_COUNT(x) ((x) << 4)
262 # define VBI_TIMER_UNIT(x) ((x) << 20)
264 # define DISP1_GAP_MCHG(x) ((x) << 24)
266 # define DISP2_GAP_MCHG(x) ((x) << 26)
271 #define CLKS(x) ((x) << 4)
274 #define CLKV(x) ((x) << 0)
291 #define STATE0(x) ((x) << 0)
293 #define STATE1(x) ((x) << 8)
295 #define STATE2(x) ((x) << 16)
297 #define STATE3(x) ((x) << 24)
301 #define POWERMODE0(x) ((x) << 0)
303 #define POWERMODE1(x) ((x) << 8)
305 #define POWERMODE2(x) ((x) << 16)
307 #define POWERMODE3(x) ((x) << 24)
325 #define BACKEND_DISABLE(x) ((x) << 16)
342 #define STQ_SPLIT(x) ((x) << 0)
347 #define ROQ_IB1_START(x) ((x) << 0)
348 #define ROQ_IB2_START(x) ((x) << 8)
350 #define RB_BUFSZ(x) ((x) << 0)
351 #define RB_BLKSZ(x) ((x) << 8)
366 #define DB_CLK_OFF_DELAY(x) ((x) << 11)
371 #define PIPE_TILING(x) ((x) << 1)
372 #define BANK_TILING(x) ((x) << 4)
373 #define GROUP_SIZE(x) ((x) << 6)
374 #define ROW_TILING(x) ((x) << 8)
375 #define BANK_SWAPS(x) ((x) << 11)
376 #define SAMPLE_SPLIT(x) ((x) << 14)
377 #define BACKEND_MAP(x) ((x) << 16)
393 #define INACTIVE_QD_PIPES(x) ((x) << 8)
396 #define INACTIVE_SIMDS(x) ((x) << 16)
400 #define GRBM_READ_TIMEOUT(x) ((x) << 0)
409 #define DPM_EVENT_SRC(x) ((x) << 0)
411 #define DIG_THERM_DPM(x) ((x) << 14)
416 #define DIG_THERM_INTH(x) ((x) << 8)
419 #define DIG_THERM_INTL(x) ((x) << 16)
426 #define ASIC_T(x) ((x) << 16)
472 #define EFFECTIVE_L1_TLB_SIZE(x) ((x)<<15)
473 #define EFFECTIVE_L1_QUEUE_SIZE(x) ((x)<<18)
484 #define NUM_CLIP_SEQ(x) ((x) << 1)
489 #define SC_PRIM_FIFO_SIZE(x) ((x) << 0)
490 #define SC_HIZ_TILE_FIFO_SIZE(x) ((x) << 12)
492 #define FORCE_EOV_MAX_CLK_CNT(x) ((x)<<0)
493 #define FORCE_EOV_MAX_REZ_CNT(x) ((x)<<16)
498 #define SC_EARLYZ_TILE_FIFO_SIZE(x) ((x) << 20)
514 #define CACHE_DEPTH(x) ((x) << 1)
518 #define ES_FLUSH_CTL(x) ((x) << 0)
519 #define GS_FLUSH_CTL(x) ((x) << 3)
520 #define ACK_FLUSH_CTL(x) ((x) << 6)
524 #define GPR_WRITE_PRIORITY(x) ((x) << 0)
527 #define VTX_DONE_DELAY(x) ((x) << 0)
531 #define NUM_INTERP(x) ((x)<<0)
534 #define POSITION_ADDR(x) ((x)<<10)
535 #define PARAM_GEN(x) ((x)<<15)
536 #define PARAM_GEN_ADDR(x) ((x)<<19)
537 #define BARYC_SAMPLE_CNTL(x) ((x)<<26)
549 #define CLAUSE_SEQ_PRIO(x) ((x) << 8)
550 #define PS_PRIO(x) ((x) << 24)
551 #define VS_PRIO(x) ((x) << 26)
552 #define GS_PRIO(x) ((x) << 28)
554 #define SIMDA_RING0(x) ((x)<<0)
555 #define SIMDA_RING1(x) ((x)<<8)
556 #define SIMDB_RING0(x) ((x)<<16)
557 #define SIMDB_RING1(x) ((x)<<24)
565 #define ES_PRIO(x) ((x) << 30)
567 #define NUM_PS_GPRS(x) ((x) << 0)
568 #define NUM_VS_GPRS(x) ((x) << 16)
570 #define NUM_CLAUSE_TEMP_GPRS(x) ((x) << 28)
572 #define NUM_GS_GPRS(x) ((x) << 0)
573 #define NUM_ES_GPRS(x) ((x) << 16)
575 #define CACHE_FIFO_SIZE(x) ((x) << 0)
576 #define FETCH_FIFO_HIWATER(x) ((x) << 8)
577 #define DONE_FIFO_HIWATER(x) ((x) << 16)
578 #define ALU_UPDATE_FIFO_HIWATER(x) ((x) << 24)
580 #define NUM_PS_STACK_ENTRIES(x) ((x) << 0)
581 #define NUM_VS_STACK_ENTRIES(x) ((x) << 16)
583 #define NUM_GS_STACK_ENTRIES(x) ((x) << 0)
584 #define NUM_ES_STACK_ENTRIES(x) ((x) << 16)
586 #define NUM_PS_THREADS(x) ((x) << 0)
587 #define NUM_VS_THREADS(x) ((x) << 8)
588 #define NUM_GS_THREADS(x) ((x) << 16)
589 #define NUM_ES_THREADS(x) ((x) << 24)
594 #define COLOR_BUFFER_SIZE(x) ((x) << 0)
595 #define POSITION_BUFFER_SIZE(x) ((x) << 8)
596 #define SMX_BUFFER_SIZE(x) ((x) << 16)
614 #define CACHE_INVALIDATION(x) ((x)<<0)
618 #define AUTO_INVLD_EN(x) ((x) << 6)
636 #define PAGE_TABLE_DEPTH(x) (((x) & 3) << 1)
646 #define EFFECTIVE_L2_QUEUE_SIZE(x) (((x) & 7) << 14)
651 #define BANK_SELECT(x) ((x) << 0)
652 #define CACHE_UPDATE_MODE(x) ((x) << 6)
691 # define HDMI_AUDIO_DELAY_EN(x) (((x) & 3) << 4)
692 # define HDMI_AUDIO_PACKETS_PER_LINE(x) (((x) & 0x1f) << 16)
696 # define HDMI_ACR_SELECT(x) (((x) & 3) << 4)
715 # define HDMI_AVI_INFO_LINE(x) (((x) & 0x3f) << 0)
716 # define HDMI_AUDIO_INFO_LINE(x) (((x) & 0x3f) << 8)
717 # define HDMI_MPEG_INFO_LINE(x) (((x) & 0x3f) << 16)
723 # define HDMI_GENERIC0_LINE(x) (((x) & 0x3f) << 16)
724 # define HDMI_GENERIC1_LINE(x) (((x) & 0x3f) << 24)
731 # define AFMT_AUDIO_CHANNEL_ENABLE(x) (((x) & 0xff) << 8)
732 # define AFMT_DP_AUDIO_STREAM_ID(x) (((x) & 0xff) << 16)
734 # define AFMT_AVI_INFO_CHECKSUM(x) (((x) & 0xff) << 0)
735 # define AFMT_AVI_INFO_S(x) (((x) & 3) << 8)
736 # define AFMT_AVI_INFO_B(x) (((x) & 3) << 10)
737 # define AFMT_AVI_INFO_A(x) (((x) & 1) << 12)
738 # define AFMT_AVI_INFO_Y(x) (((x) & 3) << 13)
742 # define AFMT_AVI_INFO_Y_A_B_S(x) (((x) & 0xff) << 8)
743 # define AFMT_AVI_INFO_R(x) (((x) & 0xf) << 16)
744 # define AFMT_AVI_INFO_M(x) (((x) & 0x3) << 20)
745 # define AFMT_AVI_INFO_C(x) (((x) & 0x3) << 22)
746 # define AFMT_AVI_INFO_C_M_R(x) (((x) & 0xff) << 16)
747 # define AFMT_AVI_INFO_SC(x) (((x) & 0x3) << 24)
748 # define AFMT_AVI_INFO_Q(x) (((x) & 0x3) << 26)
749 # define AFMT_AVI_INFO_EC(x) (((x) & 0x3) << 28)
750 # define AFMT_AVI_INFO_ITC(x) (((x) & 0x1) << 31)
751 # define AFMT_AVI_INFO_ITC_EC_Q_SC(x) (((x) & 0xff) << 24)
753 # define AFMT_AVI_INFO_VIC(x) (((x) & 0x7f) << 0) /* don't use avi infoframe v1 */
754 # define AFMT_AVI_INFO_PR(x) (((x) & 0xf) << 8) /* don't use avi infoframe v1 */
755 # define AFMT_AVI_INFO_TOP(x) (((x) & 0xffff) << 16)
757 # define AFMT_AVI_INFO_BOTTOM(x) (((x) & 0xffff) << 0)
758 # define AFMT_AVI_INFO_LEFT(x) (((x) & 0xffff) << 16)
760 # define AFMT_AVI_INFO_RIGHT(x) (((x) & 0xffff) << 0)
761 # define AFMT_AVI_INFO_VERSION(x) (((x) & 3) << 24)
763 # define AFMT_MPEG_INFO_CHECKSUM(x) (((x) & 0xff) << 0)
764 # define AFMT_MPEG_INFO_MB0(x) (((x) & 0xff) << 8)
765 # define AFMT_MPEG_INFO_MB1(x) (((x) & 0xff) << 16)
766 # define AFMT_MPEG_INFO_MB2(x) (((x) & 0xff) << 24)
768 # define AFMT_MPEG_INFO_MB3(x) (((x) & 0xff) << 0)
769 # define AFMT_MPEG_INFO_MF(x) (((x) & 3) << 8)
770 # define AFMT_MPEG_INFO_FR(x) (((x) & 1) << 12)
788 # define HDMI_ACR_CTS_32(x) (((x) & 0xfffff) << 12)
790 # define HDMI_ACR_N_32(x) (((x) & 0xfffff) << 0)
792 # define HDMI_ACR_CTS_44(x) (((x) & 0xfffff) << 12)
794 # define HDMI_ACR_N_44(x) (((x) & 0xfffff) << 0)
796 # define HDMI_ACR_CTS_48(x) (((x) & 0xfffff) << 12)
798 # define HDMI_ACR_N_48(x) (((x) & 0xfffff) << 0)
802 # define AFMT_AUDIO_INFO_CHECKSUM(x) (((x) & 0xff) << 0)
803 # define AFMT_AUDIO_INFO_CC(x) (((x) & 7) << 8)
804 # define AFMT_AUDIO_INFO_CHECKSUM_OFFSET(x) (((x) & 0xff) << 16)
806 # define AFMT_AUDIO_INFO_CA(x) (((x) & 0xff) << 0)
807 # define AFMT_AUDIO_INFO_LSV(x) (((x) & 0xf) << 11)
808 # define AFMT_AUDIO_INFO_DM_INH(x) (((x) & 1) << 15)
809 # define AFMT_AUDIO_INFO_DM_INH_LSV(x) (((x) & 0xff) << 8)
811 # define AFMT_60958_CS_A(x) (((x) & 1) << 0)
812 # define AFMT_60958_CS_B(x) (((x) & 1) << 1)
813 # define AFMT_60958_CS_C(x) (((x) & 1) << 2)
814 # define AFMT_60958_CS_D(x) (((x) & 3) << 3)
815 # define AFMT_60958_CS_MODE(x) (((x) & 3) << 6)
816 # define AFMT_60958_CS_CATEGORY_CODE(x) (((x) & 0xff) << 8)
817 # define AFMT_60958_CS_SOURCE_NUMBER(x) (((x) & 0xf) << 16)
818 # define AFMT_60958_CS_CHANNEL_NUMBER_L(x) (((x) & 0xf) << 20)
819 # define AFMT_60958_CS_SAMPLING_FREQUENCY(x) (((x) & 0xf) << 24)
820 # define AFMT_60958_CS_CLOCK_ACCURACY(x) (((x) & 3) << 28)
822 # define AFMT_60958_CS_WORD_LENGTH(x) (((x) & 0xf) << 0)
823 # define AFMT_60958_CS_ORIGINAL_SAMPLING_FREQUENCY(x) (((x) & 0xf) << 4)
824 # define AFMT_60958_CS_VALID_L(x) (((x) & 1) << 16)
825 # define AFMT_60958_CS_VALID_R(x) (((x) & 1) << 18)
826 # define AFMT_60958_CS_CHANNEL_NUMBER_R(x) (((x) & 0xf) << 20)
830 # define AFMT_RAMP_MAX_COUNT(x) (((x) & 0xffffff) << 0)
833 # define AFMT_RAMP_MIN_COUNT(x) (((x) & 0xffffff) << 0)
834 # define AFMT_AUDIO_TEST_CH_DISABLE(x) (((x) & 0xff) << 24)
836 # define AFMT_RAMP_INC_COUNT(x) (((x) & 0xffffff) << 0)
838 # define AFMT_RAMP_DEC_COUNT(x) (((x) & 0xffffff) << 0)
840 # define AFMT_60958_CS_CHANNEL_NUMBER_2(x) (((x) & 0xf) << 0)
841 # define AFMT_60958_CS_CHANNEL_NUMBER_3(x) (((x) & 0xf) << 4)
842 # define AFMT_60958_CS_CHANNEL_NUMBER_4(x) (((x) & 0xf) << 8)
843 # define AFMT_60958_CS_CHANNEL_NUMBER_5(x) (((x) & 0xf) << 12)
844 # define AFMT_60958_CS_CHANNEL_NUMBER_6(x) (((x) & 0xf) << 16)
845 # define AFMT_60958_CS_CHANNEL_NUMBER_7(x) (((x) & 0xf) << 20)
886 # define MAX_CHANNELS(x) (((x) & 0x7) << 0)
888 # define SUPPORTED_FREQUENCIES(x) (((x) & 0xff) << 8)
889 # define DESCRIPTOR_BYTE_2(x) (((x) & 0xff) << 16)
890 # define SUPPORTED_FREQUENCIES_STEREO(x) (((x) & 0xff) << 24) /* LPCM only */
934 # define LC_L0S_INACTIVITY(x) ((x) << 8)
937 # define LC_L1_INACTIVITY(x) ((x) << 12)
969 # define LC_HW_VOLTAGE_IF_CONTROL(x) ((x) << 12)