Home
last modified time | relevance | path

Searched refs:pmu (Results 1 – 14 of 14) sorted by relevance

/drivers/regulator/
Dbcm590xx-regulator.c367 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/
Darm-cci.c184 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 …]
Darm-ccn.c149 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/
Dphy-sun4i-usb.c71 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/
DMakefile14 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
DKconfig146 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/
Dpinctrl-dove.c83 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/
Ddriver_chipcommon_pmu.c142 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/
Ddriver_chipcommon_pmu.c104 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/
Darcmsr_hba.c1180 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/
DMakefile6 ams-$(CONFIG_SENSORS_AMS_PMU) += ams-pmu.o
/drivers/net/wireless/brcm80211/brcmsmac/
DMakefile32 pmu.o \
/drivers/net/wireless/b43/
Dphy_lp.c556 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/
Ddhd_sdio.c553 #define SDIOD_DRVSTR_KEY(chip, pmu) (((chip) << 16) | (pmu)) argument