Home
last modified time | relevance | path

Searched refs:sys_read8 (Results 1 – 25 of 36) sorted by relevance

12

/Zephyr-Core-3.6.0/soc/riscv/litex_vexriscv/
Dsoc.h19 return sys_read8(addr); in litex_read8()
28 return (sys_read8(addr) << 8) in litex_read16()
29 | sys_read8(addr + 0x4); in litex_read16()
40 return (sys_read8(addr) << 24) in litex_read32()
41 | (sys_read8(addr + 0x4) << 16) in litex_read32()
42 | (sys_read8(addr + 0x8) << 8) in litex_read32()
43 | sys_read8(addr + 0xc); in litex_read32()
54 return (((uint64_t)sys_read8(addr)) << 56) in litex_read64()
55 | ((uint64_t)sys_read8(addr + 0x4) << 48) in litex_read64()
56 | ((uint64_t)sys_read8(addr + 0x8) << 40) in litex_read64()
[all …]
/Zephyr-Core-3.6.0/drivers/hwspinlock/
Dsqn_hwspinlock.c59 if (sys_read8(get_lock_addr(dev, id)) == cpuid) in sqn_hwspinlock_trylock()
63 if (sys_read8(get_lock_addr(dev, id)) == cpuid) in sqn_hwspinlock_trylock()
86 if (sys_read8(get_lock_addr(dev, id)) == 0) { in sqn_hwspinlock_lock()
90 while (sys_read8(get_lock_addr(dev, id)) != cpuid) { in sqn_hwspinlock_lock()
/Zephyr-Core-3.6.0/drivers/i2c/
Di2c_mchp_mss.c134 uint8_t ctrl = sys_read8(cfg->i2c_base_addr + CORE_I2C_CTRL); in mss_i2c_configure()
168 uint8_t ctrl = sys_read8(cfg->i2c_base_addr + CORE_I2C_CTRL); in mss_i2c_read()
187 uint8_t ctrl = sys_read8(cfg->i2c_base_addr + CORE_I2C_CTRL); in mss_i2c_write()
243 uint8_t ctrl = sys_read8(cfg->i2c_base_addr + CORE_I2C_CTRL); in mss_i2c_reset()
247 ctrl = sys_read8(cfg->i2c_base_addr + CORE_I2C_CTRL); in mss_i2c_reset()
258 uint8_t ctrl = sys_read8(cfg->i2c_base_addr + CORE_I2C_CTRL); in mss_i2c_irq_handler()
260 uint8_t status = sys_read8(cfg->i2c_base_addr + CORE_I2C_STATUS); in mss_i2c_irq_handler()
326 sys_read8(cfg->i2c_base_addr + CORE_I2C_DATA); in mss_i2c_irq_handler()
340 sys_read8(cfg->i2c_base_addr + CORE_I2C_DATA); in mss_i2c_irq_handler()
356 ctrl = sys_read8(cfg->i2c_base_addr + CORE_I2C_CTRL); in mss_i2c_irq_handler()
Di2c_sifive.c23 #define IS_SET(config, reg, value) (sys_read8(I2C_REG(config, reg)) & (value))
193 (msg->buf)[i] = sys_read8(I2C_REG(config, REG_RECEIVE)); in i2c_sifive_read_msg()
/Zephyr-Core-3.6.0/drivers/pcie/endpoint/
Dpcie_ep_common.c113 sys_read8(mapped_addr); in pcie_ep_xfer_data_memcpy()
158 sys_read8(mapped_addr); in pcie_ep_xfer_data_memcpy()
198 sys_read8(mapped_addr); in pcie_ep_xfer_data_dma()
257 sys_read8(mapped_addr); in pcie_ep_xfer_data_dma()
/Zephyr-Core-3.6.0/drivers/spi/
Dspi_oc_simple.c135 while (sys_read8(SPI_OC_SIMPLE_SPSR(info)) & 0x1) { in spi_oc_simple_transceive()
139 rx_byte = sys_read8(SPI_OC_SIMPLE_SPDR(info)); in spi_oc_simple_transceive()
210 while (sys_read8(SPI_OC_SIMPLE_SPSR(info)) & 0x1) { in spi_oc_simple_init()
213 sys_read8(SPI_OC_SIMPLE_SPDR(info)); in spi_oc_simple_init()
/Zephyr-Core-3.6.0/drivers/pinctrl/
Dpinctrl_rzt2m.c36 uint8_t rselp = sys_read8(RSELP(pin->port)); in pinctrl_configure_pin()
38 uint8_t pmc = sys_read8(PMC(pin->port)); in pinctrl_configure_pin()
Dpinctrl_renesas_ra.c33 return sys_read8(DT_INST_REG_ADDR_BY_NAME(0, pmisc_pwpr)); in pinctrl_ra_read_PMISC_PWPR()
/Zephyr-Core-3.6.0/include/zephyr/arch/nios2/
Dasm_inline_gcc.h39 static ALWAYS_INLINE uint8_t sys_read8(mm_reg_t addr) in sys_read8() function
/Zephyr-Core-3.6.0/drivers/can/
Dcan_rcar.c234 err_cnt->tx_err_cnt = sys_read8(config->reg_addr + RCAR_CAN_TECR); in can_rcar_get_error_count()
235 err_cnt->rx_err_cnt = sys_read8(config->reg_addr + RCAR_CAN_RECR); in can_rcar_get_error_count()
266 eifr = sys_read8(config->reg_addr + RCAR_CAN_EIFR); in can_rcar_error()
270 ecsr = sys_read8(config->reg_addr + RCAR_CAN_ECSR); in can_rcar_error()
417 frame.data[i] = sys_read8(config->reg_addr + in can_rcar_rx_isr()
423 frame.timestamp = sys_read8(config->reg_addr + in can_rcar_rx_isr()
426 frame.timestamp |= sys_read8(config->reg_addr + in can_rcar_rx_isr()
441 isr = sys_read8(config->reg_addr + RCAR_CAN_ISR); in can_rcar_isr()
451 unsent = sys_read8(config->reg_addr + RCAR_CAN_TFCR); in can_rcar_isr()
461 isr = sys_read8(config->reg_addr + RCAR_CAN_ISR); in can_rcar_isr()
[all …]
/Zephyr-Core-3.6.0/include/zephyr/arch/common/
Dsys_io.h23 static ALWAYS_INLINE uint8_t sys_read8(mem_addr_t addr) in sys_read8() function
/Zephyr-Core-3.6.0/include/zephyr/arch/arc/
Dsys-io-common.h23 static ALWAYS_INLINE uint8_t sys_read8(mem_addr_t addr) in sys_read8() function
/Zephyr-Core-3.6.0/drivers/crypto/
Dcrypto_it8xxx2_sha.c123 hash_ctrl = sys_read8(IT8XXX2_SHA_REGS_BASE + IT8XXX2_REG_HASHCTRLR); in it8xxx2_sha256_module_calculation()
126 hash_ctrl = sys_read8(IT8XXX2_SHA_REGS_BASE + IT8XXX2_REG_HASHCTRLR); in it8xxx2_sha256_module_calculation()
/Zephyr-Core-3.6.0/include/zephyr/arch/arm/cortex_a_r/
Dsys_io.h27 static ALWAYS_INLINE uint8_t sys_read8(mem_addr_t addr) in sys_read8() function
/Zephyr-Core-3.6.0/include/zephyr/arch/arm64/
Dsys_io.h37 static ALWAYS_INLINE uint8_t sys_read8(mem_addr_t addr) in sys_read8() function
/Zephyr-Core-3.6.0/drivers/serial/
Duart_efinix_sapphire.c53 *c = (unsigned char)sys_read8(UART0_DATA_REG_ADDR); in uart_efinix_sapphire_poll_in()
/Zephyr-Core-3.6.0/include/zephyr/arch/riscv/
Dsys_io.h37 static ALWAYS_INLINE uint8_t sys_read8(mem_addr_t addr) in sys_read8() function
/Zephyr-Core-3.6.0/arch/x86/core/
Dearly_serial.c40 #define IN(reg) sys_read8(BASE + reg)
/Zephyr-Core-3.6.0/drivers/syscon/
Dsyscon.c65 *val = sys_read8(base_address + reg); in syscon_generic_read_reg()
/Zephyr-Core-3.6.0/drivers/interrupt_controller/
Dintc_renesas_ra_icu.c77 uint8_t reg = sys_read8(IRQCRi_REG(irqn)) & ~(IRQCRi_IRQMD_MASK); in ra_icu_irq_configure()
/Zephyr-Core-3.6.0/subsys/shell/modules/
Ddevmem_service.c65 value = sys_read8(addr + data_offset); in memory_dump()
260 value = sys_read8(addr); in memory_read()
/Zephyr-Core-3.6.0/drivers/reset/
Dreset_rpi_pico.c29 *value = sys_read8(base_address + offset); in reset_rpi_read_register()
/Zephyr-Core-3.6.0/include/zephyr/arch/x86/
Darch.h103 static ALWAYS_INLINE uint8_t sys_read8(mm_reg_t addr) in sys_read8() function
/Zephyr-Core-3.6.0/samples/subsys/ipc/openamp/remote/src/
Dmain.c67 return sys_read8(VDEV_STATUS_ADDR); in ipc_virtio_get_status()
/Zephyr-Core-3.6.0/subsys/ipc/ipc_service/lib/
Dipc_static_vrings.c61 ret = sys_read8(vr->status_reg_addr); in ipc_virtio_get_status()

12