Lines Matching full:field

172 #define NPCX_DBGCTRL_CCDEV_SEL		FIELD(6, 2)
252 #define NPCX_JEN_CTL1_JEN_EN FIELD(0, 4)
253 #define NPCX_JEN_CTL1_JEN_HEN FIELD(4, 4)
259 #define NPCX_DEVCNT_HIF_TYP_SEL_FIELD FIELD(2, 2)
277 #define NPCX_DEV_CTL3_SIO_CLK_SEL FIELD(6, 2)
395 #define NPCX_UFRS_CHAR_FIELD FIELD(0, 2)
398 #define NPCX_UFRS_PSEL_FIELD FIELD(4, 2)
404 #define NPCX_UFTSTS_TEMPTY_LVL FIELD(0, 5)
411 #define NPCX_UFTCTL_TEMPTY_LVL_SEL FIELD(0, 5)
415 #define NPCX_UFRCTL_RFULL_LVL_SEL FIELD(0, 5)
482 #define NPCX_PWMCTL_HB_DC_CTL_FIELD FIELD(2, 2)
484 #define NPCX_PWMCTLEX_FCK_SEL_FIELD FIELD(4, 2)
523 #define NPCX_ATCTL_SCLKDIV_FIELD FIELD(0, 6)
524 #define NPCX_ATCTL_DLY_FIELD FIELD(8, 3)
525 #define NPCX_ASCADD_SADDR_FIELD FIELD(0, 5)
529 #define NPCX_ADCCNF_ADCMD_FIELD FIELD(1, 2)
538 #define NPCX_CHNDAT_CHDAT_FIELD FIELD(0, 10)
549 #define NPCX_THR_DCTL_THR_DVAL FIELD(0, 10)
706 #define NPCX_ESPICFG_CHANS_FIELD FIELD(0, 4)
707 #define NPCX_ESPICFG_HCHANS_FIELD FIELD(4, 4)
708 #define NPCX_ESPICFG_IOMODE_FIELD FIELD(8, 2)
709 #define NPCX_ESPICFG_MAXFREQ_FIELD FIELD(10, 3)
765 #define NPCX_VWSWIRQ_IRQ_NUM FIELD(0, 7)
767 #define NPCX_VWSWIRQ_INDEX FIELD(8, 7)
773 #define NPCX_VWEVMS_WIRE FIELD(0, 4)
774 #define NPCX_VWEVMS_VALID FIELD(4, 4)
775 #define NPCX_VWEVMS_INDEX FIELD(8, 7)
779 #define NPCX_VWEVSM_WIRE FIELD(0, 4)
780 #define NPCX_VWEVSM_VALID FIELD(4, 4)
781 #define NPCX_VWEVSM_INDEX FIELD(8, 7)
784 #define NPCX_VWEVSM_HW_WIRE FIELD(24, 4)
789 #define NPCX_OOBCTL_OOBPLSIZE FIELD(10, 3)
790 #define NPCX_FLASHCFG_FLASHBLERSSIZE FIELD(7, 3)
791 #define NPCX_FLASHCFG_FLASHPLSIZE FIELD(10, 3)
792 #define NPCX_FLASHCFG_FLASHREQSIZE FIELD(13, 3)
793 #define NPCX_FLASHCFG_FLCAPA FIELD(24, 2)
794 #define NPCX_FLASHCFG_TRGFLEBLKSIZE FIELD(16, 8)
795 #define NPCX_FLASHCFG_FLREQSUP FIELD(0, 3)
799 #define NPCX_FLASHCTL_DMATHRESH FIELD(3, 2)
800 #define NPCX_FLASHCTL_AMTSIZE FIELD(5, 8)
808 #define NPCX_FLASHBASE_FLBASE_ADDR FIELD(12, 15)
809 #define NPCX_FLASH_PRTR_BADDR FIELD(12, 15)
813 #define NPCX_FLASH_PRTR_HADDR FIELD(12, 15)
814 #define NPCX_FLASH_TAG_OVR_RPR FIELD(16, 16)
815 #define NPCX_FLASH_TAG_OVR_WPR FIELD(0, 16)
816 #define NPCX_FLASH_RPMC_CFG1_CNTR FIELD(0, 4)
817 #define NPCX_FLASH_RPMC_CFG1_OP1 FIELD(4, 8)
818 #define NPCX_FLASH_RPMC_CFG1_TRGRPMCSUP FIELD(26, 6)
967 #define NPCX_WIN_SIZE_RWIN1_SIZE_FIELD FIELD(0, 4)
968 #define NPCX_WIN_SIZE_RWIN2_SIZE_FIELD FIELD(4, 4)
991 #define NPCX_DP80BUF_OFFS_FIELD FIELD(8, 3)
1018 /* KBC register field */
1072 /* PMCH register field */
1245 #define NPCX_SMBCTL2_SCLFRQ0_6_FIELD FIELD(1, 7)
1247 #define NPCX_SMBCTL3_SCLFRQ7_8_FIELD FIELD(0, 2)
1253 #define NPCX_SMBCTL4_HLDT_FIELD FIELD(0, 6)
1272 #define NPCX_SMBRXF_CTL_RX_THR FIELD(0, 6)
1362 #define NPCX_TCKC_C1CSEL_FIELD FIELD(0, 3)
1363 #define NPCX_TCKC_C2CSEL_FIELD FIELD(3, 3)
1364 #define NPCX_TMCTRL_MDSEL_FIELD FIELD(0, 3)
1431 #define NPCX_PSTAT_ACH FIELD(3, 3)
1436 #define NPCX_PSCON_HDRV FIELD(2, 2)
1437 #define NPCX_PSCON_IDB FIELD(4, 3)
1535 #define NPCX_BURST_CFG_SPI_DEV_SEL FIELD(4, 2)
1539 #define NPCX_SPI_FL_CFG_RD_MODE FIELD(6, 2)
1549 #define NPCX_UMA_ECTS_UMA_ADDR_SIZE FIELD(4, 3)
1552 #define NPCX_SPI1_DEV_SPI1_LO_DEV_SIZE FIELD(0, 4)
1555 #define NPCX_SPI_DEV_NADDRB FIELD(5, 3)
1560 #define UMA_FLD_ADDR BIT(NPCX_UMA_CTS_A_SIZE) /* 3-bytes ADR field */
1561 #define UMA_FLD_NO_CMD BIT(NPCX_UMA_CTS_C_SIZE) /* No 1-Byte CMD field */
1632 #define NPCX_PECI_RATE_MAX_BIT_RATE FIELD(0, 5)
1634 /* The minimal valid value of NPCX_PECI_RATE_MAX_BIT_RATE field */
1673 #define NPCX_KBSCTL_KBHDRV_FIELD FIELD(6, 2)
1760 #define NPCX_SHICFG5_IBUFLVL2 FIELD(0, 6)
1790 #define NPCX_SPIP_CTL1_SCDV FIELD(9, 7)
1945 #define NPCX_I3C_MCONFIG_CTRENA FIELD(0, 2)
1947 #define NPCX_I3C_MCONFIG_HKEEP FIELD(4, 2) /* Must be '11' */
1949 #define NPCX_I3C_MCONFIG_PPBAUD FIELD(8, 4)
1950 #define NPCX_I3C_MCONFIG_PPLOW FIELD(12, 4)
1951 #define NPCX_I3C_MCONFIG_ODBAUD FIELD(16, 8)
1953 #define NPCX_I3C_MCONFIG_SKEW FIELD(25, 3)
1954 #define NPCX_I3C_MCONFIG_I2CBAUD FIELD(28, 4)
1955 #define NPCX_I3C_MCTRL_REQUEST FIELD(0, 3)
1956 #define NPCX_I3C_MCTRL_TYPE FIELD(4, 2)
1957 #define NPCX_I3C_MCTRL_IBIRESP FIELD(6, 2)
1959 #define NPCX_I3C_MCTRL_ADDR FIELD(9, 7)
1960 #define NPCX_I3C_MCTRL_RDTERM FIELD(16, 8)
1961 #define NPCX_I3C_MSTATUS_STATE FIELD(0, 3)
1964 #define NPCX_I3C_MSTATUS_IBITYPE FIELD(6, 2)
1973 #define NPCX_I3C_MSTATUS_IBIADDR FIELD(24, 7)
1996 #define NPCX_I3C_MDATACTRL_TXTRIG FIELD(4, 2)
1997 #define NPCX_I3C_MDATACTRL_RXTRIG FIELD(6, 2)
1998 #define NPCX_I3C_MDATACTRL_TXCOUNT FIELD(16, 5)
1999 #define NPCX_I3C_MDATACTRL_RXCOUNT FIELD(24, 5)
2012 #define NPCX_I3C_MDMACTRL_DMAFB FIELD(0, 2)
2013 #define NPCX_I3C_MDMACTRL_DMATB FIELD(2, 2)
2021 #define NPCX_I3C_CONFIG_HDRCMD FIELD(10, 2)
2022 #define NPCX_I3C_CONFIG_BAMATCH FIELD(16, 7)
2023 #define NPCX_I3C_CONFIG_SADDR FIELD(25, 7)
2043 #define NPCX_I3C_STATUS_EVDET FIELD(20, 2)
2047 #define NPCX_I3C_STATUS_ACTSTATE FIELD(28, 2)
2048 #define NPCX_I3C_STATUS_TIMECTRL FIELD(30, 2)
2049 #define NPCX_I3C_CTRL_EVENT FIELD(0, 2)
2051 #define NPCX_I3C_CTRL_MAPIDX FIELD(4, 4)
2052 #define NPCX_I3C_CTRL_IBIDATA FIELD(8, 8)
2053 #define NPCX_I3C_CTRL_PENDINT FIELD(16, 4)
2054 #define NPCX_I3C_CTRL_ACTSTATE FIELD(20, 2)
2055 #define NPCX_I3C_CTRL_VENDINFO FIELD(24, 8)
2103 #define NPCX_I3C_DMACTRL_DMAFB FIELD(0, 2)
2104 #define NPCX_I3C_DMACTRL_DMATB FIELD(2, 2)
2108 #define NPCX_I3C_DATACTRL_TXTRIG FIELD(4, 2)
2109 #define NPCX_I3C_DATACTRL_RXTRIG FIELD(6, 2)
2110 #define NPCX_I3C_DATACTRL_TXCOUNT FIELD(16, 6)
2111 #define NPCX_I3C_DATACTRL_RXCOUNT FIELD(24, 6)
2114 #define NPCX_I3C_WDATAB_DATA FIELD(0, 8)
2117 #define NPCX_I3C_WDATABE_DATA FIELD(0, 8)
2118 #define NPCX_I3C_WDATAH_DATA0 FIELD(0, 8)
2119 #define NPCX_I3C_WDATAH_DATA1 FIELD(8, 8)
2121 #define NPCX_I3C_WDATAHE_DATA0 FIELD(0, 8)
2122 #define NPCX_I3C_WDATAHE_DATA1 FIELD(8, 8)
2123 #define NPCX_I3C_RDATAB_DATA FIELD(0, 8)
2124 #define NPCX_I3C_RDATAH_DATA0 FIELD(0, 8)
2125 #define NPCX_I3C_RDATAH_DATA1 FIELD(8, 8)
2126 #define NPCX_I3C_CAPABILITIES2_MAPCNT FIELD(0, 4)
2133 #define NPCX_I3C_CAPABILITIES2_SMLANE FIELD(12, 2)
2136 #define NPCX_I3C_CAPABILITIES2_GROUP FIELD(18, 2)
2140 #define NPCX_I3C_CAPABILITIES_IDENA FIELD(0, 2)
2141 #define NPCX_I3C_CAPABILITIES_IDREG FIELD(2, 4)
2142 #define NPCX_I3C_CAPABILITIES_HDRSUPP FIELD(6, 3)
2144 #define NPCX_I3C_CAPABILITIES_SADDR FIELD(10, 2)
2145 #define NPCX_I3C_CAPABILITIES_CCCHANDLE FIELD(12, 4)
2146 #define NPCX_I3C_CAPABILITIES_IBI_MR_HJ FIELD(16, 5)
2148 #define NPCX_I3C_CAPABILITIES_EXTFIFO FIELD(23, 3)
2149 #define NPCX_I3C_CAPABILITIES_FIFOTX FIELD(26, 2)
2150 #define NPCX_I3C_CAPABILITIES_FIFORX FIELD(28, 2)
2154 #define NPCX_I3C_DYNADDR_DADDR FIELD(1, 7)
2155 #define NPCX_I3C_DYNADDR_CAUSE FIELD(8, 3)
2156 #define NPCX_I3C_MAXLIMITS_MAXRD FIELD(0, 12)
2157 #define NPCX_I3C_MAXLIMITS_MAXWR FIELD(16, 12)
2158 #define NPCX_I3C_IDEXT_DCR FIELD(8, 8)
2159 #define NPCX_I3C_IDEXT_BCR FIELD(16, 8)
2160 #define NPCX_I3C_VENDORID_VID FIELD(0, 15)
2161 #define NPCX_I3C_TCCLOCK_ACCURACY FIELD(0, 8)
2162 #define NPCX_I3C_TCCLOCK_FREQ FIELD(8, 8)
2163 #define NPCX_I3C_MSGLAST_MAPLAST FIELD(0, 4)
2166 #define NPCX_I3C_MSGLAST_LASTMODE FIELD(6, 2)
2167 #define NPCX_I3C_MSGLAST_MAPLASTM1 FIELD(8, 4)
2169 #define NPCX_I3C_MSGLAST_LASTMODE1 FIELD(14, 2)
2170 #define NPCX_I3C_MSGLAST_MAPLASTM2 FIELD(16, 4)
2172 #define NPCX_I3C_MSGLAST_LASTMODE2 FIELD(22, 2)
2173 #define NPCX_I3C_RSTACTTIME_PERRSTTIM FIELD(0, 8)
2174 #define NPCX_I3C_RSTACTTIME_SYSRSTTIM FIELD(8, 8)
2175 #define NPCX_I3C_HDRCMD_CMD0 FIELD(0, 8)
2179 #define NPCX_I3C_GROUPDEF_GRP0DA FIELD(1, 7)
2181 #define NPCX_I3C_GROUPDEF_GRP1DA FIELD(9, 7)
2183 #define NPCX_I3C_GROUPDEF_GRP2DA FIELD(17, 7)
2185 #define NPCX_I3C_MAPCTRL0_DA FIELD(1, 7)
2186 #define NPCX_I3C_MAPCTRL0_CAUSE FIELD(8, 3)
2188 #define NPCX_I3C_MAPCTRLn_ADDR FIELD(1, 7)
2192 #define NPCX_I3C_MAPCTRLn_SLOT_PID FIELD(14, 5)
2193 #define NPCX_I3C_IBIEXT1_CNT FIELD(0, 3)
2194 #define NPCX_I3C_IBIEXT1_EXT1 FIELD(8, 8)
2195 #define NPCX_I3C_IBIEXT1_EXT2 FIELD(16, 8)
2196 #define NPCX_I3C_IBIEXT1_EXT3 FIELD(24, 8)
2197 #define NPCX_I3C_IBIEXT2_EXT4 FIELD(0, 8)
2198 #define NPCX_I3C_IBIEXT2_EXT5 FIELD(8, 8)
2199 #define NPCX_I3C_IBIEXT2_EXT6 FIELD(16, 8)
2200 #define NPCX_I3C_IBIEXT2_EXT7 FIELD(24, 8)
2247 #define NPCX_MDMA_TCNT_TFR_CNT FIELD(0, 13)
2250 #define NPCX_MDMA_CTCNT_CURRENT_TFR_CNT FIELD(0, 13)