| /openbmc/u-boot/drivers/net/ |
| H A D | e1000_spi.c | 21 static int e1000_spi_xfer(struct e1000_hw *hw, unsigned int bitlen, in e1000_spi_xfer() argument 32 eecd = E1000_READ_REG(hw, EECD); in e1000_spi_xfer() 47 E1000_WRITE_REG(hw, EECD, eecd); in e1000_spi_xfer() 48 E1000_WRITE_FLUSH(hw); in e1000_spi_xfer() 52 e1000_raise_ee_clk(hw, &eecd); in e1000_spi_xfer() 55 eecd = E1000_READ_REG(hw, EECD); in e1000_spi_xfer() 64 e1000_lower_ee_clk(hw, &eecd); in e1000_spi_xfer() 84 struct e1000_hw *hw = e1000_find_card(bus); in spi_setup_slave() local 85 if (!hw) { in spi_setup_slave() 91 if (hw->eeprom.type != e1000_eeprom_spi) { in spi_setup_slave() [all …]
|
| H A D | e1000.c | 127 static int e1000_setup_link(struct e1000_hw *hw); 128 static int e1000_setup_fiber_link(struct e1000_hw *hw); 129 static int e1000_setup_copper_link(struct e1000_hw *hw); 130 static int e1000_phy_setup_autoneg(struct e1000_hw *hw); 131 static void e1000_config_collision_dist(struct e1000_hw *hw); 132 static int e1000_config_mac_to_phy(struct e1000_hw *hw); 133 static int e1000_config_fc_after_link_up(struct e1000_hw *hw); 134 static int e1000_check_for_link(struct e1000_hw *hw); 135 static int e1000_wait_autoneg(struct e1000_hw *hw); 136 static int e1000_get_speed_and_duplex(struct e1000_hw *hw, uint16_t * speed, [all …]
|
| /openbmc/qemu/audio/ |
| H A D | audio_template.h | 27 #define HWBUF hw->mix_buf 29 #define HW HWVoiceOut macro 34 #define HW HWVoiceIn macro 36 #define HWBUF hw->conv_buf 78 static void glue (audio_pcm_hw_free_resources_, TYPE) (HW *hw) in glue() 80 g_free(hw->buf_emul); in glue() 86 static void glue(audio_pcm_hw_alloc_resources_, TYPE)(HW *hw) in glue() 88 if (glue(audio_get_pdo_, TYPE)(hw->s->dev)->mixing_engine) { in glue() 89 size_t samples = hw->samples; in glue() 117 HW *hw = sw->hw; in glue() local [all …]
|
| H A D | audio.c | 394 if (audio_pcm_info_eq (&cap->hw.info, as)) { in audio_pcm_capture_find_specific() 415 if (cap->hw.enabled != enabled) { in audio_capture_maybe_changed() 417 cap->hw.enabled = enabled; in audio_capture_maybe_changed() 425 HWVoiceOut *hw = &cap->hw; in audio_recalc_and_notify_capture() local 429 for (sw = hw->sw_head.lh_first; sw; sw = sw->entries.le_next) { in audio_recalc_and_notify_capture() 438 static void audio_detach_capture (HWVoiceOut *hw) in audio_detach_capture() argument 440 SWVoiceCap *sc = hw->cap_head.lh_first; in audio_detach_capture() 466 static int audio_attach_capture (HWVoiceOut *hw) in audio_attach_capture() argument 468 AudioState *s = hw->s; in audio_attach_capture() 471 audio_detach_capture (hw); in audio_attach_capture() [all …]
|
| H A D | dbusaudio.c | 59 HWVoiceOut hw; member 72 HWVoiceIn hw; member 80 static void *dbus_get_buffer_out(HWVoiceOut *hw, size_t *size) in dbus_get_buffer_out() argument 82 DBusVoiceOut *vo = container_of(hw, DBusVoiceOut, hw); in dbus_get_buffer_out() 85 vo->buf_size = hw->samples * hw->info.bytes_per_frame; in dbus_get_buffer_out() 91 *size = audio_rate_get_bytes(&vo->rate, &hw->info, *size); in dbus_get_buffer_out() 97 static size_t dbus_put_buffer_out(HWVoiceOut *hw, void *buf, size_t size) in dbus_put_buffer_out() argument 99 DBusAudio *da = (DBusAudio *)hw->s->drv_opaque; in dbus_put_buffer_out() 100 DBusVoiceOut *vo = container_of(hw, DBusVoiceOut, hw); in dbus_put_buffer_out() 123 (uintptr_t)hw, in dbus_put_buffer_out() [all …]
|
| H A D | sdlaudio.c | 44 HWVoiceOut hw; member 52 HWVoiceIn hw; member 221 HWVoiceOut *hw = &sdl->hw; in sdl_callback_out() local 225 /* dolog("callback_out: len=%d avail=%zu\n", len, hw->pending_emul); */ in sdl_callback_out() 227 while (hw->pending_emul && len) { in sdl_callback_out() 230 start = audio_ring_posb(hw->pos_emul, hw->pending_emul, in sdl_callback_out() 231 hw->size_emul); in sdl_callback_out() 232 assert(start < hw->size_emul); in sdl_callback_out() 234 write_len = MIN(MIN(hw->pending_emul, len), in sdl_callback_out() 235 hw->size_emul - start); in sdl_callback_out() [all …]
|
| H A D | ossaudio.c | 43 HWVoiceOut hw; member 52 HWVoiceIn hw; member 120 static void oss_poll_out (HWVoiceOut *hw) in oss_poll_out() argument 122 OSSVoiceOut *oss = (OSSVoiceOut *) hw; in oss_poll_out() 124 qemu_set_fd_handler(oss->fd, NULL, oss_helper_poll_out, hw->s); in oss_poll_out() 127 static void oss_poll_in (HWVoiceIn *hw) in oss_poll_in() argument 129 OSSVoiceIn *oss = (OSSVoiceIn *) hw; in oss_poll_in() 131 qemu_set_fd_handler(oss->fd, oss_helper_poll_in, NULL, hw->s); in oss_poll_in() 381 return audio_ring_dist(cntinfo.ptr, oss->hw.pos_emul, oss->hw.size_emul); in oss_get_available_bytes() 384 static void oss_run_buffer_out(HWVoiceOut *hw) in oss_run_buffer_out() argument [all …]
|
| H A D | noaudio.c | 35 HWVoiceOut hw; member 40 HWVoiceIn hw; member 44 static size_t no_write(HWVoiceOut *hw, void *buf, size_t len) in no_write() argument 46 NoVoiceOut *no = (NoVoiceOut *) hw; in no_write() 47 return audio_rate_get_bytes(&no->rate, &hw->info, len); in no_write() 50 static int no_init_out(HWVoiceOut *hw, struct audsettings *as, void *drv_opaque) in no_init_out() argument 52 NoVoiceOut *no = (NoVoiceOut *) hw; in no_init_out() 54 audio_pcm_init_info (&hw->info, as); in no_init_out() 55 hw->samples = 1024; in no_init_out() 60 static void no_fini_out (HWVoiceOut *hw) in no_fini_out() argument [all …]
|
| H A D | spiceaudio.c | 45 HWVoiceOut hw; member 55 HWVoiceIn hw; member 92 static int line_out_init(HWVoiceOut *hw, struct audsettings *as, in line_out_init() argument 95 SpiceVoiceOut *out = container_of (hw, SpiceVoiceOut, hw); in line_out_init() 107 audio_pcm_init_info (&hw->info, &settings); in line_out_init() 108 hw->samples = LINE_OUT_SAMPLES; in line_out_init() 119 static void line_out_fini (HWVoiceOut *hw) in line_out_fini() argument 121 SpiceVoiceOut *out = container_of (hw, SpiceVoiceOut, hw); in line_out_fini() 126 static size_t line_out_get_free(HWVoiceOut *hw) in line_out_get_free() argument 128 SpiceVoiceOut *out = container_of(hw, SpiceVoiceOut, hw); in line_out_get_free() [all …]
|
| H A D | audio_int.h | 116 HWVoiceOut *hw; member 132 HWVoiceIn *hw; member 157 int (*init_out)(HWVoiceOut *hw, audsettings *as, void *drv_opaque); 158 void (*fini_out)(HWVoiceOut *hw); 159 size_t (*write) (HWVoiceOut *hw, void *buf, size_t size); 160 void (*run_buffer_out)(HWVoiceOut *hw); 165 size_t (*buffer_get_free)(HWVoiceOut *hw); 170 void *(*get_buffer_out)(HWVoiceOut *hw, size_t *size); 176 size_t (*put_buffer_out)(HWVoiceOut *hw, void *buf, size_t size); 177 void (*enable_out)(HWVoiceOut *hw, bool enable); [all …]
|
| H A D | dsoundaudio.c | 54 HWVoiceOut hw; member 61 HWVoiceIn hw; member 321 static void dsound_clear_sample (HWVoiceOut *hw, LPDIRECTSOUNDBUFFER dsb, in dsound_clear_sample() argument 330 &hw->info, in dsound_clear_sample() 332 hw->size_emul, in dsound_clear_sample() 342 len1 = blen1 / hw->info.bytes_per_frame; in dsound_clear_sample() 343 len2 = blen2 / hw->info.bytes_per_frame; in dsound_clear_sample() 352 audio_pcm_info_clear_buf (&hw->info, p1, len1); in dsound_clear_sample() 356 audio_pcm_info_clear_buf (&hw->info, p2, len2); in dsound_clear_sample() 383 static void dsound_enable_out(HWVoiceOut *hw, bool enable) in dsound_enable_out() argument [all …]
|
| /openbmc/qemu/ |
| H A D | MAINTAINERS | 109 F: hw/char/sclp*.[hc] 110 F: hw/char/terminal3270.c 111 F: hw/intc/s390_flic.c 112 F: hw/intc/s390_flic_kvm.c 113 F: hw/s390x/ 114 F: hw/vfio/ap.c 115 F: hw/s390x/ap-stub.c 116 F: hw/vfio/ccw.c 117 F: hw/watchdog/wdt_diag288.c 118 F: include/hw/s390x/ [all …]
|
| /openbmc/qemu/scripts/coverity-scan/ |
| H A D | COMPONENTS.md | 4 ~ .*/qemu((/include)?/hw/alpha/.*|/target/alpha/.*) 7 …clude)?/hw/arm/.*|(/include)?/hw/.*/(arm|allwinner-a10|bcm28|digic|exynos|imx|omap|stellaris|pxa2x… 10 ~ .*/qemu((/include)?/hw/avr/.*|/target/avr/.*) 19 ~ .*/qemu((/include)?/hw/hppa/.*|/target/hppa/.*) 22 ~ .*/qemu((/include)?/hw/i386/.*|/target/i386/.*|/hw/intc/[^/]*apic[^/]*\.c) 25 ~ .*/qemu((/include)?/hw/(loongarch/.*|.*/loongarch.*)|/target/loongarch/.*) 28 …~ .*/qemu((/include)?/hw/m68k/.*|/target/m68k/.*|(/include)?/hw(/.*)?/mcf.*|(/include)?/hw/nubus/.… 31 ~ .*/qemu((/include)?/hw/microblaze/.*|/target/microblaze/.*) 34 ~ .*/qemu((/include)?/hw/mips/.*|/target/mips/.*) 37 ~ .*/qemu((/include)?/hw/openrisc/.*|/target/openrisc/.*) [all …]
|
| /openbmc/qemu/include/hw/arm/ |
| H A D | bcm2835_peripherals.h | 15 #include "hw/sysbus.h" 16 #include "hw/char/pl011.h" 17 #include "hw/char/bcm2835_aux.h" 18 #include "hw/display/bcm2835_fb.h" 19 #include "hw/dma/bcm2835_dma.h" 20 #include "hw/or-irq.h" 21 #include "hw/intc/bcm2835_ic.h" 22 #include "hw/misc/bcm2835_property.h" 23 #include "hw/misc/bcm2835_rng.h" 24 #include "hw/misc/bcm2835_mbox.h" [all …]
|
| H A D | aspeed_soc.h | 15 #include "hw/cpu/a15mpcore.h" 16 #include "hw/arm/armv7m.h" 17 #include "hw/intc/aspeed_vic.h" 18 #include "hw/intc/aspeed_intc.h" 19 #include "hw/misc/aspeed_scu.h" 20 #include "hw/adc/aspeed_adc.h" 21 #include "hw/misc/aspeed_gfx.h" 22 #include "hw/misc/aspeed_sdmc.h" 23 #include "hw/misc/aspeed_xdma.h" 24 #include "hw/timer/aspeed_timer.h" [all …]
|
| H A D | npcm8xx.h | 19 #include "hw/adc/npcm7xx_adc.h" 20 #include "hw/core/split-irq.h" 21 #include "hw/cpu/cluster.h" 22 #include "hw/gpio/npcm7xx_gpio.h" 23 #include "hw/i2c/npcm7xx_smbus.h" 24 #include "hw/intc/arm_gic_common.h" 25 #include "hw/mem/npcm7xx_mc.h" 26 #include "hw/misc/npcm_clk.h" 27 #include "hw/misc/npcm_gcr.h" 28 #include "hw/misc/npcm7xx_mft.h" [all …]
|
| H A D | xlnx-zynqmp.h | 21 #include "hw/intc/arm_gic.h" 22 #include "hw/net/cadence_gem.h" 23 #include "hw/char/cadence_uart.h" 24 #include "hw/net/xlnx-zynqmp-can.h" 25 #include "hw/ide/ahci-sysbus.h" 26 #include "hw/sd/sdhci.h" 27 #include "hw/ssi/xilinx_spips.h" 28 #include "hw/dma/xlnx_dpdma.h" 29 #include "hw/dma/xlnx-zdma.h" 30 #include "hw/display/xlnx_dp.h" [all …]
|
| H A D | npcm7xx.h | 19 #include "hw/boards.h" 20 #include "hw/adc/npcm7xx_adc.h" 21 #include "hw/core/split-irq.h" 22 #include "hw/cpu/a9mpcore.h" 23 #include "hw/gpio/npcm7xx_gpio.h" 24 #include "hw/i2c/npcm7xx_smbus.h" 25 #include "hw/mem/npcm7xx_mc.h" 26 #include "hw/misc/npcm_clk.h" 27 #include "hw/misc/npcm_gcr.h" 28 #include "hw/misc/npcm7xx_mft.h" [all …]
|
| H A D | allwinner-a10.h | 4 #include "hw/timer/allwinner-a10-pit.h" 5 #include "hw/intc/allwinner-a10-pic.h" 6 #include "hw/net/allwinner_emac.h" 7 #include "hw/sd/allwinner-sdhost.h" 8 #include "hw/ide/ahci-sysbus.h" 9 #include "hw/usb/hcd-ohci.h" 10 #include "hw/usb/hcd-ehci.h" 11 #include "hw/rtc/allwinner-rtc.h" 12 #include "hw/misc/allwinner-a10-ccm.h" 13 #include "hw/misc/allwinner-a10-dramc.h" [all …]
|
| H A D | fsl-imx8mp.h | 13 #include "hw/char/imx_serial.h" 14 #include "hw/gpio/imx_gpio.h" 15 #include "hw/i2c/imx_i2c.h" 16 #include "hw/intc/arm_gicv3_common.h" 17 #include "hw/misc/imx7_snvs.h" 18 #include "hw/misc/imx8mp_analog.h" 19 #include "hw/misc/imx8mp_ccm.h" 20 #include "hw/net/imx_fec.h" 21 #include "hw/or-irq.h" 22 #include "hw/pci-host/designware.h" [all …]
|
| H A D | nrf51_soc.h | 13 #include "hw/sysbus.h" 14 #include "hw/arm/armv7m.h" 15 #include "hw/char/nrf51_uart.h" 16 #include "hw/misc/nrf51_rng.h" 17 #include "hw/gpio/nrf51_gpio.h" 18 #include "hw/nvram/nrf51_nvm.h" 19 #include "hw/timer/nrf51_timer.h" 20 #include "hw/clock.h"
|
| H A D | xlnx-versal.h | 15 #include "hw/sysbus.h" 16 #include "hw/cpu/cluster.h" 17 #include "hw/or-irq.h" 18 #include "hw/sd/sdhci.h" 19 #include "hw/intc/arm_gicv3.h" 20 #include "hw/char/pl011.h" 21 #include "hw/dma/xlnx-zdma.h" 22 #include "hw/net/cadence_gem.h" 23 #include "hw/rtc/xlnx-zynqmp-rtc.h" 25 #include "hw/usb/xlnx-usb-subsystem.h" [all …]
|
| /openbmc/qemu/include/hw/m68k/ |
| H A D | q800.h | 26 #include "hw/boards.h" 30 #include "hw/m68k/q800-glue.h" 31 #include "hw/misc/mac_via.h" 32 #include "hw/net/dp8393x.h" 33 #include "hw/char/escc.h" 34 #include "hw/or-irq.h" 35 #include "hw/scsi/esp.h" 36 #include "hw/block/swim.h" 37 #include "hw/nubus/mac-nubus-bridge.h" 38 #include "hw/display/macfb.h" [all …]
|
| /openbmc/qemu/include/hw/ppc/ |
| H A D | pnv_chip.h | 4 #include "hw/pci-host/pnv_phb4.h" 5 #include "hw/ppc/pnv_adu.h" 6 #include "hw/ppc/pnv_chiptod.h" 7 #include "hw/ppc/pnv_core.h" 8 #include "hw/ppc/pnv_homer.h" 9 #include "hw/ppc/pnv_n1_chiplet.h" 10 #include "hw/ssi/pnv_spi.h" 11 #include "hw/ppc/pnv_lpc.h" 12 #include "hw/ppc/pnv_occ.h" 13 #include "hw/ppc/pnv_psi.h" [all …]
|
| /openbmc/openbmc/poky/meta/lib/oeqa/manual/ |
| H A D | bsp-hw.json | 4 "@alias": "bsps-hw.bsps-hw.boot_and_install_from_USB", 38 "@alias": "bsps-hw.bsps-hw.live_boot_from_USB", 64 "@alias": "bsps-hw.bsps-hw.switch_among_multi_applications_and_desktop", 94 "@alias": "bsps-hw.bsps-hw.connman_offline_mode_in_connman-gnome", 116 "@alias": "bsps-hw.bsps-hw.check_CPU_utilization_after_standby", 146 "@alias": "bsps-hw.bsps-hw.Add_multiple_files_in_media_player", 172 "@alias": "bsps-hw.bsps-hw.video_-_libva_check_(ogg_video_play)", 198 "@alias": "bsps-hw.bsps-hw.media_player_-_play_video_(ogv)", 220 "@alias": "bsps-hw.bsps-hw.media_player_-_stop/play_button_(ogv)", 250 "@alias": "bsps-hw.bsps-hw.audio_-_play_(ogg)_with_HDMI", [all …]
|