Home
last modified time | relevance | path

Searched refs:mpu (Results 1 – 25 of 81) sorted by relevance

1234

/linux-6.6.21/sound/drivers/mpu401/
Dmpu401_uart.c31 static void snd_mpu401_uart_input_read(struct snd_mpu401 * mpu);
32 static void snd_mpu401_uart_output_write(struct snd_mpu401 * mpu);
38 #define snd_mpu401_input_avail(mpu) \ argument
39 (!(mpu->read(mpu, MPU401C(mpu)) & MPU401_RX_EMPTY))
40 #define snd_mpu401_output_ready(mpu) \ argument
41 (!(mpu->read(mpu, MPU401C(mpu)) & MPU401_TX_FULL))
44 static void mpu401_write_port(struct snd_mpu401 *mpu, unsigned char data, in mpu401_write_port() argument
50 static unsigned char mpu401_read_port(struct snd_mpu401 *mpu, in mpu401_read_port() argument
56 static void mpu401_write_mmio(struct snd_mpu401 *mpu, unsigned char data, in mpu401_write_mmio() argument
62 static unsigned char mpu401_read_mmio(struct snd_mpu401 *mpu, in mpu401_read_mmio() argument
[all …]
/linux-6.6.21/sound/isa/msnd/
Dmsnd_midi.c43 struct snd_msndmidi *mpu; in snd_msndmidi_input_open() local
47 mpu = substream->rmidi->private_data; in snd_msndmidi_input_open()
49 mpu->substream_input = substream; in snd_msndmidi_input_open()
51 snd_msnd_enable_irq(mpu->dev); in snd_msndmidi_input_open()
53 snd_msnd_send_dsp_cmd(mpu->dev, HDEX_MIDI_IN_START); in snd_msndmidi_input_open()
54 set_bit(MSNDMIDI_MODE_BIT_INPUT, &mpu->mode); in snd_msndmidi_input_open()
60 struct snd_msndmidi *mpu; in snd_msndmidi_input_close() local
62 mpu = substream->rmidi->private_data; in snd_msndmidi_input_close()
63 snd_msnd_send_dsp_cmd(mpu->dev, HDEX_MIDI_IN_STOP); in snd_msndmidi_input_close()
64 clear_bit(MSNDMIDI_MODE_BIT_INPUT, &mpu->mode); in snd_msndmidi_input_close()
[all …]
Dmsnd_pinnacle.c506 static int snd_msnd_mpu401_open(struct snd_mpu401 *mpu) in snd_msnd_mpu401_open() argument
508 snd_msnd_enable_irq(mpu->private_data); in snd_msnd_mpu401_open()
509 snd_msnd_send_dsp_cmd(mpu->private_data, HDEX_MIDI_IN_START); in snd_msnd_mpu401_open()
513 static void snd_msnd_mpu401_close(struct snd_mpu401 *mpu) in snd_msnd_mpu401_close() argument
515 snd_msnd_send_dsp_cmd(mpu->private_data, HDEX_MIDI_IN_STOP); in snd_msnd_mpu401_close()
516 snd_msnd_disable_irq(mpu->private_data); in snd_msnd_mpu401_close()
571 struct snd_mpu401 *mpu; in snd_msnd_attach() local
584 mpu = chip->rmidi->private_data; in snd_msnd_attach()
586 mpu->open_input = snd_msnd_mpu401_open; in snd_msnd_attach()
587 mpu->close_input = snd_msnd_mpu401_close; in snd_msnd_attach()
[all …]
/linux-6.6.21/Documentation/devicetree/bindings/arm/omap/
Dmpu.txt8 - compatible : Should be "ti,omap3-mpu" for OMAP3
9 Should be "ti,omap4-mpu" for OMAP4
10 Should be "ti,omap5-mpu" for OMAP5
11 - ti,hwmods: "mpu"
27 mpu {
28 compatible = "ti,omap5-mpu";
29 ti,hwmods = "mpu"
34 mpu {
35 compatible = "ti,omap4-mpu";
36 ti,hwmods = "mpu";
[all …]
/linux-6.6.21/sound/isa/wavefront/
Dwavefront_midi.c115 snd_wavefront_mpu_id mpu; in snd_wavefront_midi_output_write() local
191 mpu = midi->output_mpu ^ mask; in snd_wavefront_midi_output_write()
193 if ((midi->mode[mpu] & MPU401_MODE_OUTPUT) == 0) { in snd_wavefront_midi_output_write()
197 if (snd_rawmidi_transmit_empty(midi->substream_output[mpu])) in snd_wavefront_midi_output_write()
200 if (mpu != midi->output_mpu) { in snd_wavefront_midi_output_write()
201 write_data(midi, mpu == internal_mpu ? in snd_wavefront_midi_output_write()
204 midi->output_mpu = mpu; in snd_wavefront_midi_output_write()
205 } else if (snd_rawmidi_transmit(midi->substream_output[mpu], &midi_byte, 1) == 1) { in snd_wavefront_midi_output_write()
217 midi->mode[mpu] &= ~MPU401_MODE_OUTPUT_TRIGGER; in snd_wavefront_midi_output_write()
233 snd_wavefront_mpu_id mpu; in snd_wavefront_midi_input_open() local
[all …]
Dwavefront.c114 acard->mpu = pnp_request_card_device(card, id->devs[2].id, NULL); in snd_wavefront_pnp()
115 if (acard->mpu == NULL) in snd_wavefront_pnp()
173 pdev = acard->mpu; in snd_wavefront_pnp()
275 snd_wavefront_mpu_id mpu) in snd_wavefront_new_midi() argument
293 if (mpu == internal_mpu) { in snd_wavefront_new_midi()
/linux-6.6.21/include/sound/
Dmpu401.h69 int (*open_input) (struct snd_mpu401 * mpu);
70 void (*close_input) (struct snd_mpu401 * mpu);
71 int (*open_output) (struct snd_mpu401 * mpu);
72 void (*close_output) (struct snd_mpu401 * mpu);
84 void (*write) (struct snd_mpu401 * mpu, unsigned char data, unsigned long addr);
85 unsigned char (*read) (struct snd_mpu401 *mpu, unsigned long addr);
90 #define MPU401C(mpu) (mpu)->cport argument
91 #define MPU401D(mpu) (mpu)->port argument
/linux-6.6.21/sound/pci/emu10k1/
Demumpu401.c16 struct snd_emu10k1_midi *mpu, int idx) in mpu401_read() argument
19 return (unsigned char)snd_emu10k1_ptr_read(emu, mpu->port + idx, 0); in mpu401_read()
21 return inb(emu->port + mpu->port + idx); in mpu401_read()
25 struct snd_emu10k1_midi *mpu, int data, int idx) in mpu401_write() argument
28 snd_emu10k1_ptr_write(emu, mpu->port + idx, 0, data); in mpu401_write()
30 outb(data, emu->port + mpu->port + idx); in mpu401_write()
33 #define mpu401_write_data(emu, mpu, data) mpu401_write(emu, mpu, data, 0) argument
34 #define mpu401_write_cmd(emu, mpu, data) mpu401_write(emu, mpu, data, 1) argument
35 #define mpu401_read_data(emu, mpu) mpu401_read(emu, mpu, 0) argument
36 #define mpu401_read_stat(emu, mpu) mpu401_read(emu, mpu, 1) argument
[all …]
Demu10k1x.c1159 static inline unsigned char mpu401_read(struct emu10k1x *emu, struct emu10k1x_midi *mpu, int idx) in mpu401_read() argument
1161 return (unsigned char)snd_emu10k1x_ptr_read(emu, mpu->port + idx, 0); in mpu401_read()
1164 static inline void mpu401_write(struct emu10k1x *emu, struct emu10k1x_midi *mpu, int data, int idx) in mpu401_write() argument
1166 snd_emu10k1x_ptr_write(emu, mpu->port + idx, 0, data); in mpu401_write()
1169 #define mpu401_write_data(emu, mpu, data) mpu401_write(emu, mpu, data, 0) argument
1170 #define mpu401_write_cmd(emu, mpu, data) mpu401_write(emu, mpu, data, 1) argument
1171 #define mpu401_read_data(emu, mpu) mpu401_read(emu, mpu, 0) argument
1172 #define mpu401_read_stat(emu, mpu) mpu401_read(emu, mpu, 1) argument
1174 #define mpu401_input_avail(emu,mpu) (!(mpu401_read_stat(emu,mpu) & 0x80)) argument
1175 #define mpu401_output_ready(emu,mpu) (!(mpu401_read_stat(emu,mpu) & 0x40)) argument
[all …]
/linux-6.6.21/drivers/macintosh/
Dwindfarm_ad7417_sensor.c31 const struct mpu_data *mpu; member
84 *value = (raw * (s32)pv->mpu->mdiode + in wf_ad7417_adc_convert()
85 ((s32)pv->mpu->bdiode << 12)) >> 2; in wf_ad7417_adc_convert()
235 const struct mpu_data *mpu; in wf_ad7417_probe() local
257 mpu = wf_get_mpu(cpu_nr); in wf_ad7417_probe()
258 if (!mpu) { in wf_ad7417_probe()
271 pv->mpu = mpu; in wf_ad7417_probe()
Dwindfarm_rm31.c296 const struct mpu_data *mpu = cpu_mpu_data[cpu]; in cpu_setup_pid() local
301 tmax = mpu->tmax << 16; in cpu_setup_pid()
302 ttarget = mpu->ttarget << 16; in cpu_setup_pid()
303 ptarget = ((s32)(mpu->pmaxh - mpu->padjmax)) << 16; in cpu_setup_pid()
318 hsize = min_t(int, mpu->tguardband, WF_PID_MAX_HISTORY); in cpu_setup_pid()
324 pid.gd = mpu->pid_gd; in cpu_setup_pid()
325 pid.gp = mpu->pid_gp; in cpu_setup_pid()
326 pid.gr = mpu->pid_gr; in cpu_setup_pid()
Dwindfarm_pm72.c395 const struct mpu_data *mpu = cpu_mpu_data[cpu]; in cpu_setup_pid() local
400 tmax = mpu->tmax << 16; in cpu_setup_pid()
401 ttarget = mpu->ttarget << 16; in cpu_setup_pid()
402 ptarget = ((s32)(mpu->pmaxh - mpu->padjmax)) << 16; in cpu_setup_pid()
417 hsize = min_t(int, mpu->tguardband, WF_PID_MAX_HISTORY); in cpu_setup_pid()
423 pid.gd = mpu->pid_gd; in cpu_setup_pid()
424 pid.gp = mpu->pid_gp; in cpu_setup_pid()
425 pid.gr = mpu->pid_gr; in cpu_setup_pid()
/linux-6.6.21/Documentation/devicetree/bindings/interrupt-controller/
Dti,omap4-wugen-mpu9 - compatible : should contain at least "ti,omap4-wugen-mpu" or
10 "ti,omap5-wugen-mpu"
26 compatible = "ti,omap5-wugen-mpu", "ti,omap4-wugen-mpu";
/linux-6.6.21/Documentation/devicetree/bindings/power/
Dti-smartreflex.txt10 "ti,omap3-smartreflex-mpu-iva"
12 "ti,omap4-smartreflex-mpu"
43 compatible = "ti,omap4-smartreflex-mpu";
/linux-6.6.21/sound/pci/au88x0/
Dau88x0_mpu401.c34 struct snd_mpu401 *mpu; in snd_vortex_midi() local
90 mpu = rmidi->private_data; in snd_vortex_midi()
91 mpu->cport = (unsigned long)(vortex->mmio + VORTEX_MIDI_CMD); in snd_vortex_midi()
/linux-6.6.21/arch/arm64/boot/dts/ti/
Dk3-j7200-thermal.dtsi20 mpu_thermal: mpu-thermal {
26 mpu_crit: mpu-crit {
Dk3-j721e-thermal.dtsi20 mpu_thermal: mpu-thermal {
26 mpu_crit: mpu-crit {
/linux-6.6.21/sound/isa/
Dsscape.c305 static inline int verify_mpu401(const struct snd_mpu401 *mpu) in verify_mpu401() argument
307 return ((inb(MPU401C(mpu)) & 0xc0) == 0x80); in verify_mpu401()
313 static inline void initialise_mpu401(const struct snd_mpu401 *mpu) in initialise_mpu401() argument
315 outb(0, MPU401D(mpu)); in initialise_mpu401()
783 static int mpu401_open(struct snd_mpu401 *mpu) in mpu401_open() argument
785 if (!verify_mpu401(mpu)) { in mpu401_open()
807 struct snd_mpu401 *mpu = rawmidi->private_data; in create_mpu401() local
808 mpu->open_input = mpu401_open; in create_mpu401()
809 mpu->open_output = mpu401_open; in create_mpu401()
810 mpu->private_data = sscape; in create_mpu401()
[all …]
/linux-6.6.21/arch/arm/boot/dts/ti/omap/
Domap2430.dtsi178 reg-names = "mpu";
195 reg-names = "mpu";
211 reg-names = "mpu";
227 reg-names = "mpu";
243 reg-names = "mpu";
/linux-6.6.21/Documentation/devicetree/bindings/
Dresource-names.txt33 reg-names = "mpu", "dat",
42 reg-names = "mpu", "dma";
/linux-6.6.21/Documentation/devicetree/bindings/sound/
Ddavinci-mcbsp.txt16 * "mpu" for the main registers (required).
44 reg-names = "mpu", "dat";
/linux-6.6.21/Documentation/devicetree/bindings/thermal/
Dti,j72xx-thermal.yaml83 mpu_thermal: mpu-thermal {
89 mpu_crit: mpu-crit {
/linux-6.6.21/sound/isa/cs423x/
Dcs4236.c82 struct pnp_dev *mpu; member
282 acard->mpu = pnp_request_card_device(card, id->devs[2].id, NULL); in snd_card_cs423x_pnpc()
283 if (acard->mpu == NULL) in snd_card_cs423x_pnpc()
297 if (acard->mpu && mpu_port[dev] > 0) { in snd_card_cs423x_pnpc()
298 if (snd_cs423x_pnp_init_mpu(dev, acard->mpu) < 0) in snd_card_cs423x_pnpc()
/linux-6.6.21/Documentation/devicetree/bindings/pci/
Dtoshiba,visconti-pcie.yaml36 - const: mpu
86 reg-names = "dbi", "config", "ulreg", "smu", "mpu";
/linux-6.6.21/arch/arm/mach-omap2/
Dcm2xxx.h53 extern void omap2xxx_cm_set_mod_dividers(u32 mpu, u32 dsp, u32 gfx, u32 core,

1234