psc 734 arch/arm/mach-davinci/dm355.c void __iomem *pll1, *psc; psc 743 arch/arm/mach-davinci/dm355.c psc = ioremap(DAVINCI_PWR_SLEEP_CNTRL_BASE, SZ_4K); psc 744 arch/arm/mach-davinci/dm355.c dm355_psc_init(NULL, psc); psc 772 arch/arm/mach-davinci/dm365.c void __iomem *pll1, *pll2, *psc; psc 783 arch/arm/mach-davinci/dm365.c psc = ioremap(DAVINCI_PWR_SLEEP_CNTRL_BASE, SZ_4K); psc 784 arch/arm/mach-davinci/dm365.c dm365_psc_init(NULL, psc); psc 670 arch/arm/mach-davinci/dm644x.c void __iomem *pll1, *psc; psc 679 arch/arm/mach-davinci/dm644x.c psc = ioremap(DAVINCI_PWR_SLEEP_CNTRL_BASE, SZ_4K); psc 680 arch/arm/mach-davinci/dm644x.c dm644x_psc_init(NULL, psc); psc 653 arch/arm/mach-davinci/dm646x.c void __iomem *pll1, *psc; psc 663 arch/arm/mach-davinci/dm646x.c psc = ioremap(DAVINCI_PWR_SLEEP_CNTRL_BASE, SZ_4K); psc 664 arch/arm/mach-davinci/dm646x.c dm646x_psc_init(NULL, psc); psc 245 arch/arm/mach-iop32x/n2100.c .psc = { 0, 0 }, psc 212 arch/m68k/include/asm/mac_psc.h extern volatile __u8 *psc; psc 224 arch/m68k/include/asm/mac_psc.h *((volatile __u8 *)(psc + offset)) = data; psc 229 arch/m68k/include/asm/mac_psc.h *((volatile __u16 *)(psc + offset)) = data; psc 234 arch/m68k/include/asm/mac_psc.h *((volatile __u32 *)(psc + offset)) = data; psc 239 arch/m68k/include/asm/mac_psc.h return *((volatile __u8 *)(psc + offset)); psc 244 arch/m68k/include/asm/mac_psc.h return *((volatile __u16 *)(psc + offset)); psc 249 arch/m68k/include/asm/mac_psc.h return *((volatile __u32 *)(psc + offset)); psc 230 arch/m68k/kernel/signal.c struct sigcontext __user *psc; psc 908 arch/m68k/kernel/signal.c err |= __put_user(&frame->sc, &frame->psc); psc 159 arch/m68k/mac/macints.c if (psc) psc 194 arch/m68k/mac/macints.c if (psc) psc 224 arch/m68k/mac/macints.c if (psc) psc 31 arch/m68k/mac/psc.c volatile __u8 *psc; psc 32 arch/m68k/mac/psc.c EXPORT_SYMBOL_GPL(psc); psc 42 arch/m68k/mac/psc.c if (!psc) psc 83 arch/m68k/mac/psc.c psc = NULL; psc 92 arch/m68k/mac/psc.c psc = (void *) PSC_BASE; psc 94 arch/m68k/mac/psc.c pr_debug("PSC detected at %p\n", psc); psc 27 arch/powerpc/boot/mpc52xx-psc.c static void *psc; psc 38 arch/powerpc/boot/mpc52xx-psc.c while (!(in_be16(psc + MPC52xx_PSC_SR) & MPC52xx_PSC_SR_TXRDY)) ; psc 39 arch/powerpc/boot/mpc52xx-psc.c out_8(psc + MPC52xx_PSC_BUFFER, c); psc 44 arch/powerpc/boot/mpc52xx-psc.c return (in_be16(psc + MPC52xx_PSC_SR) & MPC52xx_PSC_SR_RXRDY) != 0; psc 49 arch/powerpc/boot/mpc52xx-psc.c while (!(in_be16(psc + MPC52xx_PSC_SR) & MPC52xx_PSC_SR_RXRDY)) ; psc 50 arch/powerpc/boot/mpc52xx-psc.c return in_8(psc + MPC52xx_PSC_BUFFER); psc 56 arch/powerpc/boot/mpc52xx-psc.c if (dt_get_virtual_reg(devp, &psc, 1) < 1) psc 399 arch/powerpc/platforms/512x/mpc512x_shared.c void __iomem *psc; psc 423 arch/powerpc/platforms/512x/mpc512x_shared.c psc = of_iomap(np, 0); psc 424 arch/powerpc/platforms/512x/mpc512x_shared.c if (!psc) { psc 434 arch/powerpc/platforms/512x/mpc512x_shared.c iounmap(psc); psc 443 arch/powerpc/platforms/512x/mpc512x_shared.c out_be32(&FIFOC(psc)->txsz, (fifobase << 16) | tx_fifo_size); psc 445 arch/powerpc/platforms/512x/mpc512x_shared.c out_be32(&FIFOC(psc)->rxsz, (fifobase << 16) | rx_fifo_size); psc 449 arch/powerpc/platforms/512x/mpc512x_shared.c out_be32(&FIFOC(psc)->txcmd, 0x80); psc 450 arch/powerpc/platforms/512x/mpc512x_shared.c out_be32(&FIFOC(psc)->txcmd, 0x01); psc 451 arch/powerpc/platforms/512x/mpc512x_shared.c out_be32(&FIFOC(psc)->rxcmd, 0x80); psc 452 arch/powerpc/platforms/512x/mpc512x_shared.c out_be32(&FIFOC(psc)->rxcmd, 0x01); psc 454 arch/powerpc/platforms/512x/mpc512x_shared.c iounmap(psc); psc 50 drivers/acpi/device_pm.c unsigned long long psc; psc 53 drivers/acpi/device_pm.c status = acpi_evaluate_integer(device->handle, "_PSC", NULL, &psc); psc 57 drivers/acpi/device_pm.c *state = psc; psc 100 drivers/acpi/device_pm.c int psc; psc 102 drivers/acpi/device_pm.c error = acpi_dev_pm_explicit_get(device, &psc); psc 114 drivers/acpi/device_pm.c if (psc > result && psc < ACPI_STATE_D3_COLD) psc 115 drivers/acpi/device_pm.c result = psc; psc 117 drivers/acpi/device_pm.c result = psc > ACPI_STATE_D2 ? ACPI_STATE_D3_HOT : psc; psc 248 drivers/acpi/device_pm.c int psc; psc 265 drivers/acpi/device_pm.c result = acpi_dev_pm_explicit_get(device, &psc); psc 266 drivers/acpi/device_pm.c if (result || psc == ACPI_STATE_D0) psc 309 drivers/clk/davinci/psc.c struct davinci_psc_data *psc = to_davinci_psc_data(rcdev); psc 310 drivers/clk/davinci/psc.c struct clk *clk = psc->clk_data.clks[id]; psc 318 drivers/clk/davinci/psc.c struct davinci_psc_data *psc = to_davinci_psc_data(rcdev); psc 319 drivers/clk/davinci/psc.c struct clk *clk = psc->clk_data.clks[id]; psc 365 drivers/clk/davinci/psc.c struct davinci_psc_data *psc; psc 371 drivers/clk/davinci/psc.c psc = kzalloc(sizeof(*psc), GFP_KERNEL); psc 372 drivers/clk/davinci/psc.c if (!psc) psc 381 drivers/clk/davinci/psc.c psc->clk_data.clks = clks; psc 382 drivers/clk/davinci/psc.c psc->clk_data.clk_num = num_clks; psc 397 drivers/clk/davinci/psc.c psc->pm_data.domains = pm_domains; psc 398 drivers/clk/davinci/psc.c psc->pm_data.num_domains = num_clks; psc 427 drivers/clk/davinci/psc.c return psc; psc 429 drivers/clk/davinci/psc.c psc->rcdev.ops = &davinci_psc_reset_ops; psc 430 drivers/clk/davinci/psc.c psc->rcdev.owner = THIS_MODULE; psc 431 drivers/clk/davinci/psc.c psc->rcdev.dev = dev; psc 432 drivers/clk/davinci/psc.c psc->rcdev.of_node = dev->of_node; psc 433 drivers/clk/davinci/psc.c psc->rcdev.of_reset_n_cells = 1; psc 434 drivers/clk/davinci/psc.c psc->rcdev.of_xlate = davinci_psc_reset_of_xlate; psc 435 drivers/clk/davinci/psc.c psc->rcdev.nr_resets = num_clks; psc 437 drivers/clk/davinci/psc.c ret = devm_reset_controller_register(dev, &psc->rcdev); psc 441 drivers/clk/davinci/psc.c return psc; psc 448 drivers/clk/davinci/psc.c kfree(psc); psc 458 drivers/clk/davinci/psc.c struct davinci_psc_data *psc; psc 460 drivers/clk/davinci/psc.c psc = __davinci_psc_register_clocks(dev, info, num_clks, base); psc 461 drivers/clk/davinci/psc.c if (IS_ERR(psc)) psc 462 drivers/clk/davinci/psc.c return PTR_ERR(psc); psc 466 drivers/clk/davinci/psc.c struct clk *clk = psc->clk_data.clks[info->md]; psc 484 drivers/clk/davinci/psc.c struct davinci_psc_data *psc; psc 486 drivers/clk/davinci/psc.c psc = __davinci_psc_register_clocks(dev, info, num_clks, base); psc 487 drivers/clk/davinci/psc.c if (IS_ERR(psc)) psc 488 drivers/clk/davinci/psc.c return PTR_ERR(psc); psc 490 drivers/clk/davinci/psc.c of_genpd_add_provider_onecell(node, &psc->pm_data); psc 492 drivers/clk/davinci/psc.c of_clk_add_provider(node, of_clk_src_onecell_get, &psc->clk_data); psc 106 drivers/clk/keystone/gate.c struct clk_psc *psc = to_clk_psc(hw); psc 107 drivers/clk/keystone/gate.c struct clk_psc_data *data = psc->psc_data; psc 115 drivers/clk/keystone/gate.c struct clk_psc *psc = to_clk_psc(hw); psc 116 drivers/clk/keystone/gate.c struct clk_psc_data *data = psc->psc_data; psc 119 drivers/clk/keystone/gate.c if (psc->lock) psc 120 drivers/clk/keystone/gate.c spin_lock_irqsave(psc->lock, flags); psc 125 drivers/clk/keystone/gate.c if (psc->lock) psc 126 drivers/clk/keystone/gate.c spin_unlock_irqrestore(psc->lock, flags); psc 133 drivers/clk/keystone/gate.c struct clk_psc *psc = to_clk_psc(hw); psc 134 drivers/clk/keystone/gate.c struct clk_psc_data *data = psc->psc_data; psc 137 drivers/clk/keystone/gate.c if (psc->lock) psc 138 drivers/clk/keystone/gate.c spin_lock_irqsave(psc->lock, flags); psc 143 drivers/clk/keystone/gate.c if (psc->lock) psc 144 drivers/clk/keystone/gate.c spin_unlock_irqrestore(psc->lock, flags); psc 168 drivers/clk/keystone/gate.c struct clk_psc *psc; psc 171 drivers/clk/keystone/gate.c psc = kzalloc(sizeof(*psc), GFP_KERNEL); psc 172 drivers/clk/keystone/gate.c if (!psc) psc 181 drivers/clk/keystone/gate.c psc->psc_data = psc_data; psc 182 drivers/clk/keystone/gate.c psc->lock = lock; psc 183 drivers/clk/keystone/gate.c psc->hw.init = &init; psc 185 drivers/clk/keystone/gate.c clk = clk_register(NULL, &psc->hw); psc 187 drivers/clk/keystone/gate.c kfree(psc); psc 339 drivers/dma/bestcomm/gen_bd.c struct psc; psc 172 drivers/i2c/busses/i2c-davinci.c u16 psc; psc 207 drivers/i2c/busses/i2c-davinci.c psc = (input_clock / 12000000) - 1; psc 208 drivers/i2c/busses/i2c-davinci.c if ((input_clock / (psc + 1)) > 12000000) psc 209 drivers/i2c/busses/i2c-davinci.c psc++; /* better to run under spec than over */ psc 210 drivers/i2c/busses/i2c-davinci.c d = (psc >= 2) ? 5 : 7 - psc; psc 215 drivers/i2c/busses/i2c-davinci.c clk = ((input_clock / (psc + 1)) / (pdata->bus_freq * 1000)); psc 217 drivers/i2c/busses/i2c-davinci.c if (input_clock / (psc + 1) / clk > pdata->bus_freq * 1000) psc 244 drivers/i2c/busses/i2c-davinci.c davinci_i2c_write_reg(dev, DAVINCI_I2C_PSC_REG, psc); psc 351 drivers/i2c/busses/i2c-omap.c u16 psc = 0, scll = 0, sclh = 0; psc 395 drivers/i2c/busses/i2c-omap.c psc = fclk_rate / 12000000; psc 424 drivers/i2c/busses/i2c-omap.c psc = fclk_rate / internal_clk; psc 425 drivers/i2c/busses/i2c-omap.c psc = psc - 1; psc 456 drivers/i2c/busses/i2c-omap.c fclk_rate /= (psc + 1) * 1000; psc 457 drivers/i2c/busses/i2c-omap.c if (psc > 2) psc 458 drivers/i2c/busses/i2c-omap.c psc = 2; psc 459 drivers/i2c/busses/i2c-omap.c scll = fclk_rate / (omap->speed * 2) - 7 + psc; psc 460 drivers/i2c/busses/i2c-omap.c sclh = fclk_rate / (omap->speed * 2) - 7 + psc; psc 468 drivers/i2c/busses/i2c-omap.c omap->pscstate = psc; psc 222 drivers/iio/trigger/stm32-timer-trigger.c u32 psc, arr, cr1; psc 226 drivers/iio/trigger/stm32-timer-trigger.c regmap_read(priv->regmap, TIM_PSC, &psc); psc 231 drivers/iio/trigger/stm32-timer-trigger.c do_div(freq, psc + 1); psc 565 drivers/infiniband/hw/hfi1/ud.c ps->s_txreq->psc = priv->s_sendcontext; psc 1022 drivers/infiniband/hw/hfi1/verbs.c sc = ps->s_txreq->psc; psc 1319 drivers/infiniband/hw/hfi1/verbs.c ps->s_txreq->psc, psc 66 drivers/infiniband/hw/hfi1/verbs_txreq.h struct send_context *psc; psc 93 drivers/infiniband/hw/hfi1/verbs_txreq.h tx->psc = priv->s_sendcontext; psc 48 drivers/leds/leds-pca9532.c u8 psc[2]; psc 136 drivers/leds/leds-pca9532.c data->psc[pwm] = blink; psc 149 drivers/leds/leds-pca9532.c data->psc[pwm]); psc 199 drivers/leds/leds-pca9532.c int psc; psc 211 drivers/leds/leds-pca9532.c psc = (*delay_on * 152-1)/1000; psc 212 drivers/leds/leds-pca9532.c err = pca9532_calcpwm(client, 0, psc, led_cdev->brightness); psc 360 drivers/leds/leds-pca9532.c data->psc[i] = pdata->psc[i]; psc 364 drivers/leds/leds-pca9532.c data->psc[i]); psc 126 drivers/media/dvb-frontends/ix2505v.c u8 gain, cc, ref, psc, local_osc, lpf; psc 145 drivers/media/dvb-frontends/ix2505v.c psc = 32; /* PSC = 0 */ psc 148 drivers/media/dvb-frontends/ix2505v.c x = div_factor / psc; psc 150 drivers/media/dvb-frontends/ix2505v.c A = ((x - (N * 100)) * psc) / 100; psc 383 drivers/net/wireless/realtek/rtlwifi/base.c if (rtlpriv->psc.swctrl_lps) { psc 387 drivers/net/wireless/realtek/rtlwifi/base.c if (rtlpriv->psc.fwctrl_lps) { psc 415 drivers/net/wireless/realtek/rtlwifi/base.c if (rtlpriv->psc.wo_wlan_mode) { psc 416 drivers/net/wireless/realtek/rtlwifi/base.c if (rtlpriv->psc.wo_wlan_mode & WAKE_ON_MAGIC_PACKET) psc 418 drivers/net/wireless/realtek/rtlwifi/base.c if (rtlpriv->psc.wo_wlan_mode & WAKE_ON_PATTERN_MATCH) { psc 886 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c under_ips = rtlpriv->psc.inactive_pwrstate == ERFOFF ? 1 : 0; psc 887 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c under_lps = rtlpriv->psc.dot11_psmode == EACTIVE ? 0 : 1; psc 612 drivers/net/wireless/realtek/rtlwifi/core.c rtlpriv->psc.swctrl_lps && !rtlpriv->psc.fwctrl_lps) { psc 616 drivers/net/wireless/realtek/rtlwifi/core.c rtlpriv->psc.sw_ps_enabled = true; psc 624 drivers/net/wireless/realtek/rtlwifi/core.c if (!rtlpriv->psc.multi_buffered) psc 630 drivers/net/wireless/realtek/rtlwifi/core.c rtlpriv->psc.sw_ps_enabled = false; psc 497 drivers/net/wireless/realtek/rtlwifi/pci.c rtlpriv->psc.rfpwr_state == ERFON) { psc 579 drivers/net/wireless/realtek/rtlwifi/pci.c rtlpriv->psc.state_inap = true; psc 581 drivers/net/wireless/realtek/rtlwifi/pci.c rtlpriv->psc.state_inap = false; psc 1617 drivers/net/wireless/realtek/rtlwifi/pci.c if (rtlpriv->psc.sw_ps_enabled) { psc 1736 drivers/net/wireless/realtek/rtlwifi/pci.c if (rtlpriv->psc.rfpwr_state == ERFOFF || psc 480 drivers/net/wireless/realtek/rtlwifi/ps.c if (!rtlpriv->psc.swctrl_lps) psc 486 drivers/net/wireless/realtek/rtlwifi/ps.c if (!rtlpriv->psc.sw_ps_enabled) psc 489 drivers/net/wireless/realtek/rtlwifi/ps.c if (rtlpriv->psc.fwctrl_lps) psc 507 drivers/net/wireless/realtek/rtlwifi/ps.c rtlpriv->psc.last_beacon = jiffies; psc 520 drivers/net/wireless/realtek/rtlwifi/ps.c rtlpriv->psc.dtim_counter = tim_ie->dtim_count; psc 530 drivers/net/wireless/realtek/rtlwifi/ps.c rtlpriv->psc.multi_buffered = m_buffed; psc 553 drivers/net/wireless/realtek/rtlwifi/ps.c if (!rtlpriv->psc.swctrl_lps) psc 585 drivers/net/wireless/realtek/rtlwifi/ps.c if (!rtlpriv->psc.sw_ps_enabled) psc 600 drivers/net/wireless/realtek/rtlwifi/ps.c if (rtlpriv->psc.rfchange_inprogress) { psc 622 drivers/net/wireless/realtek/rtlwifi/ps.c if (rtlpriv->psc.dtim_counter == 0) { psc 628 drivers/net/wireless/realtek/rtlwifi/ps.c sleep_intv = rtlpriv->psc.dtim_counter; psc 639 drivers/net/wireless/realtek/rtlwifi/ps.c rtlpriv->psc.dtim_counter, sleep_intv); psc 694 drivers/net/wireless/realtek/rtlwifi/ps.c if (rtlpriv->psc.state_inap) { psc 697 drivers/net/wireless/realtek/rtlwifi/ps.c if (rtlpriv->psc.state && !ps) { psc 698 drivers/net/wireless/realtek/rtlwifi/ps.c rtlpriv->psc.sleep_ms = jiffies_to_msecs(jiffies - psc 699 drivers/net/wireless/realtek/rtlwifi/ps.c rtlpriv->psc.last_action); psc 703 drivers/net/wireless/realtek/rtlwifi/ps.c rtlpriv->psc.last_slept = jiffies; psc 705 drivers/net/wireless/realtek/rtlwifi/ps.c rtlpriv->psc.last_action = jiffies; psc 706 drivers/net/wireless/realtek/rtlwifi/ps.c rtlpriv->psc.state = ps; psc 715 drivers/net/wireless/realtek/rtlwifi/ps.c struct rtl_p2p_ps_info *p2pinfo = &(rtlpriv->psc.p2p_ps_info); psc 762 drivers/net/wireless/realtek/rtlwifi/ps.c if (rtlpriv->psc.p2p_ps_info.p2p_ps_mode == psc 791 drivers/net/wireless/realtek/rtlwifi/ps.c if (rtlpriv->psc.fw_current_inpsmode) psc 818 drivers/net/wireless/realtek/rtlwifi/ps.c struct rtl_p2p_ps_info *p2pinfo = &(rtlpriv->psc.p2p_ps_info); psc 859 drivers/net/wireless/realtek/rtlwifi/ps.c if (rtlpriv->psc.p2p_ps_info.p2p_ps_mode == psc 886 drivers/net/wireless/realtek/rtlwifi/ps.c if (rtlpriv->psc.fw_current_inpsmode) psc 906 drivers/net/wireless/realtek/rtlwifi/ps.c struct rtl_p2p_ps_info *p2pinfo = &(rtlpriv->psc.p2p_ps_info); psc 107 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c if (!rtlpriv->psc.fw_current_inpsmode) psc 177 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c if (!rtlpriv->psc.fw_current_inpsmode) psc 182 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c if (rtstate == ERFOFF || rtlpriv->psc.inactive_pwrstate == ERFOFF) psc 1271 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c if (rtlpriv->psc.rfpwr_state != ERFON) psc 114 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/sw.c rtlpriv->psc.inactiveps = rtlpriv->cfg->mod_params->inactiveps; psc 115 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/sw.c rtlpriv->psc.swctrl_lps = rtlpriv->cfg->mod_params->swctrl_lps; psc 116 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/sw.c rtlpriv->psc.fwctrl_lps = rtlpriv->cfg->mod_params->fwctrl_lps; psc 120 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/sw.c if (!rtlpriv->psc.inactiveps) psc 122 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/sw.c if (!rtlpriv->psc.fwctrl_lps) psc 124 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/sw.c rtlpriv->psc.reg_fwctrl_lps = 3; psc 125 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/sw.c rtlpriv->psc.reg_max_lps_awakeintvl = 5; psc 131 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/sw.c if (rtlpriv->psc.reg_fwctrl_lps == 1) psc 132 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/sw.c rtlpriv->psc.fwctrl_psmode = FW_PS_MIN_MODE; psc 133 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/sw.c else if (rtlpriv->psc.reg_fwctrl_lps == 2) psc 134 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/sw.c rtlpriv->psc.fwctrl_psmode = FW_PS_MAX_MODE; psc 135 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/sw.c else if (rtlpriv->psc.reg_fwctrl_lps == 3) psc 136 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/sw.c rtlpriv->psc.fwctrl_psmode = FW_PS_DTIM_MODE; psc 165 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/sw.c rtlpriv->psc.low_power_enable = false; psc 166 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/sw.c if (rtlpriv->psc.low_power_enable) { psc 185 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/sw.c if (rtlpriv->psc.low_power_enable) psc 1212 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/hw.c if (rtlpriv->psc.rfpwr_state != ERFON) psc 113 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c rtlpriv->psc.inactiveps = rtlpriv->cfg->mod_params->inactiveps; psc 114 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c rtlpriv->psc.swctrl_lps = rtlpriv->cfg->mod_params->swctrl_lps; psc 115 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c rtlpriv->psc.fwctrl_lps = rtlpriv->cfg->mod_params->fwctrl_lps; psc 116 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c if (!rtlpriv->psc.inactiveps) psc 118 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c if (!rtlpriv->psc.fwctrl_lps) psc 120 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c rtlpriv->psc.reg_fwctrl_lps = 3; psc 121 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c rtlpriv->psc.reg_max_lps_awakeintvl = 5; psc 126 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c if (rtlpriv->psc.reg_fwctrl_lps == 1) psc 127 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c rtlpriv->psc.fwctrl_psmode = FW_PS_MIN_MODE; psc 128 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c else if (rtlpriv->psc.reg_fwctrl_lps == 2) psc 129 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c rtlpriv->psc.fwctrl_psmode = FW_PS_MAX_MODE; psc 130 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c else if (rtlpriv->psc.reg_fwctrl_lps == 3) psc 131 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/sw.c rtlpriv->psc.fwctrl_psmode = FW_PS_DTIM_MODE; psc 1353 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c if (rtlpriv->psc.rfpwr_state != ERFON) psc 910 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c rtlpriv->psc.fw_current_inpsmode = false; psc 1113 drivers/net/wireless/realtek/rtlwifi/rtl8192de/hw.c if (rtlpriv->psc.rfpwr_state != ERFON) psc 3082 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c rtlpriv->psc.state_inap); psc 3149 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c rtlpriv->psc.state_inap); psc 123 drivers/net/wireless/realtek/rtlwifi/rtl8192de/sw.c rtlpriv->psc.inactiveps = rtlpriv->cfg->mod_params->inactiveps; psc 124 drivers/net/wireless/realtek/rtlwifi/rtl8192de/sw.c rtlpriv->psc.swctrl_lps = rtlpriv->cfg->mod_params->swctrl_lps; psc 125 drivers/net/wireless/realtek/rtlwifi/rtl8192de/sw.c rtlpriv->psc.fwctrl_lps = rtlpriv->cfg->mod_params->fwctrl_lps; psc 126 drivers/net/wireless/realtek/rtlwifi/rtl8192de/sw.c if (!rtlpriv->psc.inactiveps) psc 128 drivers/net/wireless/realtek/rtlwifi/rtl8192de/sw.c if (!rtlpriv->psc.fwctrl_lps) psc 130 drivers/net/wireless/realtek/rtlwifi/rtl8192de/sw.c rtlpriv->psc.reg_fwctrl_lps = 3; psc 131 drivers/net/wireless/realtek/rtlwifi/rtl8192de/sw.c rtlpriv->psc.reg_max_lps_awakeintvl = 5; psc 136 drivers/net/wireless/realtek/rtlwifi/rtl8192de/sw.c if (rtlpriv->psc.reg_fwctrl_lps == 1) psc 137 drivers/net/wireless/realtek/rtlwifi/rtl8192de/sw.c rtlpriv->psc.fwctrl_psmode = FW_PS_MIN_MODE; psc 138 drivers/net/wireless/realtek/rtlwifi/rtl8192de/sw.c else if (rtlpriv->psc.reg_fwctrl_lps == 2) psc 139 drivers/net/wireless/realtek/rtlwifi/rtl8192de/sw.c rtlpriv->psc.fwctrl_psmode = FW_PS_MAX_MODE; psc 140 drivers/net/wireless/realtek/rtlwifi/rtl8192de/sw.c else if (rtlpriv->psc.reg_fwctrl_lps == 3) psc 141 drivers/net/wireless/realtek/rtlwifi/rtl8192de/sw.c rtlpriv->psc.fwctrl_psmode = FW_PS_DTIM_MODE; psc 85 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c if (!rtlpriv->psc.fw_current_inpsmode) psc 154 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c if (!rtlpriv->psc.fw_current_inpsmode) psc 160 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c if (rtstate == ERFOFF || rtlpriv->psc.inactive_pwrstate == ERFOFF) psc 1526 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/hw.c if (rtlpriv->psc.rfpwr_state != ERFON) psc 116 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/sw.c rtlpriv->psc.inactiveps = rtlpriv->cfg->mod_params->inactiveps; psc 117 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/sw.c rtlpriv->psc.swctrl_lps = rtlpriv->cfg->mod_params->swctrl_lps; psc 118 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/sw.c rtlpriv->psc.fwctrl_lps = rtlpriv->cfg->mod_params->fwctrl_lps; psc 122 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/sw.c rtlpriv->psc.reg_fwctrl_lps = 3; psc 123 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/sw.c rtlpriv->psc.reg_max_lps_awakeintvl = 5; psc 129 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/sw.c if (rtlpriv->psc.reg_fwctrl_lps == 1) psc 130 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/sw.c rtlpriv->psc.fwctrl_psmode = FW_PS_MIN_MODE; psc 131 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/sw.c else if (rtlpriv->psc.reg_fwctrl_lps == 2) psc 132 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/sw.c rtlpriv->psc.fwctrl_psmode = FW_PS_MAX_MODE; psc 133 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/sw.c else if (rtlpriv->psc.reg_fwctrl_lps == 3) psc 134 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/sw.c rtlpriv->psc.fwctrl_psmode = FW_PS_DTIM_MODE; psc 140 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/sw.c rtlpriv->psc.low_power_enable = false; psc 1048 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.c rtlpriv->psc.rfoff_reason > RF_CHANGE_BY_PS) psc 441 drivers/net/wireless/realtek/rtlwifi/rtl8192se/dm.c if (rtlpriv->psc.rfpwr_state != ERFON) psc 1124 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c if (rtlpriv->psc.rfpwr_state != ERFON) psc 1380 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c if (rtlpriv->psc.rfoff_reason == RF_CHANGE_BY_IPS) psc 1393 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c rtlpriv->psc.pwrdomain_protect = true; psc 1399 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c rtlpriv->psc.pwrdomain_protect = false; psc 1412 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c if (rtlpriv->psc.rfoff_reason & (RF_CHANGE_BY_IPS | RF_CHANGE_BY_HW)) psc 1492 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c rtlpriv->psc.pwrdomain_protect = false; psc 1501 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c rtlpriv->psc.pwrdomain_protect = false; psc 1524 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c while (wait-- >= 10 && rtlpriv->psc.pwrdomain_protect) { psc 1525 drivers/net/wireless/realtek/rtlwifi/rtl8192se/hw.c if (rtlpriv->psc.pwrdomain_protect) psc 546 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c rtlpriv->psc.state_inap); psc 617 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c rtlpriv->psc.state_inap); psc 161 drivers/net/wireless/realtek/rtlwifi/rtl8192se/sw.c rtlpriv->psc.inactiveps = rtlpriv->cfg->mod_params->inactiveps; psc 162 drivers/net/wireless/realtek/rtlwifi/rtl8192se/sw.c rtlpriv->psc.swctrl_lps = rtlpriv->cfg->mod_params->swctrl_lps; psc 163 drivers/net/wireless/realtek/rtlwifi/rtl8192se/sw.c rtlpriv->psc.fwctrl_lps = rtlpriv->cfg->mod_params->fwctrl_lps; psc 164 drivers/net/wireless/realtek/rtlwifi/rtl8192se/sw.c if (!rtlpriv->psc.inactiveps) psc 166 drivers/net/wireless/realtek/rtlwifi/rtl8192se/sw.c if (!rtlpriv->psc.fwctrl_lps) psc 168 drivers/net/wireless/realtek/rtlwifi/rtl8192se/sw.c rtlpriv->psc.reg_fwctrl_lps = 3; psc 169 drivers/net/wireless/realtek/rtlwifi/rtl8192se/sw.c rtlpriv->psc.reg_max_lps_awakeintvl = 5; psc 174 drivers/net/wireless/realtek/rtlwifi/rtl8192se/sw.c if (rtlpriv->psc.reg_fwctrl_lps == 1) psc 175 drivers/net/wireless/realtek/rtlwifi/rtl8192se/sw.c rtlpriv->psc.fwctrl_psmode = FW_PS_MIN_MODE; psc 176 drivers/net/wireless/realtek/rtlwifi/rtl8192se/sw.c else if (rtlpriv->psc.reg_fwctrl_lps == 2) psc 177 drivers/net/wireless/realtek/rtlwifi/rtl8192se/sw.c rtlpriv->psc.fwctrl_psmode = FW_PS_MAX_MODE; psc 178 drivers/net/wireless/realtek/rtlwifi/rtl8192se/sw.c else if (rtlpriv->psc.reg_fwctrl_lps == 3) psc 179 drivers/net/wireless/realtek/rtlwifi/rtl8192se/sw.c rtlpriv->psc.fwctrl_psmode = FW_PS_DTIM_MODE; psc 1176 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/hw.c if (rtlpriv->psc.rfpwr_state != ERFON) psc 128 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/sw.c rtlpriv->psc.inactiveps = rtlpriv->cfg->mod_params->inactiveps; psc 129 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/sw.c rtlpriv->psc.swctrl_lps = rtlpriv->cfg->mod_params->swctrl_lps; psc 130 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/sw.c rtlpriv->psc.fwctrl_lps = rtlpriv->cfg->mod_params->fwctrl_lps; psc 134 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/sw.c rtlpriv->psc.reg_fwctrl_lps = 3; psc 135 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/sw.c rtlpriv->psc.reg_max_lps_awakeintvl = 5; psc 138 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/sw.c if (rtlpriv->psc.reg_fwctrl_lps == 1) psc 139 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/sw.c rtlpriv->psc.fwctrl_psmode = FW_PS_MIN_MODE; psc 140 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/sw.c else if (rtlpriv->psc.reg_fwctrl_lps == 2) psc 141 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/sw.c rtlpriv->psc.fwctrl_psmode = FW_PS_MAX_MODE; psc 142 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/sw.c else if (rtlpriv->psc.reg_fwctrl_lps == 3) psc 143 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/sw.c rtlpriv->psc.fwctrl_psmode = FW_PS_DTIM_MODE; psc 112 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c if (!rtlpriv->psc.fw_current_inpsmode) psc 180 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c if (!rtlpriv->psc.fw_current_inpsmode) psc 185 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c if (rtstate == ERFOFF || rtlpriv->psc.inactive_pwrstate == ERFOFF) psc 1561 drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c if (rtlpriv->psc.rfpwr_state != ERFON) psc 127 drivers/net/wireless/realtek/rtlwifi/rtl8723be/sw.c rtlpriv->psc.inactiveps = rtlpriv->cfg->mod_params->inactiveps; psc 128 drivers/net/wireless/realtek/rtlwifi/rtl8723be/sw.c rtlpriv->psc.swctrl_lps = rtlpriv->cfg->mod_params->swctrl_lps; psc 129 drivers/net/wireless/realtek/rtlwifi/rtl8723be/sw.c rtlpriv->psc.fwctrl_lps = rtlpriv->cfg->mod_params->fwctrl_lps; psc 133 drivers/net/wireless/realtek/rtlwifi/rtl8723be/sw.c rtlpriv->psc.reg_fwctrl_lps = 2; psc 134 drivers/net/wireless/realtek/rtlwifi/rtl8723be/sw.c rtlpriv->psc.reg_max_lps_awakeintvl = 2; psc 140 drivers/net/wireless/realtek/rtlwifi/rtl8723be/sw.c if (rtlpriv->psc.reg_fwctrl_lps == 1) psc 141 drivers/net/wireless/realtek/rtlwifi/rtl8723be/sw.c rtlpriv->psc.fwctrl_psmode = FW_PS_MIN_MODE; psc 142 drivers/net/wireless/realtek/rtlwifi/rtl8723be/sw.c else if (rtlpriv->psc.reg_fwctrl_lps == 2) psc 143 drivers/net/wireless/realtek/rtlwifi/rtl8723be/sw.c rtlpriv->psc.fwctrl_psmode = FW_PS_MAX_MODE; psc 144 drivers/net/wireless/realtek/rtlwifi/rtl8723be/sw.c else if (rtlpriv->psc.reg_fwctrl_lps == 3) psc 145 drivers/net/wireless/realtek/rtlwifi/rtl8723be/sw.c rtlpriv->psc.fwctrl_psmode = FW_PS_DTIM_MODE; psc 148 drivers/net/wireless/realtek/rtlwifi/rtl8723be/sw.c rtlpriv->psc.low_power_enable = false; psc 109 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c if (!rtlpriv->psc.fw_current_inpsmode) psc 178 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c if (!rtlpriv->psc.fw_current_inpsmode) psc 183 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c if (rtstate == ERFOFF || rtlpriv->psc.inactive_pwrstate == ERFOFF) psc 2166 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c if (rtlpriv->psc.rfpwr_state != ERFON) psc 139 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/sw.c rtlpriv->psc.wo_wlan_mode = WAKE_ON_MAGIC_PACKET | psc 143 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/sw.c rtlpriv->psc.inactiveps = rtlpriv->cfg->mod_params->inactiveps; psc 144 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/sw.c rtlpriv->psc.swctrl_lps = rtlpriv->cfg->mod_params->swctrl_lps; psc 145 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/sw.c rtlpriv->psc.fwctrl_lps = rtlpriv->cfg->mod_params->fwctrl_lps; psc 150 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/sw.c rtlpriv->psc.reg_fwctrl_lps = 2; psc 151 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/sw.c rtlpriv->psc.reg_max_lps_awakeintvl = 2; psc 158 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/sw.c if (rtlpriv->psc.reg_fwctrl_lps == 1) psc 159 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/sw.c rtlpriv->psc.fwctrl_psmode = FW_PS_MIN_MODE; psc 160 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/sw.c else if (rtlpriv->psc.reg_fwctrl_lps == 2) psc 161 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/sw.c rtlpriv->psc.fwctrl_psmode = FW_PS_MAX_MODE; psc 162 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/sw.c else if (rtlpriv->psc.reg_fwctrl_lps == 3) psc 163 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/sw.c rtlpriv->psc.fwctrl_psmode = FW_PS_DTIM_MODE; psc 938 drivers/net/wireless/realtek/rtlwifi/usb.c if (rtlpriv->psc.sw_ps_enabled) { psc 2768 drivers/net/wireless/realtek/rtlwifi/wifi.h struct rtl_ps_ctl psc; psc 2843 drivers/net/wireless/realtek/rtlwifi/wifi.h #define rtl_psc(rtlpriv) (&((rtlpriv)->psc)) psc 172 drivers/pwm/pwm-stm32.c unsigned int psc = 0, icpsc, scale; psc 199 drivers/pwm/pwm-stm32.c while ((div > priv->max_arr) && (psc < MAX_TIM_PSC)) { psc 200 drivers/pwm/pwm-stm32.c psc++; psc 202 drivers/pwm/pwm-stm32.c do_div(div, psc + 1); psc 205 drivers/pwm/pwm-stm32.c regmap_write(priv->regmap, TIM_PSC, psc); psc 236 drivers/pwm/pwm-stm32.c if (psc && scale > 1) { psc 238 drivers/pwm/pwm-stm32.c psc /= scale; psc 239 drivers/pwm/pwm-stm32.c regmap_write(priv->regmap, TIM_PSC, psc); psc 247 drivers/pwm/pwm-stm32.c prd = (unsigned long long)raw_prd * (psc + 1) * NSEC_PER_SEC; psc 303 drivers/pwm/pwm-stm32.c prd = (unsigned long long)raw_prd * (psc + 1) * NSEC_PER_SEC; psc 305 drivers/pwm/pwm-stm32.c dty = (unsigned long long)raw_dty * (psc + 1) * NSEC_PER_SEC; psc 348 drivers/pwm/pwm-stm32.c u32 psc, arr; psc 350 drivers/pwm/pwm-stm32.c regmap_read(priv->regmap, TIM_PSC, &psc); psc 353 drivers/pwm/pwm-stm32.c if ((psc != prescaler) || (arr != prd - 1)) psc 526 drivers/spi/spi-fsl-dspi.c static void ns_delay_scale(char *psc, char *sc, int delay_ns, psc 545 drivers/spi/spi-fsl-dspi.c *psc = i; psc 555 drivers/spi/spi-fsl-dspi.c *psc = ARRAY_SIZE(pscale_tbl) - 1; psc 42 drivers/spi/spi-mpc512x-psc.c struct mpc52xx_psc __iomem *psc = mps->psc; \ psc 43 drivers/spi/spi-mpc512x-psc.c __ret = &psc->regname; \ psc 47 drivers/spi/spi-mpc512x-psc.c struct mpc5125_psc __iomem *psc = mps->psc; \ psc 48 drivers/spi/spi-mpc512x-psc.c __ret = &psc->regname; \ psc 59 drivers/spi/spi-mpc512x-psc.c void __iomem *psc; psc 526 drivers/spi/spi-mpc512x-psc.c mps->psc = tempp; psc 35 drivers/spi/spi-mpc52xx-psc.c struct mpc52xx_psc __iomem *psc; psc 75 drivers/spi/spi-mpc52xx-psc.c struct mpc52xx_psc __iomem *psc = mps->psc; psc 79 drivers/spi/spi-mpc52xx-psc.c sicr = in_be32(&psc->sicr); psc 95 drivers/spi/spi-mpc52xx-psc.c out_be32(&psc->sicr, sicr); psc 101 drivers/spi/spi-mpc52xx-psc.c ccr = in_be16((u16 __iomem *)&psc->ccr); psc 107 drivers/spi/spi-mpc52xx-psc.c out_be16((u16 __iomem *)&psc->ccr, ccr); psc 130 drivers/spi/spi-mpc52xx-psc.c struct mpc52xx_psc __iomem *psc = mps->psc; psc 145 drivers/spi/spi-mpc52xx-psc.c out_8(&psc->command, MPC52xx_PSC_TX_ENABLE | MPC52xx_PSC_RX_ENABLE); psc 160 drivers/spi/spi-mpc52xx-psc.c out_8(&psc->ircr2, 0x01); psc 163 drivers/spi/spi-mpc52xx-psc.c out_8(&psc->mpc52xx_psc_buffer_8, tx_buf[sb]); psc 165 drivers/spi/spi-mpc52xx-psc.c out_8(&psc->mpc52xx_psc_buffer_8, 0); psc 173 drivers/spi/spi-mpc52xx-psc.c out_8(&psc->command, MPC52xx_PSC_SEL_MODE_REG_1); psc 175 drivers/spi/spi-mpc52xx-psc.c out_8(&psc->mode, 0); psc 177 drivers/spi/spi-mpc52xx-psc.c out_8(&psc->mode, MPC52xx_PSC_MODE_FFULL); psc 180 drivers/spi/spi-mpc52xx-psc.c out_be16(&psc->mpc52xx_psc_imr, MPC52xx_PSC_IMR_RXRDY); psc 188 drivers/spi/spi-mpc52xx-psc.c rx_buf[rb] = in_8(&psc->mpc52xx_psc_buffer_8); psc 191 drivers/spi/spi-mpc52xx-psc.c in_8(&psc->mpc52xx_psc_buffer_8); psc 195 drivers/spi/spi-mpc52xx-psc.c out_8(&psc->command, MPC52xx_PSC_TX_DISABLE | MPC52xx_PSC_RX_DISABLE); psc 310 drivers/spi/spi-mpc52xx-psc.c struct mpc52xx_psc __iomem *psc = mps->psc; psc 322 drivers/spi/spi-mpc52xx-psc.c out_8(&psc->command, MPC52xx_PSC_RST_RX); psc 323 drivers/spi/spi-mpc52xx-psc.c out_8(&psc->command, MPC52xx_PSC_RST_TX); psc 324 drivers/spi/spi-mpc52xx-psc.c out_8(&psc->command, MPC52xx_PSC_TX_DISABLE | MPC52xx_PSC_RX_DISABLE); psc 327 drivers/spi/spi-mpc52xx-psc.c out_be16(&psc->mpc52xx_psc_imr, 0); psc 328 drivers/spi/spi-mpc52xx-psc.c out_8(&psc->command, MPC52xx_PSC_SEL_MODE_REG_1); psc 330 drivers/spi/spi-mpc52xx-psc.c out_8(&psc->mode, MPC52xx_PSC_MODE_FFULL); psc 334 drivers/spi/spi-mpc52xx-psc.c out_be32(&psc->sicr, 0x0180C800); psc 335 drivers/spi/spi-mpc52xx-psc.c out_be16((u16 __iomem *)&psc->ccr, 0x070F); /* default SPI Clk 1MHz */ psc 338 drivers/spi/spi-mpc52xx-psc.c out_8(&psc->ctur, 0x00); psc 339 drivers/spi/spi-mpc52xx-psc.c out_8(&psc->ctlr, 0x84); psc 349 drivers/spi/spi-mpc52xx-psc.c struct mpc52xx_psc __iomem *psc = mps->psc; psc 352 drivers/spi/spi-mpc52xx-psc.c if (in_be16(&psc->mpc52xx_psc_isr) & MPC52xx_PSC_IMR_RXRDY) { psc 353 drivers/spi/spi-mpc52xx-psc.c out_be16(&psc->mpc52xx_psc_imr, 0); psc 398 drivers/spi/spi-mpc52xx-psc.c mps->psc = ioremap(regaddr, size); psc 399 drivers/spi/spi-mpc52xx-psc.c if (!mps->psc) { psc 405 drivers/spi/spi-mpc52xx-psc.c mps->fifo = ((void __iomem *)mps->psc) + sizeof(struct mpc52xx_psc); psc 432 drivers/spi/spi-mpc52xx-psc.c if (mps->psc) psc 433 drivers/spi/spi-mpc52xx-psc.c iounmap(mps->psc); psc 476 drivers/spi/spi-mpc52xx-psc.c if (mps->psc) psc 477 drivers/spi/spi-mpc52xx-psc.c iounmap(mps->psc); psc 126 drivers/tty/serial/mpc52xx_uart.c static inline void mpc52xx_set_divisor(struct mpc52xx_psc __iomem *psc, psc 130 drivers/tty/serial/mpc52xx_uart.c out_be16(&psc->mpc52xx_psc_clock_select, prescaler); psc 131 drivers/tty/serial/mpc52xx_uart.c out_8(&psc->ctur, divisor >> 8); psc 132 drivers/tty/serial/mpc52xx_uart.c out_8(&psc->ctlr, divisor & 0xff); psc 167 drivers/tty/serial/mpc52xx_uart.c struct mpc52xx_psc __iomem *psc = PSC(port); psc 170 drivers/tty/serial/mpc52xx_uart.c in_8(&psc->mpc52xx_psc_ipcr); psc 172 drivers/tty/serial/mpc52xx_uart.c out_8(&psc->mpc52xx_psc_acr, MPC52xx_PSC_IEC_CTS | MPC52xx_PSC_IEC_DCD); psc 175 drivers/tty/serial/mpc52xx_uart.c out_be16(&psc->mpc52xx_psc_imr, port->read_status_mask); psc 198 drivers/tty/serial/mpc52xx_uart.c struct mpc52xx_psc __iomem *psc = PSC(port); psc 207 drivers/tty/serial/mpc52xx_uart.c out_be16(&psc->mpc52xx_psc_imr, port->read_status_mask); psc 877 drivers/tty/serial/mpc52xx_uart.c static inline void mpc5125_set_divisor(struct mpc5125_psc __iomem *psc, psc 881 drivers/tty/serial/mpc52xx_uart.c out_8(&psc->mpc52xx_psc_clock_select, prescaler); psc 882 drivers/tty/serial/mpc52xx_uart.c out_8(&psc->ctur, divisor >> 8); psc 883 drivers/tty/serial/mpc52xx_uart.c out_8(&psc->ctlr, divisor & 0xff); psc 943 drivers/tty/serial/mpc52xx_uart.c struct mpc5125_psc __iomem *psc = PSC_5125(port); psc 946 drivers/tty/serial/mpc52xx_uart.c in_8(&psc->mpc52xx_psc_ipcr); psc 948 drivers/tty/serial/mpc52xx_uart.c out_8(&psc->mpc52xx_psc_acr, MPC52xx_PSC_IEC_CTS | MPC52xx_PSC_IEC_DCD); psc 951 drivers/tty/serial/mpc52xx_uart.c out_be16(&psc->mpc52xx_psc_imr, port->read_status_mask); psc 39 include/linux/leds-pca9532.h u8 psc[2];