Home
last modified time | relevance | path

Searched full:mpu (Results 1 – 25 of 593) sorted by relevance

12345678910>>...24

/kernel/linux/linux-4.19/sound/drivers/mpu401/
Dmpu401_uart.c3 * Routines for control of MPU-401 in UART mode
5 * MPU-401 supports UART mode which is not capable generate transmit
26 * are port and mmio. For other kind of I/O, set mpu->read and
27 * mpu->write to your own I/O functions.
43 MODULE_DESCRIPTION("Routines for control of MPU-401 in UART mode");
46 static void snd_mpu401_uart_input_read(struct snd_mpu401 * mpu);
47 static void snd_mpu401_uart_output_write(struct snd_mpu401 * mpu);
53 #define snd_mpu401_input_avail(mpu) \ argument
54 (!(mpu->read(mpu, MPU401C(mpu)) & MPU401_RX_EMPTY))
55 #define snd_mpu401_output_ready(mpu) \ argument
[all …]
Dmpu401.c2 * Driver for generic MPU-401 boards (UART mode only)
33 MODULE_DESCRIPTION("MPU-401 UART");
42 static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* MPU-401 port number */
43 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* MPU-401 IRQ */
47 MODULE_PARM_DESC(index, "Index value for MPU-401 device.");
49 MODULE_PARM_DESC(id, "ID string for MPU-401 device.");
51 MODULE_PARM_DESC(enable, "Enable MPU-401 device.");
54 MODULE_PARM_DESC(pnp, "PnP detection for MPU-401 device.");
57 MODULE_PARM_DESC(port, "Port # for MPU-401 device.");
59 MODULE_PARM_DESC(irq, "IRQ # for MPU-401 device.");
[all …]
/kernel/linux/linux-5.10/sound/drivers/mpu401/
Dmpu401_uart.c4 * Routines for control of MPU-401 in UART mode
6 * MPU-401 supports UART mode which is not capable generate transmit
12 * are port and mmio. For other kind of I/O, set mpu->read and
13 * mpu->write to your own I/O functions.
28 MODULE_DESCRIPTION("Routines for control of MPU-401 in UART mode");
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
[all …]
Dmpu401.c3 * Driver for generic MPU-401 boards (UART mode only)
18 MODULE_DESCRIPTION("MPU-401 UART");
27 static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* MPU-401 port number */
28 static int irq[SNDRV_CARDS] = SNDRV_DEFAULT_IRQ; /* MPU-401 IRQ */
32 MODULE_PARM_DESC(index, "Index value for MPU-401 device.");
34 MODULE_PARM_DESC(id, "ID string for MPU-401 device.");
36 MODULE_PARM_DESC(enable, "Enable MPU-401 device.");
39 MODULE_PARM_DESC(pnp, "PnP detection for MPU-401 device.");
42 MODULE_PARM_DESC(port, "Port # for MPU-401 device.");
44 MODULE_PARM_DESC(irq, "IRQ # for MPU-401 device.");
[all …]
/kernel/linux/linux-5.10/sound/isa/msnd/
Dmsnd_midi.c5 * Routines for control of MPU-401 in UART mode
7 * MPU-401 supports UART mode which is not capable generate transmit
43 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()
[all …]
/kernel/linux/linux-4.19/sound/isa/msnd/
Dmsnd_midi.c4 * Routines for control of MPU-401 in UART mode
6 * MPU-401 supports UART mode which is not capable generate transmit
58 struct snd_msndmidi *mpu; in snd_msndmidi_input_open() local
62 mpu = substream->rmidi->private_data; in snd_msndmidi_input_open()
64 mpu->substream_input = substream; in snd_msndmidi_input_open()
66 snd_msnd_enable_irq(mpu->dev); in snd_msndmidi_input_open()
68 snd_msnd_send_dsp_cmd(mpu->dev, HDEX_MIDI_IN_START); in snd_msndmidi_input_open()
69 set_bit(MSNDMIDI_MODE_BIT_INPUT, &mpu->mode); in snd_msndmidi_input_open()
75 struct snd_msndmidi *mpu; in snd_msndmidi_input_close() local
77 mpu = substream->rmidi->private_data; in snd_msndmidi_input_close()
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/arm/omap/
Dmpu.txt1 * TI - MPU (Main Processor Unit) subsystem
3 The MPU subsystem contain one or several ARM cores
5 The MPU contain CPUs, GIC, L2 cache and a local PRCM.
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"
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/omap/
Dmpu.txt1 * TI - MPU (Main Processor Unit) subsystem
3 The MPU subsystem contain one or several ARM cores
5 The MPU contain CPUs, GIC, L2 cache and a local PRCM.
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"
[all …]
/kernel/linux/linux-5.10/include/sound/
Dmpu401.h6 * Header file for MPU-401 and compatible cards
14 #define MPU401_HW_SB 2 /* SoundBlaster MPU-401 UART */
15 #define MPU401_HW_ES1688 3 /* AudioDrive ES1688 MPU-401 UART */
19 #define MPU401_HW_ES18XX 7 /* AudioDrive ES18XX MPU-401 UART */
27 #define MPU401_HW_CMIPCI 15 /* CMIPCI MPU-401 UART */
61 unsigned long port; /* base port of MPU-401 chip */
64 int irq; /* IRQ number of MPU-401 chip */
69 int (*open_input) (struct snd_mpu401 * mpu);
70 void (*close_input) (struct snd_mpu401 * mpu);
71 int (*open_output) (struct snd_mpu401 * mpu);
[all …]
/kernel/linux/linux-4.19/include/sound/
Dmpu401.h5 * Header file for MPU-401 and compatible cards
29 #define MPU401_HW_SB 2 /* SoundBlaster MPU-401 UART */
30 #define MPU401_HW_ES1688 3 /* AudioDrive ES1688 MPU-401 UART */
34 #define MPU401_HW_ES18XX 7 /* AudioDrive ES18XX MPU-401 UART */
42 #define MPU401_HW_CMIPCI 15 /* CMIPCI MPU-401 UART */
76 unsigned long port; /* base port of MPU-401 chip */
79 int irq; /* IRQ number of MPU-401 chip */
84 int (*open_input) (struct snd_mpu401 * mpu);
85 void (*close_input) (struct snd_mpu401 * mpu);
86 int (*open_output) (struct snd_mpu401 * mpu);
[all …]
/kernel/linux/linux-5.10/sound/isa/wavefront/
Dwavefront_midi.c8 * Note that there is also an MPU-401 emulation (actually, a UART-401
25 * something other than 0 and 1 if the CS4232 UART/MPU-401 interface
115 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()
[all …]
/kernel/linux/linux-4.19/sound/isa/wavefront/
Dwavefront_midi.c11 * Note that there is also an MPU-401 emulation (actually, a UART-401
28 * something other than 0 and 1 if the CS4232 UART/MPU-401 interface
118 snd_wavefront_mpu_id mpu; in snd_wavefront_midi_output_write() local
194 mpu = midi->output_mpu ^ mask; in snd_wavefront_midi_output_write()
196 if ((midi->mode[mpu] & MPU401_MODE_OUTPUT) == 0) { in snd_wavefront_midi_output_write()
200 if (snd_rawmidi_transmit_empty(midi->substream_output[mpu])) in snd_wavefront_midi_output_write()
203 if (mpu != midi->output_mpu) { in snd_wavefront_midi_output_write()
204 write_data(midi, mpu == internal_mpu ? in snd_wavefront_midi_output_write()
207 midi->output_mpu = mpu; in snd_wavefront_midi_output_write()
208 } else if (snd_rawmidi_transmit(midi->substream_output[mpu], &midi_byte, 1) == 1) { in snd_wavefront_midi_output_write()
[all …]
/kernel/linux/linux-5.10/sound/pci/emu10k1/
Demumpu401.c4 * Routines for control of EMU10K1 MPU-401 in UART mode
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
[all …]
/kernel/linux/linux-4.19/sound/pci/emu10k1/
Demumpu401.c3 * Routines for control of EMU10K1 MPU-401 in UART mode
31 struct snd_emu10k1_midi *mpu, int idx) in mpu401_read() argument
34 return (unsigned char)snd_emu10k1_ptr_read(emu, mpu->port + idx, 0); in mpu401_read()
36 return inb(emu->port + mpu->port + idx); in mpu401_read()
40 struct snd_emu10k1_midi *mpu, int data, int idx) in mpu401_write() argument
43 snd_emu10k1_ptr_write(emu, mpu->port + idx, 0, data); in mpu401_write()
45 outb(data, emu->port + mpu->port + idx); in mpu401_write()
48 #define mpu401_write_data(emu, mpu, data) mpu401_write(emu, mpu, data, 0) argument
49 #define mpu401_write_cmd(emu, mpu, data) mpu401_write(emu, mpu, data, 1) argument
50 #define mpu401_read_data(emu, mpu) mpu401_read(emu, mpu, 0) argument
[all …]
/kernel/linux/linux-4.19/arch/arm/mach-omap2/
Dcpuidle34xx.c52 * OMAP_CPUIDLE_CX_NO_CLKDM_IDLE: don't allow the MPU clockdomain to go
53 * inactive. This in turn prevents the MPU DPLL from entering autoidle
270 .desc = "MPU ON + CORE ON",
277 .desc = "MPU ON + CORE ON",
284 .desc = "MPU RET + CORE ON",
291 .desc = "MPU OFF + CORE ON",
298 .desc = "MPU RET + CORE RET",
305 .desc = "MPU OFF + CORE RET",
312 .desc = "MPU OFF + CORE OFF",
333 .desc = "MPU ON + CORE ON",
[all …]
Domap4-common.c65 * data writes from the MPU. These asynchronous bridges can be found on
66 * paths between the MPU to EMIF, and the MPU to L3 interconnects.
79 * The mb() and wmb() barriers only operate only on the MPU->MA->EMIF
100 * Async bridges can be found on paths between MPU to EMIF and MPU to L3
112 * In MPU case, L3 T2ASYNC FIFO and DDR T2ASYNC FIFO needs to be drained.
117 * operates on both the MPU->MA->EMIF path but also the MPU->OCP path
137 np = of_find_compatible_node(NULL, NULL, "ti,omap4-mpu"); in omap4_sram_init()
298 { .compatible = "ti,omap4-wugen-mpu", },
299 { .compatible = "ti,omap5-wugen-mpu", },
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
Dcpuidle34xx.c49 * OMAP_CPUIDLE_CX_NO_CLKDM_IDLE: don't allow the MPU clockdomain to go
50 * inactive. This in turn prevents the MPU DPLL from entering autoidle
272 .desc = "MPU ON + CORE ON",
279 .desc = "MPU ON + CORE ON",
286 .desc = "MPU RET + CORE ON",
293 .desc = "MPU OFF + CORE ON",
300 .desc = "MPU RET + CORE RET",
307 .desc = "MPU OFF + CORE RET",
314 .desc = "MPU OFF + CORE OFF",
335 .desc = "MPU ON + CORE ON",
[all …]
Domap4-common.c61 * data writes from the MPU. These asynchronous bridges can be found on
62 * paths between the MPU to EMIF, and the MPU to L3 interconnects.
75 * The mb() and wmb() barriers only operate only on the MPU->MA->EMIF
96 * Async bridges can be found on paths between MPU to EMIF and MPU to L3
108 * In MPU case, L3 T2ASYNC FIFO and DDR T2ASYNC FIFO needs to be drained.
113 * operates on both the MPU->MA->EMIF path but also the MPU->OCP path
133 np = of_find_compatible_node(NULL, NULL, "ti,omap4-mpu"); in omap4_sram_init()
294 { .compatible = "ti,omap4-wugen-mpu", },
295 { .compatible = "ti,omap5-wugen-mpu", },
/kernel/liteos_m/arch/arm/cortex-m4/gcc/
Dlos_mpu.c55MPU->CTRL = (MPU_CTRL_ENABLE_Msk | ((defaultRegionEnable << MPU_CTRL_PRIVDEFENA_Pos) & MPU_CTRL_PR… in ArchMpuEnable()
64 MPU->CTRL = 0; in ArchMpuDisable()
163 if ((MPU_TYPE_DREGION_Msk & MPU->TYPE) == 0) { in ArchMpuSetRegion()
183 MPU->RNR = RNR; in ArchMpuSetRegion()
184 MPU->RBAR = RBAR; in ArchMpuSetRegion()
185 MPU->RASR = RASR; in ArchMpuSetRegion()
188 g_regionNumBeUsed[regionId] = 1; /* Set mpu region used flag */ in ArchMpuSetRegion()
208 type = MPU->TYPE; in ArchMpuDisableRegion()
210 MPU->RNR = regionId; in ArchMpuDisableRegion()
211 MPU->RASR = 0; in ArchMpuDisableRegion()
[all …]
/kernel/liteos_m/arch/arm/cortex-m7/gcc/
Dlos_mpu.c55MPU->CTRL = (MPU_CTRL_ENABLE_Msk | ((defaultRegionEnable << MPU_CTRL_PRIVDEFENA_Pos) & MPU_CTRL_PR… in ArchMpuEnable()
64 MPU->CTRL = 0; in ArchMpuDisable()
163 if ((MPU_TYPE_DREGION_Msk & MPU->TYPE) == 0) { in ArchMpuSetRegion()
183 MPU->RNR = RNR; in ArchMpuSetRegion()
184 MPU->RBAR = RBAR; in ArchMpuSetRegion()
185 MPU->RASR = RASR; in ArchMpuSetRegion()
188 g_regionNumBeUsed[regionId] = 1; /* Set mpu region used flag */ in ArchMpuSetRegion()
208 type = MPU->TYPE; in ArchMpuDisableRegion()
210 MPU->RNR = regionId; in ArchMpuDisableRegion()
211 MPU->RASR = 0; in ArchMpuDisableRegion()
[all …]
/kernel/liteos_m/arch/arm/cortex-m4/iar/
Dlos_mpu.c55MPU->CTRL = (MPU_CTRL_ENABLE_Msk | ((defaultRegionEnable << MPU_CTRL_PRIVDEFENA_Pos) & MPU_CTRL_PR… in ArchMpuEnable()
64 MPU->CTRL = 0; in ArchMpuDisable()
163 if ((MPU_TYPE_DREGION_Msk & MPU->TYPE) == 0) { in ArchMpuSetRegion()
183 MPU->RNR = RNR; in ArchMpuSetRegion()
184 MPU->RBAR = RBAR; in ArchMpuSetRegion()
185 MPU->RASR = RASR; in ArchMpuSetRegion()
188 g_regionNumBeUsed[regionId] = 1; /* Set mpu region used flag */ in ArchMpuSetRegion()
208 type = MPU->TYPE; in ArchMpuDisableRegion()
210 MPU->RNR = regionId; in ArchMpuDisableRegion()
211 MPU->RASR = 0; in ArchMpuDisableRegion()
[all …]
/kernel/liteos_m/arch/arm/cortex-m7/iar/
Dlos_mpu.c55MPU->CTRL = (MPU_CTRL_ENABLE_Msk | ((defaultRegionEnable << MPU_CTRL_PRIVDEFENA_Pos) & MPU_CTRL_PR… in ArchMpuEnable()
64 MPU->CTRL = 0; in ArchMpuDisable()
163 if ((MPU_TYPE_DREGION_Msk & MPU->TYPE) == 0) { in ArchMpuSetRegion()
183 MPU->RNR = RNR; in ArchMpuSetRegion()
184 MPU->RBAR = RBAR; in ArchMpuSetRegion()
185 MPU->RASR = RASR; in ArchMpuSetRegion()
188 g_regionNumBeUsed[regionId] = 1; /* Set mpu region used flag */ in ArchMpuSetRegion()
208 type = MPU->TYPE; in ArchMpuDisableRegion()
210 MPU->RNR = regionId; in ArchMpuDisableRegion()
211 MPU->RASR = 0; in ArchMpuDisableRegion()
[all …]
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/interrupt-controller/
Dti,omap4-wugen-mpu5 is also referred to as "WUGEN-MPU", hence the name of the binding.
9 - 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";
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/interrupt-controller/
Dti,omap4-wugen-mpu5 is also referred to as "WUGEN-MPU", hence the name of the binding.
9 - 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";
/kernel/linux/linux-4.19/arch/arm/boot/dts/
Domap4.dtsi93 compatible = "ti,omap4-wugen-mpu";
102 * that are not memory mapped in the MPU view or for the MPU itself.
106 mpu {
107 compatible = "ti,omap4-mpu";
108 ti,hwmods = "mpu";
236 ranges = <0x00000000 0x40130000 0x1000>, /* MPU private access */
248 reg = <0x40132000 0x7f>, /* MPU private access */
250 reg-names = "mpu", "dma";
261 reg = <0x4012e000 0x7f>, /* MPU private access */
263 reg-names = "mpu", "dma";
[all …]

12345678910>>...24