Home
last modified time | relevance | path

Searched refs:hw_val (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/clk/tegra/
H A Dclk-tegra124.c153 { .pdiv = 1, .hw_val = 0 },
154 { .pdiv = 2, .hw_val = 1 },
155 { .pdiv = 3, .hw_val = 2 },
156 { .pdiv = 4, .hw_val = 3 },
157 { .pdiv = 5, .hw_val = 4 },
158 { .pdiv = 6, .hw_val = 5 },
249 { .pdiv = 1, .hw_val = 0 },
250 { .pdiv = 2, .hw_val = 1 },
251 { .pdiv = 3, .hw_val = 2 },
252 { .pdiv = 4, .hw_val = 3 },
[all …]
H A Dclk-tegra114.c211 { .pdiv = 1, .hw_val = 0 },
212 { .pdiv = 2, .hw_val = 1 },
213 { .pdiv = 4, .hw_val = 3 },
214 { .pdiv = 8, .hw_val = 5 },
215 { .pdiv = 16, .hw_val = 7 },
216 { .pdiv = 0, .hw_val = 0 },
285 { .pdiv = 1, .hw_val = 0 },
286 { .pdiv = 2, .hw_val = 1 },
287 { .pdiv = 0, .hw_val = 0 },
442 { .pdiv = 1, .hw_val = 1 },
[all …]
H A Dclk-tegra210.c1580 { .pdiv = 1, .hw_val = 0 },
1581 { .pdiv = 2, .hw_val = 1 },
1582 { .pdiv = 3, .hw_val = 2 },
1583 { .pdiv = 4, .hw_val = 3 },
1584 { .pdiv = 5, .hw_val = 4 },
1585 { .pdiv = 6, .hw_val = 5 },
1586 { .pdiv = 8, .hw_val = 6 },
1587 { .pdiv = 9, .hw_val = 7 },
1588 { .pdiv = 10, .hw_val = 8 },
1589 { .pdiv = 12, .hw_val = 9 },
[all …]
H A Dclk-tegra30.c272 { .pdiv = 1, .hw_val = 1 },
273 { .pdiv = 2, .hw_val = 0 },
274 { .pdiv = 0, .hw_val = 0 },
339 { .pdiv = 18, .hw_val = 18 },
340 { .pdiv = 24, .hw_val = 24 },
341 { .pdiv = 0, .hw_val = 0 },
H A Dclk-tegra20.c267 { .pdiv = 1, .hw_val = 1 },
268 { .pdiv = 0, .hw_val = 0 },
360 { .pdiv = 1, .hw_val = 1 },
361 { .pdiv = 2, .hw_val = 0 },
362 { .pdiv = 0, .hw_val = 0 },
H A Dclk-pll.c488 return p_tohw->hw_val; in _p_div_to_hw()
508 if (p_div_hw == p_tohw->hw_val) in _hw_to_p_div()
2242 cfg.p = p_tohw->hw_val; in tegra_clk_register_pllc()
2375 cfg.p = pll_params->pdiv_tohw[i-1].hw_val; in tegra_clk_register_pllss()
H A Dclk.h182 u8 hw_val; member
/linux/drivers/tty/serial/
H A Darc_uart.c351 unsigned int baud, uartl, uarth, hw_val; in arc_serial_set_termios() local
363 hw_val = port->uartclk / (uart->baud * 4) - 1; in arc_serial_set_termios()
364 uartl = hw_val & 0xFF; in arc_serial_set_termios()
365 uarth = (hw_val >> 8) & 0xFF; in arc_serial_set_termios()
549 unsigned int l, h, hw_val; in arc_early_console_setup() local
554 hw_val = port->uartclk / (dev->baud * 4) - 1; in arc_early_console_setup()
555 l = hw_val & 0xFF; in arc_early_console_setup()
556 h = (hw_val >> 8) & 0xFF; in arc_early_console_setup()
/linux/drivers/hwmon/
H A Dstts751.c106 static int stts751_to_deg(s16 hw_val) in stts751_to_deg() argument
108 return hw_val * 125 / 32; in stts751_to_deg()