Home
last modified time | relevance | path

Searched refs:pms (Results 1 – 23 of 23) sorted by relevance

/openbmc/ipmitool/src/plugins/lan/
H A Dmd5.c135 a = pms->abcd[0], b = pms->abcd[1], in md5_process()
136 c = pms->abcd[2], d = pms->abcd[3]; in md5_process()
306 pms->abcd[0] += a; in md5_process()
307 pms->abcd[1] += b; in md5_process()
308 pms->abcd[2] += c; in md5_process()
309 pms->abcd[3] += d; in md5_process()
315 pms->count[0] = pms->count[1] = 0; in md5_init()
337 pms->count[1]++; in md5_append()
348 md5_process(pms, pms->buf); in md5_append()
353 md5_process(pms, p); in md5_append()
[all …]
H A Dmd5.h79 void md5_init(md5_state_t *pms);
82 void md5_append(md5_state_t *pms, const md5_byte_t *data, int nbytes);
85 void md5_finish(md5_state_t *pms, md5_byte_t digest[16]);
/openbmc/linux/drivers/hid/
H A Dhid-prodikeys.c240 struct pcmidi_sustain *pms = from_timer(pms, t, timer); in pcmidi_sustained_note_release() local
242 pcmidi_send_note(pms->pm, pms->status, pms->note, pms->velocity); in pcmidi_sustained_note_release()
243 pms->in_use = 0; in pcmidi_sustained_note_release()
248 struct pcmidi_sustain *pms; in init_sustain_timers() local
253 pms->in_use = 0; in init_sustain_timers()
254 pms->pm = pm; in init_sustain_timers()
266 pms->in_use = 1; in stop_sustain_timers()
361 if (!pms->in_use) { in pcmidi_handle_report3()
362 pms->status = status; in pcmidi_handle_report3()
363 pms->note = note; in pcmidi_handle_report3()
[all …]
/openbmc/u-boot/cmd/
H A Duniverse.c119 …e_pci_slave_window(unsigned int pciAddr, unsigned int vmeAddr, int size, int vam, int pms, int vdw) in universe_pci_slave_window() argument
184 switch (pms & PCI_MS_Mxx) { in universe_pci_slave_window()
216 …t universe_vme_slave_window(unsigned int vmeAddr, unsigned int pciAddr, int size, int vam, int pms) in universe_vme_slave_window() argument
269 switch (pms & PCI_MS_Mxx) { in universe_vme_slave_window()
303 ulong addr1 = 0, addr2 = 0, size = 0, vam = 0, pms = 0, vdw = 0; in do_universe() local
318 pms = simple_strtoul(argv[6], NULL, 16); in do_universe()
329 addr1, addr2, size, vam, pms); in do_universe()
330 universe_vme_slave_window(addr1, addr2, size, vam, pms); in do_universe()
335 addr1, addr2, size, vam, pms, vdw); in do_universe()
336 universe_pci_slave_window(addr1, addr2, size, vam, pms, vdw); in do_universe()
/openbmc/linux/drivers/clk/at91/
H A Dclk-programmable.c27 struct at91_clk_pms pms; member
186 prog->pms.parent = clk_programmable_get_parent(hw); in clk_programmable_save_context()
187 prog->pms.parent_rate = clk_hw_get_rate(parent_hw); in clk_programmable_save_context()
188 prog->pms.rate = clk_programmable_recalc_rate(hw, prog->pms.parent_rate); in clk_programmable_save_context()
198 ret = clk_programmable_set_parent(hw, prog->pms.parent); in clk_programmable_restore_context()
202 clk_programmable_set_rate(hw, prog->pms.rate, prog->pms.parent_rate); in clk_programmable_restore_context()
H A Dclk-master.c33 struct at91_clk_pms pms; member
128 master->pms.parent_rate = clk_hw_get_rate(parent_hw); in clk_master_div_save_context()
129 master->pms.rate = DIV_ROUND_CLOSEST(master->pms.parent_rate, div); in clk_master_div_save_context()
149 if (div != DIV_ROUND_CLOSEST(master->pms.parent_rate, master->pms.rate)) in clk_master_div_restore_context()
233 DIV_ROUND_CLOSEST(master->pms.parent_rate, in clk_master_div_restore_context_chg()
234 master->pms.rate)); in clk_master_div_restore_context_chg()
433 master->pms.parent = val & AT91_PMC_CSS; in clk_master_pres_save_context()
435 master->pms.rate = DIV_ROUND_CLOSEST_ULL(master->pms.parent_rate, pres); in clk_master_pres_save_context()
457 if (master->pms.rate != in clk_master_pres_restore_context()
459 (master->pms.parent != (val & AT91_PMC_CSS))) in clk_master_pres_restore_context()
[all …]
H A Dclk-main.c31 struct at91_clk_pms pms; member
41 struct at91_clk_pms pms; member
56 struct at91_clk_pms pms; member
130 osc->pms.status = clk_main_osc_is_prepared(hw); in clk_main_osc_save_context()
139 if (osc->pms.status) in clk_main_osc_restore_context()
273 osc->pms.status = clk_main_rc_osc_is_prepared(hw); in clk_main_rc_osc_save_context()
282 if (osc->pms.status) in clk_main_rc_osc_restore_context()
521 clkmain->pms.status = clk_main_rc_osc_is_prepared(&clkmain->hw); in clk_sam9x5_main_save_context()
522 clkmain->pms.parent = clk_sam9x5_main_get_parent(&clkmain->hw); in clk_sam9x5_main_save_context()
532 ret = clk_sam9x5_main_set_parent(hw, clkmain->pms.parent); in clk_sam9x5_main_restore_context()
[all …]
H A Dclk-pll.c43 struct at91_clk_pms pms; member
269 pll->pms.parent_rate = clk_hw_get_rate(parent_hw); in clk_pll_save_context()
270 pll->pms.rate = clk_pll_recalc_rate(&pll->hw, pll->pms.parent_rate); in clk_pll_save_context()
271 pll->pms.status = clk_pll_ready(pll->regmap, PLL_REG(pll->id)); in clk_pll_save_context()
288 calc_rate = (pll->pms.parent_rate / PLL_DIV(pllr)) * in clk_pll_restore_context()
293 if (pll->pms.rate != calc_rate || in clk_pll_restore_context()
294 pll->pms.status != clk_pll_ready(pll->regmap, PLL_REG(pll->id)) || in clk_pll_restore_context()
H A Dclk-usb.c27 struct at91_clk_pms pms; member
157 usb->pms.parent = at91sam9x5_clk_usb_get_parent(hw); in at91sam9x5_usb_save_context()
158 usb->pms.parent_rate = clk_hw_get_rate(parent_hw); in at91sam9x5_usb_save_context()
159 usb->pms.rate = at91sam9x5_clk_usb_recalc_rate(hw, usb->pms.parent_rate); in at91sam9x5_usb_save_context()
169 ret = at91sam9x5_clk_usb_set_parent(hw, usb->pms.parent); in at91sam9x5_usb_restore_context()
173 at91sam9x5_clk_usb_set_rate(hw, usb->pms.rate, usb->pms.parent_rate); in at91sam9x5_usb_restore_context()
H A Dclk-utmi.c26 struct at91_clk_pms pms; member
121 utmi->pms.status = clk_utmi_is_prepared(hw); in clk_utmi_save_context()
130 if (utmi->pms.status) in clk_utmi_restore_context()
269 utmi->pms.status = clk_utmi_sama7g5_is_prepared(hw); in clk_utmi_sama7g5_save_context()
278 if (utmi->pms.status) in clk_utmi_sama7g5_restore_context()
H A Dclk-system.c23 struct at91_clk_pms pms; member
85 sys->pms.status = clk_system_is_prepared(hw); in clk_system_save_context()
94 if (sys->pms.status) in clk_system_restore_context()
H A Dclk-generated.c30 struct at91_clk_pms pms; member
268 gck->pms.status = clk_generated_is_enabled(&gck->hw); in clk_generated_save_context()
277 if (gck->pms.status) in clk_generated_restore_context()
278 clk_generated_set(gck, gck->pms.status); in clk_generated_restore_context()
H A Dclk-sam9x60-pll.c42 struct at91_clk_pms pms; member
49 struct at91_clk_pms pms; member
300 frac->pms.status = sam9x60_pll_ready(core->regmap, core->id); in sam9x60_frac_pll_save_context()
310 if (frac->pms.status) in sam9x60_frac_pll_restore_context()
532 div->pms.status = sam9x60_div_pll_is_prepared(hw); in sam9x60_div_pll_save_context()
542 if (div->pms.status) in sam9x60_div_pll_restore_context()
H A Dclk-peripheral.c40 struct at91_clk_pms pms; member
412 periph->pms.status = clk_sam9x5_peripheral_is_enabled(hw); in clk_sam9x5_peripheral_save_context()
421 if (periph->pms.status) in clk_sam9x5_peripheral_restore_context()
422 clk_sam9x5_peripheral_set(periph, periph->pms.status); in clk_sam9x5_peripheral_restore_context()
/openbmc/qemu/hw/ppc/
H A De500.c349 .pbus = pms->pbus_dev, in platform_bus_create_devtree()
365 static int ppce500_load_device_tree(PPCE500MachineState *pms, in ppce500_load_device_tree() argument
373 MachineState *machine = MACHINE(pms); in ppce500_load_device_tree()
646 platform_bus_create_devtree(pms, fdt, mpic); in ppce500_load_device_tree()
812 MachineState *machine = MACHINE(pms); in ppce500_init_mpic_qemu()
885 dev = ppce500_init_mpic_qemu(pms, irqs); in ppce500_init_mpic()
905 PPCE500MachineState *pms = PPCE500_MACHINE(machine); in ppce500_init() local
1109 pms->pbus_dev = PLATFORM_BUS_DEVICE(dev); in ppce500_init()
1111 s = SYS_BUS_DEVICE(pms->pbus_dev); in ppce500_init()
1119 &pms->pbus_dev->mmio); in ppce500_init()
[all …]
H A De500plat.c48 PPCE500MachineState *pms = PPCE500_MACHINE(hotplug_dev); in e500plat_machine_device_plug_cb() local
49 MachineClass *mc = MACHINE_GET_CLASS(pms); in e500plat_machine_device_plug_cb()
52 platform_bus_link_device(pms->pbus_dev, SYS_BUS_DEVICE(dev)); in e500plat_machine_device_plug_cb()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_buffers.c97 struct mlxsw_sp_sb_pm *pms; member
111 const struct mlxsw_sp_sb_pm *pms; member
625 struct mlxsw_sp_sb_pm *pms; in mlxsw_sp_sb_port_init() local
627 pms = kcalloc(mlxsw_sp->sb_vals->pool_count, sizeof(*pms), in mlxsw_sp_sb_port_init()
629 if (!pms) in mlxsw_sp_sb_port_init()
631 sb_port->pms = pms; in mlxsw_sp_sb_port_init()
637 kfree(sb_port->pms); in mlxsw_sp_sb_port_fini()
1067 const struct mlxsw_sp_sb_pm *pms, in mlxsw_sp_sb_pms_init() argument
1099 mlxsw_sp->sb_vals->pms, false); in mlxsw_sp_port_sb_pms_init()
1178 .pms = mlxsw_sp1_sb_pms,
[all …]
/openbmc/qemu/hw/char/
H A Dserial-pci-multi.c184 PCIMultiSerialState *pms = DO_UPCAST(PCIMultiSerialState, dev, dev); in multi_serial_init() local
188 object_initialize_child(o, "serial[*]", &pms->state[i], TYPE_SERIAL); in multi_serial_init()
/openbmc/linux/arch/powerpc/sysdev/
H A Dfsl_pci.c1189 u16 pms; in fsl_pci_pme_probe() local
1195 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pms); in fsl_pci_pme_probe()
1196 pms &= ~PCI_PM_CTRL_PME_ENABLE; in fsl_pci_pme_probe()
1197 pci_write_config_word(dev, dev->pm_cap + PCI_PM_CTRL, pms); in fsl_pci_pme_probe()
1228 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pms); in fsl_pci_pme_probe()
1229 pms |= PCI_PM_CTRL_PME_ENABLE; in fsl_pci_pme_probe()
1230 pci_write_config_word(dev, dev->pm_cap + PCI_PM_CTRL, pms); in fsl_pci_pme_probe()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/pcp/
H A Dpcp_6.0.5.bb234 ${datadir}/man/man3/pms* \
/openbmc/linux/arch/arm64/boot/dts/apple/
H A Dt8103-pmgr.dtsi83 label = "pms";
H A Dt8112-pmgr.dtsi67 label = "pms";
H A Dt600x-pmgr.dtsi41 label = DIE_LABEL(pms);