Home
last modified time | relevance | path

Searched full:psc (Results 1 – 25 of 343) sorted by relevance

12345678910>>...14

/kernel/linux/linux-6.6/arch/powerpc/include/asm/
Dmpc52xx_psc.h5 * PSCs. Theses are shared between multiple drivers since a PSC can be
34 /* Programmable Serial Controller (PSC) status register bits */
49 /* PSC Command values */
62 /* PSC TxRx FIFO status bits */
71 /* PSC interrupt status/mask bits */
85 /* PSC input port change bits */
91 /* PSC acr bits */
95 /* PSC output port bits */
99 /* PSC mode fields */
154 u8 mode; /* PSC + 0x00 */
[all …]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dmpc52xx_psc.h5 * PSCs. Theses are shared between multiple drivers since a PSC can be
34 /* Programmable Serial Controller (PSC) status register bits */
49 /* PSC Command values */
62 /* PSC TxRx FIFO status bits */
71 /* PSC interrupt status/mask bits */
85 /* PSC input port change bits */
91 /* PSC acr bits */
95 /* PSC output port bits */
99 /* PSC mode fields */
154 u8 mode; /* PSC + 0x00 */
[all …]
/kernel/linux/linux-6.6/arch/arm/mach-ep93xx/
Dclock.c76 struct clk_psc *psc = to_clk_psc(hw); in ep93xx_clk_is_enabled() local
77 u32 val = readl(psc->reg); in ep93xx_clk_is_enabled()
79 return (val & BIT(psc->bit_idx)) ? 1 : 0; in ep93xx_clk_is_enabled()
84 struct clk_psc *psc = to_clk_psc(hw); in ep93xx_clk_enable() local
88 if (psc->lock) in ep93xx_clk_enable()
89 spin_lock_irqsave(psc->lock, flags); in ep93xx_clk_enable()
91 val = __raw_readl(psc->reg); in ep93xx_clk_enable()
92 val |= BIT(psc->bit_idx); in ep93xx_clk_enable()
94 ep93xx_syscon_swlocked_write(val, psc->reg); in ep93xx_clk_enable()
96 if (psc->lock) in ep93xx_clk_enable()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/powerpc/fsl/
Dmpc5121-psc.txt1 MPC5121 PSC Device Tree Bindings
3 PSC in UART mode
6 For PSC in UART mode the needed PSC serial devices
7 are specified by fsl,mpc5121-psc-uart nodes in the
8 fsl,mpc5121-immr SoC node. Additionally the PSC FIFO
9 Controller node fsl,mpc5121-psc-fifo is required there:
11 fsl,mpc512x-psc-uart nodes
15 - compatible : Should contain "fsl,<soc>-psc-uart" and "fsl,<soc>-psc"
17 - reg : Offset and length of the register set for the PSC device
19 PSC FIFO Controller and b is a field that represents an
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/powerpc/fsl/
Dmpc5121-psc.txt1 MPC5121 PSC Device Tree Bindings
3 PSC in UART mode
6 For PSC in UART mode the needed PSC serial devices
7 are specified by fsl,mpc5121-psc-uart nodes in the
8 fsl,mpc5121-immr SoC node. Additionally the PSC FIFO
9 Controller node fsl,mpc5121-psc-fifo is required there:
11 fsl,mpc512x-psc-uart nodes
15 - compatible : Should contain "fsl,<soc>-psc-uart" and "fsl,<soc>-psc"
17 - reg : Offset and length of the register set for the PSC device
19 PSC FIFO Controller and b is a field that represents an
[all …]
/kernel/linux/linux-6.6/arch/powerpc/boot/dts/
Dpdm360ng.dts136 psc@11000 {
137 compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc";
140 psc@11100 {
141 compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc";
144 psc@11200 {
145 compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc";
148 psc@11300 {
149 compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc";
152 psc@11400 {
153 compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc";
[all …]
Dcm5200.dts26 psc@2000 { // PSC1
27 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
30 psc@2200 { // PSC2
31 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
34 psc@2400 { // PSC3
35 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
38 psc@2600 { // PSC4
42 psc@2800 { // PSC5
46 psc@2c00 { // PSC6
47 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
Do2d.dtsi32 psc@2000 { // PSC1
33 compatible = "fsl,mpc5200b-psc-spi","fsl,mpc5200-psc-spi";
39 psc@2200 { // PSC2
43 psc@2400 { // PSC3
47 psc@2600 { // PSC4
48 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
51 psc@2800 { // PSC5
52 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
55 psc@2c00 { // PSC6
Dpcm030.dts26 audioplatform: psc@2000 { /* PSC1 in ac97 mode */
27 compatible = "mpc5200b-psc-ac97","fsl,mpc5200b-psc-ac97";
32 psc@2200 {
36 psc@2400 { /* PSC3 in UART mode */
37 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
41 psc@2600 {
46 psc@2800 {
50 psc@2c00 { /* PSC6 in UART mode */
51 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
/kernel/linux/linux-5.10/arch/powerpc/boot/dts/
Dpdm360ng.dts136 psc@11000 {
137 compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc";
140 psc@11100 {
141 compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc";
144 psc@11200 {
145 compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc";
148 psc@11300 {
149 compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc";
152 psc@11400 {
153 compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc";
[all …]
Dcm5200.dts26 psc@2000 { // PSC1
27 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
30 psc@2200 { // PSC2
31 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
34 psc@2400 { // PSC3
35 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
38 psc@2600 { // PSC4
42 psc@2800 { // PSC5
46 psc@2c00 { // PSC6
47 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
Dpcm030.dts26 audioplatform: psc@2000 { /* PSC1 in ac97 mode */
27 compatible = "mpc5200b-psc-ac97","fsl,mpc5200b-psc-ac97";
32 psc@2200 {
36 psc@2400 { /* PSC3 in UART mode */
37 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
41 psc@2600 {
46 psc@2800 {
50 psc@2c00 { /* PSC6 in UART mode */
51 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
Do2d.dtsi32 psc@2000 { // PSC1
33 compatible = "fsl,mpc5200b-psc-spi","fsl,mpc5200-psc-spi";
45 psc@2200 { // PSC2
49 psc@2400 { // PSC3
53 psc@2600 { // PSC4
54 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
57 psc@2800 { // PSC5
58 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
61 psc@2c00 { // PSC6
/kernel/linux/linux-6.6/drivers/spi/
Dspi-mpc52xx-psc.c3 * MPC52xx PSC in SPI mode driver.
26 #define MCLK 20000000 /* PSC port MClk in hz */
30 struct mpc52xx_psc __iomem *psc; member
64 struct mpc52xx_psc __iomem *psc = mps->psc; in mpc52xx_psc_spi_activate_cs() local
68 sicr = in_be32(&psc->sicr); in mpc52xx_psc_spi_activate_cs()
84 out_be32(&psc->sicr, sicr); in mpc52xx_psc_spi_activate_cs()
87 * Because psc->ccr is defined as 16bit register instead of 32bit in mpc52xx_psc_spi_activate_cs()
90 ccr = in_be16((u16 __iomem *)&psc->ccr); in mpc52xx_psc_spi_activate_cs()
96 out_be16((u16 __iomem *)&psc->ccr, ccr); in mpc52xx_psc_spi_activate_cs()
108 struct mpc52xx_psc __iomem *psc = mps->psc; in mpc52xx_psc_spi_transfer_rxtx() local
[all …]
/kernel/linux/linux-6.6/drivers/clk/keystone/
Dgate.c17 /* PSC register offsets */
25 /* PSC module states */
44 * struct clk_psc_data - PSC data
45 * @control_base: Base address for a PSC control
46 * @domain_base: Base address for a PSC domain
47 * @domain_id: PSC domain id number
56 * struct clk_psc - PSC clock structure
57 * @hw: clk_hw for the psc
58 * @psc_data: PSC driver specific data
106 struct clk_psc *psc = to_clk_psc(hw); in keystone_clk_is_enabled() local
[all …]
/kernel/linux/linux-5.10/drivers/clk/keystone/
Dgate.c17 /* PSC register offsets */
25 /* PSC module states */
44 * struct clk_psc_data - PSC data
45 * @control_base: Base address for a PSC control
46 * @domain_base: Base address for a PSC domain
47 * @domain_id: PSC domain id number
56 * struct clk_psc - PSC clock structure
57 * @hw: clk_hw for the psc
58 * @psc_data: PSC driver specific data
106 struct clk_psc *psc = to_clk_psc(hw); in keystone_clk_is_enabled() local
[all …]
/kernel/linux/linux-5.10/drivers/spi/
Dspi-mpc52xx-psc.c3 * MPC52xx PSC in SPI mode driver.
27 #define MCLK 20000000 /* PSC port MClk in hz */
35 struct mpc52xx_psc __iomem *psc; member
75 struct mpc52xx_psc __iomem *psc = mps->psc; in mpc52xx_psc_spi_activate_cs() local
79 sicr = in_be32(&psc->sicr); in mpc52xx_psc_spi_activate_cs()
95 out_be32(&psc->sicr, sicr); in mpc52xx_psc_spi_activate_cs()
98 * Because psc->ccr is defined as 16bit register instead of 32bit in mpc52xx_psc_spi_activate_cs()
101 ccr = in_be16((u16 __iomem *)&psc->ccr); in mpc52xx_psc_spi_activate_cs()
107 out_be16((u16 __iomem *)&psc->ccr, ccr); in mpc52xx_psc_spi_activate_cs()
130 struct mpc52xx_psc __iomem *psc = mps->psc; in mpc52xx_psc_spi_transfer_rxtx() local
[all …]
/kernel/linux/linux-5.10/drivers/clk/davinci/
Dpsc.c3 * Clock driver for TI Davinci PSC controllers
12 * And: arch/arm/mach-davinci/psc.c
32 #include "psc.h"
34 /* PSC register offsets */
43 /* PSC module states */
71 * @regmap: PSC MMIO region
228 * @regmap: PSC MMIO region
229 * @md: local PSC number
309 struct davinci_psc_data *psc = to_davinci_psc_data(rcdev); in davinci_psc_reset_assert() local
310 struct clk *clk = psc->clk_data.clks[id]; in davinci_psc_reset_assert()
[all …]
/kernel/linux/linux-6.6/drivers/clk/davinci/
Dpsc.c3 * Clock driver for TI Davinci PSC controllers
12 * And: arch/arm/mach-davinci/psc.c
32 #include "psc.h"
34 /* PSC register offsets */
43 /* PSC module states */
71 * @regmap: PSC MMIO region
228 * @regmap: PSC MMIO region
229 * @md: local PSC number
309 struct davinci_psc_data *psc = to_davinci_psc_data(rcdev); in davinci_psc_reset_assert() local
310 struct clk *clk = psc->clk_data.clks[id]; in davinci_psc_reset_assert()
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/ti/keystone/
Dkeystone-k2hk-clocks.dtsi55 compatible = "ti,keystone,psc-clock";
65 compatible = "ti,keystone,psc-clock";
75 compatible = "ti,keystone,psc-clock";
85 compatible = "ti,keystone,psc-clock";
95 compatible = "ti,keystone,psc-clock";
105 compatible = "ti,keystone,psc-clock";
115 compatible = "ti,keystone,psc-clock";
125 compatible = "ti,keystone,psc-clock";
135 compatible = "ti,keystone,psc-clock";
145 compatible = "ti,keystone,psc-clock";
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dkeystone-k2hk-clocks.dtsi55 compatible = "ti,keystone,psc-clock";
65 compatible = "ti,keystone,psc-clock";
75 compatible = "ti,keystone,psc-clock";
85 compatible = "ti,keystone,psc-clock";
95 compatible = "ti,keystone,psc-clock";
105 compatible = "ti,keystone,psc-clock";
115 compatible = "ti,keystone,psc-clock";
125 compatible = "ti,keystone,psc-clock";
135 compatible = "ti,keystone,psc-clock";
145 compatible = "ti,keystone,psc-clock";
[all …]
/kernel/linux/linux-6.6/arch/powerpc/boot/
Dmpc52xx-psc.c3 * MPC5200 PSC serial console support.
18 /* Programmable Serial Controller (PSC) status register bits */
27 static void *psc; variable
31 /* Assume the firmware has already configured the PSC into in psc_open()
38 while (!(in_be16(psc + MPC52xx_PSC_SR) & MPC52xx_PSC_SR_TXRDY)) ; in psc_putc()
39 out_8(psc + MPC52xx_PSC_BUFFER, c); in psc_putc()
44 return (in_be16(psc + MPC52xx_PSC_SR) & MPC52xx_PSC_SR_RXRDY) != 0; in psc_tstc()
49 while (!(in_be16(psc + MPC52xx_PSC_SR) & MPC52xx_PSC_SR_RXRDY)) ; in psc_getc()
50 return in_8(psc + MPC52xx_PSC_BUFFER); in psc_getc()
55 /* Get the base address of the psc registers */ in mpc5200_psc_console_init()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/boot/
Dmpc52xx-psc.c3 * MPC5200 PSC serial console support.
18 /* Programmable Serial Controller (PSC) status register bits */
27 static void *psc; variable
31 /* Assume the firmware has already configured the PSC into in psc_open()
38 while (!(in_be16(psc + MPC52xx_PSC_SR) & MPC52xx_PSC_SR_TXRDY)) ; in psc_putc()
39 out_8(psc + MPC52xx_PSC_BUFFER, c); in psc_putc()
44 return (in_be16(psc + MPC52xx_PSC_SR) & MPC52xx_PSC_SR_RXRDY) != 0; in psc_tstc()
49 while (!(in_be16(psc + MPC52xx_PSC_SR) & MPC52xx_PSC_SR_RXRDY)) ; in psc_getc()
50 return in_8(psc + MPC52xx_PSC_BUFFER); in psc_getc()
55 /* Get the base address of the psc registers */ in mpc5200_psc_console_init()
[all …]
/kernel/linux/linux-6.6/arch/m68k/mac/
Dpsc.c3 * Apple Peripheral System Controller (PSC)
5 * The PSC is used on the AV Macs to control IO functions not handled
31 volatile __u8 *psc; variable
32 EXPORT_SYMBOL_GPL(psc);
42 if (!psc) in psc_debug_dump()
46 printk(KERN_DEBUG "PSC #%d: IFR = 0x%02X IER = 0x%02X\n", in psc_debug_dump()
54 * Try to kill all DMA channels on the PSC. Not sure how this his
72 * Initialize the PSC. For now this just involves shutting down all
83 psc = NULL; in psc_init()
88 * The PSC is always at the same spot, but using psc in psc_init()
[all …]
/kernel/linux/linux-5.10/arch/m68k/mac/
Dpsc.c3 * Apple Peripheral System Controller (PSC)
5 * The PSC is used on the AV Macs to control IO functions not handled
31 volatile __u8 *psc; variable
32 EXPORT_SYMBOL_GPL(psc);
42 if (!psc) in psc_debug_dump()
46 printk(KERN_DEBUG "PSC #%d: IFR = 0x%02X IER = 0x%02X\n", in psc_debug_dump()
54 * Try to kill all DMA channels on the PSC. Not sure how this his
72 * Initialize the PSC. For now this just involves shutting down all
83 psc = NULL; in psc_init()
88 * The PSC is always at the same spot, but using psc in psc_init()
[all …]

12345678910>>...14