Searched refs:hw (Results 1 - 25 of 74) sorted by relevance

123

/vbox/src/VBox/Devices/PC/ipxe/src/core/
H A Dhw.c16 struct hw { struct
24 static void hw_finished ( struct hw *hw, int rc ) { argument
25 intf_shutdown ( &hw->xfer, rc );
26 process_del ( &hw->process );
29 static void hw_step ( struct hw *hw ) {
32 if ( xfer_window ( &hw->xfer ) ) {
33 rc = xfer_deliver_raw ( &hw->xfer, hw_msg, sizeof ( hw_msg ) );
34 hw_finished ( hw, r
50 struct hw *hw; local
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/
H A Dsky2.c130 static int gm_phy_write(struct sky2_hw *hw, unsigned port, u16 reg, u16 val) argument
134 gma_write16(hw, port, GM_SMI_DATA, val);
135 gma_write16(hw, port, GM_SMI_CTRL,
139 u16 ctrl = gma_read16(hw, port, GM_SMI_CTRL);
149 DBG(PFX "%s: phy write timeout\n", hw->dev[port]->name);
153 DBG(PFX "%s: phy I/O error\n", hw->dev[port]->name);
157 static int __gm_phy_read(struct sky2_hw *hw, unsigned port, u16 reg, u16 *val) argument
161 gma_write16(hw, port, GM_SMI_CTRL, GM_SMI_CT_PHY_AD(PHY_ADDR_MARV)
165 u16 ctrl = gma_read16(hw, port, GM_SMI_CTRL);
170 *val = gma_read16(hw, por
184 gm_phy_read(struct sky2_hw *hw, unsigned port, u16 reg) argument
192 sky2_power_on(struct sky2_hw *hw) argument
236 sky2_power_aux(struct sky2_hw *hw) argument
254 sky2_gmac_reset(struct sky2_hw *hw, unsigned port) argument
296 sky2_phy_init(struct sky2_hw *hw, unsigned port) argument
594 sky2_phy_power_up(struct sky2_hw *hw, unsigned port) argument
615 sky2_phy_power_down(struct sky2_hw *hw, unsigned port) argument
668 sky2_set_tx_stfwd(struct sky2_hw *hw, unsigned port) argument
682 sky2_mac_init(struct sky2_hw *hw, unsigned port) argument
803 sky2_ramset(struct sky2_hw *hw, u16 q, u32 start, u32 space) argument
843 sky2_qset(struct sky2_hw *hw, u16 q) argument
854 sky2_prefetch_init(struct sky2_hw *hw, u32 qaddr, u64 addr, u32 last) argument
894 sky2_put_idx(struct sky2_hw *hw, unsigned q, u16 idx) argument
967 struct sky2_hw *hw = sky2->hw; local
1046 struct sky2_hw *hw = sky2->hw; local
1131 struct sky2_hw *hw = sky2->hw; local
1240 struct sky2_hw *hw = sky2->hw; local
1314 struct sky2_hw *hw = sky2->hw; local
1386 sky2_phy_speed(const struct sky2_hw *hw, u16 aux) argument
1410 struct sky2_hw *hw = sky2->hw; local
1441 struct sky2_hw *hw = sky2->hw; local
1463 struct sky2_hw *hw = sky2->hw; local
1510 sky2_phy_intr(struct sky2_hw *hw, unsigned port) argument
1642 sky2_status_intr(struct sky2_hw *hw, u16 idx) argument
1708 sky2_hw_error(struct sky2_hw *hw, unsigned port, u32 status) argument
1741 sky2_hw_intr(struct sky2_hw *hw) argument
1784 sky2_mac_intr(struct sky2_hw *hw, unsigned port) argument
1807 sky2_le_error(struct sky2_hw *hw, unsigned port, u16 q, unsigned ring_size __unused) argument
1827 sky2_err_intr(struct sky2_hw *hw, u32 status) argument
1856 struct sky2_hw *hw = sky2->hw; local
1884 sky2_mhz(const struct sky2_hw *hw) argument
1909 sky2_us2clk(const struct sky2_hw *hw, u32 us) argument
1914 sky2_clk2us(const struct sky2_hw *hw, u32 clk) argument
1919 sky2_init(struct sky2_hw *hw) argument
2000 sky2_reset(struct sky2_hw *hw) argument
2132 sky2_supported_modes(const struct sky2_hw *hw) argument
2155 struct sky2_hw *hw = sky2->hw; local
2178 sky2_init_netdev(struct sky2_hw *hw, unsigned port) argument
2244 struct sky2_hw *hw = sky2->hw; local
2265 struct sky2_hw *hw; local
2358 struct sky2_hw *hw = pci_get_drvdata(pdev); local
[all...]
H A Dskge.c62 static int xm_phy_write(struct skge_hw *hw, int port, u16 reg, u16 val);
63 static int gm_phy_write(struct skge_hw *hw, int port, u16 reg, u16 val);
64 static void yukon_init(struct skge_hw *hw, int port);
65 static void genesis_mac_init(struct skge_hw *hw, int port);
68 static void skge_phyirq(struct skge_hw *hw);
94 static u32 skge_supported_modes(const struct skge_hw *hw) argument
98 if (hw->copper) {
107 if (hw->chip_id == CHIP_ID_GENESIS)
113 else if (hw->chip_id == CHIP_ID_YUKON)
123 static inline u32 hwkhz(const struct skge_hw *hw) argument
129 skge_usecs2clk(const struct skge_hw *hw, u32 usec) argument
137 struct skge_hw *hw = skge->hw; local
417 xm_link_down(struct skge_hw *hw, int port) argument
428 __xm_phy_read(struct skge_hw *hw, int port, u16 reg, u16 *val) argument
451 xm_phy_read(struct skge_hw *hw, int port, u16 reg) argument
460 xm_phy_write(struct skge_hw *hw, int port, u16 reg, u16 val) argument
482 genesis_init(struct skge_hw *hw) argument
510 genesis_reset(struct skge_hw *hw, int port) argument
555 bcom_check_link(struct skge_hw *hw, int port) argument
625 struct skge_hw *hw = skge->hw; local
722 struct skge_hw *hw = skge->hw; local
757 struct skge_hw *hw = skge->hw; local
832 struct skge_hw *hw = skge->hw; local
854 genesis_mac_init(struct skge_hw *hw, int port) argument
1002 struct skge_hw *hw = skge->hw; local
1049 struct skge_hw *hw = skge->hw; local
1133 struct skge_hw *hw = skge->hw; local
1161 gm_phy_write(struct skge_hw *hw, int port, u16 reg, u16 val) argument
1181 __gm_phy_read(struct skge_hw *hw, int port, u16 reg, u16 *val) argument
1201 gm_phy_read(struct skge_hw *hw, int port, u16 reg) argument
1212 yukon_init(struct skge_hw *hw, int port) argument
1299 yukon_reset(struct skge_hw *hw, int port) argument
1313 is_yukon_lite_a0(struct skge_hw *hw) argument
1328 yukon_mac_init(struct skge_hw *hw, int port) argument
1476 yukon_suspend(struct skge_hw *hw, int port) argument
1496 struct skge_hw *hw = skge->hw; local
1528 struct skge_hw *hw = skge->hw; local
1549 struct skge_hw *hw = skge->hw; local
1571 struct skge_hw *hw = skge->hw; local
1646 skge_ramset(struct skge_hw *hw, u16 q, u32 start, size_t len) argument
1680 struct skge_hw *hw = skge->hw; local
1712 struct skge_hw *hw = skge->hw; local
1784 skge_rx_stop(struct skge_hw *hw, int port) argument
1795 struct skge_hw *hw = skge->hw; local
1868 struct skge_hw *hw = skge->hw; local
1926 phy_length(const struct skge_hw *hw, u32 status) argument
1934 bad_phy_status(const struct skge_hw *hw, u32 status) argument
2058 struct skge_hw *hw = skge->hw; local
2086 skge_phyirq(struct skge_hw *hw) argument
2115 skge_board_name(const struct skge_hw *hw) argument
2133 skge_reset(struct skge_hw *hw) argument
2296 skge_devinit(struct skge_hw *hw, int port, int highmem __unused) argument
2339 struct skge_hw *hw; local
2413 struct skge_hw *hw = pci_get_drvdata(pdev); local
2453 struct skge_hw *hw = skge->hw; local
[all...]
H A Datl1e.c94 AT_WRITE_REG(&adapter->hw, REG_ISR, 0);
95 AT_WRITE_REG(&adapter->hw, REG_IMR, IMR_NORMAL_MASK);
96 AT_WRITE_FLUSH(&adapter->hw);
105 AT_WRITE_REG(&adapter->hw, REG_IMR, 0);
106 AT_WRITE_FLUSH(&adapter->hw);
115 AT_WRITE_REG(&adapter->hw, REG_ISR, 0);
116 AT_WRITE_REG(&adapter->hw, REG_IMR, 0);
117 AT_WRITE_FLUSH(&adapter->hw);
128 struct atl1e_hw *hw = &adapter->hw; local
218 struct atl1e_hw *hw = &adapter->hw; local
476 struct atl1e_hw *hw = (struct atl1e_hw *)&adapter->hw; local
517 struct atl1e_hw *hw = (struct atl1e_hw *)&adapter->hw; local
555 struct atl1e_hw *hw = (struct atl1e_hw *)&adapter->hw; local
593 struct atl1e_hw *hw = &adapter->hw; local
614 struct atl1e_hw *hw = &adapter->hw; local
645 struct atl1e_hw *hw = &adapter->hw; local
845 struct atl1e_hw *hw = &adapter->hw; local
1252 atl1e_check_eeprom_exist(struct atl1e_hw *hw) argument
1265 atl1e_hw_set_mac_addr(struct atl1e_hw *hw) argument
1288 atl1e_get_permanent_address(struct atl1e_hw *hw) argument
1324 atl1e_force_ps(struct atl1e_hw *hw) argument
1335 atl1e_read_mac_addr(struct atl1e_hw *hw) argument
1351 atl1e_read_phy_reg(struct atl1e_hw *hw, u16 reg_addr, u16 *phy_data) argument
1385 atl1e_write_phy_reg(struct atl1e_hw *hw, u32 reg_addr, u16 phy_data) argument
1416 atl1e_init_pcie(struct atl1e_hw *hw) argument
1434 atl1e_phy_setup_autoneg_adv(struct atl1e_hw *hw) argument
1491 atl1e_phy_commit(struct atl1e_hw *hw) argument
1522 atl1e_phy_init(struct atl1e_hw *hw) argument
1614 atl1e_reset_hw(struct atl1e_hw *hw) argument
1670 atl1e_init_hw(struct atl1e_hw *hw) argument
1693 atl1e_get_speed_and_duplex(struct atl1e_hw *hw, u16 *speed, u16 *duplex) argument
1729 atl1e_restart_autoneg(struct atl1e_hw *hw) argument
[all...]
H A Dprism2.c184 static inline UINT16 hfa384x_getreg( hfa384x_t *hw, UINT reg ) argument
187 return inw ( hw->iobase + reg );
189 return readw ( hw->membase + reg );
194 static inline void hfa384x_setreg( hfa384x_t *hw, UINT16 val, UINT reg ) argument
197 outw ( val, hw->iobase + reg );
199 writew ( val, hw->membase + reg );
208 static inline UINT16 hfa384x_getreg_noswap( hfa384x_t *hw, UINT reg ) argument
210 return hfa384x_getreg ( hw, reg );
212 static inline void hfa384x_setreg_noswap( hfa384x_t *hw, UINT16 val, UINT reg ) argument
214 hfa384x_setreg ( hw, va
239 hfa384x_docmd_wait( hfa384x_t *hw, UINT16 cmd, UINT16 parm0, UINT16 parm1, UINT16 parm2) argument
301 hfa384x_prepare_bap(hfa384x_t *hw, UINT16 id, UINT16 offset) argument
345 hfa384x_copy_from_bap(hfa384x_t *hw, UINT16 id, UINT16 offset, void *buf, UINT len) argument
384 hfa384x_copy_to_bap(hfa384x_t *hw, UINT16 id, UINT16 offset, void *buf, UINT len) argument
427 hfa384x_cmd_access(hfa384x_t *hw, UINT16 write, UINT16 rid) argument
446 hfa384x_drvr_getconfig(hfa384x_t *hw, UINT16 rid, void *buf, UINT16 len) argument
519 hfa384x_drvr_setconfig(hfa384x_t *hw, UINT16 rid, void *buf, UINT16 len) argument
556 hfa384x_drvr_setconfig16(hfa384x_t *hw, UINT16 rid, UINT16 *val) argument
588 hfa384x_wait_for_event(hfa384x_t *hw, UINT16 event_mask, UINT16 event_ack, int wait, int timeout, const char *descr) argument
616 hfa384x_t *hw = &hw_global; local
669 hfa384x_t *hw = &hw_global; local
[all...]
H A Dprism2_pci.c35 hfa384x_t *hw = &hw_global; local
38 hw->membase = ioremap ( pci->membase, 0x100 );
43 return prism2_probe ( nic, hw );
H A Dprism2_plx.c39 * hw device structure to be filled in
45 static int prism2_find_plx ( hfa384x_t *hw, struct pci_device *p ) argument
61 /* Fill out hw structure */
62 hw->iobase = iobase;
92 hfa384x_t *hw = &hw_global; local
95 if ( ! prism2_find_plx ( hw, pci ) ) return 0;
96 nic->ioaddr = hw->iobase;
98 return prism2_probe ( nic, hw );
/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/igbvf/
H A Digbvf_vf.c34 static s32 igbvf_init_mac_params_vf(struct e1000_hw *hw);
35 static s32 igbvf_check_for_link_vf(struct e1000_hw *hw);
36 static s32 igbvf_get_link_up_info_vf(struct e1000_hw *hw, u16 *speed,
38 static s32 igbvf_init_hw_vf(struct e1000_hw *hw);
39 static s32 igbvf_reset_hw_vf(struct e1000_hw *hw);
40 static void igbvf_update_mc_addr_list_vf(struct e1000_hw *hw, u8 *, u32);
46 * @hw: pointer to the HW structure
48 static s32 igbvf_init_mac_params_vf(struct e1000_hw *hw) argument
50 struct e1000_mac_info *mac = &hw->mac;
62 /* hw initializatio
83 igbvf_init_function_pointers_vf(struct e1000_hw *hw) argument
100 igbvf_get_link_up_info_vf(struct e1000_hw *hw, u16 *speed, u16 *duplex) argument
137 igbvf_reset_hw_vf(struct e1000_hw *hw) argument
186 igbvf_init_hw_vf(struct e1000_hw *hw) argument
202 igbvf_rar_set_vf(struct e1000_hw *hw, u8 * addr, u32 index __unused) argument
234 igbvf_hash_mc_addr_vf(struct e1000_hw *hw, u8 *mc_addr) argument
266 igbvf_update_mc_addr_list_vf(struct e1000_hw *hw, u8 *mc_addr_list, u32 mc_addr_count) argument
313 igbvf_vfta_set_vf(struct e1000_hw *hw, u16 vid, bool set) argument
331 igbvf_rlpml_set_vf(struct e1000_hw *hw, u16 max_size) argument
348 igbvf_promisc_set_vf(struct e1000_hw *hw, enum e1000_promisc_type type) argument
383 igbvf_read_mac_addr_vf(struct e1000_hw *hw) argument
401 igbvf_check_for_link_vf(struct e1000_hw *hw) argument
[all...]
H A Digbvf_mbx.c35 * @hw: pointer to the HW structure
40 static s32 igbvf_poll_for_msg(struct e1000_hw *hw, u16 mbx_id) argument
42 struct e1000_mbx_info *mbx = &hw->mbx;
50 while (countdown && mbx->ops.check_for_msg(hw, mbx_id)) {
66 * @hw: pointer to the HW structure
71 static s32 igbvf_poll_for_ack(struct e1000_hw *hw, u16 mbx_id) argument
73 struct e1000_mbx_info *mbx = &hw->mbx;
81 while (countdown && mbx->ops.check_for_ack(hw, mbx_id)) {
97 * @hw: pointer to the HW structure
105 static s32 igbvf_read_posted_mbx(struct e1000_hw *hw, u3 argument
135 igbvf_write_posted_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id) argument
163 igbvf_init_mbx_ops_generic(struct e1000_hw *hw) argument
177 igbvf_read_v2p_mailbox(struct e1000_hw *hw) argument
195 igbvf_check_for_bit_vf(struct e1000_hw *hw, u32 mask) argument
215 igbvf_check_for_msg_vf(struct e1000_hw *hw, u16 mbx_id __unused) argument
236 igbvf_check_for_ack_vf(struct e1000_hw *hw, u16 mbx_id __unused) argument
257 igbvf_check_for_rst_vf(struct e1000_hw *hw, u16 mbx_id __unused) argument
278 igbvf_obtain_mbx_lock_vf(struct e1000_hw *hw) argument
303 igbvf_write_mbx_vf(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id __unused) argument
344 igbvf_read_mbx_vf(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id __unused) argument
377 igbvf_init_mbx_params_vf(struct e1000_hw *hw) argument
[all...]
H A Digbvf_main.c115 struct e1000_hw *hw = &adapter->hw; local
156 struct e1000_hw *hw = &adapter->hw; local
167 struct e1000_hw *hw = &adapter->hw; local
247 struct e1000_hw *hw = &adapter->hw; local
331 * @hw: pointer to the HW structure
337 void igbvf_config_collision_dist ( struct e1000_hw *hw )
360 struct e1000_hw *hw = &adapter->hw; local
430 struct e1000_hw *hw = &adapter->hw; local
455 struct e1000_hw *hw = &adapter->hw; local
498 struct e1000_hw *hw = &adapter->hw; local
525 struct e1000_hw *hw = &adapter->hw; local
667 struct e1000_hw *hw = &adapter->hw; local
698 struct e1000_hw *hw = &adapter->hw; local
763 struct e1000_hw *hw = &adapter->hw; local
788 struct e1000_hw *hw; local
[all...]
H A Digbvf.h234 struct e1000_hw hw;
273 struct e1000_hw hw; member in struct:igbvf_adapter
364 static inline u32 __er32(struct e1000_hw *hw, unsigned long reg) argument
366 return readl(hw->hw_addr + reg);
369 static inline void __ew32(struct e1000_hw *hw, unsigned long reg, u32 val) argument
371 writel(val, hw->hw_addr + reg);
373 #define er32(reg) E1000_READ_REG(hw, E1000_##reg)
374 #define ew32(reg,val) E1000_WRITE_REG(hw, E1000_##reg, (val))
/vbox/src/VBox/Devices/Audio/
H A Dnoaudio.c33 HWVoiceOut hw; member in struct:NoVoiceOut
38 HWVoiceIn hw; member in struct:NoVoiceIn
42 static int no_run_out (HWVoiceOut *hw) argument
44 NoVoiceOut *no = (NoVoiceOut *) hw;
50 live = audio_pcm_hw_get_live_out (&no->hw);
60 samples = (int)((2 * ticks * hw->info.freq + ticks_per_second) / ticks_per_second / 2);
71 hw->rpos = (hw->rpos + decr) % hw->samples;
80 static int no_init_out (HWVoiceOut *hw, audsettings_ argument
87 no_fini_out(HWVoiceOut *hw) argument
92 no_ctl_out(HWVoiceOut *hw, int cmd, ...) argument
99 no_init_in(HWVoiceIn *hw, audsettings_t *as) argument
106 no_fini_in(HWVoiceIn *hw) argument
111 no_run_in(HWVoiceIn *hw) argument
138 no_ctl_in(HWVoiceIn *hw, int cmd, ...) argument
[all...]
H A Daudio_template.h27 #define HWBUF hw->mix_buf
36 #define HWBUF hw->conv_buf
74 static void glue (audio_pcm_hw_free_resources_, TYPE) (HW *hw)
83 static int glue (audio_pcm_hw_alloc_resources_, TYPE) (HW *hw)
85 HWBUF = audio_calloc (AUDIO_FUNC, hw->samples, sizeof (st_sample_t));
88 hw->samples);
114 samples = ((int64_t) sw->hw->samples << 32) / sw->ratio;
125 sw->rate = st_rate_start (sw->info.freq, sw->hw->info.freq);
127 sw->rate = st_rate_start (sw->hw->info.freq, sw->info.freq);
141 HW *hw,
199 HW *hw = *hwp; local
245 HW *hw; local
314 HW *hw; local
343 HW *hw; local
476 HW *hw = sw->hw; local
[all...]
H A Dsolaudio.c262 static int solaudio_init_out (HWVoiceOut *hw, audsettings_t *as) argument
264 solaudioVoiceOut *pSol = (solaudioVoiceOut *)hw;
298 audio_pcm_init_info(&hw->info, &ObtAudioInfo);
301 hw->samples = pSol->AudioInfo.play.buffer_size >> hw->info.shift;
305 LogRel(("solaudio: failed to alloc %d %d bytes to pPCMBuf\n", hw->samples << hw->info.shift, hw->samples));
308 LogFlow(("solaudio: init_out hw->samples=%d play.buffer_size=%d\n", hw
313 solaudio_fini_out(HWVoiceOut *hw) argument
327 solaudio_start_out(HWVoiceOut *hw) argument
406 solaudio_run_out(HWVoiceOut *hw) argument
452 solaudio_ctl_out(HWVoiceOut *hw, int cmd, ...) argument
629 solaudio_init_in(HWVoiceIn *hw, audsettings_t *as) argument
684 solaudio_fini_in(HWVoiceIn *hw) argument
697 solaudio_run_in(HWVoiceIn *hw) argument
806 solaudio_ctl_in(HWVoiceIn *hw, int cmd, ...) argument
[all...]
H A Daudio.c751 if (audio_pcm_info_eq (&cap->hw.info, as)) {
772 if (cap->hw.enabled != enabled) {
774 cap->hw.enabled = enabled;
782 HWVoiceOut *hw = &cap->hw; local
786 for (sw = hw->sw_head.lh_first; sw; sw = sw->entries.le_next) {
795 static void audio_detach_capture (HWVoiceOut *hw) argument
797 SWVoiceCap *sc = hw->cap_head.lh_first;
823 static int audio_attach_capture (AudioState *s, HWVoiceOut *hw) argument
827 audio_detach_capture (hw);
871 audio_pcm_hw_find_min_in(HWVoiceIn *hw) argument
884 audio_pcm_hw_get_live_in(HWVoiceIn *hw) argument
899 HWVoiceIn *hw = sw->hw; local
919 HWVoiceIn *hw = sw->hw; local
978 audio_pcm_hw_find_min_out(HWVoiceOut *hw, int *nb_livep) argument
995 audio_pcm_hw_get_live_out2(HWVoiceOut *hw, int *nb_live) argument
1015 audio_pcm_hw_get_live_out(HWVoiceOut *hw) argument
1171 HWVoiceOut *hw; local
1214 HWVoiceIn *hw; local
1299 audio_capture_mix_and_clear(HWVoiceOut *hw, int rpos, int samples) argument
1338 HWVoiceOut *hw = NULL; local
1446 HWVoiceIn *hw = NULL; local
1479 HWVoiceOut *hw = &cap->hw; local
1814 HWVoiceOut *hw; local
[all...]
H A Dwinaudio.c42 HWVoiceOut hw; member in struct:OSSVoiceOut
58 HWVoiceIn hw; member in struct:OSSVoiceIn
77 static void winmm_run_out (HWVoiceOut *hw) argument
79 OSSVoiceOut *oss = (OSSVoiceOut *) hw;
86 live = pcm_hw_get_live (hw, NULL);
98 if (abs (hw->samples - live) < 64)
103 samples = oss->default_bufsize >> hw->info.shift;
110 rpos = hw->rpos;
114 int left_till_end_samples = hw->samples - rpos;
127 src = advance (hw
159 winmm_fini_out(HWVoiceOut *hw) argument
195 winmm_init_out(HWVoiceOut *hw, int freq, int nchannels, audfmt_e fmt) argument
280 winmm_ctl_out(HWVoiceOut *hw, int cmd, ...) argument
352 winmm_init_in(HWVoiceIn *hw, int freq, int nchannels, audfmt_e fmt) argument
403 winmm_fini_in(HWVoiceIn *hw) argument
418 winmm_run_in(HWVoiceIn *hw) argument
491 winmm_ctl_in(HWVoiceIn *hw, int cmd, ...) argument
[all...]
H A Ddsoundaudio.c105 HWVoiceOut hw; member in struct:__anon9900
115 HWVoiceIn hw; member in struct:__anon9901
506 ds->hw.samples,
507 ds->hw.info.freq,
508 ds->hw.info.nchannels,
509 ds->hw.info.bits,
510 ds->hw.info.sign));
532 bd.dwBufferBytes = ds->hw.samples << ds->hw.info.shift;
573 if (bc.dwBufferBytes & ds->hw
908 dsound_write_sample(HWVoiceOut *hw, uint8_t *dst, int dst_len) argument
968 dsound_ctl_out(HWVoiceOut *hw, int cmd, ...) argument
997 dsound_run_out(HWVoiceOut *hw) argument
1118 dsound_ctl_in(HWVoiceIn *hw, int cmd, ...) argument
1147 dsound_run_in(HWVoiceIn *hw) argument
[all...]
H A Dossaudio.c46 HWVoiceOut hw; member in struct:OSSVoiceOut
58 HWVoiceIn hw; member in struct:OSSVoiceIn
342 static int oss_run_out (HWVoiceOut *hw) argument
344 OSSVoiceOut *oss = (OSSVoiceOut *) hw;
355 live = audio_pcm_hw_get_live_out (hw);
360 bufsize = hw->samples << hw->info.shift;
373 if (abs (hw->samples - live) < 64) {
386 decr = audio_MIN (bytes >> hw->info.shift, live);
399 "please report your OS/audio hw t
485 oss_fini_out(HWVoiceOut *hw) argument
517 oss_init_out(HWVoiceOut *hw, audsettings_t *as) argument
638 oss_ctl_out(HWVoiceOut *hw, int cmd, ...) argument
677 oss_init_in(HWVoiceIn *hw, audsettings_t *as) argument
737 oss_fini_in(HWVoiceIn *hw) argument
752 oss_run_in(HWVoiceIn *hw) argument
836 oss_ctl_in(HWVoiceIn *hw, int cmd, ...) argument
[all...]
H A Ddsound_template.h160 static void dsound_fini_in (HWVoiceIn *hw) argument
162 DSoundVoiceIn *ds = (DSoundVoiceIn *) hw;
169 static void dsound_fini_out (HWVoiceOut *hw) argument
171 DSoundVoiceOut *ds = (DSoundVoiceOut *) hw;
181 static int dsound_init_in (HWVoiceIn *hw, audsettings_t *as) argument
183 DSoundVoiceIn *ds = (DSoundVoiceIn *) hw;
192 audio_pcm_init_info (&hw->info, &ds->as);
193 hw->samples = conf.bufsize_in >> hw->info.shift;
201 static int dsound_init_out (HWVoiceOut *hw, audsettings_ argument
[all...]
H A Dpulseaudio.c53 } hw; member in struct:PulseVoice
366 static int pulse_init_out (HWVoiceOut *hw, audsettings_t *as) argument
368 PulseVoice *pPulse = (PulseVoice *) hw;
399 audio_pcm_init_info (&hw->info, &obt_as);
410 hw->samples = cbBuf >> hw->info.shift;
415 static void pulse_fini_out (HWVoiceOut *hw) argument
417 PulseVoice *pPulse = (PulseVoice *)hw;
435 static int pulse_run_out (HWVoiceOut *hw) argument
437 PulseVoice *pPulse = (PulseVoice *) hw;
503 pulse_ctl_out(HWVoiceOut *hw, int cmd, ...) argument
549 pulse_init_in(HWVoiceIn *hw, audsettings_t *as) argument
583 pulse_fini_in(HWVoiceIn *hw) argument
597 pulse_run_in(HWVoiceIn *hw) argument
691 pulse_ctl_in(HWVoiceIn *hw, int cmd, ...) argument
[all...]
H A Dcoreaudio.c481 HWVoiceOut hw; member in struct:caVoiceOut
500 HWVoiceIn hw; member in struct:caVoiceIn
537 static int coreaudio_run_out(HWVoiceOut *hw);
539 static int coreaudio_ctl_out(HWVoiceOut *hw, int cmd, ...);
540 static void coreaudio_fini_out(HWVoiceOut *hw);
541 static int coreaudio_init_out(HWVoiceOut *hw, audsettings_t *as);
542 static int caInitOutput(HWVoiceOut *hw);
543 static void caReinitOutput(HWVoiceOut *hw);
623 csAvail = IORingBufferUsed(caVoice->pBuf) >> caVoice->hw.info.shift; /* bytes -> samples */
626 csAvail = RT_MIN(csAvail, ioData->mBuffers[0].mDataByteSize >> caVoice->hw
660 caInitOutput(HWVoiceOut *hw) argument
950 caReinitOutput(HWVoiceOut *hw) argument
960 coreaudio_run_out(HWVoiceOut *hw) argument
1027 coreaudio_ctl_out(HWVoiceOut *hw, int cmd, ...) argument
1084 coreaudio_fini_out(HWVoiceOut *hw) argument
1132 coreaudio_init_out(HWVoiceOut *hw, audsettings_t *as) argument
1482 caInitInput(HWVoiceIn *hw) argument
1882 caReinitInput(HWVoiceIn *hw) argument
1892 coreaudio_run_in(HWVoiceIn *hw) argument
1953 coreaudio_ctl_in(HWVoiceIn *hw, int cmd, ...) argument
2007 coreaudio_fini_in(HWVoiceIn *hw) argument
2070 coreaudio_init_in(HWVoiceIn *hw, audsettings_t *as) argument
[all...]
H A Daudio_int.h129 HWVoiceOut *hw; member in struct:SWVoiceOut
145 HWVoiceIn *hw; member in struct:SWVoiceIn
167 int (*init_out)(HWVoiceOut *hw, audsettings_t *as);
168 void (*fini_out)(HWVoiceOut *hw);
169 int (*run_out) (HWVoiceOut *hw);
171 int (*ctl_out) (HWVoiceOut *hw, int cmd, ...);
173 int (*init_in) (HWVoiceIn *hw, audsettings_t *as);
174 void (*fini_in) (HWVoiceIn *hw);
175 int (*run_in) (HWVoiceIn *hw);
177 int (*ctl_in) (HWVoiceIn *hw, in
187 HWVoiceOut hw; member in struct:CaptureVoiceOut
[all...]
H A Dalsaaudio.c48 HWVoiceOut hw; member in struct:ALSAVoiceOut
54 HWVoiceIn hw; member in struct:ALSAVoiceIn
702 static int alsa_run_out (HWVoiceOut *hw) argument
704 ALSAVoiceOut *alsa = (ALSAVoiceOut *) hw;
711 live = audio_pcm_hw_get_live_out (hw);
724 rpos = hw->rpos;
726 int left_till_end_samples = hw->samples - rpos;
730 src = hw->mix_buf + rpos;
731 dst = advance (alsa->pcm_buf, rpos << hw->info.shift);
733 hw
796 alsa_fini_out(HWVoiceOut *hw) argument
809 alsa_init_out(HWVoiceOut *hw, audsettings_t *as) argument
878 alsa_ctl_out(HWVoiceOut *hw, int cmd, ...) argument
895 alsa_init_in(HWVoiceIn *hw, audsettings_t *as) argument
942 alsa_fini_in(HWVoiceIn *hw) argument
954 alsa_run_in(HWVoiceIn *hw) argument
1093 alsa_ctl_in(HWVoiceIn *hw, int cmd, ...) argument
[all...]
H A Dmixeng.h62 void mixeng_sniff_and_clear(PPDMHOSTVOICEOUT hw, PPDMHOSTSTEREOSAMPLE src, int len);
65 void mixeng_sniff_and_clear (struct HWVoiceOut *hw, st_sample_t *src, int len);
/vbox/src/VBox/Main/xml/
H A DSettings.cpp2620 * @param hw
2676 * @param hw
2679 Hardware &hw)
2691 hw.llGuestProperties.push_back(prop);
2694 elmGuestProperties.getAttributeValue("notificationPatterns", hw.strNotificationPatterns);
2724 * @param hw
2727 Hardware &hw,
2730 if (!elmHardware.getAttributeValue("version", hw.strVersion))
2740 hw.strVersion = "1";
2742 hw
2678 readGuestProperties(const xml::ElementNode &elmGuestProperties, Hardware &hw) argument
2726 readHardware(const xml::ElementNode &elmHardware, Hardware &hw, Storage &strg) argument
4070 buildHardwareXML(xml::ElementNode &elmParent, const Hardware &hw, const Storage &strg) argument
[all...]

Completed in 101 milliseconds

123