Home
last modified time | relevance | path

Searched refs:ssc (Results 1 – 25 of 79) sorted by relevance

1234

/linux-6.6.21/drivers/misc/
Datmel-ssc.c29 struct ssc_device *ssc; in ssc_request() local
32 list_for_each_entry(ssc, &ssc_list, list) { in ssc_request()
33 if (ssc->pdev->dev.of_node) { in ssc_request()
34 if (of_alias_get_id(ssc->pdev->dev.of_node, "ssc") in ssc_request()
36 ssc->pdev->id = ssc_num; in ssc_request()
40 } else if (ssc->pdev->id == ssc_num) { in ssc_request()
52 if (ssc->user) { in ssc_request()
54 dev_dbg(&ssc->pdev->dev, "module busy\n"); in ssc_request()
57 ssc->user++; in ssc_request()
60 clk_prepare(ssc->clk); in ssc_request()
[all …]
/linux-6.6.21/sound/soc/atmel/
Datmel_ssc_dai.c147 ssc_sr = (unsigned long)ssc_readl(ssc_p->ssc->regs, SR) in atmel_ssc_interrupt()
148 & (unsigned long)ssc_readl(ssc_p->ssc->regs, IMR); in atmel_ssc_interrupt()
195 struct ssc_device *ssc = ssc_p->ssc; in atmel_ssc_hw_rule_rate() local
215 && ssc->clk_from_rk_pin) in atmel_ssc_hw_rule_rate()
225 && !ssc->clk_from_rk_pin) in atmel_ssc_hw_rule_rate()
279 ssc_readl(ssc_p->ssc->regs, SR)); in atmel_ssc_startup()
283 ret = clk_enable(ssc_p->ssc->clk); in atmel_ssc_startup()
287 ssc_p->mck_rate = clk_get_rate(ssc_p->ssc->clk); in atmel_ssc_startup()
291 ssc_writel(ssc_p->ssc->regs, CR, SSC_BIT(CR_SWRST)); in atmel_ssc_startup()
313 dma_params->ssc = ssc_p->ssc; in atmel_ssc_startup()
[all …]
Datmel-pcm-pdc.c104 ssc_writex(params->ssc->regs, ATMEL_PDC_PTCR, in atmel_pcm_dma_irq()
110 ssc_writex(params->ssc->regs, params->pdc->xpr, in atmel_pcm_dma_irq()
112 ssc_writex(params->ssc->regs, params->pdc->xcr, in atmel_pcm_dma_irq()
114 ssc_writex(params->ssc->regs, ATMEL_PDC_PTCR, in atmel_pcm_dma_irq()
124 ssc_writex(params->ssc->regs, params->pdc->xnpr, in atmel_pcm_dma_irq()
126 ssc_writex(params->ssc->regs, params->pdc->xncr, in atmel_pcm_dma_irq()
171 ssc_writex(params->ssc->regs, SSC_PDC_PTCR, in atmel_pcm_hw_free()
185 ssc_writex(params->ssc->regs, SSC_IDR, in atmel_pcm_prepare()
187 ssc_writex(params->ssc->regs, ATMEL_PDC_PTCR, in atmel_pcm_prepare()
208 ssc_writex(params->ssc->regs, params->pdc->xpr, in atmel_pcm_trigger()
[all …]
Datmel-pcm-dma.c68 ssc_writex(prtd->ssc->regs, SSC_CR, prtd->mask->ssc_disable); in atmel_pcm_dma_irq()
72 ssc_readx(prtd->ssc->regs, SSC_RHR); in atmel_pcm_dma_irq()
73 ssc_readx(prtd->ssc->regs, SSC_SR); in atmel_pcm_dma_irq()
82 struct ssc_device *ssc; in atmel_pcm_configure_dma() local
86 ssc = prtd->ssc; in atmel_pcm_configure_dma()
94 slave_config->dst_addr = ssc->phybase + SSC_THR; in atmel_pcm_configure_dma()
97 slave_config->src_addr = ssc->phybase + SSC_RHR; in atmel_pcm_configure_dma()
/linux-6.6.21/drivers/hid/
Dhid-saitek.c40 struct saitek_sc *ssc; in saitek_probe() local
43 ssc = devm_kzalloc(&hdev->dev, sizeof(*ssc), GFP_KERNEL); in saitek_probe()
44 if (ssc == NULL) { in saitek_probe()
49 ssc->quirks = quirks; in saitek_probe()
50 ssc->mode = -1; in saitek_probe()
52 hid_set_drvdata(hdev, ssc); in saitek_probe()
72 struct saitek_sc *ssc = hid_get_drvdata(hdev); in saitek_report_fixup() local
74 if ((ssc->quirks & SAITEK_FIX_PS1000) && *rsize == 137 && in saitek_report_fixup()
96 struct saitek_sc *ssc = hid_get_drvdata(hdev); in saitek_raw_event() local
98 if (ssc->quirks & SAITEK_RELEASE_MODE_RAT7 && size == 7) { in saitek_raw_event()
[all …]
/linux-6.6.21/sound/spi/
Dat73c213.c69 struct ssc_device *ssc; member
131 unsigned long ssc_rate = clk_get_rate(chip->ssc->clk); in snd_at73c213_set_bitrate()
193 ssc_writel(chip->ssc->regs, CMR, ssc_div/2); in snd_at73c213_set_bitrate()
221 err = clk_enable(chip->ssc->clk); in snd_at73c213_pcm_open()
232 clk_disable(chip->ssc->clk); in snd_at73c213_pcm_close()
243 val = ssc_readl(chip->ssc->regs, TFMR); in snd_at73c213_pcm_hw_params()
245 ssc_writel(chip->ssc->regs, TFMR, val); in snd_at73c213_pcm_hw_params()
260 ssc_writel(chip->ssc->regs, PDC_TPR, in snd_at73c213_pcm_prepare()
262 ssc_writel(chip->ssc->regs, PDC_TCR, in snd_at73c213_pcm_prepare()
264 ssc_writel(chip->ssc->regs, PDC_TNPR, in snd_at73c213_pcm_prepare()
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/misc/
Datmel-ssc.txt4 - compatible: "atmel,at91rm9200-ssc" or "atmel,at91sam9g45-ssc"
5 - atmel,at91rm9200-ssc: support pdc transfer
6 - atmel,at91sam9g45-ssc: support dma transfer
14 Required properties for devices compatible with "atmel,at91sam9g45-ssc":
32 ssc0: ssc@fffbc000 {
33 compatible = "atmel,at91rm9200-ssc";
41 ssc0: ssc@f0010000 {
42 compatible = "atmel,at91sam9g45-ssc";
/linux-6.6.21/Documentation/devicetree/bindings/bus/
Dqcom,ssc-block-bus.yaml4 $id: http://devicetree.org/schemas/bus/qcom,ssc-block-bus.yaml#
27 - const: qcom,msm8998-ssc-block-bus
28 - const: qcom,ssc-block-bus
84 description: describes how to locate the ssc AXI halt register
88 - description: offset for the ssc AXI halt register
118 …// devices under this node are physically located in the SSC block, connected to an ssc-internal b…
124 compatible = "qcom,msm8998-ssc-block-bus", "qcom,ssc-block-bus";
/linux-6.6.21/Documentation/devicetree/bindings/phy/
Drenesas,usb3-phy.yaml33 # If you want to use the ssc, the clock-frequency of usb_extal
51 renesas,ssc-range:
53 Enable/disable spread spectrum clock (ssc). 0 or the property doesn't
54 exist means disabling the ssc. The actual value will be -<value> ppm.
Dphy-cadence-torrent.yaml107 cdns,ssc-mode:
199 cdns,ssc-mode = <CDNS_SERDES_NO_SSC>;
208 cdns,ssc-mode = <CDNS_SERDES_NO_SSC>;
/linux-6.6.21/Documentation/devicetree/bindings/spi/
Dst,ssc-spi.yaml4 $id: http://devicetree.org/schemas/spi/st,ssc-spi.yaml#
31 const: ssc
54 clock-names = "ssc";
/linux-6.6.21/arch/arm/boot/dts/st/
Dstih407-family.dtsi368 clock-names = "ssc";
383 clock-names = "ssc";
398 clock-names = "ssc";
413 clock-names = "ssc";
428 clock-names = "ssc";
443 clock-names = "ssc";
460 clock-names = "ssc";
475 clock-names = "ssc";
490 clock-names = "ssc";
504 clock-names = "ssc";
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/clock/ti/
Ddpll.txt45 "ssc-deltam" - DPLL supports spread spectrum clocking (SSC), contains
47 "ssc-modfreq" - DPLL supports spread spectrum clocking (SSC), contains
61 - ti,ssc-deltam : DPLL supports spread spectrum clocking, frequency
63 - ti,ssc-modfreq-hz : DPLL supports spread spectrum clocking, spread
65 - ti,ssc-downspread : DPLL supports spread spectrum clocking, boolean
/linux-6.6.21/arch/arm/boot/dts/microchip/
Dat91sam9g20.dtsi36 ssc0: ssc@fffbc000 {
37 compatible = "atmel,at91sam9rl-ssc";
Dmpa1600.dts51 ssc0: ssc@fffd0000 {
55 ssc1: ssc@fffd4000 {
/linux-6.6.21/Documentation/devicetree/bindings/sound/
Datmel-at91sam9g20ek-wm8731-audio.txt7 - atmel,ssc-controller: The phandle of the SSC controller
24 atmel,ssc-controller = <&ssc0>;
Datmel-sam9x5-wm8731-audio.txt6 - atmel,ssc-controller: The phandle of the SSC controller
33 atmel,ssc-controller = <&ssc0>;
Datmel-wm8904.txt31 - atmel,ssc-controller: The phandle of the SSC controller
53 atmel,ssc-controller = <&ssc0>;
/linux-6.6.21/drivers/clk/
Dclk-renesas-pcie.c210 unsigned int amp, ssc; in rs9_get_common_config() local
235 ret = of_property_read_u32(np, "renesas,out-spread-spectrum", &ssc); in rs9_get_common_config()
237 if (ssc == 100000) /* 100% ... no spread (default) */ in rs9_get_common_config()
239 else if (ssc == 99750) /* -0.25% ... down spread */ in rs9_get_common_config()
241 else if (ssc == 99500) /* -0.50% ... down spread */ in rs9_get_common_config()
/linux-6.6.21/drivers/mmc/host/
Dsdhci-pci-gli.c477 u32 ssc; in gl9750_set_ssc() local
481 ssc = sdhci_readl(host, SDHCI_GLI_9750_PLLSSC); in gl9750_set_ssc()
484 ssc &= ~SDHCI_GLI_9750_PLLSSC_PPM; in gl9750_set_ssc()
487 ssc |= FIELD_PREP(SDHCI_GLI_9750_PLLSSC_PPM, ppm); in gl9750_set_ssc()
488 sdhci_writel(host, ssc, SDHCI_GLI_9750_PLLSSC); in gl9750_set_ssc()
673 u32 ssc; in gl9755_set_ssc() local
677 pci_read_config_dword(pdev, PCI_GLI_9755_PLLSSC, &ssc); in gl9755_set_ssc()
680 ssc &= ~PCI_GLI_9755_PLLSSC_PPM; in gl9755_set_ssc()
683 ssc |= FIELD_PREP(PCI_GLI_9755_PLLSSC_PPM, ppm); in gl9755_set_ssc()
684 pci_write_config_dword(pdev, PCI_GLI_9755_PLLSSC, ssc); in gl9755_set_ssc()
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/clock/
Dmediatek,mt8186-fhctl.yaml34 mediatek,hopping-ssc-percent:
57 mediatek,hopping-ssc-percent = <3>;
/linux-6.6.21/Documentation/devicetree/bindings/i2c/
Dst,sti-i2c.yaml18 - st,comms-ssc-i2c
65 clock-names = "ssc";
/linux-6.6.21/drivers/phy/xilinx/
Dphy-zynqmp.c342 const struct xpsgtr_ssc *ssc; in xpsgtr_configure_pll() local
345 ssc = gtr_phy->dev->refclk_sscs[gtr_phy->refclk]; in xpsgtr_configure_pll()
346 step_size = ssc->step_size; in xpsgtr_configure_pll()
349 PLL_FREQ_MASK, ssc->pll_ref_clk); in xpsgtr_configure_pll()
374 STEPS_0_MASK, ssc->steps & STEPS_0_MASK); in xpsgtr_configure_pll()
379 (ssc->steps >> STEP_SIZE_SHIFT) & STEPS_1_MASK); in xpsgtr_configure_pll()
/linux-6.6.21/include/linux/phy/
Dphy-dp.h64 u8 ssc : 1; member
/linux-6.6.21/drivers/phy/cadence/
Dphy-cadence-torrent.c329 #define CDNS_TORRENT_KEY(refclk0, refclk1, link0, link1, ssc) \ argument
334 (((ssc) << SSC_SHIFT) & SSC_MASK))
459 enum cdns_torrent_ssc_mode ssc) in cdns_torrent_get_tbl_vals() argument
462 u32 key = CDNS_TORRENT_KEY(refclk0, refclk1, link0, link1, ssc); in cdns_torrent_get_tbl_vals()
728 u32 rate, bool ssc) in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz() argument
747 if (ssc) in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
764 if (ssc) in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
780 if (ssc) in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
795 if (ssc) in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
800 if (ssc) { in cdns_torrent_dp_pma_cmn_vco_cfg_19_2mhz()
[all …]

1234