Searched refs:pms (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/drivers/hid/ |
D | hid-prodikeys.c | 240 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.4/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_buffers.c | 96 struct mlxsw_sp_sb_pm *pms; member 110 const struct mlxsw_sp_sb_pm *pms; member 168 return &mlxsw_sp->sb->ports[local_port].pms[pool_index]; in mlxsw_sp_sb_pm_get() 346 struct mlxsw_sp_sb_pm *pms; in mlxsw_sp_sb_port_init() local 348 pms = kcalloc(mlxsw_sp->sb_vals->pool_count, sizeof(*pms), in mlxsw_sp_sb_port_init() 350 if (!pms) in mlxsw_sp_sb_port_init() 352 sb_port->pms = pms; in mlxsw_sp_sb_port_init() 358 kfree(sb_port->pms); in mlxsw_sp_sb_port_fini() 757 const struct mlxsw_sp_sb_pm *pms, in mlxsw_sp_sb_pms_init() argument 763 const struct mlxsw_sp_sb_pm *pm = &pms[i]; in mlxsw_sp_sb_pms_init() [all …]
|
/Linux-v5.4/arch/powerpc/sysdev/ |
D | fsl_pci.c | 1165 u16 pms; in fsl_pci_pme_probe() local 1171 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pms); in fsl_pci_pme_probe() 1172 pms &= ~PCI_PM_CTRL_PME_ENABLE; in fsl_pci_pme_probe() 1173 pci_write_config_word(dev, dev->pm_cap + PCI_PM_CTRL, pms); in fsl_pci_pme_probe() 1204 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pms); in fsl_pci_pme_probe() 1205 pms |= PCI_PM_CTRL_PME_ENABLE; in fsl_pci_pme_probe() 1206 pci_write_config_word(dev, dev->pm_cap + PCI_PM_CTRL, pms); in fsl_pci_pme_probe()
|