Home
last modified time | relevance | path

Searched refs:cr3 (Results 1 – 6 of 6) sorted by relevance

/drivers/tty/serial/
Dstm32-usart.c111 static void stm32_usart_config_reg_rs485(u32 *cr1, u32 *cr3, u32 delay_ADE, in stm32_usart_config_reg_rs485() argument
118 *cr3 |= USART_CR3_DEM; in stm32_usart_config_reg_rs485()
154 u32 usartdiv, baud, cr1, cr3; in stm32_usart_config_rs485() local
165 cr3 = readl_relaxed(port->membase + ofs->cr3); in stm32_usart_config_rs485()
175 stm32_usart_config_reg_rs485(&cr1, &cr3, in stm32_usart_config_rs485()
181 cr3 &= ~USART_CR3_DEP; in stm32_usart_config_rs485()
184 cr3 |= USART_CR3_DEP; in stm32_usart_config_rs485()
188 writel_relaxed(cr3, port->membase + ofs->cr3); in stm32_usart_config_rs485()
191 stm32_usart_clr_bits(port, ofs->cr3, in stm32_usart_config_rs485()
352 stm32_usart_clr_bits(port, ofs->cr3, USART_CR3_DMAT); in stm32_usart_tx_dma_complete()
[all …]
Dstm32-usart.h14 u8 cr3; member
50 .cr3 = 0x14,
67 .cr3 = 0x08,
89 .cr3 = 0x08,
Dfsl_lpuart.c1682 unsigned char cr3; in lpuart_rx_dma_startup() local
1703 cr3 = readb(sport->port.membase + UARTCR3); in lpuart_rx_dma_startup()
1704 cr3 |= UARTCR3_FEIE; in lpuart_rx_dma_startup()
1705 writeb(cr3, sport->port.membase + UARTCR3); in lpuart_rx_dma_startup()
1874 unsigned char cr1, old_cr1, old_cr2, cr3, cr4, bdh, modem; in lpuart_set_termios() local
1881 cr3 = readb(sport->port.membase + UARTCR3); in lpuart_set_termios()
1934 cr3 |= UARTCR3_T8; in lpuart_set_termios()
1936 cr3 &= ~UARTCR3_T8; in lpuart_set_termios()
2004 writeb(cr3, sport->port.membase + UARTCR3); in lpuart_set_termios()
/drivers/staging/media/imx/
Dimx7-media-csi.c281 u32 cr3; in imx7_csi_dma_reflash() local
283 cr3 = imx7_csi_reg_read(csi, CSI_CSICR3); in imx7_csi_dma_reflash()
284 cr3 |= BIT_DMA_REFLASH_RFF; in imx7_csi_dma_reflash()
285 imx7_csi_reg_write(csi, cr3, CSI_CSICR3); in imx7_csi_dma_reflash()
299 u32 cr3 = imx7_csi_reg_read(csi, CSI_CSICR3); in imx7_csi_dmareq_rff_enable() local
301 cr3 |= BIT_DMA_REQ_EN_RFF; in imx7_csi_dmareq_rff_enable()
302 cr3 |= BIT_HRESP_ERR_EN; in imx7_csi_dmareq_rff_enable()
303 cr3 &= ~BIT_RXFF_LEVEL_MASK; in imx7_csi_dmareq_rff_enable()
304 cr3 |= BIT_RXFF_LEVEL(2); in imx7_csi_dmareq_rff_enable()
306 imx7_csi_reg_write(csi, cr3, CSI_CSICR3); in imx7_csi_dmareq_rff_enable()
[all …]
/drivers/iommu/amd/
Damd_iommu.h64 unsigned long cr3);
Diommu.c2487 unsigned long cr3) in __set_gcr3() argument
2498 *pte = (cr3 & PAGE_MASK) | GCR3_VALID; in __set_gcr3()
2520 unsigned long cr3) in amd_iommu_domain_set_gcr3() argument
2527 ret = __set_gcr3(domain, pasid, cr3); in amd_iommu_domain_set_gcr3()