/hal_intel-3.7.0/bsp_sedi/soc/intel_ish/include/ |
D | sedi_driver_core.h | 59 static inline void write_ioapic_reg(const uint32_t reg, const uint32_t val) in write_ioapic_reg() argument 62 write32(SEDI_IOAPIC_WDW, val); in write_ioapic_reg() 71 static inline void update_ioapic_redtbl_raw_lo(const unsigned int irq, const unsigned int val) in update_ioapic_redtbl_raw_lo() argument 76 write_ioapic_reg(redtbl_lo, val); in update_ioapic_redtbl_raw_lo() 82 unsigned int val = read_ioapic_reg(redtbl_lo); in sedi_core_irq_enable() local 84 val &= ~SEDI_IOAPIC_REDTBL_MASK; in sedi_core_irq_enable() 85 update_ioapic_redtbl_raw_lo(irq, val); in sedi_core_irq_enable() 91 unsigned int val = read_ioapic_reg(redtbl_lo); in sedi_core_irq_disable() local 93 val |= SEDI_IOAPIC_REDTBL_MASK; in sedi_core_irq_disable() 94 update_ioapic_redtbl_raw_lo(irq, val); in sedi_core_irq_disable()
|
/hal_intel-3.7.0/bsp_sedi/include/driver/ |
D | sedi_driver_common.h | 371 static inline void write8(uint32_t addr, IN uint8_t val) in write8() argument 373 *(volatile uint8_t *)addr = (uint8_t)val; in write8() 376 static inline void write16(uint32_t addr, IN uint16_t val) in write16() argument 378 *(volatile uint16_t *)addr = (uint16_t)val; in write16() 381 static inline void write32(uint32_t addr, IN uint32_t val) in write32() argument 383 *(volatile uint32_t *)addr = val; in write32() 387 static inline void write64(uint32_t addr, IN uint64_t val) in write64() argument 389 *(volatile uint64_t *)addr = val; in write64()
|
D | sedi_driver_gpio.h | 307 IN uint32_t val); 317 IN uint32_t val);
|
D | sedi_driver_hpet.h | 146 void sedi_hpet_set_int_status(IN uint32_t val);
|
/hal_intel-3.7.0/bsp_sedi/soc/intel_ish/pm/aon/ |
D | aon_task.c | 575 uint32_t val, sum_mask, mask; in sram_enter_sleep_mode() local 578 val = read32(PMU_SRAM_DEEPSLEEP); in sram_enter_sleep_mode() 580 if (!(val & mask)) { in sram_enter_sleep_mode() 581 write32(PMU_SRAM_DEEPSLEEP, val | sum_mask); in sram_enter_sleep_mode() 592 uint32_t val, sum_mask, mask; in sram_exit_sleep_mode() local 595 val = read32(PMU_SRAM_DEEPSLEEP); in sram_exit_sleep_mode() 597 if ((val & mask)) { in sram_exit_sleep_mode() 598 write32(PMU_SRAM_DEEPSLEEP, val & ~sum_mask); in sram_exit_sleep_mode()
|
/hal_intel-3.7.0/bsp_sedi/drivers/spi/ |
D | sedi_spi_dw_apb.c | 140 static void msb_lsb_convert_8bits(uint8_t *val, uint32_t len) in msb_lsb_convert_8bits() argument 146 idx = val[i]; in msb_lsb_convert_8bits() 147 val[i] = bit_reverse_table[idx]; in msb_lsb_convert_8bits() 151 static void msb_lsb_convert_16bits(uint16_t *val, uint32_t len) in msb_lsb_convert_16bits() argument 157 idx = val[i]; in msb_lsb_convert_16bits() 158 val[i] = (bit_reverse_table[idx & 0xFF] << 8U) | in msb_lsb_convert_16bits() 165 uint32_t val = enable ? SEDI_RBFV(SPI, SSIENR, SSI_EN, ENABLED) : in lld_spi_enable() local 168 if (SEDI_PREG_RBFV_GET(SPI, SSIENR, SSI_EN, &spi->ssienr) == val) { in lld_spi_enable() 174 SEDI_PREG_RBF_SET(SPI, SSIENR, SSI_EN, val, &spi->ssienr); in lld_spi_enable() 176 SEDI_SPI_POLL_WAIT(SEDI_PREG_RBFV_GET(SPI, SSIENR, SSI_EN, &spi->ssienr) != val); in lld_spi_enable() [all …]
|
/hal_intel-3.7.0/bsp_sedi/drivers/gpio/ |
D | sedi_gpio.c | 394 void sedi_gpio_clear_gisr(IN sedi_gpio_t gpio_device, IN sedi_gpio_port_t port, IN uint32_t val) in sedi_gpio_clear_gisr() argument 400 reg->gisr[port] = val; in sedi_gpio_clear_gisr() 403 void sedi_gpio_clear_gwsr(IN sedi_gpio_t gpio_device, IN sedi_gpio_port_t port, IN uint32_t val) in sedi_gpio_clear_gwsr() argument 409 reg->gwsr[port] = val; in sedi_gpio_clear_gwsr()
|
/hal_intel-3.7.0/bsp_sedi/drivers/hpet/ |
D | sedi_hpet.c | 261 void sedi_hpet_set_int_status(IN uint32_t val) in sedi_hpet_set_int_status() argument 263 SEDI_REG_SET(HPET, GIS_LOW, val); in sedi_hpet_set_int_status()
|
/hal_intel-3.7.0/bsp_sedi/drivers/i2c/ |
D | sedi_i2c_dw_apb_200a.c | 1159 uint32_t val; in i2c_isr_complete() local 1183 val = regs->clr_intr; in i2c_isr_complete() 1189 PARAM_UNUSED(val); in i2c_isr_complete() 1196 uint32_t stat, val; in sedi_i2c_isr_handler() local 1226 val = regs->clr_stop_det; in sedi_i2c_isr_handler() 1247 PARAM_UNUSED(val); in sedi_i2c_isr_handler()
|