Searched refs:cdns_uart_data (Results 1 – 1 of 1) sorted by relevance
1423 struct cdns_uart *cdns_uart_data; in cdns_uart_probe() local1426 cdns_uart_data = devm_kzalloc(&pdev->dev, sizeof(*cdns_uart_data), in cdns_uart_probe()1428 if (!cdns_uart_data) in cdns_uart_probe()1438 cdns_uart_data->quirks = data->quirks; in cdns_uart_probe()1441 cdns_uart_data->pclk = devm_clk_get(&pdev->dev, "pclk"); in cdns_uart_probe()1442 if (IS_ERR(cdns_uart_data->pclk)) { in cdns_uart_probe()1443 cdns_uart_data->pclk = devm_clk_get(&pdev->dev, "aper_clk"); in cdns_uart_probe()1444 if (!IS_ERR(cdns_uart_data->pclk)) in cdns_uart_probe()1447 if (IS_ERR(cdns_uart_data->pclk)) { in cdns_uart_probe()1449 return PTR_ERR(cdns_uart_data->pclk); in cdns_uart_probe()[all …]