Home
last modified time | relevance | path

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

/linux-5.19.10/sound/soc/cirrus/
Dep93xx-i2s.c223 unsigned int clk_cfg; in ep93xx_i2s_set_dai_fmt() local
227 clk_cfg = ep93xx_i2s_read_reg(info, EP93XX_I2S_RXCLKCFG); in ep93xx_i2s_set_dai_fmt()
231 clk_cfg |= EP93XX_I2S_CLKCFG_REL; in ep93xx_i2s_set_dai_fmt()
235 clk_cfg &= ~EP93XX_I2S_CLKCFG_REL; in ep93xx_i2s_set_dai_fmt()
239 clk_cfg &= ~EP93XX_I2S_CLKCFG_REL; in ep93xx_i2s_set_dai_fmt()
251 clk_cfg |= EP93XX_I2S_CLKCFG_MASTER; in ep93xx_i2s_set_dai_fmt()
256 clk_cfg &= ~EP93XX_I2S_CLKCFG_MASTER; in ep93xx_i2s_set_dai_fmt()
266 clk_cfg &= ~(EP93XX_I2S_CLKCFG_CKP | EP93XX_I2S_CLKCFG_LRS); in ep93xx_i2s_set_dai_fmt()
271 clk_cfg &= ~EP93XX_I2S_CLKCFG_CKP; in ep93xx_i2s_set_dai_fmt()
272 clk_cfg |= EP93XX_I2S_CLKCFG_LRS; in ep93xx_i2s_set_dai_fmt()
[all …]
/linux-5.19.10/sound/soc/xilinx/
Dxlnx_spdif.c109 u32 val, clk_div, clk_cfg; in xlnx_spdif_hw_params() local
117 clk_cfg = 0; in xlnx_spdif_hw_params()
120 clk_cfg = 1; in xlnx_spdif_hw_params()
123 clk_cfg = 2; in xlnx_spdif_hw_params()
126 clk_cfg = 3; in xlnx_spdif_hw_params()
129 clk_cfg = 4; in xlnx_spdif_hw_params()
132 clk_cfg = 5; in xlnx_spdif_hw_params()
135 clk_cfg = 6; in xlnx_spdif_hw_params()
143 val |= clk_cfg << XSPDIF_CLOCK_CONFIG_BITS_SHIFT; in xlnx_spdif_hw_params()
/linux-5.19.10/drivers/spi/
Dspi-bcm63xx.c200 u8 clk_cfg, reg; in bcm63xx_spi_setup_transfer() local
204 clk_cfg = SPI_CLK_0_391MHZ; in bcm63xx_spi_setup_transfer()
209 clk_cfg = bcm63xx_spi_freq_table[i][1]; in bcm63xx_spi_setup_transfer()
217 reg |= clk_cfg; in bcm63xx_spi_setup_transfer()
221 clk_cfg, t->speed_hz); in bcm63xx_spi_setup_transfer()
/linux-5.19.10/drivers/net/ethernet/intel/ice/
Dice_ptp.c1396 struct ice_perout_channel clk_cfg = {0}; in ice_ptp_gpio_enable_e810() local
1410 clk_cfg.gpio_pin = GPIO_20; in ice_ptp_gpio_enable_e810()
1412 clk_cfg.gpio_pin = GPIO_22; in ice_ptp_gpio_enable_e810()
1417 clk_cfg.gpio_pin = GPIO_20; in ice_ptp_gpio_enable_e810()
1419 clk_cfg.gpio_pin = GPIO_22; in ice_ptp_gpio_enable_e810()
1421 clk_cfg.gpio_pin = PPS_PIN_INDEX; in ice_ptp_gpio_enable_e810()
1423 clk_cfg.gpio_pin = chan; in ice_ptp_gpio_enable_e810()
1426 clk_cfg.period = ((rq->perout.period.sec * NSEC_PER_SEC) + in ice_ptp_gpio_enable_e810()
1428 clk_cfg.start_time = ((rq->perout.start.sec * NSEC_PER_SEC) + in ice_ptp_gpio_enable_e810()
1430 clk_cfg.ena = !!on; in ice_ptp_gpio_enable_e810()
[all …]
/linux-5.19.10/drivers/tty/serial/
Drp2.c598 u32 clk_cfg; in rp2_reset_asic() local
606 clk_cfg = readw(base + RP2_ASIC_CFG); in rp2_reset_asic()
607 clk_cfg = (clk_cfg & ~BIT(8)) | BIT(9); in rp2_reset_asic()
608 writew(clk_cfg, base + RP2_ASIC_CFG); in rp2_reset_asic()
/linux-5.19.10/sound/soc/codecs/
Dcs35l36.c63 int clk_cfg; member
1009 const struct cs35l36_pll_config *clk_cfg; in cs35l36_component_set_sysclk() local
1035 clk_cfg = cs35l36_get_clk_config(cs35l36, freq); in cs35l36_component_set_sysclk()
1036 if (clk_cfg == NULL) { in cs35l36_component_set_sysclk()
1046 clk_cfg->clk_cfg << CS35L36_REFCLK_FREQ_SHIFT); in cs35l36_component_set_sysclk()
1075 clk_cfg->fll_igain); in cs35l36_component_set_sysclk()
Dcs35l41.c34 int clk_cfg; member
813 return cs35l41_pll_sysclk[i].clk_cfg; in cs35l41_get_clk_config()
Dcs35l35.c405 u8 clk_cfg; member
460 return cs35l35_clk_ctl[i].clk_cfg; in cs35l35_get_clk_config()