| /linux/sound/drivers/mpu401/ |
| H A D | mpu401_uart.c | 31 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/sound/isa/wavefront/ |
| H A D | wavefront_midi.c | 115 snd_wavefront_mpu_id mpu; in snd_wavefront_midi_output_write() local 185 mpu = midi->output_mpu ^ mask; in snd_wavefront_midi_output_write() 187 if ((midi->mode[mpu] & MPU401_MODE_OUTPUT) == 0) in snd_wavefront_midi_output_write() 189 if (snd_rawmidi_transmit_empty(midi->substream_output[mpu])) in snd_wavefront_midi_output_write() 192 if (mpu != midi->output_mpu) { in snd_wavefront_midi_output_write() 193 write_data(midi, mpu == internal_mpu ? in snd_wavefront_midi_output_write() 196 midi->output_mpu = mpu; in snd_wavefront_midi_output_write() 197 } else if (snd_rawmidi_transmit(midi->substream_output[mpu], &midi_byte, 1) == 1) { in snd_wavefront_midi_output_write() 209 midi->mode[mpu] &= ~MPU401_MODE_OUTPUT_TRIGGER; in snd_wavefront_midi_output_write() 221 snd_wavefront_mpu_id mpu; in snd_wavefront_midi_input_open() local [all …]
|
| H A D | wavefront.c | 114 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() 276 snd_wavefront_mpu_id mpu) in snd_wavefront_new_midi() argument 294 if (mpu == internal_mpu) { in snd_wavefront_new_midi()
|
| /linux/Documentation/devicetree/bindings/arm/omap/ |
| H A D | mpu.txt | 8 - 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/sound/pci/emu10k1/ |
| H A D | emumpu401.c | 16 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 …]
|
| H A D | emu10k1x.c | 1140 static inline unsigned char mpu401_read(struct emu10k1x *emu, struct emu10k1x_midi *mpu, int idx) in mpu401_read() argument 1142 return (unsigned char)snd_emu10k1x_ptr_read(emu, mpu->port + idx, 0); in mpu401_read() 1145 static inline void mpu401_write(struct emu10k1x *emu, struct emu10k1x_midi *mpu, int data, int idx) in mpu401_write() argument 1147 snd_emu10k1x_ptr_write(emu, mpu->port + idx, 0, data); in mpu401_write() 1150 #define mpu401_write_data(emu, mpu, data) mpu401_write(emu, mpu, data, 0) argument 1151 #define mpu401_write_cmd(emu, mpu, data) mpu401_write(emu, mpu, data, 1) argument 1152 #define mpu401_read_data(emu, mpu) mpu401_read(emu, mpu, 0) argument 1153 #define mpu401_read_stat(emu, mpu) mpu401_read(emu, mpu, 1) argument 1155 #define mpu401_input_avail(emu,mpu) (!(mpu401_read_stat(emu,mpu) & 0x80)) argument 1156 #define mpu401_output_ready(emu,mpu) (!(mpu401_read_stat(emu,mpu) & 0x40)) argument [all …]
|
| /linux/include/sound/ |
| H A D | mpu401.h | 69 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/drivers/macintosh/ |
| H A D | windfarm_ad7417_sensor.c | 31 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()
|
| H A D | windfarm_rm31.c | 296 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()
|
| H A D | windfarm_pm72.c | 395 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/Documentation/devicetree/bindings/power/ |
| H A D | ti-smartreflex.txt | 10 "ti,omap3-smartreflex-mpu-iva" 12 "ti,omap4-smartreflex-mpu" 43 compatible = "ti,omap4-smartreflex-mpu";
|
| /linux/sound/pci/au88x0/ |
| H A D | au88x0_mpu401.c | 34 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/sound/isa/ |
| H A D | sscape.c | 303 static inline int verify_mpu401(const struct snd_mpu401 *mpu) in verify_mpu401() argument 305 return ((inb(MPU401C(mpu)) & 0xc0) == 0x80); in verify_mpu401() 311 static inline void initialise_mpu401(const struct snd_mpu401 *mpu) in initialise_mpu401() argument 313 outb(0, MPU401D(mpu)); in initialise_mpu401() 764 static int mpu401_open(struct snd_mpu401 *mpu) in mpu401_open() argument 766 if (!verify_mpu401(mpu)) { in mpu401_open() 767 dev_err(mpu->rmidi->card->dev, in mpu401_open() 788 struct snd_mpu401 *mpu = rawmidi->private_data; in create_mpu401() local 789 mpu->open_input = mpu401_open; in create_mpu401() 790 mpu->open_output = mpu401_open; in create_mpu401() [all …]
|
| H A D | cmi8330.c | 152 struct pnp_dev *mpu; member 336 acard->mpu = pnp_request_card_device(card, id->devs[2].id, NULL); in snd_cmi8330_pnp() 337 if (acard->mpu == NULL) in snd_cmi8330_pnp() 374 pdev = acard->mpu; in snd_cmi8330_pnp()
|
| /linux/arch/arm64/boot/dts/ti/ |
| H A D | k3-j7200-thermal.dtsi | 23 mpu_thermal: mpu-thermal { 29 mpu_crit: mpu-crit {
|
| H A D | k3-j721e-thermal.dtsi | 23 mpu_thermal: mpu-thermal { 29 mpu_crit: mpu-crit {
|
| /linux/sound/isa/msnd/ |
| H A D | msnd_pinnacle.c | 503 static int snd_msnd_mpu401_open(struct snd_mpu401 *mpu) in snd_msnd_mpu401_open() argument 505 snd_msnd_enable_irq(mpu->private_data); in snd_msnd_mpu401_open() 506 snd_msnd_send_dsp_cmd(mpu->private_data, HDEX_MIDI_IN_START); in snd_msnd_mpu401_open() 510 static void snd_msnd_mpu401_close(struct snd_mpu401 *mpu) in snd_msnd_mpu401_close() argument 512 snd_msnd_send_dsp_cmd(mpu->private_data, HDEX_MIDI_IN_STOP); in snd_msnd_mpu401_close() 513 snd_msnd_disable_irq(mpu->private_data); in snd_msnd_mpu401_close() 568 struct snd_mpu401 *mpu; in snd_msnd_attach() local 581 mpu = chip->rmidi->private_data; in snd_msnd_attach() 583 mpu->open_input = snd_msnd_mpu401_open; in snd_msnd_attach() 584 mpu->close_input = snd_msnd_mpu401_close; in snd_msnd_attach() [all …]
|
| /linux/arch/arm/boot/dts/ti/omap/ |
| H A D | omap2430.dtsi | 178 reg-names = "mpu"; 195 reg-names = "mpu"; 211 reg-names = "mpu"; 227 reg-names = "mpu"; 243 reg-names = "mpu";
|
| H A D | omap4-l4-abe.dtsi | 111 reg-names = "mpu", "dma"; 146 reg-names = "mpu", "dma"; 181 reg-names = "mpu", "dma"; 217 reg-names = "mpu","dat"; 253 reg-names = "mpu", "dma"; 315 reg-names = "mpu", "dma";
|
| H A D | omap3.dtsi | 61 mpu { 62 compatible = "ti,omap3-mpu"; 63 ti,hwmods = "mpu"; 565 reg-names = "mpu"; 608 reg-names = "mpu", "sidetone"; 628 reg-names = "mpu", "sidetone"; 647 reg-names = "mpu"; 666 reg-names = "mpu";
|
| H A D | omap2.dtsi | 45 mpu { 46 compatible = "ti,omap2-mpu"; 47 ti,hwmods = "mpu";
|
| H A D | omap5-l4-abe.dtsi | 111 reg-names = "mpu", "dma"; 146 reg-names = "mpu", "dma"; 181 reg-names = "mpu", "dma"; 235 reg-names = "mpu", "dma"; 278 reg-names = "mpu", "dma";
|
| /linux/Documentation/devicetree/bindings/ |
| H A D | resource-names.txt | 33 reg-names = "mpu", "dat", 42 reg-names = "mpu", "dma";
|
| /linux/sound/isa/cs423x/ |
| H A D | cs4236.c | 82 struct pnp_dev *mpu; member 284 acard->mpu = pnp_request_card_device(card, id->devs[2].id, NULL); in snd_card_cs423x_pnpc() 285 if (acard->mpu == NULL) in snd_card_cs423x_pnpc() 299 if (acard->mpu && mpu_port[dev] > 0) { in snd_card_cs423x_pnpc() 300 if (snd_cs423x_pnp_init_mpu(dev, acard->mpu) < 0) in snd_card_cs423x_pnpc()
|
| /linux/arch/arm/mach-omap2/ |
| H A D | cm2xxx.c | 270 void omap2xxx_cm_set_mod_dividers(u32 mpu, u32 dsp, u32 gfx, u32 core, u32 mdm) in omap2xxx_cm_set_mod_dividers() argument 274 omap2_cm_write_mod_reg(mpu, MPU_MOD, CM_CLKSEL); in omap2xxx_cm_set_mod_dividers()
|