Searched refs:min_div (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/clk/ti/ |
D | divider.c | 349 u16 min_div = 0; in ti_clk_parse_divider_data() local 383 if (!min_div || div_table[i] < min_div) in ti_clk_parse_divider_data() 384 min_div = div_table[i]; in ti_clk_parse_divider_data() 387 divider->min = min_div; in ti_clk_parse_divider_data() 449 u32 min_div = 0; in _populate_divider_min_max() local 456 if (of_property_read_u32(node, "ti,min-div", &min_div)) in _populate_divider_min_max() 457 min_div = 1; in _populate_divider_min_max() 469 if (!min_div || val < min_div) in _populate_divider_min_max() 470 min_div = val; in _populate_divider_min_max() 474 divider->min = min_div; in _populate_divider_min_max()
|
/kernel/linux/linux-5.10/sound/drivers/pcsp/ |
D | pcsp.c | 48 int err, div, min_div, order; in snd_pcsp_create() local 62 min_div = MIN_DIV; in snd_pcsp_create() 64 min_div = MAX_DIV; in snd_pcsp_create() 67 loops_per_jiffy, min_div, resolution); in snd_pcsp_create() 70 div = MAX_DIV / min_div; in snd_pcsp_create()
|
/kernel/linux/linux-5.10/drivers/clk/hisilicon/ |
D | clkdivider-hi6220.c | 108 u32 max_div, min_div; in hi6220_register_clkdiv() local 118 min_div = 1; in hi6220_register_clkdiv() 127 table[i].div = min_div + i; in hi6220_register_clkdiv()
|
/kernel/linux/linux-5.10/drivers/spi/ |
D | spi-rspi.c | 246 u16 min_div; member 1187 .min_div = 2, 1197 .min_div = 2, 1209 .min_div = 1, 1327 ctlr->max_speed_hz = DIV_ROUND_UP(clksrc, ops->min_div); in rspi_probe()
|
D | spi-au1550.c | 873 int min_div = (2 << 0) * (2 * (4 + 1)); in au1550_spi_probe() local 875 master->max_speed_hz = hw->pdata->mainclk_hz / min_div; in au1550_spi_probe()
|
D | spi-stm32.c | 441 u32 min_div, u32 max_div) in stm32_spi_prepare_mbr() argument 455 if ((div < min_div) || (div > max_div)) in stm32_spi_prepare_mbr()
|
/kernel/linux/linux-5.10/drivers/mmc/host/ |
D | alcor.c | 38 unsigned int min_div; member 669 if (cfg->min_div > tmp_div || tmp_div > cfg->max_div) in alcor_set_clock()
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0020_linux_drivers_gpu.patch | 6599 + int min_div, max_div; 6605 + min_div = DIV_ROUND_UP(bit_clk, MAX_PHY_RATE); 6609 + for (i = max_div; i > min_div; i--) {
|