Searched refs:mirror_regs (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/tty/serial/
H A Dmpsc.c146 u8 mirror_regs; /* Need to mirror regs? */ member in struct:mpsc_port_info
184 /* Mirrored values of regs we can't read (if 'mirror_regs' set) */
335 v = (pi->mirror_regs) ? pi->BRG_BCR_m : readl(pi->brg_base + BRG_BCR); mpsc_brg_init()
341 if (pi->mirror_regs) mpsc_brg_init()
353 v = (pi->mirror_regs) ? pi->BRG_BCR_m : readl(pi->brg_base + BRG_BCR); mpsc_brg_enable()
356 if (pi->mirror_regs) mpsc_brg_enable()
365 v = (pi->mirror_regs) ? pi->BRG_BCR_m : readl(pi->brg_base + BRG_BCR); mpsc_brg_disable()
368 if (pi->mirror_regs) mpsc_brg_disable()
388 v = (pi->mirror_regs) ? pi->BRG_BCR_m : readl(pi->brg_base + BRG_BCR); mpsc_set_baudrate()
391 if (pi->mirror_regs) mpsc_set_baudrate()
443 old = v = (pi->mirror_regs) ? pi->shared_regs->SDMA_INTR_MASK_m : mpsc_sdma_intr_mask()
451 if (pi->mirror_regs) mpsc_sdma_intr_mask()
466 v = (pi->mirror_regs) ? pi->shared_regs->SDMA_INTR_MASK_m mpsc_sdma_intr_unmask()
474 if (pi->mirror_regs) mpsc_sdma_intr_unmask()
483 if (pi->mirror_regs) mpsc_sdma_intr_ack()
582 if (pi->mirror_regs) { mpsc_hw_init()
618 if (pi->mirror_regs) { mpsc_hw_init()
638 if (pi->mirror_regs) { mpsc_enter_hunt()
658 v = (pi->mirror_regs) ? pi->MPSC_MPCR_m : mpsc_freeze()
662 if (pi->mirror_regs) mpsc_freeze()
671 v = (pi->mirror_regs) ? pi->MPSC_MPCR_m : mpsc_unfreeze()
675 if (pi->mirror_regs) mpsc_unfreeze()
688 v = (pi->mirror_regs) ? pi->MPSC_MPCR_m : mpsc_set_char_length()
692 if (pi->mirror_regs) mpsc_set_char_length()
704 v = (pi->mirror_regs) ? pi->MPSC_MPCR_m : mpsc_set_stop_bit_length()
709 if (pi->mirror_regs) mpsc_set_stop_bit_length()
720 v = (pi->mirror_regs) ? pi->MPSC_CHR_2_m : mpsc_set_parity()
726 if (pi->mirror_regs) mpsc_set_parity()
1272 status = (pi->mirror_regs) ? pi->MPSC_CHR_10_m mpsc_get_mctrl()
1328 if (pi->mirror_regs) { mpsc_stop_rx()
1354 if (pi->mirror_regs) mpsc_break_ctl()
2052 pi->mirror_regs = pdata->mirror_regs; mpsc_drv_get_platform_data()
/linux-4.1.27/include/linux/
H A Dmv643xx.h954 u8 mirror_regs; member in struct:mpsc_pdata

Completed in 94 milliseconds