Searched refs:clk_gen (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/drivers/spi/ |
D | spi-microchip-core.c | 104 u32 clk_gen; /* divider for spi output clock generated by the controller */ member 332 mchp_corespi_write(spi, REG_CLK_GEN, spi->clk_gen); in mchp_corespi_set_clk_gen() 424 unsigned long clk_hz, spi_hz, clk_gen; in mchp_corespi_calculate_clkgen() local 441 clk_gen = DIV_ROUND_UP(clk_hz, 2 * spi_hz) - 1; in mchp_corespi_calculate_clkgen() 442 if (clk_gen > CLK_GEN_MODE1_MAX || clk_gen <= CLK_GEN_MIN) { in mchp_corespi_calculate_clkgen() 443 clk_gen = DIV_ROUND_UP(clk_hz, spi_hz); in mchp_corespi_calculate_clkgen() 444 clk_gen = fls(clk_gen) - 1; in mchp_corespi_calculate_clkgen() 446 if (clk_gen > CLK_GEN_MODE0_MAX) in mchp_corespi_calculate_clkgen() 454 spi->clk_gen = clk_gen; in mchp_corespi_calculate_clkgen()
|
/Linux-v6.6/arch/mips/include/asm/octeon/ |
D | cvmx-gpio-defs.h | 52 uint64_t clk_gen:1; member 68 uint64_t clk_gen:1; 96 uint64_t clk_gen:1; member 112 uint64_t clk_gen:1; 359 uint64_t clk_gen:1; member 375 uint64_t clk_gen:1;
|
/Linux-v6.6/sound/soc/codecs/ |
D | cs43130.c | 572 const struct cs43130_clk_gen *clk_gen; in cs43130_set_sp_fmt() local 681 clk_gen = cs43130_get_clk_gen(cs43130->mclk_int, in cs43130_set_sp_fmt() 687 clk_gen = cs43130_get_clk_gen(cs43130->mclk_int, in cs43130_set_sp_fmt() 693 clk_gen = cs43130_get_clk_gen(cs43130->mclk_int, in cs43130_set_sp_fmt() 699 clk_gen = cs43130_get_clk_gen(cs43130->mclk_int, in cs43130_set_sp_fmt() 708 if (!clk_gen) in cs43130_set_sp_fmt() 715 (clk_gen->v.denominator & CS43130_SP_M_LSB_DATA_MASK) >> in cs43130_set_sp_fmt() 718 (clk_gen->v.denominator & CS43130_SP_M_MSB_DATA_MASK) >> in cs43130_set_sp_fmt() 721 (clk_gen->v.numerator & CS43130_SP_N_LSB_DATA_MASK) >> in cs43130_set_sp_fmt() 724 (clk_gen->v.numerator & CS43130_SP_N_MSB_DATA_MASK) >> in cs43130_set_sp_fmt() [all …]
|
/Linux-v6.6/include/linux/mfd/ |
D | db8500-prcmu.h | 72 enum clk_gen { enum
|