Home
last modified time | relevance | path

Searched refs:reg (Results 1 – 3 of 3) sorted by relevance

/hal_intel-3.7.0/bsp_sedi/drivers/gpio/
Dsedi_gpio.c24 #define GPIO_SET_BIT(base, reg, index, bit) ((base->reg[index]) |= SET_MASK(bit)) argument
25 #define GPIO_CLEAR_BIT(base, reg, index, bit) ((base->reg[index]) &= CLEAR_MASK(bit)) argument
39 sedi_gpio_regs_t *reg; member
61 { .reg = (sedi_gpio_regs_t *)SEDI_IREG_BASE(GPIO, 0) },
94 sedi_gpio_regs_t *reg = resources_map[gpio_device].reg; in gpio_reset_register() local
98 reg->gpdr[i] = 0; in gpio_reset_register()
99 reg->grer[i] = 0; in gpio_reset_register()
100 reg->gfer[i] = 0; in gpio_reset_register()
101 reg->gfbr[i] = 0; in gpio_reset_register()
102 reg->gimr[i] = 0; in gpio_reset_register()
[all …]
/hal_intel-3.7.0/bsp_sedi/soc/intel_ish/include/
Dsedi_driver_core.h59 static inline void write_ioapic_reg(const uint32_t reg, const uint32_t val) in write_ioapic_reg() argument
61 write32(SEDI_IOAPIC_IDX, (unsigned char)reg); in write_ioapic_reg()
65 static inline unsigned int read_ioapic_reg(const uint32_t reg) in read_ioapic_reg() argument
67 write32(SEDI_IOAPIC_IDX, (unsigned char)reg); in read_ioapic_reg()
/hal_intel-3.7.0/bsp_sedi/drivers/spi/
Dsedi_spi_dw_apb.c613 sedi_spi_regs_t *reg = context->base; in sedi_spi_get_status() local
618 status->isr = reg->isr; in sedi_spi_get_status()
619 status->sr = reg->sr; in sedi_spi_get_status()
620 status->txflr = reg->txflr; in sedi_spi_get_status()
621 status->rxflr = reg->rxflr; in sedi_spi_get_status()