/trusted-firmware-a/include/drivers/st/ |
A D | stm32_uart_regs.h | 43 #define USART_CR1_DEDT GENMASK(20, 16) 49 #define USART_CR1_DEAT GENMASK(25, 21) 72 #define USART_CR2_STOP GENMASK(13, 12) 82 #define USART_CR2_ABRMODE GENMASK(22, 21) 86 #define USART_CR2_ADD GENMASK(31, 24) 109 #define USART_CR3_WUS GENMASK(21, 20) 130 #define USART_GTPR_PSC GENMASK(7, 0) 131 #define USART_GTPR_GT GENMASK(15, 8) 134 #define USART_RTOR_RTO GENMASK(23, 0) 191 #define USART_RDR_RDR GENMASK(8, 0) [all …]
|
A D | stm32mp1_rcc.h | 263 #define RCC_HSICFGR_HSIDIV_MASK GENMASK(1, 0) 282 #define RCC_MPCKSELR_MPUSRC_MASK GENMASK(1, 0) 492 #define RCC_BDCR_LSEDRV_MASK GENMASK(5, 4) 496 #define RCC_BDCR_RTCSRC_MASK GENMASK(17, 16) 504 #define RCC_RDLSICR_MRD_MASK GENMASK(20, 16) 2264 #define RCC_DIVR_DIV_MASK GENMASK(5, 0) 2268 #define RCC_APBXDIV_MASK GENMASK(2, 0) 2269 #define RCC_MPUDIV_MASK GENMASK(2, 0) 2270 #define RCC_AXIDIV_MASK GENMASK(2, 0) 2271 #define RCC_MCUDIV_MASK GENMASK(3, 0) [all …]
|
A D | stm32_i2c.h | 23 #define I2C_CR1_DNF GENMASK(11, 8) 38 #define I2C_CR2_SADD GENMASK(9, 0) 46 #define I2C_CR2_NBYTES GENMASK(23, 16) 53 #define I2C_OAR1_OA1 GENMASK(9, 0) 58 #define I2C_OAR2_OA2 GENMASK(7, 1) 59 #define I2C_OAR2_OA2MSK GENMASK(10, 8) 63 #define I2C_OAR2_OA2MASK03 GENMASK(9, 8) 67 #define I2C_OAR2_OA2MASK07 GENMASK(10, 8) 71 #define I2C_TIMINGR_SCLL GENMASK(7, 0) 72 #define I2C_TIMINGR_SCLH GENMASK(15, 8) [all …]
|
A D | stm32mp1_ddr_regs.h | 358 #define DDRPHYC_PIR_INITSTEPS_MASK GENMASK(31, 7) 362 #define DDRPHYC_PGCR_RFSHDT_MASK GENMASK(28, 25) 377 #define DDRPHYC_PTR0_TDLLSRST_MASK GENMASK(5, 0) 379 #define DDRPHYC_PTR0_TDLLLOCK_MASK GENMASK(17, 6) 381 #define DDRPHYC_PTR0_TITMSRST_MASK GENMASK(21, 18) 385 #define DDRPHYC_ACIOCR_CKPDD_MASK GENMASK(10, 8) 387 #define DDRPHYC_ACIOCR_CKPDR_MASK GENMASK(13, 11) 389 #define DDRPHYC_ACIOCR_CSPDD_MASK GENMASK(21, 18) 397 #define DDRPHYC_DSGCR_CKEPDD_MASK GENMASK(19, 16) 399 #define DDRPHYC_DSGCR_ODTPDD_MASK GENMASK(23, 20) [all …]
|
A D | bsec.h | 18 #define BSEC_OTP_MASK GENMASK(4, 0) 24 #define DATA_LOWER_OTP_PERLOCK_MASK GENMASK(2, 0) 27 #define DATA_UPPER_OTP_PERLOCK_MASK GENMASK(3, 0) 83 #define BSEC_CONF_FRQ_MASK GENMASK(2, 1) 85 #define BSEC_CONF_PRG_WIDTH_MASK GENMASK(6, 3) 87 #define BSEC_CONF_TREAD_MASK GENMASK(8, 7) 110 #define BSEC_MODE_STATUS_MASK GENMASK(2, 0) 128 #define BSEC_DEN_ALL_MSK GENMASK(10, 0) 131 #define BSEC_FEN_ALL_MSK GENMASK(14, 0)
|
A D | stpmic1.h | 89 #define LDO_VOLTAGE_MASK GENMASK(6, 2) 90 #define BUCK_VOLTAGE_MASK GENMASK(7, 2) 97 #define LDO_BUCK_PULL_DOWN_MASK GENMASK(1, 0) 138 #define VINLOW_HYST_MASK GENMASK(1, 0) 140 #define VINLOW_THRESHOLD_MASK GENMASK(2, 0) 143 #define VINLOW_CTRL_REG_MASK GENMASK(7, 0)
|
/trusted-firmware-a/plat/st/stm32mp1/ |
A D | stm32mp1_syscfg.c | 30 #define SYSCFG_BOOTR_BOOT_MASK GENMASK(2, 0) 31 #define SYSCFG_BOOTR_BOOTPD_MASK GENMASK(6, 4) 52 #define SYSCFG_CMPCR_RANSRC GENMASK(19, 16) 54 #define SYSCFG_CMPCR_RAPSRC GENMASK(23, 20)
|
A D | stm32mp1_dbgmcu.c | 22 #define DBGMCU_IDC_DEV_ID_MASK GENMASK(11, 0) 23 #define DBGMCU_IDC_REV_ID_MASK GENMASK(31, 16)
|
A D | stm32mp1_private.c | 17 #define BOARD_ID_BOARD_NB_MASK GENMASK(31, 16) 19 #define BOARD_ID_VARCPN_MASK GENMASK(15, 12) 21 #define BOARD_ID_REVISION_MASK GENMASK(11, 8) 23 #define BOARD_ID_VARFG_MASK GENMASK(7, 4) 25 #define BOARD_ID_BOM_MASK GENMASK(3, 0)
|
/trusted-firmware-a/drivers/st/usb/ |
A D | stm32mp1_usb.c | 67 #define OTG_DAINT_OUT_MASK GENMASK(31, 16) 69 #define OTG_DAINT_IN_MASK GENMASK(15, 0) 86 #define OTG_GUSBCFG_TRDT GENMASK(13, 10) 114 #define OTG_GRXSTSP_EPNUM GENMASK(3, 0) 115 #define OTG_GRXSTSP_BCNT GENMASK(14, 4) 117 #define OTG_GRXSTSP_PKTSTS GENMASK(20, 17) 127 #define OTG_GLPMCFG_BESL GENMASK(5, 2) 130 #define OTG_DCFG_DAD GENMASK(10, 4) 160 #define OTG_DIEPCTL_MPSIZ GENMASK(10, 0) 180 #define OTG_DIEPTSIZ_XFRSIZ GENMASK(18, 0) [all …]
|
/trusted-firmware-a/include/drivers/ |
A D | mmc.h | 36 #define OCR_VDD_MIN_2V7 GENMASK(23, 15) 37 #define OCR_VDD_MIN_2V0 GENMASK(14, 8) 66 #define EXT_CSD_PART_CONFIG_ACC_MASK GENMASK(2, 0) 69 #define PART_CFG_BOOT_PART_EN_MASK GENMASK(5, 3) 92 #define CSD_TRAN_SPEED_UNIT_MASK GENMASK(2, 0) 93 #define CSD_TRAN_SPEED_MULT_MASK GENMASK(6, 3)
|
A D | usb_device.h | 92 #define USBD_OUT_EPNUM_MASK GENMASK(15, 0) 93 #define USBD_OUT_COUNT_MASK GENMASK(31, 16)
|
/trusted-firmware-a/drivers/st/etzpc/ |
A D | etzpc.c | 25 #define ETZPC_MODE_MASK GENMASK(1, 0) 27 #define ETZPC_ID_MASK GENMASK(7, 0) 38 #define ETZPC_DECPROT0_MASK GENMASK(1, 0) 74 #define PERIPH_ATTR_MASK GENMASK(2, 0)
|
/trusted-firmware-a/drivers/st/reset/ |
A D | stm32mp1_reset.c | 21 return ((reset_id & GENMASK(31, 5)) >> 5) * sizeof(uint32_t); in id2reg_offset() 26 return (uint8_t)(reset_id & GENMASK(4, 0)); in id2reg_bit_pos()
|
/trusted-firmware-a/drivers/allwinner/ |
A D | sunxi_msgbox.c | 26 #define FIFO_STAT_MASK GENMASK(0, 0) 29 #define MSG_STAT_MASK GENMASK(2, 0)
|
/trusted-firmware-a/drivers/scmi-msg/ |
A D | clock.h | 28 #define SCMI_CLOCK_CLOCK_COUNT_MASK GENMASK(15, 0) 29 #define SCMI_CLOCK_MAX_PENDING_TRANSITIONS_MASK GENMASK(23, 16)
|
/trusted-firmware-a/plat/mediatek/mt8192/drivers/mcdi/ |
A D | mt_cpu_pm_cpc.c | 76 uint32_t cnt_mask = GENMASK(14, 0); in mtk_cpc_cluster_cnt_backup() 77 uint32_t clr_mask = GENMASK(1, 0); in mtk_cpc_cluster_cnt_backup() 191 val = GENMASK(1, 0); /* clr_mask */ in mtk_cpc_config()
|
/trusted-firmware-a/plat/mediatek/mt8195/drivers/mcdi/ |
A D | mt_cpu_pm_cpc.c | 76 uint32_t cnt_mask = GENMASK(14, 0); in mtk_cpc_cluster_cnt_backup() 77 uint32_t clr_mask = GENMASK(1, 0); in mtk_cpc_cluster_cnt_backup() 191 val = GENMASK(1, 0); /* clr_mask */ in mtk_cpc_config()
|
/trusted-firmware-a/drivers/st/gpio/ |
A D | stm32_gpio.c | 23 #define DT_GPIO_BANK_MASK GENMASK(16, 12) 25 #define DT_GPIO_PIN_MASK GENMASK(11, 8) 26 #define DT_GPIO_MODE_MASK GENMASK(7, 0)
|
/trusted-firmware-a/include/lib/ |
A D | utils_def.h | 51 #define GENMASK GENMASK_64 macro 53 #define GENMASK GENMASK_32 macro
|
/trusted-firmware-a/plat/mediatek/mt8192/drivers/spmc/ |
A D | mtspmc_private.h | 137 #define CORE_SPMC_PWR_ON_ACK GENMASK(15, 0) 164 #define ILDO_RET_VOSEL GENMASK(7, 0)
|
/trusted-firmware-a/plat/mediatek/mt8195/drivers/spmc/ |
A D | mtspmc_private.h | 136 #define CORE_SPMC_PWR_ON_ACK GENMASK(11, 0) 163 #define ILDO_RET_VOSEL GENMASK(7, 0)
|
/trusted-firmware-a/drivers/st/mmc/ |
A D | stm32_sdmmc2.c | 52 #define SDMMC_POWER_PWRCTRL GENMASK(1, 0) 65 #define SDMMC_CMDR_WAITRESP GENMASK(9, 8) 73 #define SDMMC_DCTRLR_DTMODE GENMASK(3, 2) 74 #define SDMMC_DCTRLR_DBLOCKSIZE GENMASK(7, 4) 544 assert((buf & GENMASK(1, 0)) == 0U); in stm32_sdmmc2_read()
|
/trusted-firmware-a/plat/st/common/ |
A D | stm32mp_common.c | 20 #define HEADER_VERSION_MAJOR_MASK GENMASK(23, 16)
|
/trusted-firmware-a/plat/socionext/uniphier/ |
A D | uniphier_psci.c | 20 #define UNIPHIER_SLFRSTSEL_MASK GENMASK(1, 0)
|