Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/hid/
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
252 pms = &pm->sustained_notes[i]; in init_sustain_timers()
253 pms->in_use = 0; in init_sustain_timers()
254 pms->pm = pm; in init_sustain_timers()
255 timer_setup(&pms->timer, pcmidi_sustained_note_release, 0); in init_sustain_timers()
261 struct pcmidi_sustain *pms; in stop_sustain_timers() local
265 pms = &pm->sustained_notes[i]; in stop_sustain_timers()
[all …]
/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_buffers.c97 struct mlxsw_sp_sb_pm *pms; member
111 const struct mlxsw_sp_sb_pm *pms; member
178 return &mlxsw_sp->sb->ports[local_port].pms[pool_index]; in mlxsw_sp_sb_pm_get()
610 struct mlxsw_sp_sb_pm *pms; in mlxsw_sp_sb_port_init() local
612 pms = kcalloc(mlxsw_sp->sb_vals->pool_count, sizeof(*pms), in mlxsw_sp_sb_port_init()
614 if (!pms) in mlxsw_sp_sb_port_init()
616 sb_port->pms = pms; in mlxsw_sp_sb_port_init()
622 kfree(sb_port->pms); in mlxsw_sp_sb_port_fini()
1041 const struct mlxsw_sp_sb_pm *pms, in mlxsw_sp_sb_pms_init() argument
1047 const struct mlxsw_sp_sb_pm *pm = &pms[i]; in mlxsw_sp_sb_pms_init()
[all …]
/Linux-v5.15/arch/powerpc/sysdev/
Dfsl_pci.c1163 u16 pms; in fsl_pci_pme_probe() local
1169 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pms); in fsl_pci_pme_probe()
1170 pms &= ~PCI_PM_CTRL_PME_ENABLE; in fsl_pci_pme_probe()
1171 pci_write_config_word(dev, dev->pm_cap + PCI_PM_CTRL, pms); in fsl_pci_pme_probe()
1202 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pms); in fsl_pci_pme_probe()
1203 pms |= PCI_PM_CTRL_PME_ENABLE; in fsl_pci_pme_probe()
1204 pci_write_config_word(dev, dev->pm_cap + PCI_PM_CTRL, pms); in fsl_pci_pme_probe()