Lines Matching refs:ns16550_inbyte
409 static uint8_t ns16550_inbyte(const struct uart_ns16550_dev_config *cfg, function
535 if ((ns16550_inbyte(dev_cfg, LSR(dev)) & LSR_RXRDY) != 0) {
536 *c = ns16550_inbyte(dev_cfg, RDR(dev));
557 lcr_cache = ns16550_inbyte(dev_cfg, LCR(dev));
607 uint32_t mdr = ns16550_inbyte(dev_cfg, MDR1(dev));
708 if ((ns16550_inbyte(dev_cfg, IIR(dev)) & IIR_FE) == IIR_FE) {
927 while ((ns16550_inbyte(dev_cfg, LSR(dev)) & LSR_THRE) == 0) {
948 int check = (ns16550_inbyte(dev_cfg, LSR(dev)) & LSR_EOB_MASK);
1039 ns16550_outbyte(dev_cfg, IER(dev), ns16550_inbyte(dev_cfg, IER(dev)) | IER_TBE);
1056 ns16550_inbyte(dev_cfg, IER(dev)) & (~IER_TBE));
1113 int ret = ((ns16550_inbyte(dev_cfg, LSR(dev)) & (LSR_TEMT | LSR_THRE))
1132 ns16550_outbyte(dev_cfg, IER(dev), ns16550_inbyte(dev_cfg, IER(dev)) | IER_RXRDY);
1149 ns16550_inbyte(dev_cfg, IER(dev)) & (~IER_RXRDY));
1185 ns16550_inbyte(dev_cfg, IER(dev)) | IER_LSR);
1204 ns16550_inbyte(dev_cfg, IER(dev)) & (~IER_LSR));
1241 IIRC(dev) = ns16550_inbyte(dev_cfg, IIR(dev));
1282 ((ns16550_inbyte(dev_cfg, IIR(dev)) & IIR_MASK) == IIR_BUSY)) {
1295 uint8_t IIR_status = ns16550_inbyte(config, IIR(dev));
1317 uint8_t cached_ier = ns16550_inbyte(dev_cfg, IER(dev));
1361 mdc = ns16550_inbyte(dev_cfg, MDC(dev));
1705 (ns16550_inbyte(config, IER(dev)) | IER_RXRDY));