/linux-6.6.21/arch/arm/mach-ep93xx/ ! |
D | clock.c | 76 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 …]
|
/linux-6.6.21/arch/powerpc/boot/dts/ ! |
D | pdm360ng.dts | 136 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 …]
|
D | cm5200.dts | 26 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";
|
D | o2d.dtsi | 32 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
|
D | a4m072.dts | 42 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";
|
D | pcm030.dts | 26 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";
|
D | uc101.dts | 46 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";
|
D | motionpro.dts | 31 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
|
D | lite5200b.dts | 39 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";
|
D | a3m071.dts | 39 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";
|
D | pcm032.dts | 28 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";
|
D | digsy_mtc.dts | 28 psc@2000 { // PSC1 32 psc@2200 { // PSC2 36 psc@2400 { // PSC3 40 psc@2600 { // PSC4 41 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 44 psc@2800 { // PSC5 45 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart"; 48 psc@2c00 { // PSC6
|
D | mpc5121.dtsi | 349 psc@11000 { 350 compatible = "fsl,mpc5121-psc"; 361 psc@11100 { 362 compatible = "fsl,mpc5121-psc"; 373 psc@11200 { 374 compatible = "fsl,mpc5121-psc"; 385 psc@11300 { 386 compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc"; 397 psc@11400 { 398 compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc"; [all …]
|
D | mucmc52.dts | 49 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";
|
D | mpc5200b.dtsi | 182 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 …]
|
/linux-6.6.21/drivers/spi/ ! |
D | spi-mpc52xx-psc.c | 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() 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 123 out_8(&psc->command, MPC52xx_PSC_TX_ENABLE | MPC52xx_PSC_RX_ENABLE); in mpc52xx_psc_spi_transfer_rxtx() 138 out_8(&psc->ircr2, 0x01); in mpc52xx_psc_spi_transfer_rxtx() 141 out_8(&psc->mpc52xx_psc_buffer_8, tx_buf[sb]); in mpc52xx_psc_spi_transfer_rxtx() [all …]
|
/linux-6.6.21/drivers/clk/keystone/ ! |
D | gate.c | 106 struct clk_psc *psc = to_clk_psc(hw); in keystone_clk_is_enabled() local 107 struct clk_psc_data *data = psc->psc_data; in keystone_clk_is_enabled() 115 struct clk_psc *psc = to_clk_psc(hw); in keystone_clk_enable() local 116 struct clk_psc_data *data = psc->psc_data; in keystone_clk_enable() 119 if (psc->lock) in keystone_clk_enable() 120 spin_lock_irqsave(psc->lock, flags); in keystone_clk_enable() 125 if (psc->lock) in keystone_clk_enable() 126 spin_unlock_irqrestore(psc->lock, flags); in keystone_clk_enable() 133 struct clk_psc *psc = to_clk_psc(hw); in keystone_clk_disable() local 134 struct clk_psc_data *data = psc->psc_data; in keystone_clk_disable() [all …]
|
/linux-6.6.21/drivers/clk/davinci/ ! |
D | psc.c | 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() 318 struct davinci_psc_data *psc = to_davinci_psc_data(rcdev); in davinci_psc_reset_deassert() local 319 struct clk *clk = psc->clk_data.clks[id]; in davinci_psc_reset_deassert() 365 struct davinci_psc_data *psc; in __davinci_psc_register_clocks() local 371 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() 382 psc->clk_data.clk_num = num_clks; in __davinci_psc_register_clocks() 397 psc->pm_data.domains = pm_domains; in __davinci_psc_register_clocks() [all …]
|
/linux-6.6.21/arch/arm/boot/dts/ti/keystone/ ! |
D | keystone-k2hk-clocks.dtsi | 55 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 …]
|
D | keystone-k2l-clocks.dtsi | 46 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 …]
|
D | keystone-clocks.dtsi | 162 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-6.6.21/Documentation/devicetree/bindings/powerpc/fsl/ ! |
D | mpc5121-psc.txt | 7 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-6.6.21/arch/powerpc/boot/ ! |
D | mpc52xx-psc.c | 27 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-6.6.21/drivers/staging/rtl8192e/rtl8192e/ ! |
D | rtl_ps.c | 103 struct rt_pwr_save_ctrl *psc = (struct rt_pwr_save_ctrl *) in _rtl92e_ps_update_rf_state() local 106 psc->bSwRfProcessing = true; in _rtl92e_ps_update_rf_state() 107 rtl92e_set_rf_state(dev, psc->eInactivePowerState, RF_CHANGE_BY_IPS); in _rtl92e_ps_update_rf_state() 109 psc->bSwRfProcessing = false; in _rtl92e_ps_update_rf_state() 115 struct rt_pwr_save_ctrl *psc = (struct rt_pwr_save_ctrl *) in rtl92e_ips_enter() local 120 if (rt_state == rf_on && !psc->bSwRfProcessing && in rtl92e_ips_enter() 122 psc->eInactivePowerState = rf_off; in rtl92e_ips_enter() 130 struct rt_pwr_save_ctrl *psc = (struct rt_pwr_save_ctrl *) in rtl92e_ips_leave() local 135 if (rt_state != rf_on && !psc->bSwRfProcessing && in rtl92e_ips_leave() 137 psc->eInactivePowerState = rf_on; in rtl92e_ips_leave() [all …]
|
/linux-6.6.21/arch/m68k/include/asm/ ! |
D | mac_psc.h | 212 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()
|