Home
last modified time | relevance | path

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

12345678910>>...26

/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-6.6/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-6.6/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-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-6.6/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-6.6/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-6.6/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-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-6.6/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-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-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/linux/linux-6.6/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
273 .desc = "MPU ON + CORE ON",
281 .desc = "MPU ON + CORE ON",
289 .desc = "MPU RET + CORE ON",
297 .desc = "MPU OFF + CORE ON",
305 .desc = "MPU RET + CORE RET",
313 .desc = "MPU OFF + CORE RET",
321 .desc = "MPU OFF + CORE OFF",
343 .desc = "MPU ON + CORE ON",
[all …]
Domap4-common.c60 * data writes from the MPU. These asynchronous bridges can be found on
61 * paths between the MPU to EMIF, and the MPU to L3 interconnects.
74 * The mb() and wmb() barriers only operate only on the MPU->MA->EMIF
95 * Async bridges can be found on paths between MPU to EMIF and MPU to L3
107 * In MPU case, L3 T2ASYNC FIFO and DDR T2ASYNC FIFO needs to be drained.
112 * operates on both the MPU->MA->EMIF path but also the MPU->OCP path
132 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/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-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-m4/keil/
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/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/linux/linux-6.6/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";

12345678910>>...26