/openbmc/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 …]
|
/openbmc/linux/sound/isa/msnd/ |
H A D | msnd_midi.c | 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() 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 …]
|
H A D | msnd_pinnacle.c | 506 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 …]
|
/openbmc/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 …]
|
/openbmc/linux/sound/isa/wavefront/ |
H A D | wavefront_midi.c | 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() 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 …]
|
/openbmc/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
|
/openbmc/u-boot/arch/arm/mach-omap2/omap4/ |
H A D | hw_data.c | 163 .mpu = mpu_dpll_params_1200mhz, 177 .mpu = mpu_dpll_params_1200mhz, 191 .mpu = mpu_dpll_params_1200mhz, 205 .mpu = mpu_dpll_params_1400mhz, 219 .mpu = mpu_dpll_params_1600mhz, 265 .mpu.value[OPP_NOM] = 1325, 266 .mpu.addr = SMPS_REG_ADDR_VCORE1, 267 .mpu.pmic = &twl6030_4430es1, 279 .mpu.value[OPP_NOM] = 1325, 280 .mpu.addr = SMPS_REG_ADDR_VCORE1, [all …]
|
/openbmc/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 | 1159 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 …]
|
/openbmc/qemu/hw/arm/ |
H A D | omap1.c | 728 static void omap_ulpd_pm_reset(struct omap_mpu_state_s *mpu) in omap_ulpd_pm_reset() argument 730 mpu->ulpd_pm_regs[0x00 >> 2] = 0x0001; in omap_ulpd_pm_reset() 731 mpu->ulpd_pm_regs[0x04 >> 2] = 0x0000; in omap_ulpd_pm_reset() 732 mpu->ulpd_pm_regs[0x08 >> 2] = 0x0001; in omap_ulpd_pm_reset() 733 mpu->ulpd_pm_regs[0x0c >> 2] = 0x0000; in omap_ulpd_pm_reset() 734 mpu->ulpd_pm_regs[0x10 >> 2] = 0x0000; in omap_ulpd_pm_reset() 735 mpu->ulpd_pm_regs[0x18 >> 2] = 0x01; in omap_ulpd_pm_reset() 736 mpu->ulpd_pm_regs[0x1c >> 2] = 0x01; in omap_ulpd_pm_reset() 737 mpu->ulpd_pm_regs[0x20 >> 2] = 0x01; in omap_ulpd_pm_reset() 738 mpu->ulpd_pm_regs[0x24 >> 2] = 0x03ff; in omap_ulpd_pm_reset() [all …]
|
H A D | omap_sx1.c | 105 struct omap_mpu_state_s *mpu; in sx1_init() local 131 mpu = omap310_mpu_init(machine->ram, machine->cpu_type); in sx1_init() 193 arm_load_kernel(mpu->cpu, machine, &sx1_binfo); in sx1_init()
|
/openbmc/u-boot/arch/arm/mach-omap2/omap5/ |
H A D | hw_data.c | 219 .mpu = mpu_dpll_params_800mhz, 233 .mpu = mpu_dpll_params_1ghz, 247 .mpu = mpu_dpll_params_1ghz, 258 .mpu = mpu_dpll_params_1ghz, 269 .mpu = mpu_dpll_params_1ghz, 341 .mpu.value[OPP_NOM] = VDD_MPU, 342 .mpu.addr = SMPS_REG_ADDR_12_MPU, 343 .mpu.pmic = &palmas, 355 .mpu.value[OPP_NOM] = VDD_MPU_ES2, 356 .mpu.addr = SMPS_REG_ADDR_12_MPU, [all …]
|
/openbmc/u-boot/board/ti/dra7xx/ |
H A D | evm.c | 375 .mpu.value[OPP_NOM] = VDD_MPU_DRA7_NOM, 376 .mpu.efuse.reg[OPP_NOM] = STD_FUSE_OPP_VMIN_MPU_NOM, 377 .mpu.efuse.reg_bits = DRA752_EFUSE_REGBITS, 378 .mpu.addr = TPS659038_REG_ADDR_SMPS12, 379 .mpu.pmic = &tps659038, 380 .mpu.abb_tx_done_mask = OMAP_ABB_MPU_TXDONE_MASK, 423 .mpu.value[OPP_NOM] = VDD_MPU_DRA7_NOM, 424 .mpu.efuse.reg[OPP_NOM] = STD_FUSE_OPP_VMIN_MPU_NOM, 425 .mpu.efuse.reg_bits = DRA752_EFUSE_REGBITS, 426 .mpu.addr = LP87565_REG_ADDR_BUCK01, [all …]
|
/openbmc/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()
|
/openbmc/u-boot/board/ti/am57xx/ |
H A D | board.c | 323 .mpu.value[OPP_NOM] = VDD_MPU_DRA7_NOM, 324 .mpu.efuse.reg[OPP_NOM] = STD_FUSE_OPP_VMIN_MPU_NOM, 325 .mpu.efuse.reg_bits = DRA752_EFUSE_REGBITS, 326 .mpu.addr = TPS659038_REG_ADDR_SMPS12, 327 .mpu.pmic = &tps659038, 328 .mpu.abb_tx_done_mask = OMAP_ABB_MPU_TXDONE_MASK, 371 .mpu.value[OPP_NOM] = VDD_MPU_DRA7_NOM, 372 .mpu.efuse.reg[OPP_NOM] = STD_FUSE_OPP_VMIN_MPU_NOM, 373 .mpu.efuse.reg_bits = DRA752_EFUSE_REGBITS, 374 .mpu.addr = TPS659038_REG_ADDR_SMPS12, [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/interrupt-controller/ |
H A D | ti,omap4-wugen-mpu | 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";
|
/openbmc/u-boot/board/compulab/cl-som-am57x/ |
H A D | spl.c | 163 .mpu.value[OPP_NOM] = VDD_MPU_DRA7_NOM, 164 .mpu.efuse.reg[OPP_NOM] = STD_FUSE_OPP_VMIN_MPU_NOM, 165 .mpu.efuse.reg_bits = DRA752_EFUSE_REGBITS, 166 .mpu.addr = TPS659038_REG_ADDR_SMPS12, 167 .mpu.pmic = &tps659038,
|
/openbmc/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";
|
/openbmc/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()
|
/openbmc/qemu/hw/display/ |
H A D | omap_lcdc.c | 348 if (!s->dma->mpu->port[s->dma->src].addr_valid(s->dma->mpu, in omap_lcd_update() 350 !s->dma->mpu->port[ in omap_lcd_update() 351 s->dma->src].addr_valid(s->dma->mpu, in omap_lcd_update() 354 (!s->dma->mpu->port[ in omap_lcd_update() 355 s->dma->src].addr_valid(s->dma->mpu, in omap_lcd_update() 357 !s->dma->mpu->port[ in omap_lcd_update() 358 s->dma->src].addr_valid(s->dma->mpu, in omap_lcd_update()
|
/openbmc/qemu/hw/misc/ |
H A D | omap_clk.c | 590 struct clk *omap_findclk(struct omap_mpu_state_s *mpu, const char *name) in omap_findclk() argument 594 for (i = mpu->clks; i->name; i ++) in omap_findclk() 706 void omap_clk_init(struct omap_mpu_state_s *mpu) in omap_clk_init() argument 712 if (cpu_is_omap310(mpu)) in omap_clk_init() 714 else if (cpu_is_omap1510(mpu)) in omap_clk_init() 722 mpu->clks = g_new0(struct clk, count + 1); in omap_clk_init() 723 for (i = onchip_clks, j = mpu->clks; *i; i ++) in omap_clk_init() 726 for (k = mpu->clks; k < j; k ++) in omap_clk_init() 740 for (j = mpu->clks; count --; j ++) { in omap_clk_init()
|
/openbmc/linux/arch/arm64/boot/dts/ti/ |
H A D | k3-j7200-thermal.dtsi | 20 mpu_thermal: mpu-thermal { 26 mpu_crit: mpu-crit {
|
/openbmc/linux/sound/isa/ |
H A D | sscape.c | 305 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 …]
|