Lines Matching +full:1 +full:x
47 # define UPLL_REF_DIV(x) ((x) << 16) argument
52 # define UPLL_SW_HILEN(x) ((x) << 0) argument
53 # define UPLL_SW_LOLEN(x) ((x) << 4) argument
54 # define UPLL_SW_HILEN2(x) ((x) << 8) argument
55 # define UPLL_SW_LOLEN2(x) ((x) << 12) argument
57 # define VCLK_SRC_SEL(x) ((x) << 20) argument
59 # define DCLK_SRC_SEL(x) ((x) << 25) argument
62 # define UPLL_FB_DIV(x) ((x) << 0) argument
67 #define SMC_SRAM_AUTO_INC_DIS (1 << 16)
70 #define SMC_RST_N (1 << 0)
71 #define SMC_STOP_MODE (1 << 2)
72 #define SMC_CLK_EN (1 << 11)
74 #define HOST_SMC_MSG(x) ((x) << 0) argument
77 #define HOST_SMC_RESP(x) ((x) << 8) argument
80 #define SMC_HOST_MSG(x) ((x) << 16) argument
83 #define SMC_HOST_RESP(x) ((x) << 24) argument
90 #define SPLL_RESET (1 << 0)
91 #define SPLL_SLEEP (1 << 1)
92 #define SPLL_DIVEN (1 << 2)
93 #define SPLL_BYPASS_EN (1 << 3)
94 #define SPLL_REF_DIV(x) ((x) << 4) argument
96 #define SPLL_HILEN(x) ((x) << 12) argument
98 #define SPLL_LOLEN(x) ((x) << 16) argument
101 #define SCLK_MUX_SEL(x) ((x) << 0) argument
103 #define SCLK_MUX_UPDATE (1 << 26)
105 #define SPLL_FB_DIV(x) ((x) << 0) argument
107 #define SPLL_DITHEN (1 << 28)
109 #define SPLL_CHG_STATUS (1 << 1)
112 #define SPLL_DIV_SYNC (1 << 5)
115 # define MPLL_MCLK_SEL (1 << 11)
116 # define RV730_MPLL_MCLK_SEL (1 << 25)
119 #define CLKF(x) ((x) << 0) argument
121 #define CLKR(x) ((x) << 7) argument
123 #define CLKFRAC(x) ((x) << 12) argument
125 #define YCLK_POST_DIV(x) ((x) << 17) argument
127 #define IBIAS(x) ((x) << 20) argument
129 #define RESET (1 << 30)
130 #define PDNB (1 << 31)
132 #define BYPASS (1 << 19)
133 #define BIAS_GEN_PDNB (1 << 24)
134 #define RESET_EN (1 << 25)
135 #define VCO_MODE (1 << 29)
140 # define GLOBAL_PWRMGT_EN (1 << 0)
141 # define STATIC_PM_EN (1 << 1)
142 # define THERMAL_PROTECTION_DIS (1 << 2)
143 # define THERMAL_PROTECTION_TYPE (1 << 3)
144 # define ENABLE_GEN2PCIE (1 << 4)
145 # define ENABLE_GEN2XSP (1 << 5)
146 # define SW_SMIO_INDEX(x) ((x) << 6) argument
149 # define LOW_VOLT_D2_ACPI (1 << 8)
150 # define LOW_VOLT_D3_ACPI (1 << 9)
151 # define VOLT_PWRMGT_EN (1 << 10)
152 # define BACKBIAS_PAD_EN (1 << 18)
153 # define BACKBIAS_VALUE (1 << 19)
154 # define DYN_SPREAD_SPECTRUM_EN (1 << 23)
155 # define AC_DC_SW (1 << 24)
159 # define SCLK_PWRMGT_OFF (1 << 0)
160 # define SCLK_LOW_D1 (1 << 1)
161 # define FIR_RESET (1 << 4)
162 # define FIR_FORCE_TREND_SEL (1 << 5)
163 # define FIR_TREND_MODE (1 << 6)
164 # define DYN_GFX_CLK_OFF_EN (1 << 7)
165 # define GFX_CLK_FORCE_ON (1 << 8)
166 # define GFX_CLK_REQUEST_OFF (1 << 9)
167 # define GFX_CLK_FORCE_OFF (1 << 10)
168 # define GFX_CLK_OFF_ACPI_D1 (1 << 11)
169 # define GFX_CLK_OFF_ACPI_D2 (1 << 12)
170 # define GFX_CLK_OFF_ACPI_D3 (1 << 13)
172 # define DLL_SPEED(x) ((x) << 0) argument
174 # define MPLL_PWRMGT_OFF (1 << 5)
175 # define DLL_READY (1 << 6)
176 # define MC_INT_CNTL (1 << 7)
177 # define MRDCKA0_SLEEP (1 << 8)
178 # define MRDCKA1_SLEEP (1 << 9)
179 # define MRDCKB0_SLEEP (1 << 10)
180 # define MRDCKB1_SLEEP (1 << 11)
181 # define MRDCKC0_SLEEP (1 << 12)
182 # define MRDCKC1_SLEEP (1 << 13)
183 # define MRDCKD0_SLEEP (1 << 14)
184 # define MRDCKD1_SLEEP (1 << 15)
185 # define MRDCKA0_RESET (1 << 16)
186 # define MRDCKA1_RESET (1 << 17)
187 # define MRDCKB0_RESET (1 << 18)
188 # define MRDCKB1_RESET (1 << 19)
189 # define MRDCKC0_RESET (1 << 20)
190 # define MRDCKC1_RESET (1 << 21)
191 # define MRDCKD0_RESET (1 << 22)
192 # define MRDCKD1_RESET (1 << 23)
193 # define DLL_READY_READ (1 << 24)
194 # define USE_DISPLAY_GAP (1 << 25)
195 # define USE_DISPLAY_URGENT_NORMAL (1 << 26)
196 # define MPLL_TURNOFF_D2 (1 << 28)
198 # define MRDCKA0_BYPASS (1 << 24)
199 # define MRDCKA1_BYPASS (1 << 25)
200 # define MRDCKB0_BYPASS (1 << 26)
201 # define MRDCKB1_BYPASS (1 << 27)
202 # define MRDCKC0_BYPASS (1 << 28)
203 # define MRDCKC1_BYPASS (1 << 29)
204 # define MRDCKD0_BYPASS (1 << 30)
205 # define MRDCKD1_BYPASS (1 << 31)
208 # define MPLL_LOCK_TIME(x) ((x) << 0) argument
210 # define MPLL_RESET_TIME(x) ((x) << 16) argument
214 # define MUX_TCLK_TO_XCLK (1 << 8)
215 # define XTALIN_DIVIDE (1 << 9)
228 # define UTC_0(x) ((x) << 0) argument
230 # define DTC_0(x) ((x) << 10) argument
234 # define BSP(x) ((x) << 0) argument
236 # define BSU(x) ((x) << 16) argument
239 # define CG_R(x) ((x) << 0) argument
241 # define CG_L(x) ((x) << 16) argument
244 # define CG_GICST(x) ((x) << 0) argument
246 # define CG_GIPOT(x) ((x) << 16) argument
250 # define SST(x) ((x) << 0) argument
252 # define SSTU(x) ((x) << 16) argument
256 # define DISP1_GAP(x) ((x) << 0) argument
258 # define DISP2_GAP(x) ((x) << 2) argument
260 # define VBI_TIMER_COUNT(x) ((x) << 4) argument
262 # define VBI_TIMER_UNIT(x) ((x) << 20) argument
264 # define DISP1_GAP_MCHG(x) ((x) << 24) argument
266 # define DISP2_GAP_MCHG(x) ((x) << 26) argument
270 #define SSEN (1 << 0)
271 #define CLKS(x) ((x) << 4) argument
274 #define CLKV(x) ((x) << 0) argument
291 #define STATE0(x) ((x) << 0) argument
293 #define STATE1(x) ((x) << 8) argument
295 #define STATE2(x) ((x) << 16) argument
297 #define STATE3(x) ((x) << 24) argument
301 #define POWERMODE0(x) ((x) << 0) argument
303 #define POWERMODE1(x) ((x) << 8) argument
305 #define POWERMODE2(x) ((x) << 16) argument
307 #define POWERMODE3(x) ((x) << 24) argument
325 #define BACKEND_DISABLE(x) ((x) << 16) argument
336 #define CP_ME_HALT (1 << 28)
337 #define CP_PFP_HALT (1 << 26)
342 #define STQ_SPLIT(x) ((x) << 0) argument
347 #define ROQ_IB1_START(x) ((x) << 0) argument
348 #define ROQ_IB2_START(x) ((x) << 8) argument
350 #define RB_BUFSZ(x) ((x) << 0) argument
351 #define RB_BLKSZ(x) ((x) << 8) argument
352 #define RB_NO_UPDATE (1 << 27)
353 #define RB_RPTR_WR_ENA (1 << 31)
366 #define DB_CLK_OFF_DELAY(x) ((x) << 11) argument
368 #define DISABLE_TILE_COVERED_FOR_PS_ITER (1 << 6)
371 #define PIPE_TILING(x) ((x) << 1) argument
372 #define BANK_TILING(x) ((x) << 4) argument
373 #define GROUP_SIZE(x) ((x) << 6) argument
374 #define ROW_TILING(x) ((x) << 8) argument
375 #define BANK_SWAPS(x) ((x) << 11) argument
376 #define SAMPLE_SPLIT(x) ((x) << 14) argument
377 #define BACKEND_MAP(x) ((x) << 16) argument
380 #define PIPE_TILING__SHIFT 1
393 #define INACTIVE_QD_PIPES(x) ((x) << 8) argument
396 #define INACTIVE_SIMDS(x) ((x) << 16) argument
400 #define GRBM_READ_TIMEOUT(x) ((x) << 0) argument
402 #define SOFT_RESET_CP (1<<0)
405 #define GUI_ACTIVE (1<<31)
409 #define DPM_EVENT_SRC(x) ((x) << 0) argument
411 #define DIG_THERM_DPM(x) ((x) << 14) argument
416 #define DIG_THERM_INTH(x) ((x) << 8) argument
419 #define DIG_THERM_INTL(x) ((x) << 16) argument
422 #define THERM_INT_MASK_HIGH (1 << 24)
423 #define THERM_INT_MASK_LOW (1 << 25)
426 #define ASIC_T(x) ((x) << 16) argument
456 #define CHANSIZE_OVERRIDE (1 << 11)
465 #define ENABLE_L1_TLB (1 << 0)
466 #define ENABLE_L1_FRAGMENT_PROCESSING (1 << 1)
468 #define SYSTEM_ACCESS_MODE_USE_SYS_MAP (1 << 3)
472 #define EFFECTIVE_L1_TLB_SIZE(x) ((x)<<15) argument
473 #define EFFECTIVE_L1_QUEUE_SIZE(x) ((x)<<18) argument
483 #define CLIP_VTX_REORDER_ENA (1 << 0)
484 #define NUM_CLIP_SEQ(x) ((x) << 1) argument
489 #define SC_PRIM_FIFO_SIZE(x) ((x) << 0) argument
490 #define SC_HIZ_TILE_FIFO_SIZE(x) ((x) << 12) argument
492 #define FORCE_EOV_MAX_CLK_CNT(x) ((x)<<0) argument
493 #define FORCE_EOV_MAX_REZ_CNT(x) ((x)<<16) argument
498 #define SC_EARLYZ_TILE_FIFO_SIZE(x) ((x) << 20) argument
513 #define USE_HASH_FUNCTION (1 << 0)
514 #define CACHE_DEPTH(x) ((x) << 1) argument
515 #define FLUSH_ALL_ON_EVENT (1 << 10)
516 #define STALL_ON_EVENT (1 << 11)
518 #define ES_FLUSH_CTL(x) ((x) << 0) argument
519 #define GS_FLUSH_CTL(x) ((x) << 3) argument
520 #define ACK_FLUSH_CTL(x) ((x) << 6) argument
521 #define SYNC_FLUSH_CTL (1 << 8)
524 #define GPR_WRITE_PRIORITY(x) ((x) << 0) argument
525 #define DISABLE_INTERP_1 (1 << 5)
527 #define VTX_DONE_DELAY(x) ((x) << 0) argument
528 #define INTERP_ONE_PRIM_PER_ROW (1 << 4)
531 #define NUM_INTERP(x) ((x)<<0) argument
532 #define POSITION_ENA (1<<8)
533 #define POSITION_CENTROID (1<<9)
534 #define POSITION_ADDR(x) ((x)<<10) argument
535 #define PARAM_GEN(x) ((x)<<15) argument
536 #define PARAM_GEN_ADDR(x) ((x)<<19) argument
537 #define BARYC_SAMPLE_CNTL(x) ((x)<<26) argument
538 #define PERSP_GRADIENT_ENA (1<<28)
539 #define LINEAR_GRADIENT_ENA (1<<29)
540 #define POSITION_SAMPLE (1<<30)
541 #define BARYC_AT_SAMPLE_ENA (1<<31)
544 #define VC_ENABLE (1 << 0)
545 #define EXPORT_SRC_C (1 << 1)
546 #define DX9_CONSTS (1 << 2)
547 #define ALU_INST_PREFER_VECTOR (1 << 3)
548 #define DX10_CLAMP (1 << 4)
549 #define CLAUSE_SEQ_PRIO(x) ((x) << 8) argument
550 #define PS_PRIO(x) ((x) << 24) argument
551 #define VS_PRIO(x) ((x) << 26) argument
552 #define GS_PRIO(x) ((x) << 28) argument
554 #define SIMDA_RING0(x) ((x)<<0) argument
555 #define SIMDA_RING1(x) ((x)<<8) argument
556 #define SIMDB_RING0(x) ((x)<<16) argument
557 #define SIMDB_RING1(x) ((x)<<24) argument
565 #define ES_PRIO(x) ((x) << 30) argument
567 #define NUM_PS_GPRS(x) ((x) << 0) argument
568 #define NUM_VS_GPRS(x) ((x) << 16) argument
569 #define DYN_GPR_ENABLE (1 << 27)
570 #define NUM_CLAUSE_TEMP_GPRS(x) ((x) << 28) argument
572 #define NUM_GS_GPRS(x) ((x) << 0) argument
573 #define NUM_ES_GPRS(x) ((x) << 16) argument
575 #define CACHE_FIFO_SIZE(x) ((x) << 0) argument
576 #define FETCH_FIFO_HIWATER(x) ((x) << 8) argument
577 #define DONE_FIFO_HIWATER(x) ((x) << 16) argument
578 #define ALU_UPDATE_FIFO_HIWATER(x) ((x) << 24) argument
580 #define NUM_PS_STACK_ENTRIES(x) ((x) << 0) argument
581 #define NUM_VS_STACK_ENTRIES(x) ((x) << 16) argument
583 #define NUM_GS_STACK_ENTRIES(x) ((x) << 0) argument
584 #define NUM_ES_STACK_ENTRIES(x) ((x) << 16) argument
586 #define NUM_PS_THREADS(x) ((x) << 0) argument
587 #define NUM_VS_THREADS(x) ((x) << 8) argument
588 #define NUM_GS_THREADS(x) ((x) << 16) argument
589 #define NUM_ES_THREADS(x) ((x) << 24) argument
592 #define ENABLE_NEW_SMX_ADDRESS (1 << 16)
594 #define COLOR_BUFFER_SIZE(x) ((x) << 0) argument
595 #define POSITION_BUFFER_SIZE(x) ((x) << 8) argument
596 #define SMX_BUFFER_SIZE(x) ((x) << 16) argument
600 #define DISABLE_CUBE_WRAP (1 << 0)
601 #define DISABLE_CUBE_ANISO (1 << 1)
602 #define SYNC_GRADIENT (1 << 24)
603 #define SYNC_WALKER (1 << 25)
604 #define SYNC_ALIGNER (1 << 26)
606 #define BILINEAR_PRECISION_8_BIT (1 << 31)
614 #define CACHE_INVALIDATION(x) ((x)<<0) argument
616 #define TC_ONLY 1
618 #define AUTO_INVLD_EN(x) ((x) << 6) argument
620 #define ES_AUTO 1
635 #define ENABLE_CONTEXT (1 << 0)
636 #define PAGE_TABLE_DEPTH(x) (((x) & 3) << 1) argument
637 #define RANGE_PROTECTION_FAULT_ENABLE_DEFAULT (1 << 4)
643 #define ENABLE_L2_CACHE (1 << 0)
644 #define ENABLE_L2_FRAGMENT_PROCESSING (1 << 1)
645 #define ENABLE_L2_PTE_CACHE_LRU_UPDATE_BY_WRITE (1 << 9)
646 #define EFFECTIVE_L2_QUEUE_SIZE(x) (((x) & 7) << 14) argument
648 #define INVALIDATE_ALL_L1_TLBS (1 << 0)
649 #define INVALIDATE_L2_CACHE (1 << 1)
651 #define BANK_SELECT(x) ((x) << 0) argument
652 #define CACHE_UPDATE_MODE(x) ((x) << 6) argument
654 #define L2_BUSY (1 << 0)
682 # define HDMI_KEEPOUT_MODE (1 << 0)
683 # define HDMI_PACKET_GEN_VERSION (1 << 4) /* 0 = r6xx compat */
684 # define HDMI_ERROR_ACK (1 << 8)
685 # define HDMI_ERROR_MASK (1 << 9)
687 # define HDMI_ACTIVE_AVMUTE (1 << 0)
688 # define HDMI_AUDIO_PACKET_ERROR (1 << 16)
689 # define HDMI_VBI_PACKET_ERROR (1 << 20)
691 # define HDMI_AUDIO_DELAY_EN(x) (((x) & 3) << 4) argument
692 # define HDMI_AUDIO_PACKETS_PER_LINE(x) (((x) & 0x1f) << 16) argument
694 # define HDMI_ACR_SEND (1 << 0)
695 # define HDMI_ACR_CONT (1 << 1)
696 # define HDMI_ACR_SELECT(x) (((x) & 3) << 4) argument
698 # define HDMI_ACR_32 1
701 # define HDMI_ACR_SOURCE (1 << 8) /* 0 - hw; 1 - cts value */
702 # define HDMI_ACR_AUTO_SEND (1 << 12)
704 # define HDMI_NULL_SEND (1 << 0)
705 # define HDMI_GC_SEND (1 << 4)
706 # define HDMI_GC_CONT (1 << 5) /* 0 - once; 1 - every frame */
708 # define HDMI_AVI_INFO_SEND (1 << 0)
709 # define HDMI_AVI_INFO_CONT (1 << 1)
710 # define HDMI_AUDIO_INFO_SEND (1 << 4)
711 # define HDMI_AUDIO_INFO_CONT (1 << 5)
712 # define HDMI_MPEG_INFO_SEND (1 << 8)
713 # define HDMI_MPEG_INFO_CONT (1 << 9)
715 # define HDMI_AVI_INFO_LINE(x) (((x) & 0x3f) << 0) argument
716 # define HDMI_AUDIO_INFO_LINE(x) (((x) & 0x3f) << 8) argument
717 # define HDMI_MPEG_INFO_LINE(x) (((x) & 0x3f) << 16) argument
719 # define HDMI_GENERIC0_SEND (1 << 0)
720 # define HDMI_GENERIC0_CONT (1 << 1)
721 # define HDMI_GENERIC1_SEND (1 << 4)
722 # define HDMI_GENERIC1_CONT (1 << 5)
723 # define HDMI_GENERIC0_LINE(x) (((x) & 0x3f) << 16) argument
724 # define HDMI_GENERIC1_LINE(x) (((x) & 0x3f) << 24) argument
726 # define HDMI_GC_AVMUTE (1 << 0)
728 # define AFMT_AUDIO_LAYOUT_OVRD (1 << 0)
729 # define AFMT_AUDIO_LAYOUT_SELECT (1 << 1)
730 # define AFMT_60958_CS_SOURCE (1 << 4)
731 # define AFMT_AUDIO_CHANNEL_ENABLE(x) (((x) & 0xff) << 8) argument
732 # define AFMT_DP_AUDIO_STREAM_ID(x) (((x) & 0xff) << 16) argument
734 # define AFMT_AVI_INFO_CHECKSUM(x) (((x) & 0xff) << 0) argument
735 # define AFMT_AVI_INFO_S(x) (((x) & 3) << 8) argument
736 # define AFMT_AVI_INFO_B(x) (((x) & 3) << 10) argument
737 # define AFMT_AVI_INFO_A(x) (((x) & 1) << 12) argument
738 # define AFMT_AVI_INFO_Y(x) (((x) & 3) << 13) argument
740 # define AFMT_AVI_INFO_Y_YCBCR422 1
742 # define AFMT_AVI_INFO_Y_A_B_S(x) (((x) & 0xff) << 8) argument
743 # define AFMT_AVI_INFO_R(x) (((x) & 0xf) << 16) argument
744 # define AFMT_AVI_INFO_M(x) (((x) & 0x3) << 20) argument
745 # define AFMT_AVI_INFO_C(x) (((x) & 0x3) << 22) argument
746 # define AFMT_AVI_INFO_C_M_R(x) (((x) & 0xff) << 16) argument
747 # define AFMT_AVI_INFO_SC(x) (((x) & 0x3) << 24) argument
748 # define AFMT_AVI_INFO_Q(x) (((x) & 0x3) << 26) argument
749 # define AFMT_AVI_INFO_EC(x) (((x) & 0x3) << 28) argument
750 # define AFMT_AVI_INFO_ITC(x) (((x) & 0x1) << 31) argument
751 # define AFMT_AVI_INFO_ITC_EC_Q_SC(x) (((x) & 0xff) << 24) argument
753 # define AFMT_AVI_INFO_VIC(x) (((x) & 0x7f) << 0) /* don't use avi infoframe v1 */ argument
754 # define AFMT_AVI_INFO_PR(x) (((x) & 0xf) << 8) /* don't use avi infoframe v1 */ argument
755 # define AFMT_AVI_INFO_TOP(x) (((x) & 0xffff) << 16) argument
757 # define AFMT_AVI_INFO_BOTTOM(x) (((x) & 0xffff) << 0) argument
758 # define AFMT_AVI_INFO_LEFT(x) (((x) & 0xffff) << 16) argument
760 # define AFMT_AVI_INFO_RIGHT(x) (((x) & 0xffff) << 0) argument
761 # define AFMT_AVI_INFO_VERSION(x) (((x) & 3) << 24) argument
763 # define AFMT_MPEG_INFO_CHECKSUM(x) (((x) & 0xff) << 0) argument
764 # define AFMT_MPEG_INFO_MB0(x) (((x) & 0xff) << 8) argument
765 # define AFMT_MPEG_INFO_MB1(x) (((x) & 0xff) << 16) argument
766 # define AFMT_MPEG_INFO_MB2(x) (((x) & 0xff) << 24) argument
768 # define AFMT_MPEG_INFO_MB3(x) (((x) & 0xff) << 0) argument
769 # define AFMT_MPEG_INFO_MF(x) (((x) & 3) << 8) argument
770 # define AFMT_MPEG_INFO_FR(x) (((x) & 1) << 12) argument
788 # define HDMI_ACR_CTS_32(x) (((x) & 0xfffff) << 12) argument
790 # define HDMI_ACR_N_32(x) (((x) & 0xfffff) << 0) argument
792 # define HDMI_ACR_CTS_44(x) (((x) & 0xfffff) << 12) argument
794 # define HDMI_ACR_N_44(x) (((x) & 0xfffff) << 0) argument
796 # define HDMI_ACR_CTS_48(x) (((x) & 0xfffff) << 12) argument
798 # define HDMI_ACR_N_48(x) (((x) & 0xfffff) << 0) argument
802 # define AFMT_AUDIO_INFO_CHECKSUM(x) (((x) & 0xff) << 0) argument
803 # define AFMT_AUDIO_INFO_CC(x) (((x) & 7) << 8) argument
804 # define AFMT_AUDIO_INFO_CHECKSUM_OFFSET(x) (((x) & 0xff) << 16) argument
806 # define AFMT_AUDIO_INFO_CA(x) (((x) & 0xff) << 0) argument
807 # define AFMT_AUDIO_INFO_LSV(x) (((x) & 0xf) << 11) argument
808 # define AFMT_AUDIO_INFO_DM_INH(x) (((x) & 1) << 15) argument
809 # define AFMT_AUDIO_INFO_DM_INH_LSV(x) (((x) & 0xff) << 8) argument
811 # define AFMT_60958_CS_A(x) (((x) & 1) << 0) argument
812 # define AFMT_60958_CS_B(x) (((x) & 1) << 1) argument
813 # define AFMT_60958_CS_C(x) (((x) & 1) << 2) argument
814 # define AFMT_60958_CS_D(x) (((x) & 3) << 3) argument
815 # define AFMT_60958_CS_MODE(x) (((x) & 3) << 6) argument
816 # define AFMT_60958_CS_CATEGORY_CODE(x) (((x) & 0xff) << 8) argument
817 # define AFMT_60958_CS_SOURCE_NUMBER(x) (((x) & 0xf) << 16) argument
818 # define AFMT_60958_CS_CHANNEL_NUMBER_L(x) (((x) & 0xf) << 20) argument
819 # define AFMT_60958_CS_SAMPLING_FREQUENCY(x) (((x) & 0xf) << 24) argument
820 # define AFMT_60958_CS_CLOCK_ACCURACY(x) (((x) & 3) << 28) argument
822 # define AFMT_60958_CS_WORD_LENGTH(x) (((x) & 0xf) << 0) argument
823 # define AFMT_60958_CS_ORIGINAL_SAMPLING_FREQUENCY(x) (((x) & 0xf) << 4) argument
824 # define AFMT_60958_CS_VALID_L(x) (((x) & 1) << 16) argument
825 # define AFMT_60958_CS_VALID_R(x) (((x) & 1) << 18) argument
826 # define AFMT_60958_CS_CHANNEL_NUMBER_R(x) (((x) & 0xf) << 20) argument
828 # define AFMT_AUDIO_CRC_EN (1 << 0)
830 # define AFMT_RAMP_MAX_COUNT(x) (((x) & 0xffffff) << 0) argument
831 # define AFMT_RAMP_DATA_SIGN (1 << 31)
833 # define AFMT_RAMP_MIN_COUNT(x) (((x) & 0xffffff) << 0) argument
834 # define AFMT_AUDIO_TEST_CH_DISABLE(x) (((x) & 0xff) << 24) argument
836 # define AFMT_RAMP_INC_COUNT(x) (((x) & 0xffffff) << 0) argument
838 # define AFMT_RAMP_DEC_COUNT(x) (((x) & 0xffffff) << 0) argument
840 # define AFMT_60958_CS_CHANNEL_NUMBER_2(x) (((x) & 0xf) << 0) argument
841 # define AFMT_60958_CS_CHANNEL_NUMBER_3(x) (((x) & 0xf) << 4) argument
842 # define AFMT_60958_CS_CHANNEL_NUMBER_4(x) (((x) & 0xf) << 8) argument
843 # define AFMT_60958_CS_CHANNEL_NUMBER_5(x) (((x) & 0xf) << 12) argument
844 # define AFMT_60958_CS_CHANNEL_NUMBER_6(x) (((x) & 0xf) << 16) argument
845 # define AFMT_60958_CS_CHANNEL_NUMBER_7(x) (((x) & 0xf) << 20) argument
847 # define AFMT_AUDIO_ENABLE (1 << 4)
848 # define AFMT_AZ_FORMAT_WTRIG (1 << 28)
849 # define AFMT_AZ_FORMAT_WTRIG_INT (1 << 29)
850 # define AFMT_AZ_AUDIO_ENABLE_CHG (1 << 30)
852 # define AFMT_AUDIO_SAMPLE_SEND (1 << 0)
853 # define AFMT_AUDIO_TEST_EN (1 << 12)
854 # define AFMT_AUDIO_CHANNEL_SWAP (1 << 24)
855 # define AFMT_60958_CS_UPDATE (1 << 26)
856 # define AFMT_AZ_AUDIO_ENABLE_CHG_MASK (1 << 27)
857 # define AFMT_AZ_FORMAT_WTRIG_MASK (1 << 28)
858 # define AFMT_AZ_FORMAT_WTRIG_ACK (1 << 29)
859 # define AFMT_AZ_AUDIO_ENABLE_CHG_ACK (1 << 30)
861 # define AFMT_GENERIC0_UPDATE (1 << 2)
863 # define AFMT_AUDIO_INFO_SOURCE (1 << 6) /* 0 - sound block; 1 - hdmi regs */
864 # define AFMT_AUDIO_INFO_UPDATE (1 << 7)
865 # define AFMT_MPEG_INFO_UPDATE (1 << 10)
886 # define MAX_CHANNELS(x) (((x) & 0x7) << 0) argument
888 # define SUPPORTED_FREQUENCIES(x) (((x) & 0xff) << 8) argument
889 # define DESCRIPTOR_BYTE_2(x) (((x) & 0xff) << 16) argument
890 # define SUPPORTED_FREQUENCIES_STEREO(x) (((x) & 0xff) << 24) /* LPCM only */ argument
902 # define AZ_FORCE_CODEC_WAKE (1 << 0)
903 # define PIN0_JACK_DETECTION_ENABLE (1 << 4)
904 # define PIN1_JACK_DETECTION_ENABLE (1 << 5)
905 # define PIN2_JACK_DETECTION_ENABLE (1 << 6)
906 # define PIN3_JACK_DETECTION_ENABLE (1 << 7)
907 # define PIN0_UNSOLICITED_RESPONSE_ENABLE (1 << 8)
908 # define PIN1_UNSOLICITED_RESPONSE_ENABLE (1 << 9)
909 # define PIN2_UNSOLICITED_RESPONSE_ENABLE (1 << 10)
910 # define PIN3_UNSOLICITED_RESPONSE_ENABLE (1 << 11)
911 # define CODEC_HOT_PLUG_ENABLE (1 << 12)
912 # define PIN0_AUDIO_ENABLED (1 << 24)
913 # define PIN1_AUDIO_ENABLED (1 << 25)
914 # define PIN2_AUDIO_ENABLED (1 << 26)
915 # define PIN3_AUDIO_ENABLED (1 << 27)
916 # define AUDIO_ENABLED (1 << 31)
928 # define P_PLL_PWRDN_IN_L1L23 (1 << 3)
929 # define P_PLL_BUF_PDNB (1 << 4)
930 # define P_PLL_PDNB (1 << 9)
931 # define P_ALLOW_PRX_FRONTEND_SHUTOFF (1 << 12)
934 # define LC_L0S_INACTIVITY(x) ((x) << 8) argument
937 # define LC_L1_INACTIVITY(x) ((x) << 12) argument
940 # define LC_PMI_TO_L1_DIS (1 << 16)
941 # define LC_ASPM_TO_L1_DIS (1 << 24)
947 # define LC_LINK_WIDTH_X1 1
954 # define LC_RECONFIG_ARC_MISSING_ESCAPE (1 << 7)
955 # define LC_RECONFIG_NOW (1 << 8)
956 # define LC_RENEGOTIATION_SUPPORT (1 << 9)
957 # define LC_RENEGOTIATE_EN (1 << 10)
958 # define LC_SHORT_RECONFIG_EN (1 << 11)
959 # define LC_UPCONFIGURE_SUPPORT (1 << 12)
960 # define LC_UPCONFIGURE_DIS (1 << 13)
962 # define LC_GEN2_EN_STRAP (1 << 0)
963 # define LC_TARGET_LINK_SPEED_OVERRIDE_EN (1 << 1)
964 # define LC_FORCE_EN_HW_SPEED_CHANGE (1 << 5)
965 # define LC_FORCE_DIS_HW_SPEED_CHANGE (1 << 6)
968 # define LC_CURRENT_DATA_RATE (1 << 11)
969 # define LC_HW_VOLTAGE_IF_CONTROL(x) ((x) << 12) argument
973 # define LC_CLR_FAILED_SPD_CHANGE_CNT (1 << 21)
974 # define LC_OTHER_SIDE_EVER_SENT_GEN2 (1 << 23)
975 # define LC_OTHER_SIDE_SUPPORTS_GEN2 (1 << 24)
977 # define MM_WR_TO_CFG_EN (1 << 3)
980 # define SELECTABLE_DEEMPHASIS (1 << 6)