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.c788 scc_uart_t __iomem *sup; in cpm_uart_init_scc() local
793 sup = pinfo->sccup; in cpm_uart_init_scc()
805 cpm_set_scc_fcr(sup); in cpm_uart_init_scc()
807 out_be16(&sup->scc_genscc.scc_mrblr, pinfo->rx_fifosize); in cpm_uart_init_scc()
808 out_be16(&sup->scc_maxidl, 0x10); in cpm_uart_init_scc()
809 out_be16(&sup->scc_brkcr, 1); in cpm_uart_init_scc()
810 out_be16(&sup->scc_parec, 0); in cpm_uart_init_scc()
811 out_be16(&sup->scc_frmec, 0); in cpm_uart_init_scc()
812 out_be16(&sup->scc_nosec, 0); in cpm_uart_init_scc()
813 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.c71 int fwnode_link_add(struct fwnode_handle *con, struct fwnode_handle *sup) in fwnode_link_add() argument
78 list_for_each_entry(link, &sup->consumers, s_hook) in fwnode_link_add()
88 link->supplier = sup; in fwnode_link_add()
93 list_add(&link->s_hook, &sup->consumers); in fwnode_link_add()
508 struct device *sup = link->supplier; in devlink_add_symlinks() local
512 len = max(strlen(dev_bus_name(sup)) + strlen(dev_name(sup)), in devlink_add_symlinks()
520 ret = sysfs_create_link(&link->link_dev.kobj, &sup->kobj, "supplier"); in devlink_add_symlinks()
529 ret = sysfs_create_link(&sup->kobj, &link->link_dev.kobj, buf); in devlink_add_symlinks()
533 snprintf(buf, len, "supplier:%s:%s", dev_bus_name(sup), dev_name(sup)); in devlink_add_symlinks()
542 sysfs_remove_link(&sup->kobj, buf); in devlink_add_symlinks()
[all …]