Lines Matching full:gclk
115 struct clk *gclk; /* uart generic clock */ member
2102 if (__clk_is_enabled(atmel_port->gclk)) in atmel_serial_pm()
2103 clk_disable_unprepare(atmel_port->gclk); in atmel_serial_pm()
2297 * if we use the GCLK as the clock source driving the baudrate in atmel_set_termios()
2301 if (__clk_is_enabled(atmel_port->gclk)) in atmel_set_termios()
2302 clk_disable_unprepare(atmel_port->gclk); in atmel_set_termios()
2303 gclk_rate = clk_round_rate(atmel_port->gclk, 16 * baud); in atmel_set_termios()
2307 clk_set_rate(atmel_port->gclk, 16 * baud); in atmel_set_termios()
2308 ret = clk_prepare_enable(atmel_port->gclk); in atmel_set_termios()
2320 * Set the Clock Divisor for GCLK to 1. in atmel_set_termios()
2916 atmel_port->gclk = devm_clk_get_optional(&pdev->dev, "gclk"); in atmel_serial_probe()
2917 if (IS_ERR(atmel_port->gclk)) { in atmel_serial_probe()
2918 ret = PTR_ERR(atmel_port->gclk); in atmel_serial_probe()