Home
last modified time | relevance | path

Searched refs:min_div (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/clk/ti/
Ddivider.c349 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/
Dpcsp.c48 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/
Dclkdivider-hi6220.c108 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/
Dspi-rspi.c246 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()
Dspi-au1550.c873 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()
Dspi-stm32.c441 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/
Dalcor.c38 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/
D0020_linux_drivers_gpu.patch6599 + 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--) {