Lines Matching refs:writeb
263 writeb(value, priv->virt + reg); in exar_write_reg()
408 writeb(value, p + UART_EXAR_FCTR); in generic_rs485_config()
411 writeb(UART_EXAR_RS485_DLY(4), p + UART_MSR); in generic_rs485_config()
552 writeb(0x00, p + UART_EXAR_8XMODE); in pci_fastcom335_setup()
553 writeb(UART_FCTR_EXAR_TRGD, p + UART_EXAR_FCTR); in pci_fastcom335_setup()
554 writeb(32, p + UART_EXAR_TXTRG); in pci_fastcom335_setup()
555 writeb(32, p + UART_EXAR_RXTRG); in pci_fastcom335_setup()
567 writeb(0x78, p + UART_EXAR_MPIOLVL_7_0); in pci_fastcom335_setup()
568 writeb(0x00, p + UART_EXAR_MPIOINV_7_0); in pci_fastcom335_setup()
569 writeb(0x00, p + UART_EXAR_MPIOSEL_7_0); in pci_fastcom335_setup()
573 writeb(0x00, p + UART_EXAR_MPIOLVL_7_0); in pci_fastcom335_setup()
574 writeb(0xc0, p + UART_EXAR_MPIOINV_7_0); in pci_fastcom335_setup()
575 writeb(0xc0, p + UART_EXAR_MPIOSEL_7_0); in pci_fastcom335_setup()
580 writeb(0x00, p + UART_EXAR_MPIOINT_7_0); in pci_fastcom335_setup()
581 writeb(0x00, p + UART_EXAR_MPIO3T_7_0); in pci_fastcom335_setup()
582 writeb(0x00, p + UART_EXAR_MPIOOD_7_0); in pci_fastcom335_setup()
1124 writeb(0x00, p + UART_EXAR_MPIOINT_7_0); in setup_gpio()
1125 writeb(0x00, p + UART_EXAR_MPIOLVL_7_0); in setup_gpio()
1126 writeb(0x00, p + UART_EXAR_MPIO3T_7_0); in setup_gpio()
1127 writeb(0x00, p + UART_EXAR_MPIOINV_7_0); in setup_gpio()
1128 writeb(dir, p + UART_EXAR_MPIOSEL_7_0); in setup_gpio()
1129 writeb(0x00, p + UART_EXAR_MPIOOD_7_0); in setup_gpio()
1130 writeb(0x00, p + UART_EXAR_MPIOINT_15_8); in setup_gpio()
1131 writeb(0x00, p + UART_EXAR_MPIOLVL_15_8); in setup_gpio()
1132 writeb(0x00, p + UART_EXAR_MPIO3T_15_8); in setup_gpio()
1133 writeb(0x00, p + UART_EXAR_MPIOINV_15_8); in setup_gpio()
1134 writeb(dir, p + UART_EXAR_MPIOSEL_15_8); in setup_gpio()
1135 writeb(0x00, p + UART_EXAR_MPIOOD_15_8); in setup_gpio()
1214 writeb(efr, p + UART_XR_EFR); in sealevel_rs485_config()
1217 writeb(UART_MCR_OUT1, p + UART_MCR); in sealevel_rs485_config()
1220 writeb(old_lcr | UART_LCR_DLAB, p + UART_LCR); in sealevel_rs485_config()
1225 writeb(dld, p + UART_EXAR_DLD); in sealevel_rs485_config()
1227 writeb(old_lcr, p + UART_LCR); in sealevel_rs485_config()
1267 writeb(value, p + UART_EXAR_MPIOLVL_7_0); in iot2040_rs485_config()
1292 writeb(IOT2040_UARTS_DEFAULT_MODE, p + UART_EXAR_MPIOLVL_7_0); in iot2040_register_gpio()
1293 writeb(IOT2040_UARTS_GPIO_LO_MODE, p + UART_EXAR_MPIOSEL_7_0); in iot2040_register_gpio()
1294 writeb(IOT2040_UARTS_ENABLE, p + UART_EXAR_MPIOLVL_15_8); in iot2040_register_gpio()
1295 writeb(IOT2040_UARTS_GPIO_HI_MODE, p + UART_EXAR_MPIOSEL_15_8); in iot2040_register_gpio()
1366 writeb(0x00, p + UART_EXAR_8XMODE); in pci_xr17v35x_setup()
1367 writeb(UART_FCTR_EXAR_TRGD, p + UART_EXAR_FCTR); in pci_xr17v35x_setup()
1368 writeb(128, p + UART_EXAR_TXTRG); in pci_xr17v35x_setup()
1369 writeb(128, p + UART_EXAR_RXTRG); in pci_xr17v35x_setup()