Searched defs:v (Results 1 – 6 of 6) sorted by relevance
/hal_microchip-latest/mec/common/ |
D | mec_defs.h | 41 #define SHLU32(v, n) ((unsigned long)(v) << (n)) argument 45 #define BIT_CLR(v, bpos) (v) &= ~BIT(bpos) argument
|
D | regaccess.h | 36 #define MMCR_RD32(a, v) v = *((volatile uint32_t *)(uintptr_t)(a)) argument 37 #define MMCR_RD16(a, v) v = *((volatile uint16_t *)(uintptr_t)(a)) argument 38 #define MMCR_RD8(a, v) v = *((volatile uint8_t *)(uintptr_t)(a)) argument
|
/hal_microchip-latest/mec5/drivers/ |
D | mec_gpio.c | 82 #define GPIO_VCI_FUNC_GET(v) ((v) & 0x7u) argument 84 #define GPIO_VCI_PIN_GET(v) (((v) >> 4) & 0x7u) argument 1161 const struct mec_gpio_vci_pin *v = find_gpio_vci_info(pin); in mec_hal_gpio_vci_disable() local 1174 const struct mec_gpio_vci_pin *v = find_gpio_vci_info(pin); in mec_hal_gpio_vci_get_func() local
|
D | mec_defs.h | 70 #define MEC_LSHFT(v, s) (((uint32_t)(v)) << ((s) & 0x1Fu)) argument
|
D | mec_dmac.c | 515 uint32_t ctrl = 0, v = 0; in mec_hal_dma_chan_mem_units_set() local
|
/hal_microchip-latest/mec/mec1501/component/ |
D | espi_vw.h | 70 #define ESPI_M2SW1_SRC_SEL_VAL(n, v) (((uint32_t)(v) & 0x0fu) << (ESPI_M2SW1_SRC_SEL_POS(n))) argument 85 #define ESPI_M2SW2_SRC_VAL(n, v) (((uint32_t)(v) & 0x0fu) << (ESPI_M2SW2_SRC_POS(n))) argument 136 #define ESPI_S2MW1_CHG(v, n) (((uint32_t)(v) >> ESPI_S2MW1_CHG_POS(n)) & 0x01) argument 150 #define ESPI_S2MW1_SRC(v, n) (((uint32_t)(v) & 0x01) << (ESPI_S2MW1_SRC_POS(n))) argument
|