Home
last modified time | relevance | path

Searched refs:psc (Results 1 – 25 of 96) sorted by relevance

1234

/linux/arch/arm/mach-ep93xx/
A Dclock.c88 if (psc->lock) in ep93xx_clk_enable()
135 psc = kzalloc(sizeof(*psc), GFP_KERNEL); in ep93xx_clk_register_gate()
136 if (!psc) in ep93xx_clk_register_gate()
152 kfree(psc); in ep93xx_clk_register_gate()
330 psc = kzalloc(sizeof(*psc), GFP_KERNEL); in clk_hw_register_ddiv()
331 if (!psc) in clk_hw_register_ddiv()
357 u8 index = (val & psc->mask) >> psc->shift; in ep93xx_div_recalc_rate()
372 maxdiv = psc->div[psc->num_div - 1]; in ep93xx_div_round_rate()
394 u32 val = __raw_readl(psc->reg) & ~psc->mask; in ep93xx_div_set_rate()
433 psc = kzalloc(sizeof(*psc), GFP_KERNEL); in clk_hw_register_div()
[all …]
/linux/arch/powerpc/boot/dts/
A Dpdm360ng.dts136 psc@11000 {
140 psc@11100 {
144 psc@11200 {
148 psc@11300 {
152 psc@11400 {
156 psc@11500 {
160 psc@11600 {
164 psc@11700 {
168 psc@11800 {
172 psc@11900 {
[all …]
A 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";
A Da4m072.dts42 psc@2000 {
43 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
48 psc@2200 {
49 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
54 psc@2400 {
55 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
60 psc@2600 {
64 psc@2800 {
68 psc@2c00 {
69 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
A 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
A 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";
A Dmotionpro.dts31 psc@2000 { // PSC1
32 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
36 psc@2200 { // PSC2
37 compatible = "fsl,mpc5200b-psc-spi","fsl,mpc5200-psc-spi";
41 psc@2400 { // PSC3
45 psc@2600 { // PSC4
49 psc@2800 { // PSC5
50 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
53 psc@2c00 { // PSC6
A Duc101.dts46 psc@2000 { // PSC1
47 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
50 psc@2200 { // PSC2
51 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
54 psc@2400 { // PSC3
58 psc@2600 { // PSC4
62 psc@2800 { // PSC5
66 psc@2c00 { // PSC6
67 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
A Dlite5200b.dts39 psc@2000 { // PSC1
40 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
44 psc@2200 { // PSC2
48 psc@2400 { // PSC3
52 psc@2600 { // PSC4
56 psc@2800 { // PSC5
60 psc@2c00 { // PSC6
66 // compatible = "fsl,mpc5200b-psc-ac97","fsl,mpc5200-psc-ac97";
72 // compatible = "fsl,mpc5200b-psc-i2s"; //not 5200 compatible
78 // compatible = "fsl,mpc5200b-psc-spi","fsl,mpc5200-psc-spi";
A Dpcm032.dts28 psc@2000 { /* PSC1 is ac97 */
29 compatible = "fsl,mpc5200b-psc-ac97","fsl,mpc5200-psc-ac97";
34 psc@2200 {
38 psc@2400 { /* PSC3 in UART mode */
39 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
43 psc@2600 {
48 psc@2800 {
52 psc@2c00 { /* PSC6 in UART mode */
53 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
A Da3m071.dts39 psc@2000 {
40 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
45 psc@2200 {
49 psc@2400 {
53 psc@2600 {
57 psc@2800 {
61 psc@2c00 { // PSC6
62 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
A Ddigsy_mtc.dts36 psc@2000 { // PSC1
40 psc@2200 { // PSC2
44 psc@2400 { // PSC3
48 psc@2600 { // PSC4
49 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
52 psc@2800 { // PSC5
53 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
56 psc@2c00 { // PSC6
A Dmpc5121.dtsi349 psc@11000 {
361 psc@11100 {
373 psc@11200 {
385 psc@11300 {
397 psc@11400 {
409 psc@11500 {
421 psc@11600 {
433 psc@11700 {
445 psc@11800 {
457 psc@11900 {
[all …]
A Dmpc5200b.dtsi182 psc1: psc@2000 { // PSC1
183 compatible = "fsl,mpc5200b-psc","fsl,mpc5200-psc";
188 psc2: psc@2200 { // PSC2
189 compatible = "fsl,mpc5200b-psc","fsl,mpc5200-psc";
194 psc3: psc@2400 { // PSC3
195 compatible = "fsl,mpc5200b-psc","fsl,mpc5200-psc";
200 psc4: psc@2600 { // PSC4
201 compatible = "fsl,mpc5200b-psc","fsl,mpc5200-psc";
206 psc5: psc@2800 { // PSC5
207 compatible = "fsl,mpc5200b-psc","fsl,mpc5200-psc";
[all …]
A Dmucmc52.dts49 psc@2000 { // PSC1
50 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
53 psc@2200 { // PSC2
54 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
57 psc@2400 { // PSC3
61 psc@2600 { // PSC4
65 psc@2800 { // PSC5
69 psc@2c00 { // PSC6
70 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
/linux/drivers/spi/
A Dspi-mpc52xx-psc.c75 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()
130 struct mpc52xx_psc __iomem *psc = mps->psc; in mpc52xx_psc_spi_transfer_rxtx() local
175 out_8(&psc->mode, 0); in mpc52xx_psc_spi_transfer_rxtx()
309 struct mpc52xx_psc __iomem *psc = mps->psc; in mpc52xx_psc_spi_port_config() local
348 struct mpc52xx_psc __iomem *psc = mps->psc; in mpc52xx_psc_spi_isr() local
398 if (!mps->psc) { in mpc52xx_psc_spi_do_probe()
431 if (mps->psc) in mpc52xx_psc_spi_do_probe()
432 iounmap(mps->psc); in mpc52xx_psc_spi_do_probe()
475 if (mps->psc) in mpc52xx_psc_spi_of_remove()
[all …]
/linux/drivers/clk/keystone/
A Dgate.c119 if (psc->lock) in keystone_clk_enable()
125 if (psc->lock) in keystone_clk_enable()
137 if (psc->lock) in keystone_clk_disable()
143 if (psc->lock) in keystone_clk_disable()
168 struct clk_psc *psc; in clk_register_psc() local
171 psc = kzalloc(sizeof(*psc), GFP_KERNEL); in clk_register_psc()
172 if (!psc) in clk_register_psc()
181 psc->psc_data = psc_data; in clk_register_psc()
182 psc->lock = lock; in clk_register_psc()
183 psc->hw.init = &init; in clk_register_psc()
[all …]
/linux/drivers/clk/davinci/
A Dpsc.c371 psc = kzalloc(sizeof(*psc), GFP_KERNEL); in __davinci_psc_register_clocks()
372 if (!psc) in __davinci_psc_register_clocks()
381 psc->clk_data.clks = clks; in __davinci_psc_register_clocks()
427 return psc; in __davinci_psc_register_clocks()
431 psc->rcdev.dev = dev; in __davinci_psc_register_clocks()
441 return psc; in __davinci_psc_register_clocks()
448 kfree(psc); in __davinci_psc_register_clocks()
461 if (IS_ERR(psc)) in davinci_psc_register_clocks()
462 return PTR_ERR(psc); in davinci_psc_register_clocks()
487 if (IS_ERR(psc)) in of_davinci_psc_clk_init()
[all …]
A DMakefile14 obj-y += psc.o
15 obj-$(CONFIG_ARCH_DAVINCI_DA830) += psc-da830.o
16 obj-$(CONFIG_ARCH_DAVINCI_DA850) += psc-da850.o
17 obj-$(CONFIG_ARCH_DAVINCI_DM355) += psc-dm355.o
18 obj-$(CONFIG_ARCH_DAVINCI_DM365) += psc-dm365.o
19 obj-$(CONFIG_ARCH_DAVINCI_DM644x) += psc-dm644x.o
20 obj-$(CONFIG_ARCH_DAVINCI_DM646x) += psc-dm646x.o
/linux/arch/arm/boot/dts/
A 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 …]
A Dkeystone-k2l-clocks.dtsi46 compatible = "ti,keystone,psc-clock";
56 compatible = "ti,keystone,psc-clock";
66 compatible = "ti,keystone,psc-clock";
76 compatible = "ti,keystone,psc-clock";
86 compatible = "ti,keystone,psc-clock";
96 compatible = "ti,keystone,psc-clock";
106 compatible = "ti,keystone,psc-clock";
116 compatible = "ti,keystone,psc-clock";
126 compatible = "ti,keystone,psc-clock";
136 compatible = "ti,keystone,psc-clock";
[all …]
A Dkeystone-clocks.dtsi162 compatible = "ti,keystone,psc-clock";
173 compatible = "ti,keystone,psc-clock";
183 compatible = "ti,keystone,psc-clock";
194 compatible = "ti,keystone,psc-clock";
204 compatible = "ti,keystone,psc-clock";
214 compatible = "ti,keystone,psc-clock";
224 compatible = "ti,keystone,psc-clock";
234 compatible = "ti,keystone,psc-clock";
244 compatible = "ti,keystone,psc-clock";
254 compatible = "ti,keystone,psc-clock";
[all …]
/linux/Documentation/devicetree/bindings/powerpc/fsl/
A Dmpc5121-psc.txt7 are specified by fsl,mpc5121-psc-uart nodes in the
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"
30 for that is fsl,mpc5121-psc-spi. It requires a fsl,mpc5121-psc-fifo as well.
32 fsl,mpc5121-psc-uart nodes, just use spi instead of uart in the compatible
35 fsl,mpc512x-psc-fifo node
39 - compatible : Should be "fsl,<soc>-psc-fifo"
54 compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc";
64 compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc";
[all …]
/linux/arch/powerpc/boot/
A Dmpc52xx-psc.c27 static void *psc; variable
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()
56 if (dt_get_virtual_reg(devp, &psc, 1) < 1) in mpc5200_psc_console_init()
/linux/arch/m68k/include/asm/
A Dmac_psc.h212 extern volatile __u8 *psc;
224 *((volatile __u8 *)(psc + offset)) = data; in psc_write_byte()
229 *((volatile __u16 *)(psc + offset)) = data; in psc_write_word()
234 *((volatile __u32 *)(psc + offset)) = data; in psc_write_long()
239 return *((volatile __u8 *)(psc + offset)); in psc_read_byte()
244 return *((volatile __u16 *)(psc + offset)); in psc_read_word()
249 return *((volatile __u32 *)(psc + offset)); in psc_read_long()

Completed in 32 milliseconds

1234