Searched refs:pmu (Results 1 – 14 of 14) sorted by relevance
/drivers/regulator/ |
D | bcm590xx-regulator.c | 367 struct bcm590xx_reg *pmu; in bcm590xx_probe() local 378 pmu = devm_kzalloc(&pdev->dev, sizeof(*pmu), GFP_KERNEL); in bcm590xx_probe() 379 if (!pmu) in bcm590xx_probe() 382 pmu->mfd = bcm590xx; in bcm590xx_probe() 384 platform_set_drvdata(pdev, pmu); in bcm590xx_probe() 386 pmu->desc = devm_kzalloc(&pdev->dev, BCM590XX_NUM_REGS * in bcm590xx_probe() 388 if (!pmu->desc) in bcm590xx_probe() 400 pmu->desc[i].name = info->name; in bcm590xx_probe() 401 pmu->desc[i].supply_name = info->vin_name; in bcm590xx_probe() 402 pmu->desc[i].id = i; in bcm590xx_probe() [all …]
|
/drivers/bus/ |
D | arm-cci.c | 184 static struct cci_pmu_drv_data *pmu; variable 218 return pmu->port_ranges->slave_min <= ev_code && in pmu_is_valid_slave_event() 219 ev_code <= pmu->port_ranges->slave_max; in pmu_is_valid_slave_event() 224 return pmu->port_ranges->master_min <= ev_code && in pmu_is_valid_master_event() 225 ev_code <= pmu->port_ranges->master_max; in pmu_is_valid_master_event() 263 return readl_relaxed(pmu->base + CCI_PMU_CNTR_BASE(idx) + offset); in pmu_read_register() 268 return writel_relaxed(value, pmu->base + CCI_PMU_CNTR_BASE(idx) + offset); in pmu_write_register() 298 return &pmu->hw_events; in pmu_get_hw_events() 303 struct arm_pmu *cci_pmu = to_arm_pmu(event->pmu); in pmu_get_event_idx() 347 if (pmu->nr_irqs < 1) { in pmu_request_irq() [all …]
|
D | arm-ccn.c | 149 struct arm_ccn_dt, pmu), struct arm_ccn, dt) 169 struct pmu pmu; member 614 struct arm_ccn *ccn = pmu_to_arm_ccn(event->pmu); in arm_ccn_pmu_event_destroy() 645 if (event->attr.type != event->pmu->type) in arm_ccn_pmu_event_init() 648 ccn = pmu_to_arm_ccn(event->pmu); in arm_ccn_pmu_event_init() 814 struct arm_ccn *ccn = pmu_to_arm_ccn(event->pmu); in arm_ccn_pmu_event_update() 830 struct arm_ccn *ccn = pmu_to_arm_ccn(event->pmu); in arm_ccn_pmu_xp_dt_config() 863 struct arm_ccn *ccn = pmu_to_arm_ccn(event->pmu); in arm_ccn_pmu_event_start() 880 struct arm_ccn *ccn = pmu_to_arm_ccn(event->pmu); in arm_ccn_pmu_event_stop() 905 struct arm_ccn *ccn = pmu_to_arm_ccn(event->pmu); in arm_ccn_pmu_xp_watchpoint_config() [all …]
|
/drivers/phy/ |
D | phy-sun4i-usb.c | 71 void __iomem *pmu; member 128 if (!phy->pmu) in sun4i_usb_phy_passby() 134 reg_value = readl(phy->pmu); in sun4i_usb_phy_passby() 141 writel(reg_value, phy->pmu); in sun4i_usb_phy_passby() 293 phy->pmu = devm_ioremap_resource(dev, res); in sun4i_usb_phy_probe() 294 if (IS_ERR(phy->pmu)) in sun4i_usb_phy_probe() 295 return PTR_ERR(phy->pmu); in sun4i_usb_phy_probe()
|
/drivers/macintosh/ |
D | Makefile | 14 obj-$(CONFIG_ADB_PMU) += via-pmu.o via-pmu-event.o 15 obj-$(CONFIG_ADB_PMU_LED) += via-pmu-led.o 16 obj-$(CONFIG_PMAC_BACKLIGHT) += via-pmu-backlight.o
|
D | Kconfig | 146 bool "Provide legacy ioctl's on /dev/pmu for the backlight" 149 Say Y if you want to enable legacy ioctl's on /dev/pmu. This is for
|
/drivers/pinctrl/mvebu/ |
D | pinctrl-dove.c | 83 unsigned long pmu = readl(mpp_base + PMU_MPP_GENERAL_CTRL); in dove_pmu_mpp_ctrl_get() local 86 if ((pmu & BIT(pid)) == 0) in dove_pmu_mpp_ctrl_get() 100 unsigned long pmu = readl(mpp_base + PMU_MPP_GENERAL_CTRL); in dove_pmu_mpp_ctrl_set() local 104 writel(pmu & ~BIT(pid), mpp_base + PMU_MPP_GENERAL_CTRL); in dove_pmu_mpp_ctrl_set() 108 writel(pmu | BIT(pid), mpp_base + PMU_MPP_GENERAL_CTRL); in dove_pmu_mpp_ctrl_set() 201 unsigned long pmu = readl(mpp_base + PMU_MPP_GENERAL_CTRL); in dove_audio0_ctrl_get() local 203 *config = ((pmu & AU0_AC97_SEL) != 0); in dove_audio0_ctrl_get() 210 unsigned long pmu = readl(mpp_base + PMU_MPP_GENERAL_CTRL); in dove_audio0_ctrl_set() local 212 pmu &= ~AU0_AC97_SEL; in dove_audio0_ctrl_set() 214 pmu |= AU0_AC97_SEL; in dove_audio0_ctrl_set() [all …]
|
/drivers/bcma/ |
D | driver_chipcommon_pmu.c | 142 if (cc->pmu.rev >= 2) in bcma_pmu2_pll_init0() 275 cc->pmu.rev = (pmucap & BCMA_CC_PMU_CAP_REVISION); in bcma_pmu_early_init() 278 cc->pmu.rev, pmucap); in bcma_pmu_early_init() 283 if (cc->pmu.rev == 1) in bcma_pmu_init() 331 bus->chipinfo.id, cc->pmu.rev, BCMA_CC_PMU_ALP_CLOCK); in bcma_pmu_get_alp_clock() 431 bus->chipinfo.id, cc->pmu.rev, BCMA_CC_PMU_HT_CLOCK); in bcma_pmu_get_bus_clock() 446 if (cc->pmu.rev >= 5) { in bcma_pmu_get_cpu_clock()
|
/drivers/ssb/ |
D | driver_chipcommon_pmu.c | 104 cc->pmu.crystalfreq = e->freq; in ssb_pmu0_pllinit_r0() 233 cc->pmu.crystalfreq = 20000; in ssb_pmu1_pllinit_r0() 243 cc->pmu.crystalfreq = e->freq; in ssb_pmu1_pllinit_r0() 344 if (cc->pmu.rev == 2) { in ssb_pmu_pll_init() 525 cc->pmu.rev = (pmucap & SSB_CHIPCO_PMU_CAP_REVISION); in ssb_pmu_init() 528 cc->pmu.rev, pmucap); in ssb_pmu_init() 530 if (cc->pmu.rev == 1) in ssb_pmu_init()
|
/drivers/scsi/arcmsr/ |
D | arcmsr_hba.c | 1180 struct MessageUnit_D *pmu = acb->pmuD; in arcmsr_done4abort_postqueue() local 1189 pmu->done_qbuffer[0].addressLow + 1; in arcmsr_done4abort_postqueue() 1190 doneq_index = pmu->doneq_index; in arcmsr_done4abort_postqueue() 1196 pmu->doneq_index = index_stripped ? (index_stripped | toggle) : in arcmsr_done4abort_postqueue() 1198 doneq_index = pmu->doneq_index; in arcmsr_done4abort_postqueue() 1200 addressLow = pmu->done_qbuffer[doneq_index & in arcmsr_done4abort_postqueue() 1212 pmu->outboundlist_read_pointer); in arcmsr_done4abort_postqueue() 1218 pmu->postq_index = 0; in arcmsr_done4abort_postqueue() 1219 pmu->doneq_index = 0x40FF; in arcmsr_done4abort_postqueue() 1447 struct MessageUnit_D *pmu = acb->pmuD; in arcmsr_post_ccb() local [all …]
|
/drivers/macintosh/ams/ |
D | Makefile | 6 ams-$(CONFIG_SENSORS_AMS_PMU) += ams-pmu.o
|
/drivers/net/wireless/brcm80211/brcmsmac/ |
D | Makefile | 32 pmu.o \
|
/drivers/net/wireless/b43/ |
D | phy_lp.c | 556 crystalfreq = bus->chipco.pmu.crystalfreq * 1000; in lpphy_2062_init() 1287 u32 crystal_freq = bus->chipco.pmu.crystalfreq * 1000; in lpphy_rev2plus_rc_calib() 2415 u32 crystal_freq = bus->chipco.pmu.crystalfreq * 1000; in lpphy_b2062_tune() 2506 u32 crystal_freq = bus->chipco.pmu.crystalfreq * 1000; in lpphy_b2063_tune()
|
/drivers/net/wireless/brcm80211/brcmfmac/ |
D | dhd_sdio.c | 553 #define SDIOD_DRVSTR_KEY(chip, pmu) (((chip) << 16) | (pmu)) argument
|