Searched refs:litex_read8 (Results 1 – 9 of 9) sorted by relevance
57 while (litex_read8(config->txfull_addr)) { in uart_litex_poll_out()75 if (!litex_read8(config->rxempty_addr)) { in uart_litex_poll_in()76 *c = litex_read8(config->rxtx_addr); in uart_litex_poll_in()99 uint8_t enable = litex_read8(config->ev_enable_addr); in uart_litex_irq_tx_enable()103 if (!litex_read8(config->txfull_addr)) { in uart_litex_irq_tx_enable()122 uint8_t enable = litex_read8(config->ev_enable_addr); in uart_litex_irq_tx_disable()136 uint8_t enable = litex_read8(config->ev_enable_addr); in uart_litex_irq_rx_enable()150 uint8_t enable = litex_read8(config->ev_enable_addr); in uart_litex_irq_rx_disable()166 uint8_t val = litex_read8(config->txfull_addr); in uart_litex_irq_tx_ready()183 pending = litex_read8(config->ev_pending_addr); in uart_litex_irq_rx_ready()[all …]
47 litex_write8(litex_read8(addr) | mask, addr); in set_bit()49 litex_write8(litex_read8(addr) & ~mask, addr); in set_bit()57 return !!(litex_read8(addr) & mask); in get_bit()98 litex_write8(litex_read8(config->write_addr) | HIGH_STATE_ON_I2C_LINES, config->write_addr); in i2c_litex_init()
22 buffer[i] = litex_read8(addr); in z_impl_hwinfo_get_device_id()
90 while (litex_read8(config->tx_ready_addr) == 0) { in eth_tx()133 rxslot = litex_read8(config->rx_slot_addr); in eth_rx()165 if (litex_read8(config->tx_ev_pending_addr) & BIT(0)) { in eth_irq_handler()173 if (litex_read8(config->rx_ev_pending_addr) & BIT(0)) { in eth_irq_handler()
16 static inline unsigned char litex_read8(unsigned long addr) in litex_read8() function137 return litex_read8(addr); in litex_read()
32 uint8_t reg_data = litex_read8(reg + I2S_CONTROL_OFFSET); in i2s_enable()44 uint8_t reg_data = litex_read8(reg + I2S_CONTROL_OFFSET); in i2s_disable()56 uint8_t reg_data = litex_read8(reg + I2S_CONTROL_OFFSET); in i2s_reset_fifo()122 uint8_t reg_data = litex_read8(reg + I2S_EV_ENABLE_OFFSET); in i2s_irq_enable()137 uint8_t reg_data = litex_read8(reg + I2S_EV_ENABLE_OFFSET); in i2s_irq_disable()149 uint8_t reg_data = litex_read8(reg + I2S_EV_PENDING_OFFSET); in i2s_clear_pending_irq()328 int channels_concatenated = litex_read8(cfg->base + I2S_STATUS_OFFSET); in i2s_litex_configure()
104 if (!litex_read8(dev_config->loopback_addr) != !(config->operation & SPI_MODE_LOOP)) { in spi_config()131 while (!(litex_read8(dev_config->status_addr) & BIT(0))) { in spi_litex_send()219 if (!(litex_read8(dev_config->status_addr) & BIT(0))) { in spi_litex_release()
169 while (!(litex_read8(dev_config->core_master_status_addr) & in spi_litex_xfer()179 while (!(litex_read8(dev_config->core_master_status_addr) & in spi_litex_xfer()
94 litex_write8(litex_read8(TIMER_EV_PENDING_ADDR), TIMER_EV_PENDING_ADDR); in sys_clock_driver_init()