Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/pinctrl/
Dpinctrl_ite_it8xxx2.c51 uint8_t *reg_ctrl; member
236 volatile uint8_t *reg_ctrl = ksi_kso->reg_ctrl; in pinctrl_kscan_it8xxx2_set() local
250 *reg_ctrl &= ~pullup_mask; in pinctrl_kscan_it8xxx2_set()
253 *reg_ctrl |= pullup_mask; in pinctrl_kscan_it8xxx2_set()
270 *reg_ctrl &= ~pp_od_mask; in pinctrl_kscan_it8xxx2_set()
273 *reg_ctrl |= pp_od_mask; in pinctrl_kscan_it8xxx2_set()
411 .reg_ctrl = (uint8_t *)DT_INST_REG_ADDR_BY_IDX(inst, 1), \
/Zephyr-latest/drivers/ethernet/
Deth_xlnx_gem.c362 uint32_t reg_ctrl; in eth_xlnx_gem_send() local
423 reg_ctrl = (uint32_t)(&dev_data->txbd_ring.first_bd[curr_bd_idx].ctrl); in eth_xlnx_gem_send()
452 reg_val = sys_read32(reg_ctrl) & (ETH_XLNX_GEM_TXBD_WRAP_BIT | in eth_xlnx_gem_send()
456 sys_write32(reg_val, reg_ctrl); in eth_xlnx_gem_send()
461 reg_ctrl = (uint32_t)(&dev_data->txbd_ring.first_bd[curr_bd_idx].ctrl); in eth_xlnx_gem_send()
479 sys_write32(reg_val, reg_ctrl); in eth_xlnx_gem_send()
484 reg_ctrl = (uint32_t)(&dev_data->txbd_ring.first_bd[curr_bd_idx].ctrl); in eth_xlnx_gem_send()
485 reg_val = sys_read32(reg_ctrl); in eth_xlnx_gem_send()
487 sys_write32(reg_val, reg_ctrl); in eth_xlnx_gem_send()
1428 uint32_t reg_ctrl; in eth_xlnx_gem_handle_rx_pending() local
[all …]
/Zephyr-latest/drivers/counter/
Dcounter_renesas_ra_agt.c159 agt_reg_ctrl_t *const reg_ctrl = r_agt_reg_ctrl_get(dev); in counter_ra_agt_clear_channel_irq() local
161 reg_ctrl->AGTCR_b.TCMAF = 0; in counter_ra_agt_clear_channel_irq()
300 agt_reg_ctrl_t *const reg_ctrl = r_agt_reg_ctrl_get(dev); in counter_ra_agt_agti_isr() local
304 const uint32_t agtcr = reg_ctrl->AGTCR; in counter_ra_agt_agti_isr()
312 reg_ctrl->AGTCR = (uint8_t)(agtcr & ~(BIT(R_AGTX0_AGT16_CTRL_AGTCR_TUNDF_Pos) | in counter_ra_agt_agti_isr()
320 agt_reg_ctrl_t *const reg_ctrl = r_agt_reg_ctrl_get(dev); in counter_ra_agt_agtcmai_isr() local
332 reg_ctrl->AGTCMSR &= ~BIT(R_AGTX0_AGT16_CTRL_AGTCMSR_TCMEA_Pos); in counter_ra_agt_agtcmai_isr()
340 reg_ctrl->AGTCR_b.TCMAF = 0; in counter_ra_agt_agtcmai_isr()
/Zephyr-latest/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()