Home
last modified time | relevance | path

Searched refs:control_val (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.5.0/drivers/serial/
Duart_altera.c105 uint32_t control_val; /* stores value to set control register. */ member
226 data->control_val = ALTERA_AVALON_UART_CONTROL_DCTS_MSK; in uart_altera_init()
229 sys_write32(data->control_val, config->base + ALTERA_AVALON_UART_CONTROL_REG_OFFSET); in uart_altera_init()
479 data->control_val |= ALTERA_AVALON_UART_CONTROL_RTS_MSK; in uart_altera_fifo_read()
480 sys_write32(data->control_val, config->base in uart_altera_fifo_read()
502 data->control_val |= ALTERA_AVALON_UART_CONTROL_TRDY_MSK; in uart_altera_irq_tx_enable()
506 data->control_val |= ALTERA_AVALON_UART_CONTROL_RTS_MSK; in uart_altera_irq_tx_enable()
509 sys_write32(data->control_val, config->base + ALTERA_AVALON_UART_CONTROL_REG_OFFSET); in uart_altera_irq_tx_enable()
526 data->control_val &= ~ALTERA_AVALON_UART_CONTROL_TRDY_MSK; in uart_altera_irq_tx_disable()
530 data->control_val &= ~ALTERA_AVALON_UART_CONTROL_RTS_MSK; in uart_altera_irq_tx_disable()
[all …]
/Zephyr-Core-3.5.0/subsys/usb/device/class/audio/
Daudio.c534 uint8_t *control_val = &controls[POS(MUTE, ch, ch_cnt)]; in handle_fu_mute_req() local
543 evt->val = control_val; in handle_fu_mute_req()
545 memcpy(control_val, *data, *len); in handle_fu_mute_req()
550 *data = control_val; in handle_fu_mute_req()
567 uint8_t *control_val = &controls[POS(VOLUME, ch, ch_cnt)]; in handle_fu_volume_req() local
588 evt->val = control_val; in handle_fu_volume_req()
596 temp_vol = sys_cpu_to_le16(*(int16_t *)control_val); in handle_fu_volume_req()