Home
last modified time | relevance | path

Searched refs:v (Results 1 – 9 of 9) sorted by relevance

/hal_microchip-latest/mec/common/
Dmec_defs.h41 #define SHLU32(v, n) ((unsigned long)(v) << (n)) argument
45 #define BIT_CLR(v, bpos) (v) &= ~BIT(bpos) argument
Dregaccess.h36 #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/mec/mec1501/component/
Despi_vw.h70 #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
/hal_microchip-latest/mec5/drivers/
Dmec_gpio.c82 #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
1163 if (!v) { in mec_hal_gpio_vci_disable()
1167 mec_hal_vci_pin_disable(GPIO_VCI_PIN_GET(v->vci_info)); in mec_hal_gpio_vci_disable()
1174 const struct mec_gpio_vci_pin *v = find_gpio_vci_info(pin); in mec_hal_gpio_vci_get_func() local
1176 if (!v || !func) { in mec_hal_gpio_vci_get_func()
1180 *func = (uint8_t)(GPIO_VCI_FUNC_GET(v->vci_info)); in mec_hal_gpio_vci_get_func()
Dmec_defs.h70 #define MEC_LSHFT(v, s) (((uint32_t)(v)) << ((s) & 0x1Fu)) argument
Dmec_dmac.c515 uint32_t ctrl = 0, v = 0; in mec_hal_dma_chan_mem_units_set() local
523 v = 1u; in mec_hal_dma_chan_mem_units_set()
525 v = unitsz; in mec_hal_dma_chan_mem_units_set()
528 v <<= MEC_DMA_CHAN_CTRL_UNITSZ_Pos; in mec_hal_dma_chan_mem_units_set()
530 ctrl |= v; in mec_hal_dma_chan_mem_units_set()
/hal_microchip-latest/scripts/
Dpic32cxsgpinctrl.py261 for variant in [v for v in variants if serie in v["series"]]:
Dpic32pinctrl.py257 for variant in [v for v in variants if serie in v["series"]]:
/hal_microchip-latest/mpfs/soc_config_generator/
Dmpfs_configuration_generator.py455 max_gap = max([len(v) for k,v in tags_dic.items()]) + 8
471 for k,v in const.items():
474 … theFile.write('#define '+ k.ljust(4,' ') + " "*(gap + fixed_gap) + "\"" + v + "\"" + "\n")
476 theFile.write('#define '+ k + " "*(gap + fixed_gap) + v + "\n")