cdns_uart_data 1010 drivers/tty/serial/xilinx_uartps.c struct cdns_uart *cdns_uart_data = port->private_data; cdns_uart_data 1012 drivers/tty/serial/xilinx_uartps.c if (cdns_uart_data->cts_override) cdns_uart_data 1022 drivers/tty/serial/xilinx_uartps.c struct cdns_uart *cdns_uart_data = port->private_data; cdns_uart_data 1024 drivers/tty/serial/xilinx_uartps.c if (cdns_uart_data->cts_override) cdns_uart_data 1418 drivers/tty/serial/xilinx_uartps.c struct cdns_uart *cdns_uart_data; cdns_uart_data 1421 drivers/tty/serial/xilinx_uartps.c cdns_uart_data = devm_kzalloc(&pdev->dev, sizeof(*cdns_uart_data), cdns_uart_data 1423 drivers/tty/serial/xilinx_uartps.c if (!cdns_uart_data) cdns_uart_data 1458 drivers/tty/serial/xilinx_uartps.c cdns_uart_data->cdns_uart_driver = &cdns_uart_uart_driver; cdns_uart_data 1464 drivers/tty/serial/xilinx_uartps.c cdns_uart_data->quirks = data->quirks; cdns_uart_data 1467 drivers/tty/serial/xilinx_uartps.c cdns_uart_data->pclk = devm_clk_get(&pdev->dev, "pclk"); cdns_uart_data 1468 drivers/tty/serial/xilinx_uartps.c if (PTR_ERR(cdns_uart_data->pclk) == -EPROBE_DEFER) { cdns_uart_data 1469 drivers/tty/serial/xilinx_uartps.c rc = PTR_ERR(cdns_uart_data->pclk); cdns_uart_data 1473 drivers/tty/serial/xilinx_uartps.c if (IS_ERR(cdns_uart_data->pclk)) { cdns_uart_data 1474 drivers/tty/serial/xilinx_uartps.c cdns_uart_data->pclk = devm_clk_get(&pdev->dev, "aper_clk"); cdns_uart_data 1475 drivers/tty/serial/xilinx_uartps.c if (IS_ERR(cdns_uart_data->pclk)) { cdns_uart_data 1476 drivers/tty/serial/xilinx_uartps.c rc = PTR_ERR(cdns_uart_data->pclk); cdns_uart_data 1482 drivers/tty/serial/xilinx_uartps.c cdns_uart_data->uartclk = devm_clk_get(&pdev->dev, "uart_clk"); cdns_uart_data 1483 drivers/tty/serial/xilinx_uartps.c if (PTR_ERR(cdns_uart_data->uartclk) == -EPROBE_DEFER) { cdns_uart_data 1484 drivers/tty/serial/xilinx_uartps.c rc = PTR_ERR(cdns_uart_data->uartclk); cdns_uart_data 1488 drivers/tty/serial/xilinx_uartps.c if (IS_ERR(cdns_uart_data->uartclk)) { cdns_uart_data 1489 drivers/tty/serial/xilinx_uartps.c cdns_uart_data->uartclk = devm_clk_get(&pdev->dev, "ref_clk"); cdns_uart_data 1490 drivers/tty/serial/xilinx_uartps.c if (IS_ERR(cdns_uart_data->uartclk)) { cdns_uart_data 1491 drivers/tty/serial/xilinx_uartps.c rc = PTR_ERR(cdns_uart_data->uartclk); cdns_uart_data 1497 drivers/tty/serial/xilinx_uartps.c rc = clk_prepare_enable(cdns_uart_data->pclk); cdns_uart_data 1502 drivers/tty/serial/xilinx_uartps.c rc = clk_prepare_enable(cdns_uart_data->uartclk); cdns_uart_data 1521 drivers/tty/serial/xilinx_uartps.c cdns_uart_data->clk_rate_change_nb.notifier_call = cdns_uart_data 1523 drivers/tty/serial/xilinx_uartps.c if (clk_notifier_register(cdns_uart_data->uartclk, cdns_uart_data 1524 drivers/tty/serial/xilinx_uartps.c &cdns_uart_data->clk_rate_change_nb)) cdns_uart_data 1545 drivers/tty/serial/xilinx_uartps.c port->uartclk = clk_get_rate(cdns_uart_data->uartclk); cdns_uart_data 1546 drivers/tty/serial/xilinx_uartps.c port->private_data = cdns_uart_data; cdns_uart_data 1547 drivers/tty/serial/xilinx_uartps.c cdns_uart_data->port = port; cdns_uart_data 1581 drivers/tty/serial/xilinx_uartps.c cdns_uart_data->cts_override = of_property_read_bool(pdev->dev.of_node, cdns_uart_data 1593 drivers/tty/serial/xilinx_uartps.c clk_notifier_unregister(cdns_uart_data->uartclk, cdns_uart_data 1594 drivers/tty/serial/xilinx_uartps.c &cdns_uart_data->clk_rate_change_nb); cdns_uart_data 1597 drivers/tty/serial/xilinx_uartps.c clk_disable_unprepare(cdns_uart_data->uartclk); cdns_uart_data 1599 drivers/tty/serial/xilinx_uartps.c clk_disable_unprepare(cdns_uart_data->pclk); cdns_uart_data 1602 drivers/tty/serial/xilinx_uartps.c uart_unregister_driver(cdns_uart_data->cdns_uart_driver); cdns_uart_data 1615 drivers/tty/serial/xilinx_uartps.c struct cdns_uart *cdns_uart_data = port->private_data; cdns_uart_data 1620 drivers/tty/serial/xilinx_uartps.c clk_notifier_unregister(cdns_uart_data->uartclk, cdns_uart_data 1621 drivers/tty/serial/xilinx_uartps.c &cdns_uart_data->clk_rate_change_nb); cdns_uart_data 1623 drivers/tty/serial/xilinx_uartps.c rc = uart_remove_one_port(cdns_uart_data->cdns_uart_driver, port); cdns_uart_data 1625 drivers/tty/serial/xilinx_uartps.c clk_disable_unprepare(cdns_uart_data->uartclk); cdns_uart_data 1626 drivers/tty/serial/xilinx_uartps.c clk_disable_unprepare(cdns_uart_data->pclk); cdns_uart_data 1638 drivers/tty/serial/xilinx_uartps.c uart_unregister_driver(cdns_uart_data->cdns_uart_driver);