Home
last modified time | relevance | path

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

/drivers/tty/serial/cpm_uart/
Dcpm_uart_core.c770 scc_uart_t __iomem *sup; in cpm_uart_init_scc() local
775 sup = pinfo->sccup; in cpm_uart_init_scc()
787 cpm_set_scc_fcr(sup); in cpm_uart_init_scc()
789 out_be16(&sup->scc_genscc.scc_mrblr, pinfo->rx_fifosize); in cpm_uart_init_scc()
790 out_be16(&sup->scc_maxidl, 0x10); in cpm_uart_init_scc()
791 out_be16(&sup->scc_brkcr, 1); in cpm_uart_init_scc()
792 out_be16(&sup->scc_parec, 0); in cpm_uart_init_scc()
793 out_be16(&sup->scc_frmec, 0); in cpm_uart_init_scc()
794 out_be16(&sup->scc_nosec, 0); in cpm_uart_init_scc()
795 out_be16(&sup->scc_brkec, 0); in cpm_uart_init_scc()
[all …]
Dcpm_uart_cpm1.h19 static inline void cpm_set_scc_fcr(scc_uart_t __iomem * sup) in cpm_set_scc_fcr() argument
21 out_8(&sup->scc_genscc.scc_rfcr, SMC_EB); in cpm_set_scc_fcr()
22 out_8(&sup->scc_genscc.scc_tfcr, SMC_EB); in cpm_set_scc_fcr()
Dcpm_uart_cpm2.h19 static inline void cpm_set_scc_fcr(scc_uart_t __iomem *sup) in cpm_set_scc_fcr() argument
21 out_8(&sup->scc_genscc.scc_rfcr, CPMFCR_GBL | CPMFCR_EB); in cpm_set_scc_fcr()
22 out_8(&sup->scc_genscc.scc_tfcr, CPMFCR_GBL | CPMFCR_EB); in cpm_set_scc_fcr()
/drivers/tty/serial/
Dsprd_serial.c908 struct sprd_uart_port *sup = in sprd_pm() local
913 clk_prepare_enable(sup->clk); in sprd_pm()
916 clk_disable_unprepare(sup->clk); in sprd_pm()
1107 struct sprd_uart_port *sup = platform_get_drvdata(dev); in sprd_remove() local
1109 if (sup) { in sprd_remove()
1110 uart_remove_one_port(&sprd_uart_driver, &sup->port); in sprd_remove()
1111 sprd_port[sup->port.line] = NULL; in sprd_remove()
1112 sprd_rx_free_buf(sup); in sprd_remove()
1260 struct sprd_uart_port *sup = dev_get_drvdata(dev); in sprd_suspend() local
1262 uart_suspend_port(&sprd_uart_driver, &sup->port); in sprd_suspend()
[all …]
/drivers/base/
Dcore.c74 int fwnode_link_add(struct fwnode_handle *con, struct fwnode_handle *sup) in fwnode_link_add() argument
81 list_for_each_entry(link, &sup->consumers, s_hook) in fwnode_link_add()
91 link->supplier = sup; in fwnode_link_add()
96 list_add(&link->s_hook, &sup->consumers); in fwnode_link_add()
99 con, sup); in fwnode_link_add()
533 struct device *sup = link->supplier; in devlink_add_symlinks() local
537 len = max(strlen(dev_bus_name(sup)) + strlen(dev_name(sup)), in devlink_add_symlinks()
545 ret = sysfs_create_link(&link->link_dev.kobj, &sup->kobj, "supplier"); in devlink_add_symlinks()
554 ret = sysfs_create_link(&sup->kobj, &link->link_dev.kobj, buf); in devlink_add_symlinks()
558 snprintf(buf, len, "supplier:%s:%s", dev_bus_name(sup), dev_name(sup)); in devlink_add_symlinks()
[all …]