Home
last modified time | relevance | path

Searched refs:sup (Results 1 – 4 of 4) sorted by relevance

/drivers/tty/serial/cpm_uart/
Dcpm_uart_core.c802 scc_uart_t __iomem *sup; in cpm_uart_init_scc() local
807 sup = pinfo->sccup; in cpm_uart_init_scc()
819 cpm_set_scc_fcr(sup); in cpm_uart_init_scc()
821 out_be16(&sup->scc_genscc.scc_mrblr, pinfo->rx_fifosize); in cpm_uart_init_scc()
822 out_be16(&sup->scc_maxidl, 0x10); in cpm_uart_init_scc()
823 out_be16(&sup->scc_brkcr, 1); in cpm_uart_init_scc()
824 out_be16(&sup->scc_parec, 0); in cpm_uart_init_scc()
825 out_be16(&sup->scc_frmec, 0); in cpm_uart_init_scc()
826 out_be16(&sup->scc_nosec, 0); in cpm_uart_init_scc()
827 out_be16(&sup->scc_brkec, 0); in cpm_uart_init_scc()
[all …]
Dcpm_uart_cpm1.h18 static inline void cpm_set_scc_fcr(scc_uart_t __iomem * sup) in cpm_set_scc_fcr() argument
20 out_8(&sup->scc_genscc.scc_rfcr, SMC_EB); in cpm_set_scc_fcr()
21 out_8(&sup->scc_genscc.scc_tfcr, SMC_EB); in cpm_set_scc_fcr()
Dcpm_uart_cpm2.h18 static inline void cpm_set_scc_fcr(scc_uart_t __iomem *sup) in cpm_set_scc_fcr() argument
20 out_8(&sup->scc_genscc.scc_rfcr, CPMFCR_GBL | CPMFCR_EB); in cpm_set_scc_fcr()
21 out_8(&sup->scc_genscc.scc_tfcr, CPMFCR_GBL | CPMFCR_EB); in cpm_set_scc_fcr()
/drivers/tty/serial/
Dsprd_serial.c669 struct sprd_uart_port *sup = platform_get_drvdata(dev); in sprd_remove() local
671 if (sup) { in sprd_remove()
672 uart_remove_one_port(&sprd_uart_driver, &sup->port); in sprd_remove()
673 sprd_port[sup->port.line] = NULL; in sprd_remove()
760 struct sprd_uart_port *sup = dev_get_drvdata(dev); in sprd_suspend() local
762 uart_suspend_port(&sprd_uart_driver, &sup->port); in sprd_suspend()
769 struct sprd_uart_port *sup = dev_get_drvdata(dev); in sprd_resume() local
771 uart_resume_port(&sprd_uart_driver, &sup->port); in sprd_resume()