Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/drivers/pinctrl/
Dpinctrl_ite_it8xxx2.c50 uint8_t *reg_ctrl; member
235 volatile uint8_t *reg_ctrl = ksi_kso->reg_ctrl; in pinctrl_kscan_it8xxx2_set() local
249 *reg_ctrl &= ~pullup_mask; in pinctrl_kscan_it8xxx2_set()
252 *reg_ctrl |= pullup_mask; in pinctrl_kscan_it8xxx2_set()
269 *reg_ctrl &= ~pp_od_mask; in pinctrl_kscan_it8xxx2_set()
272 *reg_ctrl |= pp_od_mask; in pinctrl_kscan_it8xxx2_set()
396 .reg_ctrl = (uint8_t *)DT_INST_REG_ADDR_BY_IDX(inst, 1), \
/Zephyr-Core-3.7.0/drivers/ethernet/
Deth_xlnx_gem.c358 uint32_t reg_ctrl; in eth_xlnx_gem_send() local
419 reg_ctrl = (uint32_t)(&dev_data->txbd_ring.first_bd[curr_bd_idx].ctrl); in eth_xlnx_gem_send()
448 reg_val = sys_read32(reg_ctrl) & (ETH_XLNX_GEM_TXBD_WRAP_BIT | in eth_xlnx_gem_send()
452 sys_write32(reg_val, reg_ctrl); in eth_xlnx_gem_send()
457 reg_ctrl = (uint32_t)(&dev_data->txbd_ring.first_bd[curr_bd_idx].ctrl); in eth_xlnx_gem_send()
475 sys_write32(reg_val, reg_ctrl); in eth_xlnx_gem_send()
480 reg_ctrl = (uint32_t)(&dev_data->txbd_ring.first_bd[curr_bd_idx].ctrl); in eth_xlnx_gem_send()
481 reg_val = sys_read32(reg_ctrl); in eth_xlnx_gem_send()
483 sys_write32(reg_val, reg_ctrl); in eth_xlnx_gem_send()
1372 uint32_t reg_ctrl; in eth_xlnx_gem_handle_rx_pending() local
[all …]
/Zephyr-Core-3.7.0/drivers/i2c/
Di2c_andes_atciic100.c515 uint32_t reg_set = 0, reg_ctrl = 0, reg = 0; in i2c_cmpl_handler() local
531 reg_ctrl = sys_read32(I2C_CTRL(dev)) & CTRL_DATA_COUNT; in i2c_cmpl_handler()
550 reg_ctrl = sys_read32(I2C_CTRL(dev)); in i2c_cmpl_handler()
594 uint32_t reg_stat, uint32_t reg_ctrl) in andes_i2c_target_event() argument
609 if (((reg_ctrl & CTRL_DIR) >> 8) == I2C_TARGET_TX) { in andes_i2c_target_event()
616 } else if (((reg_ctrl & CTRL_DIR) >> 8) == I2C_TARGET_RX) { in andes_i2c_target_event()
697 uint32_t reg_set, reg_stat = 0, reg_ctrl = 0; in i2c_atciic100_irq_handler() local
701 reg_ctrl = sys_read32(I2C_CTRL(dev)); in i2c_atciic100_irq_handler()
708 andes_i2c_target_event(dev, reg_stat, reg_ctrl); in i2c_atciic100_irq_handler()