Changeset 777 for GPL/trunk/alsa-kernel/include/sound/hdaudio.h
- Timestamp:
- Apr 21, 2025, 7:17:25 PM (4 months ago)
- Location:
- GPL/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk
- Property svn:mergeinfo changed
/GPL/branches/uniaud32-exp merged: 766-767,770-771,773-774
- Property svn:mergeinfo changed
-
GPL/trunk/alsa-kernel/include/sound/hdaudio.h
r772 r777 19 19 #include <sound/memalloc.h> 20 20 #include <sound/hda_verbs.h> 21 #include <drm/i915_component.h> 21 #ifndef TARGET_OS2 22 #include <drm/intel/i915_component.h> 23 #endif 22 24 23 25 /* codec node id */ … … 141 143 int snd_hdac_get_sub_nodes(struct hdac_device *codec, hda_nid_t nid, 142 144 hda_nid_t *start_id); 143 unsigned int snd_hdac_ calc_stream_format(unsigned int rate,144 unsigned int channels,145 snd_pcm_format_t format, 146 unsigned int maxbps,147 unsigned short spdif_ctls);145 unsigned int snd_hdac_stream_format_bits(snd_pcm_format_t format, snd_pcm_subformat_t subformat, 146 unsigned int maxbits); 147 unsigned int snd_hdac_stream_format(unsigned int channels, unsigned int bits, unsigned int rate); 148 unsigned int snd_hdac_spdif_stream_format(unsigned int channels, unsigned int bits, 149 unsigned int rate, unsigned short spdif_ctls); 148 150 int snd_hdac_query_supported_pcm(struct hdac_device *codec, hda_nid_t nid, 149 u32 *ratesp, u64 *formatsp, unsigned int *bpsp); 151 u32 *ratesp, u64 *formatsp, u32 *subformatsp, 152 unsigned int *bpsp); 150 153 bool snd_hdac_is_supported_format(struct hdac_device *codec, hda_nid_t nid, 151 154 unsigned int format); … … 362 365 bool not_use_interrupts:1; /* prohibiting the RIRB IRQ */ 363 366 bool access_sdnctl_in_dword:1; /* accessing the sdnctl register by dword */ 367 bool use_pio_for_commands:1; /* Use PIO instead of CORB for commands */ 364 368 365 369 int poll_count; … … 588 592 int dir, int stream_tag); 589 593 590 int snd_hdac_stream_setup(struct hdac_stream *azx_dev );594 int snd_hdac_stream_setup(struct hdac_stream *azx_dev, bool code_loading); 591 595 void snd_hdac_stream_cleanup(struct hdac_stream *azx_dev); 592 596 int snd_hdac_stream_setup_periods(struct hdac_stream *azx_dev); … … 603 607 unsigned int streams); 604 608 void snd_hdac_stream_timecounter_init(struct hdac_stream *azx_dev, 605 unsigned int streams );609 unsigned int streams, bool start); 606 610 int snd_hdac_get_stream_stripe_ctl(struct hdac_bus *bus, 607 611 struct snd_pcm_substream *substream); … … 638 642 #define snd_hdac_stream_readb_poll(dev, reg, val, cond, delay_us, timeout_us) \ 639 643 read_poll_timeout_atomic(snd_hdac_reg_readb, val, cond, delay_us, timeout_us, \ 644 false, (dev)->bus, (dev)->sd_addr + AZX_REG_ ## reg) 645 #define snd_hdac_stream_readw_poll(dev, reg, val, cond, delay_us, timeout_us) \ 646 read_poll_timeout_atomic(snd_hdac_reg_readw, val, cond, delay_us, timeout_us, \ 640 647 false, (dev)->bus, (dev)->sd_addr + AZX_REG_ ## reg) 641 648 #define snd_hdac_stream_readl_poll(dev, reg, val, cond, delay_us, timeout_us) \ … … 743 750 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_HDA_DG2_1) }, \ 744 751 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_HDA_DG2_2) }, \ 752 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_HDA_BMG) }, \ 745 753 { } \ 746 754 }, pci) || HDA_CONTROLLER_IS_HSW(pci))
Note:
See TracChangeset
for help on using the changeset viewer.