/drivers/clk/hisilicon/ |
D | clkdivider-hi6220.c | 112 u32 max_div, min_div; in hi6220_register_clkdiv() local 121 max_div = div_mask(width) + 1; in hi6220_register_clkdiv() 124 table = kcalloc(max_div + 1, sizeof(*table), GFP_KERNEL); in hi6220_register_clkdiv() 130 for (i = 0; i < max_div; i++) { in hi6220_register_clkdiv()
|
/drivers/clk/ti/ |
D | divider.c | 323 int ti_clk_parse_divider_data(int *div_table, int num_dividers, int max_div, in ti_clk_parse_divider_data() argument 341 while (div < max_div) { in ti_clk_parse_divider_data() 394 setup->max_div, setup->flags, width, in _get_div_table_from_setup() 520 u32 max_div; in _get_divider_width() local 529 if (of_property_read_u32(node, "ti,max-div", &max_div)) { in _get_divider_width() 540 while (div < max_div) { in _get_divider_width()
|
D | clk-3xxx-legacy.c | 109 .max_div = 3, 159 .max_div = 31, 185 .max_div = 3, 253 .max_div = 3, 330 .max_div = 63, 531 .max_div = 31, 891 .max_div = 63, 1022 .max_div = 31, 1247 .max_div = 7, 1321 .max_div = 32, [all …]
|
D | clock.h | 118 u16 max_div; member 209 int max_div; member 254 int ti_clk_parse_divider_data(int *div_table, int num_dividers, int max_div,
|
D | clk-44xx.c | 53 .max_div = 2, 282 .max_div = 4, 367 .max_div = 4, 659 .max_div = 64,
|
D | clkctrl.c | 355 div_data->max_div, 0, 0, in _ti_clkctrl_setup_div()
|
/drivers/net/wireless/intel/iwlegacy/ |
D | 3945-debug.c | 418 struct iwl39_stats_div *div, *accum_div, *delta_div, *max_div; in il3945_ucode_general_stats_read() local 445 max_div = &il->_3945.max_delta.general.div; in il3945_ucode_general_stats_read() 486 delta_div->tx_on_a, max_div->tx_on_a); in il3945_ucode_general_stats_read() 491 delta_div->tx_on_b, max_div->tx_on_b); in il3945_ucode_general_stats_read() 496 delta_div->exec_time, max_div->exec_time); in il3945_ucode_general_stats_read() 501 delta_div->probe_time, max_div->probe_time); in il3945_ucode_general_stats_read()
|
D | 4965-debug.c | 648 struct stats_div *div, *accum_div, *delta_div, *max_div; in il4965_ucode_general_stats_read() local 674 max_div = &il->_4965.max_delta.general.common.div; in il4965_ucode_general_stats_read() 718 delta_div->tx_on_a, max_div->tx_on_a); in il4965_ucode_general_stats_read() 722 delta_div->tx_on_b, max_div->tx_on_b); in il4965_ucode_general_stats_read() 726 delta_div->exec_time, max_div->exec_time); in il4965_ucode_general_stats_read() 730 delta_div->probe_time, max_div->probe_time); in il4965_ucode_general_stats_read()
|
/drivers/mfd/ |
D | sm501.c | 407 int max_div, in sm501_calc_clock() argument 419 for (divider = 1; divider <= max_div; divider += 2) { in sm501_calc_clock() 451 int max_div) in sm501_calc_pll() argument 466 if (sm501_calc_clock(freq, clock, max_div, in sm501_calc_pll() 489 int max_div) in sm501_select_clock() argument 496 sm501_calc_clock(freq, clock, max_div, mclk, &best_diff); in sm501_select_clock()
|
/drivers/gpu/drm/pl111/ |
D | pl111_display.c | 296 int max_div = (1 << (TIM2_PCD_LO_BITS + TIM2_PCD_HI_BITS)) - 1; in pl111_clk_div_choose_div() local 298 for (div = 1; div < max_div; div++) { in pl111_clk_div_choose_div()
|
/drivers/staging/rts5208/ |
D | rtsx_card.c | 637 u8 mcu_cnt, div, max_div, ssc_depth, ssc_depth_mask; in switch_ssc_clock() local 645 max_div = CLK_DIV_4; in switch_ssc_clock() 660 while ((n < min_n) && (div < max_div)) { in switch_ssc_clock()
|
/drivers/spi/ |
D | spi-au1550.c | 883 int max_div = (2 << 3) * (2 * (63 + 1)); in au1550_spi_probe() local 886 hw->pdata->mainclk_hz / (max_div + 1) + 1; in au1550_spi_probe()
|
/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | debugfs.c | 1354 struct statistics_div *div, *accum_div, *delta_div, *max_div; in iwl_dbgfs_ucode_general_stats_read() local 1381 max_div = &priv->max_delta_stats.common.div; in iwl_dbgfs_ucode_general_stats_read() 1429 delta_div->tx_on_a, max_div->tx_on_a); in iwl_dbgfs_ucode_general_stats_read() 1433 delta_div->tx_on_b, max_div->tx_on_b); in iwl_dbgfs_ucode_general_stats_read() 1437 delta_div->exec_time, max_div->exec_time); in iwl_dbgfs_ucode_general_stats_read() 1441 delta_div->probe_time, max_div->probe_time); in iwl_dbgfs_ucode_general_stats_read()
|
/drivers/clk/bcm/ |
D | clk-bcm2835.c | 878 u32 cm, div, max_div = 1 << A2W_PLL_DIV_BITS; in bcm2835_pll_divider_set_rate() local 882 div = min(div, max_div); in bcm2835_pll_divider_set_rate() 883 if (div == max_div) in bcm2835_pll_divider_set_rate()
|
/drivers/media/platform/omap3isp/ |
D | ispccdc.c | 813 unsigned int max_div = isp->revision == ISP_REVISION_15_0 ? 64 : 8; in ccdc_config_vp() local 861 div = clamp(div, 2U, max_div); in ccdc_config_vp()
|