Searched refs:control_val (Results 1 – 2 of 2) sorted by relevance
105 uint32_t control_val; /* stores value to set control register. */ member226 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 …]
534 uint8_t *control_val = &controls[POS(MUTE, ch, ch_cnt)]; in handle_fu_mute_req() local543 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() local588 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()