Changeset 763
- Timestamp:
- Apr 6, 2025, 3:30:42 AM (4 months ago)
- Location:
- GPL/branches/uniaud32-exp
- Files:
-
- 1 added
- 33 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/uniaud32-exp/alsa-kernel/core/init.c
r762 r763 23 23 24 24 #ifdef TARGET_OS2 25 struct class *sound_class;25 const struct class sound_class; 26 26 #endif 27 27 -
GPL/branches/uniaud32-exp/alsa-kernel/core/memory.c
r762 r763 12 12 #include <sound/pcm.h> 13 13 14 #ifndef TARGET_OS2 14 15 /** 15 16 * copy_to_user_fromio - copy data from mmio-space to user-space … … 114 115 } 115 116 EXPORT_SYMBOL(copy_from_iter_toio); 117 #else // TARGET_OS2 118 /** 119 * copy_to_user_fromio - copy data from mmio-space to user-space 120 * @dst: the destination pointer on user-space 121 * @src: the source pointer on mmio 122 * @count: the data size to copy in bytes 123 * 124 * Copies the data from mmio-space to user-space. 125 * 126 * Return: Zero if successful, or non-zero on failure. 127 */ 128 int copy_to_user_fromio(void __user *dst, const volatile void __iomem *src, size_t count) 129 { 130 #if defined(__i386__) || defined(CONFIG_SPARC32) 131 return copy_to_user(dst, (const void __force*)src, count) ? -EFAULT : 0; 132 #else 133 char buf[256]; 134 while (count) { 135 size_t c = count; 136 if (c > sizeof(buf)) 137 c = sizeof(buf); 138 memcpy_fromio(buf, (void __iomem *)src, c); 139 if (copy_to_user(dst, buf, c)) 140 return -EFAULT; 141 count -= c; 142 dst += c; 143 src += c; 144 } 145 return 0; 146 #endif 147 } 148 EXPORT_SYMBOL(copy_to_user_fromio); 149 150 /** 151 * copy_from_user_toio - copy data from user-space to mmio-space 152 * @dst: the destination pointer on mmio-space 153 * @src: the source pointer on user-space 154 * @count: the data size to copy in bytes 155 * 156 * Copies the data from user-space to mmio-space. 157 * 158 * Return: Zero if successful, or non-zero on failure. 159 */ 160 int copy_from_user_toio(volatile void __iomem *dst, const void __user *src, size_t count) 161 { 162 #if defined(__i386__) || defined(CONFIG_SPARC32) 163 return copy_from_user((void __force *)dst, src, count) ? -EFAULT : 0; 164 #else 165 char buf[256]; 166 while (count) { 167 size_t c = count; 168 if (c > sizeof(buf)) 169 c = sizeof(buf); 170 if (copy_from_user(buf, src, c)) 171 return -EFAULT; 172 memcpy_toio(dst, buf, c); 173 count -= c; 174 dst += c; 175 src += c; 176 } 177 return 0; 178 #endif 179 } 180 EXPORT_SYMBOL(copy_from_user_toio); 181 #endif // TARGET_OS2 -
GPL/branches/uniaud32-exp/alsa-kernel/core/pcm_lib.c
r762 r763 2025 2025 2026 2026 /* default copy ops for write; used for both interleaved and non- modes */ 2027 #ifndef TARGET_OS2 2027 2028 static int default_write_copy(struct snd_pcm_substream *substream, 2028 2029 int channel, unsigned long hwoff, … … 2034 2035 return 0; 2035 2036 } 2037 #else 2038 static int default_write_copy(struct snd_pcm_substream *substream, 2039 int channel, unsigned long hwoff, 2040 void *buf, unsigned long bytes) 2041 { 2042 if (copy_from_user(get_dma_ptr(substream->runtime, channel, hwoff), 2043 (void __user *)buf, bytes)) 2044 return -EFAULT; 2045 return 0; 2046 } 2047 #endif 2036 2048 2037 2049 /* fill silence instead of copy data; called as a transfer helper … … 2058 2070 2059 2071 /* default copy ops for read; used for both interleaved and non- modes */ 2072 #ifndef TARGET_OS2 2060 2073 static int default_read_copy(struct snd_pcm_substream *substream, 2061 2074 int channel, unsigned long hwoff, … … 2081 2094 type = ITER_DEST; 2082 2095 2096 #if 0 //FIXME 2083 2097 if (in_kernel) { 2084 2098 struct kvec kvec = { data, bytes }; … … 2087 2101 return transfer(substream, c, hwoff, &iter, bytes); 2088 2102 } 2089 2103 #endif 2090 2104 err = import_ubuf(type, (__force void __user *)data, bytes, &iter); 2091 2105 if (err) … … 2093 2107 return transfer(substream, c, hwoff, &iter, bytes); 2094 2108 } 2109 #else 2110 static int default_read_copy(struct snd_pcm_substream *substream, 2111 int channel, unsigned long hwoff, 2112 void *buf, unsigned long bytes) 2113 { 2114 if (copy_to_user((void __user *)buf, 2115 get_dma_ptr(substream->runtime, channel, hwoff), 2116 bytes)) 2117 return -EFAULT; 2118 return 0; 2119 } 2120 #endif 2095 2121 2096 2122 /* call transfer function with the converted pointers and sizes; … … 2111 2137 frames = frames_to_bytes(runtime, frames); 2112 2138 2139 #ifndef TARGET_OS2 2113 2140 return do_transfer(substream, 0, hwoff, data + off, frames, transfer, 2114 2141 in_kernel); 2142 #else 2143 return transfer(substream, 0, hwoff, data + off, frames); 2144 #endif 2115 2145 } 2116 2146 … … 2141 2171 err = fill_silence(substream, c, hwoff, NULL, frames); 2142 2172 else 2173 #ifndef TARGET_OS2 2143 2174 err = do_transfer(substream, c, hwoff, *bufs + off, 2144 2175 frames, transfer, in_kernel); 2176 #else 2177 err = transfer(substream, c, hwoff, *bufs + off, 2178 frames); 2179 #endif 2145 2180 if (err < 0) 2146 2181 return err; -
GPL/branches/uniaud32-exp/alsa-kernel/core/rawmidi.c
r762 r763 87 87 #define SNDRV_RAWMIDI_IOCTL_STATUS64 _IOWR('W', 0x20, struct snd_rawmidi_status64) 88 88 89 #ifndef TARGET_OS2 89 90 #define rawmidi_is_ump(rmidi) \ 90 91 (IS_ENABLED(CONFIG_SND_UMP) && ((rmidi)->info_flags & SNDRV_RAWMIDI_INFO_UMP)) 92 #else 93 #define rawmidi_is_ump(rmidi) \ 94 (0 && ((rmidi)->info_flags & SNDRV_RAWMIDI_INFO_UMP)) 95 #endif 91 96 92 97 static struct snd_rawmidi *snd_rawmidi_search(struct snd_card *card, int device) … … 206 211 static inline int get_align(struct snd_rawmidi_runtime *runtime) 207 212 { 213 #ifndef TARGET_OS2 208 214 if (IS_ENABLED(CONFIG_SND_UMP)) 209 215 return runtime->align; 210 216 else 217 #endif 211 218 return 0; 212 219 } … … 1065 1072 } 1066 1073 1067 #if IS_ENABLED(CONFIG_SND_UMP) 1074 #if IS_ENABLED(CONFIG_SND_UMP) || defined(CONFIG_SND_UMP) 1068 1075 /* inquiry of UMP endpoint and block info via control API */ 1069 1076 static int snd_rawmidi_call_ump_ioctl(struct snd_card *card, int cmd, … … 1796 1803 rmidi = entry->private_data; 1797 1804 snd_iprintf(buffer, "%s\n\n", rmidi->name); 1805 #ifndef TARGET_OS2 1798 1806 if (IS_ENABLED(CONFIG_SND_UMP)) 1799 1807 snd_iprintf(buffer, "Type: %s\n", 1800 1808 rawmidi_is_ump(rmidi) ? "UMP" : "Legacy"); 1809 #endif 1801 1810 if (rmidi->ops && rmidi->ops->proc_read) 1802 1811 rmidi->ops->proc_read(entry, buffer); -
GPL/branches/uniaud32-exp/alsa-kernel/core/seq/seq_clientmgr.c
r762 r763 180 180 static struct snd_seq_client *client_load_and_use_ptr(int clientid) 181 181 { 182 #ifndef TARGET_OS2 182 183 return client_use_ptr(clientid, IS_ENABLED(CONFIG_MODULES)); 184 #else 185 return client_use_ptr(clientid, 0); 186 #endif 183 187 } 184 188 … … 466 470 snd_seq_fifo_lock(fifo); 467 471 472 #ifndef TARGET_OS2 468 473 if (IS_ENABLED(CONFIG_SND_SEQ_UMP) && client->midi_version > 0) 469 474 aligned_size = sizeof(struct snd_seq_ump_event); 470 475 else 476 #endif 471 477 aligned_size = sizeof(struct snd_seq_event); 472 478 … … 1306 1312 return -EINVAL; 1307 1313 1314 #ifndef TARGET_OS2 1308 1315 /* check if UMP is supported in kernel */ 1309 1316 if (!IS_ENABLED(CONFIG_SND_SEQ_UMP) && 1310 1317 client_info->midi_version > 0) 1318 #endif 1311 1319 return -EINVAL; 1312 1320 } -
GPL/branches/uniaud32-exp/alsa-kernel/hda/hdac_stream.c
r762 r763 881 881 EXPORT_SYMBOL_GPL(snd_hdac_stream_drsm_enable); 882 882 883 #ifndef TARGET_OS2 883 884 /* 884 885 * snd_hdac_stream_wait_drsm - wait for HW to clear RSM for a stream … … 902 903 } 903 904 EXPORT_SYMBOL_GPL(snd_hdac_stream_wait_drsm); 905 #endif 904 906 905 907 /** -
GPL/branches/uniaud32-exp/alsa-kernel/include/sound/asequencer.h
r762 r763 67 67 68 68 /* check whether the given event is a UMP event */ 69 #ifndef TARGET_OS2 69 70 #define snd_seq_ev_is_ump(ev) \ 70 71 (IS_ENABLED(CONFIG_SND_SEQ_UMP) && ((ev)->flags & SNDRV_SEQ_EVENT_UMP)) 71 72 #else 73 #define snd_seq_ev_is_ump(ev) \ 74 (0 && ((ev)->flags & SNDRV_SEQ_EVENT_UMP)) 75 #endif 72 76 /* queue sync port */ 73 77 #define snd_seq_queue_sync_port(q) ((q) + 16) -
GPL/branches/uniaud32-exp/alsa-kernel/include/sound/control.h
r762 r763 161 161 snd_ctl_find_id_mixer(struct snd_card *card, const char *name) 162 162 { 163 struct snd_ctl_elem_id id = { };163 struct snd_ctl_elem_id id = {0}; 164 164 165 165 id.iface = SNDRV_CTL_ELEM_IFACE_MIXER; -
GPL/branches/uniaud32-exp/alsa-kernel/include/sound/emu10k1.h
r762 r763 182 182 183 183 #define WC 0x10 /* Wall Clock register */ 184 #ifndef TARGET_OS2 184 185 SUB_REG(WC, SAMPLECOUNTER, 0x03FFFFC0) /* Sample periods elapsed since reset */ 185 186 SUB_REG(WC, CURRENTCHANNEL, 0x0000003F) /* Channel [0..63] currently being serviced */ … … 187 188 /* period to be serviced. */ 188 189 190 #else 191 #define WC_SAMPLECOUNTER_MASK 0x03FFFFC0 /* Sample periods elapsed since reset */ 192 #define WC_SAMPLECOUNTER 0x14060010 193 #define WC_CURRENTCHANNEL 0x0000003F /* Channel [0..63] currently being serviced */ 194 /* NOTE: Each channel takes 1/64th of a sample */ 195 /* period to be serviced. */ 196 #endif 189 197 #define HCFG 0x14 /* Hardware config register */ 190 198 /* NOTE: There is no reason to use the legacy */ … … 257 265 #define HCFG_LOCKSOUNDCACHE 0x00000008 /* 1 = Cancel bustmaster accesses to soundcache */ 258 266 /* NOTE: This should generally never be used. */ 267 #ifndef TARGET_OS2 259 268 SUB_REG(HCFG, LOCKTANKCACHE, 0x00000004) /* 1 = Cancel bustmaster accesses to tankcache */ 260 269 /* NOTE: This should generally never be used. */ 270 #else 271 #define HCFG_LOCKTANKCACHE_MASK 0x00000004 /* 1 = Cancel bustmaster accesses to tankcache */ 272 /* NOTE: This should generally never be used. */ 273 #define HCFG_LOCKTANKCACHE 0x01020014 274 #endif 261 275 #define HCFG_MUTEBUTTONENABLE 0x00000002 /* 1 = Master mute button sets AUDIOENABLE = 0. */ 262 276 /* NOTE: This is a 'cheap' way to implement a */ … … 421 435 422 436 #define CPF 0x00 /* Current pitch and fraction register */ 437 #ifndef TARGET_OS2 423 438 SUB_REG(CPF, CURRENTPITCH, 0xffff0000) /* Current pitch (linear, 0x4000 == unity pitch shift) */ 439 #else 440 #define CPF_CURRENTPITCH_MASK 0xffff0000 /* Current pitch (linear, 0x4000 == unity pitch shift) */ 441 #define CPF_CURRENTPITCH 0x10100000 442 #endif 424 443 #define CPF_STEREO_MASK 0x00008000 /* 1 = Even channel interleave, odd channel locked */ 444 #ifndef TARGET_OS2 425 445 SUB_REG(CPF, STOP, 0x00004000) /* 1 = Current pitch forced to 0 */ 426 446 /* Can be set only while matching bit in SOLEx is 1 */ 447 #else 448 #define CPF_STOP 0x00004000 /* 1 = Current pitch forced to 0 */ 449 #define CPF_STOP_MASK 0x00004000 /* 1 = Current pitch forced to 0 */ 450 #endif 427 451 #define CPF_FRACADDRESS_MASK 0x00003fff /* Linear fractional address of the current channel */ 428 452 429 453 #define PTRX 0x01 /* Pitch target and send A/B amounts register */ 454 #ifndef TARGET_OS2 430 455 SUB_REG(PTRX, PITCHTARGET, 0xffff0000) /* Pitch target of specified channel */ 431 456 SUB_REG(PTRX, FXSENDAMOUNT_A, 0x0000ff00) /* Linear level of channel output sent to FX send bus A */ 432 457 SUB_REG(PTRX, FXSENDAMOUNT_B, 0x000000ff) /* Linear level of channel output sent to FX send bus B */ 458 #else 459 #define PTRX_PITCHTARGET_MASK 0xffff0000 /* Pitch target of specified channel */ 460 #define PTRX_PITCHTARGET 0x10100001 461 #define PTRX_FXSENDAMOUNT_A_MASK 0x0000ff00 /* Linear level of channel output sent to FX send bus A */ 462 #define PTRX_FXSENDAMOUNT_A 0x08080001 463 #define PTRX_FXSENDAMOUNT_B_MASK 0x000000ff /* Linear level of channel output sent to FX send bus B */ 464 #define PTRX_FXSENDAMOUNT_B 0x08000001 465 #endif 433 466 434 467 // Note: the volumes are raw multpliers, so real 100% is impossible. 435 468 #define CVCF 0x02 /* Current volume and filter cutoff register */ 469 #ifndef TARGET_OS2 436 470 SUB_REG(CVCF, CURRENTVOL, 0xffff0000) /* Current linear volume of specified channel */ 437 471 SUB_REG(CVCF, CURRENTFILTER, 0x0000ffff) /* Current filter cutoff frequency of specified channel */ 472 #else 473 #define CVCF_CURRENTVOL_MASK 0xffff0000 /* Current linear volume of specified channel */ 474 #define CVCF_CURRENTVOL 0x10100002 475 #define CVCF_CURRENTFILTER_MASK 0x0000ffff /* Current filter cutoff frequency of specified channel */ 476 #define CVCF_CURRENTFILTER 0x10000002 477 #endif 438 478 439 479 #define VTFT 0x03 /* Volume target and filter cutoff target register */ 480 #ifndef TARGET_OS2 440 481 SUB_REG(VTFT, VOLUMETARGET, 0xffff0000) /* Volume target of specified channel */ 441 482 SUB_REG(VTFT, FILTERTARGET, 0x0000ffff) /* Filter cutoff target of specified channel */ 483 #else 484 #define VTFT_VOLUMETARGET_MASK 0xffff0000 /* Volume target of specified channel */ 485 #define VTFT_VOLUMETARGET 0x10100003 486 #define VTFT_FILTERTARGET_MASK 0x0000ffff /* Filter cutoff target of specified channel */ 487 #define VTFT_FILTERTARGET 0x10000003 488 #endif 442 489 443 490 #define Z1 0x05 /* Filter delay memory 1 register */ … … 446 493 447 494 #define PSST 0x06 /* Send C amount and loop start address register */ 495 #ifndef TARGET_OS2 448 496 SUB_REG(PSST, FXSENDAMOUNT_C, 0xff000000) /* Linear level of channel output sent to FX send bus C */ 449 497 SUB_REG(PSST, LOOPSTARTADDR, 0x00ffffff) /* Loop start address of the specified channel */ 498 #else 499 #define PSST_FXSENDAMOUNT_C_MASK 0xff000000 /* Linear level of channel output sent to FX send bus C */ 500 501 #define PSST_FXSENDAMOUNT_C 0x08180006 502 503 #define PSST_LOOPSTARTADDR_MASK 0x00ffffff /* Loop start address of the specified channel */ 504 #define PSST_LOOPSTARTADDR 0x18000006 505 #endif 450 506 451 507 #define DSL 0x07 /* Send D amount and loop end address register */ 508 #ifndef TARGET_OS2 452 509 SUB_REG(DSL, FXSENDAMOUNT_D, 0xff000000) /* Linear level of channel output sent to FX send bus D */ 453 510 SUB_REG(DSL, LOOPENDADDR, 0x00ffffff) /* Loop end address of the specified channel */ 511 #else 512 #define DSL_FXSENDAMOUNT_D_MASK 0xff000000 /* Linear level of channel output sent to FX send bus D */ 513 514 #define DSL_FXSENDAMOUNT_D 0x08180007 515 516 #define DSL_LOOPENDADDR_MASK 0x00ffffff /* Loop end address of the specified channel */ 517 #define DSL_LOOPENDADDR 0x18000007 518 #endif 454 519 455 520 #define CCCA 0x08 /* Filter Q, interp. ROM, byte size, cur. addr register */ 521 #ifndef TARGET_OS2 456 522 SUB_REG(CCCA, RESONANCE, 0xf0000000) /* Lowpass filter resonance (Q) height */ 523 #else 524 #define CCCA_RESONANCE 0xf0000000 /* Lowpass filter resonance (Q) height */ 525 #endif 457 526 #define CCCA_INTERPROM_MASK 0x0e000000 /* Selects passband of interpolation ROM */ 458 527 /* 1 == full band, 7 == lowpass */ … … 471 540 #define CCCA_8BITSELECT 0x01000000 /* 1 = Sound memory for this channel uses 8-bit samples */ 472 541 /* 8-bit samples are unsigned, 16-bit ones signed */ 542 #ifndef TARGET_OS2 473 543 SUB_REG(CCCA, CURRADDR, 0x00ffffff) /* Current address of the selected channel */ 544 #else 545 #define CCCA_CURRADDR_MASK 0x00ffffff /* Current address of the selected channel */ 546 #define CCCA_CURRADDR 0x18000008 547 #endif 474 548 475 549 #define CCR 0x09 /* Cache control register */ 550 #ifndef TARGET_OS2 476 551 SUB_REG(CCR, CACHEINVALIDSIZE, 0xfe000000) /* Number of invalid samples before the read address */ 552 #else 553 #define CCR_CACHEINVALIDSIZE 0x07190009 554 #define CCR_CACHEINVALIDSIZE_MASK 0xfe000000 /* Number of invalid samples cache for this channel */ 555 #endif 477 556 #define CCR_CACHELOOPFLAG 0x01000000 /* 1 = Cache has a loop service pending */ 478 557 #define CCR_INTERLEAVEDSAMPLES 0x00800000 /* 1 = A cache service will fetch interleaved samples */ … … 480 559 #define CCR_WORDSIZEDSAMPLES 0x00400000 /* 1 = A cache service will fetch word sized samples */ 481 560 /* Auto-set from CCCA_8BITSELECT */ 561 #ifndef TARGET_OS2 482 562 SUB_REG(CCR, READADDRESS, 0x003f0000) /* Next cached sample to play */ 483 563 SUB_REG(CCR, LOOPINVALSIZE, 0x0000fe00) /* Number of invalid samples in cache prior to loop */ 564 #else 565 #define CCR_READADDRESS 0x06100009 566 #define CCR_READADDRESS_MASK 0x003f0000 /* Location of cache just beyond current cache service */ 567 #define CCR_LOOPINVALSIZE 0x0000fe00 /* Number of invalid samples in cache prior to loop */ 568 /* NOTE: This is valid only if CACHELOOPFLAG is set */ 569 #endif 484 570 /* NOTE: This is valid only if CACHELOOPFLAG is set */ 485 571 #define CCR_LOOPFLAG 0x00000100 /* Set for a single sample period when a loop occurs */ 572 #ifndef TARGET_OS2 486 573 SUB_REG(CCR, CACHELOOPADDRHI, 0x000000ff) /* CLP_LOOPSTARTADDR's hi byte if CACHELOOPFLAG is set */ 574 #else 575 #define CCR_CACHELOOPADDRHI 0x000000ff /* DSL_LOOPSTARTADDR's hi byte if CACHELOOPFLAG is set */ 576 #endif 487 577 488 578 #define CLP 0x0a /* Cache loop register (valid if CCR_CACHELOOPFLAG = 1) */ 489 579 /* NOTE: This register is normally not used */ 580 #ifndef TARGET_OS2 490 581 SUB_REG(CLP, CACHELOOPADDR, 0x0000ffff) /* Cache loop address low word */ 582 #else 583 #define CLP_CACHELOOPADDR 0x0000ffff /* Cache loop address (DSL_LOOPSTARTADDR [0..15]) */ 584 #endif 491 585 492 586 #define FXRT 0x0b /* Effects send routing register */ … … 558 652 559 653 #define IFATN 0x19 /* Initial filter cutoff and attenuation register */ 654 #ifndef TARGET_OS2 560 655 SUB_REG(IFATN, FILTERCUTOFF, 0x0000ff00) /* Initial filter cutoff frequency in exponential units */ 561 656 /* 6 most significant bits are semitones */ … … 563 658 SUB_REG(IFATN, ATTENUATION, 0x000000ff) /* Initial attenuation in 0.375dB steps */ 564 659 660 #else 661 #define IFATN_FILTERCUTOFF_MASK 0x0000ff00 /* Initial filter cutoff frequency in exponential units */ 662 /* 6 most significant bits are semitones */ 663 /* 2 least significant bits are fractions */ 664 #define IFATN_FILTERCUTOFF 0x08080019 665 #define IFATN_ATTENUATION_MASK 0x000000ff /* Initial attenuation in 0.375dB steps */ 666 #define IFATN_ATTENUATION 0x08000019 667 #endif 565 668 #define PEFE 0x1a /* Pitch envelope and filter envelope amount register */ 669 #ifndef TARGET_OS2 566 670 SUB_REG(PEFE, PITCHAMOUNT, 0x0000ff00) /* Pitch envlope amount */ 567 671 /* Signed 2's complement, +/- one octave peak extremes */ 568 672 SUB_REG(PEFE, FILTERAMOUNT, 0x000000ff) /* Filter envlope amount */ 569 673 /* Signed 2's complement, +/- six octaves peak extremes */ 674 #else 675 #define PEFE_PITCHAMOUNT_MASK 0x0000ff00 /* Pitch envlope amount */ 676 /* Signed 2's complement, +/- one octave peak extremes */ 677 #define PEFE_PITCHAMOUNT 0x0808001a 678 #define PEFE_FILTERAMOUNT_MASK 0x000000ff /* Filter envlope amount */ 679 /* Signed 2's complement, +/- six octaves peak extremes */ 680 #define PEFE_FILTERAMOUNT 0x0800001a 681 #endif 570 682 571 683 … … 814 926 815 927 #define MICIDX 0x63 /* Microphone recording buffer index register */ 928 #ifndef TARGET_OS2 816 929 SUB_REG(MICIDX, IDX, 0x0000ffff) 930 #else 931 #define MICIDX_MASK 0x0000ffff /* 16-bit value */ 932 #define MICIDX_IDX 0x10000063 933 #endif 817 934 818 935 #define ADCIDX 0x64 /* ADC recording buffer index register */ 936 #ifndef TARGET_OS2 819 937 SUB_REG(ADCIDX, IDX, 0x0000ffff) 938 #else 939 #define ADCIDX_MASK 0x0000ffff /* 16 bit index field */ 940 #define ADCIDX_IDX 0x10000064 941 #endif 820 942 821 943 #define A_ADCIDX 0x63 944 #ifndef TARGET_OS2 822 945 SUB_REG(A_ADCIDX, IDX, 0x0000ffff) 946 #else 947 #define A_ADCIDX_IDX 0x10000063 948 #endif 823 949 824 950 #define A_MICIDX 0x64 951 #ifndef TARGET_OS2 825 952 SUB_REG(A_MICIDX, IDX, 0x0000ffff) 953 #else 954 #define A_MICIDX_IDX 0x10000064 955 #endif 826 956 827 957 #define FXIDX 0x65 /* FX recording buffer index register */ 958 #ifndef TARGET_OS2 828 959 SUB_REG(FXIDX, IDX, 0x0000ffff) 960 #else 961 #define FXIDX_MASK 0x0000ffff /* 16-bit value */ 962 #define FXIDX_IDX 0x10000065 963 #endif 829 964 830 965 /* The 32-bit HLIEx and HLIPx registers all have one bit per channel control/status */ … … 870 1005 #define A_SPDIF_MUTED 0x000000c0 871 1006 1007 #ifndef TARGET_OS2 872 1008 SUB_REG_NC(A_EHC, A_I2S_CAPTURE_RATE, 0x00000e00) /* This sets the capture PCM rate, but it is */ 873 1009 /* unclear if this sets the ADC rate as well. */ 1010 #else 1011 #define A_I2S_CAPTURE_RATE 0x00000e00 1012 #define A_I2S_CAPTURE_RATE_MASK 0x00000e00 /* This sets the capture PCM rate, but it is */ 1013 /* unclear if this sets the ADC rate as well. */ 1014 #endif 874 1015 #define A_I2S_CAPTURE_48000 0x0 875 1016 #define A_I2S_CAPTURE_192000 0x1 … … 1647 1788 unsigned char revision; 1648 1789 unsigned char emu_model; /* EMU model type */ 1790 #ifndef TARGET_OS2 1649 1791 unsigned int emu10k1_chip:1; /* Original SB Live. Not SB Live 24bit. */ 1650 1792 /* Redundant with emu10k2_chip being unset. */ … … 1666 1808 unsigned int adc_1361t:1; /* Use Philips 1361T ADC */ 1667 1809 unsigned int invert_shared_spdif:1; /* analog/digital switch inverted */ 1810 #else 1811 unsigned int emu10k1_chip; /* Original SB Live. Not SB Live 24bit. */ 1812 /* Redundant with emu10k2_chip being unset. */ 1813 unsigned int emu10k2_chip; /* Audigy 1 or Audigy 2. */ 1814 unsigned int ca0102_chip; /* Audigy 1 or Audigy 2. Not SB Audigy 2 Value. */ 1815 /* Redundant with ca0108_chip being unset. */ 1816 unsigned int ca0108_chip; /* Audigy 2 Value */ 1817 unsigned int ca_cardbus_chip; /* Audigy 2 ZS Notebook */ 1818 unsigned int ca0151_chip; /* P16V */ 1819 unsigned int spk20; /* Stereo only */ 1820 unsigned int spk71; /* Has 7.1 speakers */ 1821 unsigned int no_adat; /* Has no ADAT, only SPDIF */ 1822 unsigned int sblive51; /* SBLive! 5.1 - extout 0x11 -> center, 0x12 -> lfe */ 1823 unsigned int spdif_bug; /* Has Spdif phasing bug */ 1824 unsigned int ac97_chip; /* Has an AC97 chip: 1 = mandatory, 2 = optional */ 1825 unsigned int ecard; /* APS EEPROM */ 1826 unsigned int spi_dac; /* SPI interface for DAC; requires ca0108_chip */ 1827 unsigned int i2c_adc; /* I2C interface for ADC; requires ca0108_chip */ 1828 unsigned int adc_1361t; /* Use Philips 1361T ADC */ 1829 unsigned int invert_shared_spdif; /* analog/digital switch inverted */ 1830 #endif 1668 1831 const char *driver; 1669 1832 const char *name; -
GPL/branches/uniaud32-exp/alsa-kernel/include/sound/hdaudio.h
r762 r763 724 724 */ 725 725 726 #ifndef TARGET_OS2 726 727 #define HDA_CONTROLLER_IS_HSW(pci) (pci_match_id((struct pci_device_id []){ \ 727 728 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_HDA_HSW_0) }, \ … … 744 745 { } \ 745 746 }, pci) || HDA_CONTROLLER_IS_HSW(pci)) 746 747 #else 748 #define HDA_CONTROLLER_IS_HSW(pci) 0 749 #define HDA_CONTROLLER_IS_APL(pci) 0 750 #define HDA_CONTROLLER_IN_GPU(pci) 0 751 #endif 747 752 #endif /* __SOUND_HDAUDIO_H */ -
GPL/branches/uniaud32-exp/alsa-kernel/include/uapi/sound/asound.h
r762 r763 28 28 #ifndef __bitwise 29 29 #define __bitwise 30 #endif 31 32 #ifndef __packed 33 #define __packed 30 34 #endif 31 35 -
GPL/branches/uniaud32-exp/alsa-kernel/pci/emu10k1/emu10k1_main.c
r762 r763 197 197 /* Hacks for Alice3 to work independent of haP16V driver */ 198 198 /* Setup SRCMulti_I2S SamplingRate */ 199 #ifndef TARGET_OS2 199 200 snd_emu10k1_ptr_write(emu, A_I2S_CAPTURE_RATE, 0, A_I2S_CAPTURE_96000); 200 201 #else 202 tmp = snd_emu10k1_ptr_read(emu, A_SPDIF_SAMPLERATE, 0); 203 tmp &= 0xfffff1ff; 204 tmp |= (0x2<<9); 205 snd_emu10k1_ptr_write(emu, A_SPDIF_SAMPLERATE, 0, tmp); 206 #endif 201 207 /* Setup SRCSel (Enable Spdif,I2S SRCMulti) */ 202 208 snd_emu10k1_ptr20_write(emu, SRCSel, 0, 0x14); … … 213 219 dev_info(emu->card->dev, "Audigy2 value: Special config.\n"); 214 220 /* Setup SRCMulti_I2S SamplingRate */ 221 #ifndef TARGET_OS2 215 222 snd_emu10k1_ptr_write(emu, A_I2S_CAPTURE_RATE, 0, A_I2S_CAPTURE_96000); 216 223 #else 224 tmp = snd_emu10k1_ptr_read(emu, A_SPDIF_SAMPLERATE, 0); 225 tmp &= 0xfffff1ff; 226 tmp |= (0x2<<9); 227 snd_emu10k1_ptr_write(emu, A_SPDIF_SAMPLERATE, 0, tmp); 228 #endif 217 229 /* Setup SRCSel (Enable Spdif,I2S SRCMulti) */ 218 230 snd_emu10k1_ptr20_write(emu, P17V_SRCSel, 0, 0x14); … … 780 792 } 781 793 782 +static void emu1010_dock_event(struct snd_emu10k1 *emu)783 +{784 +u32 reg;785 + 794 static void emu1010_dock_event(struct snd_emu10k1 *emu) 795 { 796 u32 reg; 797 786 798 snd_emu1010_fpga_read(emu, EMU_HANA_OPTION_CARDS, ®); /* OPTIONS: Which cards are attached to the EMU */ 787 799 if (reg & EMU_HANA_OPTION_DOCK_OFFLINE) { -
GPL/branches/uniaud32-exp/alsa-kernel/pci/emu10k1/emufx.c
r762 r763 1396 1396 // We need to double the volume, as we configure the voices for half volume, 1397 1397 // which is necessary for bit-identical reproduction. 1398 { static_assert(stereo_mix == playback + SND_EMU10K1_PLAYBACK_CHANNELS); }1398 //{ static_assert(stereo_mix == playback + SND_EMU10K1_PLAYBACK_CHANNELS); } 1399 1399 for (z = 0; z < SND_EMU10K1_PLAYBACK_CHANNELS + 2; z++) 1400 1400 A_OP(icode, &ptr, iACC3, A_GPR(playback + z), A_GPR(playback + z), A_GPR(playback + z), A_C_00000000); -
GPL/branches/uniaud32-exp/alsa-kernel/pci/emu10k1/emumixer.c
r762 r763 167 167 EMU32_SRC_REGS, 168 168 }; 169 static_assert(ARRAY_SIZE(emu1010_src_regs) == ARRAY_SIZE(emu1010_src_texts));169 //static_assert(ARRAY_SIZE(emu1010_src_regs) == ARRAY_SIZE(emu1010_src_texts)); 170 170 171 171 /* 1010 rev2 */ … … 199 199 EMU32_SRC_REGS, 200 200 }; 201 static_assert(ARRAY_SIZE(emu1010b_src_regs) == ARRAY_SIZE(emu1010b_src_texts));201 //static_assert(ARRAY_SIZE(emu1010b_src_regs) == ARRAY_SIZE(emu1010b_src_texts)); 202 202 203 203 /* 1616(m) cardbus */ … … 225 225 EMU32_SRC_REGS, 226 226 }; 227 static_assert(ARRAY_SIZE(emu1616_src_regs) == ARRAY_SIZE(emu1616_src_texts));227 //static_assert(ARRAY_SIZE(emu1616_src_regs) == ARRAY_SIZE(emu1616_src_texts)); 228 228 229 229 /* 0404 rev1 & rev2 */ … … 245 245 EMU32_SRC_REGS, 246 246 }; 247 static_assert(ARRAY_SIZE(emu0404_src_regs) == ARRAY_SIZE(emu0404_src_texts));247 //static_assert(ARRAY_SIZE(emu0404_src_regs) == ARRAY_SIZE(emu0404_src_texts)); 248 248 249 249 /* … … 268 268 ADAT_CTLS("1010 "), 269 269 }; 270 static_assert(ARRAY_SIZE(emu1010_output_texts) <= NUM_OUTPUT_DESTS);270 //static_assert(ARRAY_SIZE(emu1010_output_texts) <= NUM_OUTPUT_DESTS); 271 271 272 272 static const unsigned short emu1010_output_dst[] = { … … 281 281 ADAT_REGS(EMU_DST_HANA_ADAT), 282 282 }; 283 static_assert(ARRAY_SIZE(emu1010_output_dst) == ARRAY_SIZE(emu1010_output_texts));283 //static_assert(ARRAY_SIZE(emu1010_output_dst) == ARRAY_SIZE(emu1010_output_texts)); 284 284 285 285 static const unsigned short emu1010_output_dflt[] = { … … 295 295 EMU_SRC_ALICE_EMU32A+4, EMU_SRC_ALICE_EMU32A+5, EMU_SRC_ALICE_EMU32A+6, EMU_SRC_ALICE_EMU32A+7, 296 296 }; 297 static_assert(ARRAY_SIZE(emu1010_output_dflt) == ARRAY_SIZE(emu1010_output_dst));297 //static_assert(ARRAY_SIZE(emu1010_output_dflt) == ARRAY_SIZE(emu1010_output_dst)); 298 298 299 299 /* 1010 rev2 */ … … 309 309 ADAT_CTLS("1010 "), 310 310 }; 311 static_assert(ARRAY_SIZE(snd_emu1010b_output_texts) <= NUM_OUTPUT_DESTS);311 //static_assert(ARRAY_SIZE(snd_emu1010b_output_texts) <= NUM_OUTPUT_DESTS); 312 312 313 313 static const unsigned short emu1010b_output_dst[] = { … … 321 321 ADAT_REGS(EMU_DST_HANA_ADAT), 322 322 }; 323 static_assert(ARRAY_SIZE(emu1010b_output_dst) == ARRAY_SIZE(snd_emu1010b_output_texts));323 //static_assert(ARRAY_SIZE(emu1010b_output_dst) == ARRAY_SIZE(snd_emu1010b_output_texts)); 324 324 325 325 static const unsigned short emu1010b_output_dflt[] = { … … 346 346 LR_CTLS("Mana DAC"), 347 347 }; 348 static_assert(ARRAY_SIZE(snd_emu1616_output_texts) <= NUM_OUTPUT_DESTS);348 //static_assert(ARRAY_SIZE(snd_emu1616_output_texts) <= NUM_OUTPUT_DESTS); 349 349 350 350 static const unsigned short emu1616_output_dst[] = { … … 356 356 EMU_DST_MANA_DAC_LEFT, EMU_DST_MANA_DAC_RIGHT, 357 357 }; 358 static_assert(ARRAY_SIZE(emu1616_output_dst) == ARRAY_SIZE(snd_emu1616_output_texts));358 //static_assert(ARRAY_SIZE(emu1616_output_dst) == ARRAY_SIZE(snd_emu1616_output_texts)); 359 359 360 360 static const unsigned short emu1616_output_dflt[] = { … … 367 367 EMU_SRC_ALICE_EMU32A+0, EMU_SRC_ALICE_EMU32A+1, 368 368 }; 369 static_assert(ARRAY_SIZE(emu1616_output_dflt) == ARRAY_SIZE(emu1616_output_dst));369 //static_assert(ARRAY_SIZE(emu1616_output_dflt) == ARRAY_SIZE(emu1616_output_dst)); 370 370 371 371 /* 0404 rev1 & rev2 */ … … 375 375 LR_CTLS("SPDIF"), 376 376 }; 377 static_assert(ARRAY_SIZE(snd_emu0404_output_texts) <= NUM_OUTPUT_DESTS);377 //static_assert(ARRAY_SIZE(snd_emu0404_output_texts) <= NUM_OUTPUT_DESTS); 378 378 379 379 static const unsigned short emu0404_output_dst[] = { … … 381 381 LR_REGS(EMU_DST_HANA_SPDIF), 382 382 }; 383 static_assert(ARRAY_SIZE(emu0404_output_dst) == ARRAY_SIZE(snd_emu0404_output_texts));383 //static_assert(ARRAY_SIZE(emu0404_output_dst) == ARRAY_SIZE(snd_emu0404_output_texts)); 384 384 385 385 static const unsigned short emu0404_output_dflt[] = { … … 387 387 EMU_SRC_ALICE_EMU32A+0, EMU_SRC_ALICE_EMU32A+1, 388 388 }; 389 static_assert(ARRAY_SIZE(emu0404_output_dflt) == ARRAY_SIZE(emu0404_output_dst));389 //static_assert(ARRAY_SIZE(emu0404_output_dflt) == ARRAY_SIZE(emu0404_output_dst)); 390 390 391 391 /* … … 420 420 "DSP 15 Capture Enum", 421 421 }; 422 static_assert(ARRAY_SIZE(emu1010_input_texts) <= NUM_INPUT_DESTS);422 //static_assert(ARRAY_SIZE(emu1010_input_texts) <= NUM_INPUT_DESTS); 423 423 424 424 static const unsigned short emu1010_input_dst[] = { … … 447 447 EMU_DST_ALICE_I2S2_RIGHT, 448 448 }; 449 static_assert(ARRAY_SIZE(emu1010_input_dst) == ARRAY_SIZE(emu1010_input_texts));449 //static_assert(ARRAY_SIZE(emu1010_input_dst) == ARRAY_SIZE(emu1010_input_texts)); 450 450 451 451 static const unsigned short emu1010_input_dflt[] = { … … 477 477 EMU_SRC_DOCK_ADC3_RIGHT1, 478 478 }; 479 static_assert(ARRAY_SIZE(emu1010_input_dflt) == ARRAY_SIZE(emu1010_input_dst));479 //static_assert(ARRAY_SIZE(emu1010_input_dflt) == ARRAY_SIZE(emu1010_input_dst)); 480 480 481 481 static const unsigned short emu0404_input_dflt[] = { -
GPL/branches/uniaud32-exp/alsa-kernel/pci/emu10k1/emuproc.c
r762 r763 430 430 "Unused", "EFX", "EFX IRQ", "PCM", "PCM IRQ", "Synth" 431 431 }; 432 static_assert(ARRAY_SIZE(types) == EMU10K1_NUM_TYPES);432 //static_assert(ARRAY_SIZE(types) == EMU10K1_NUM_TYPES); 433 433 434 434 snd_iprintf(buffer, "ch\tdirty\tlast\tuse\n"); -
GPL/branches/uniaud32-exp/alsa-kernel/pci/es1938.c
r762 r763 835 835 if (snd_BUG_ON(pos + count > chip->dma1_size)) 836 836 return -EINVAL; 837 #ifndef TARGET_OS2 837 838 if (pos + count < chip->dma1_size) { 838 839 if (copy_to_iter(runtime->dma_area + pos + 1, count, dst) != count) … … 844 845 return -EFAULT; 845 846 } 847 #else 848 if (pos + count < chip->dma1_size) { 849 if (copy_to_user(dst, runtime->dma_area + pos + 1, count)) 850 return -EFAULT; 851 } else { 852 if (copy_to_user(dst, runtime->dma_area + pos + 1, count - 1)) 853 return -EFAULT; 854 if (put_user(runtime->dma_area[0], 855 ((unsigned char __user *)dst) + count - 1)) 856 return -EFAULT; 857 } 858 #endif 846 859 return 0; 847 860 } -
GPL/branches/uniaud32-exp/alsa-kernel/pci/hda/hda_component2.h
r762 r763 16 16 char name[HDA_MAX_NAME_SIZE]; 17 17 struct hda_codec *codec; 18 void (*pre_playback_hook)(struct device *dev, int action); 18 19 void (*playback_hook)(struct device *dev, int action); 19 int (*suspend_hook)(struct device *dev); 20 int (*resume_hook)(struct device *dev); 20 void (*post_playback_hook)(struct device *dev, int action); 21 21 }; -
GPL/branches/uniaud32-exp/alsa-kernel/pci/hda/hda_intel.c
r762 r763 583 583 snd_hdac_set_codec_wakeup(bus, false); 584 584 585 #ifndef TARGET_OS2 585 586 /* reduce dma latency to avoid noise */ 586 587 if (HDA_CONTROLLER_IS_APL(pci)) 587 588 bxt_reduce_dma_latency(chip); 588 589 #endif 589 590 if (bus->mlcap != NULL) 590 591 intel_init_lctl(chip); … … 2212 2213 #endif /* CONFIG_SND_HDA_PATCH_LOADER */ 2213 2214 2214 #if ndef CONFIG_SND_HDA_I9152215 #if !defined(CONFIG_SND_HDA_I915) && !defined(TARGET_OS2) 2215 2216 if (HDA_CONTROLLER_IN_GPU(pci)) 2216 2217 dev_err(card->dev, "Haswell/Broadwell HDMI/DP must build in CONFIG_SND_HDA_I915\n"); -
GPL/branches/uniaud32-exp/alsa-kernel/pci/hda/patch_ca0132.c
r762 r763 1331 1331 { .id = QUIRK_AE5, .name = "ae5" }, 1332 1332 { .id = QUIRK_AE7, .name = "ae7" }, 1333 { }1333 {0} 1334 1334 }; 1335 1335 -
GPL/branches/uniaud32-exp/alsa-kernel/pci/hda/patch_realtek.c
r762 r763 5616 5616 const struct hda_fixup *fix, int action) 5617 5617 { 5618 #if IS_ENABLED(CONFIG_INPUT) 5618 #if IS_ENABLED(CONFIG_INPUT) && !defined(TARGET_OS2) 5619 5619 struct alc_spec *spec = codec->spec; 5620 5620 … … 5652 5652 const struct hda_fixup *fix, int action) 5653 5653 { 5654 #if IS_ENABLED(CONFIG_INPUT) 5654 5655 struct alc_spec *spec = codec->spec; 5655 5656 … … 5673 5674 spec->kb_dev = NULL; 5674 5675 } 5676 #endif 5675 5677 } 5676 5678 -
GPL/branches/uniaud32-exp/alsa-kernel/pci/nm256/nm256.c
r762 r763 701 701 struct nm256_stream *s = runtime->private_data; 702 702 703 #ifndef TARGET_OS2 703 704 return copy_from_iter_toio(s->bufptr + pos, src, count); 705 #else 706 if (copy_from_user_toio(s->bufptr + pos, src, count)) 707 return -EFAULT; 708 return 0; 709 #endif 704 710 } 705 711 … … 715 721 struct nm256_stream *s = runtime->private_data; 716 722 723 #ifndef TARGET_OS2 717 724 return copy_to_iter_fromio(dst, s->bufptr + pos, count); 725 #else 726 if (copy_to_user_fromio(dst, s->bufptr + pos, count)) 727 return -EFAULT; 728 return 0; 729 #endif 718 730 } 719 731 -
GPL/branches/uniaud32-exp/alsa-kernel/pci/ymfpci/ymfpci.h
r762 r763 310 310 #define DSXG_PCI_NUM_SAVED_REGS ARRAY_SIZE(pci_saved_regs_index) 311 311 #define DSXG_PCI_NUM_SAVED_LEGACY_REGS 2 312 #ifndef TARGET_OS2 312 313 static_assert(DSXG_PCI_NUM_SAVED_LEGACY_REGS <= DSXG_PCI_NUM_SAVED_REGS); 314 #endif 313 315 314 316 struct snd_ymfpci { -
GPL/branches/uniaud32-exp/include/asm/uaccess.h
r639 r763 44 44 int is_access_ok(int type, void *addr, unsigned long size); 45 45 46 #define access_ok(type, addr, size) __access_ok((unsigned long)(addr),(size))47 48 46 /* 49 47 * The architecture should really override this if possible, at least … … 54 52 return 1; 55 53 } 54 55 #define access_ok(addr, size) __access_ok(addr, size) 56 56 57 57 #define verify_area(type, addr, size) (access_ok(type, (void *)addr,size) ? 0 : -EFAULT) … … 235 235 #define strlen_user(str) strnlen_user(str, ~0UL >> 1) 236 236 long strnlen_user(const char *str, long n); 237 unsigned long clear_user(void *mem, unsigned long len); 238 unsigned long __clear_user(void *mem, unsigned long len); 237 /* 238 * Zero Userspace 239 */ 240 #ifndef __clear_user 241 static inline __must_check unsigned long 242 __clear_user(void __user *to, unsigned long n) 243 { 244 memset((void __force *)to, 0, n); 245 return 0; 246 } 247 #endif 248 249 static inline __must_check unsigned long 250 clear_user(void __user *to, unsigned long n) 251 { 252 if (!access_ok(to, n)) 253 return n; 254 255 return __clear_user(to, n); 256 } 239 257 240 258 #endif /* __i386_UACCESS_H */ -
GPL/branches/uniaud32-exp/include/linux/fs.h
r647 r763 336 336 } 337 337 338 #define MAX_RW_COUNT (INT_MAX & PAGE_MASK) 339 338 340 #endif /* _LINUX_FS_H */ -
GPL/branches/uniaud32-exp/include/linux/ioport.h
r718 r763 12 12 13 13 #include <linux/types.h> 14 #include <linux/minmax.h> 15 14 16 /* 15 17 * Resources are tree-like, allowing -
GPL/branches/uniaud32-exp/include/linux/kernel.h
r728 r763 17 17 #include <linux/string.h> 18 18 #include <linux/math.h> 19 #include <linux/minmax.h> 19 20 #include <linux/export.h> 20 21 -
GPL/branches/uniaud32-exp/include/linux/lockdep.h
r647 r763 19 19 do { (void)(key); (void)(name); } while (0) 20 20 struct lock_class_key {int not_used; }; 21 22 #define lockdep_assert_held(l) 23 #define lockdep_assert_not_held(l) 24 #define lockdep_assert_held_write(l) 25 #define lockdep_assert_held_read(l) 26 #define lockdep_assert_held_once(l) 27 #define lockdep_assert_none_held_once() 28 21 29 #endif /* __LINUX_LOCKDEP_H */ -
GPL/branches/uniaud32-exp/include/linux/pci_ids.h
r760 r763 3 3 * PCI Class, Vendor and Device IDs 4 4 * 5 * Please keep sorted .5 * Please keep sorted by numeric Vendor ID and Device ID. 6 6 * 7 7 * Do not add new entries to this file unless the definitions … … 52 52 #define PCI_CLASS_MEMORY_RAM 0x0500 53 53 #define PCI_CLASS_MEMORY_FLASH 0x0501 54 #define PCI_CLASS_MEMORY_CXL 0x0502 54 55 #define PCI_CLASS_MEMORY_OTHER 0x0580 55 56 … … 60 61 #define PCI_CLASS_BRIDGE_MC 0x0603 61 62 #define PCI_CLASS_BRIDGE_PCI 0x0604 63 #define PCI_CLASS_BRIDGE_PCI_NORMAL 0x060400 64 #define PCI_CLASS_BRIDGE_PCI_SUBTRACTIVE 0x060401 62 65 #define PCI_CLASS_BRIDGE_PCMCIA 0x0605 63 66 #define PCI_CLASS_BRIDGE_NUBUS 0x0606 … … 72 75 #define PCI_CLASS_COMMUNICATION_MODEM 0x0703 73 76 #define PCI_CLASS_COMMUNICATION_OTHER 0x0780 77 78 /* Interface for SERIAL/MODEM */ 79 #define PCI_SERIAL_16550_COMPATIBLE 0x02 74 80 75 81 #define PCI_BASE_CLASS_SYSTEM 0x08 … … 82 88 #define PCI_CLASS_SYSTEM_PCI_HOTPLUG 0x0804 83 89 #define PCI_CLASS_SYSTEM_SDHCI 0x0805 90 #define PCI_CLASS_SYSTEM_RCEC 0x0807 84 91 #define PCI_CLASS_SYSTEM_OTHER 0x0880 85 92 … … 118 125 #define PCI_CLASS_SERIAL_FIBER 0x0c04 119 126 #define PCI_CLASS_SERIAL_SMBUS 0x0c05 127 #define PCI_CLASS_SERIAL_IPMI 0x0c07 128 #define PCI_CLASS_SERIAL_IPMI_SMIC 0x0c0700 129 #define PCI_CLASS_SERIAL_IPMI_KCS 0x0c0701 130 #define PCI_CLASS_SERIAL_IPMI_BT 0x0c0702 120 131 121 132 #define PCI_BASE_CLASS_WIRELESS 0x0d … … 141 152 #define PCI_CLASS_SP_OTHER 0x1180 142 153 154 #define PCI_BASE_CLASS_ACCELERATOR 0x12 155 #define PCI_CLASS_ACCELERATOR_PROCESSING 0x1200 156 143 157 #define PCI_CLASS_OTHERS 0xff 144 158 145 159 /* Vendors and devices. Sort key: vendor first, device next. */ 160 #define PCI_VENDOR_ID_PCI_SIG 0x0001 161 162 #define PCI_VENDOR_ID_LOONGSON 0x0014 163 164 #define PCI_DEVICE_ID_LOONGSON_HDA 0x7a07 165 #define PCI_DEVICE_ID_LOONGSON_HDMI 0x7a37 166 167 #define PCI_VENDOR_ID_SOLIDIGM 0x025e 146 168 147 169 #define PCI_VENDOR_ID_TTTECH 0x0357 … … 150 172 #define PCI_VENDOR_ID_DYNALINK 0x0675 151 173 #define PCI_DEVICE_ID_DYNALINK_IS64PH 0x1702 174 175 #define PCI_VENDOR_ID_UBIQUITI 0x0777 152 176 153 177 #define PCI_VENDOR_ID_BERKOM 0x0871 … … 156 180 #define PCI_DEVICE_ID_BERKOM_A4T 0xffa4 157 181 #define PCI_DEVICE_ID_BERKOM_SCITEL_QUADRO 0xffa8 182 183 #define PCI_VENDOR_ID_ITTIM 0x0b48 158 184 159 185 #define PCI_VENDOR_ID_COMPAQ 0x0e11 … … 540 566 #define PCI_DEVICE_ID_AMD_16H_M30H_NB_F3 0x1583 541 567 #define PCI_DEVICE_ID_AMD_16H_M30H_NB_F4 0x1584 568 #define PCI_DEVICE_ID_AMD_17H_DF_F3 0x1463 569 #define PCI_DEVICE_ID_AMD_17H_M10H_DF_F3 0x15eb 570 #define PCI_DEVICE_ID_AMD_17H_M30H_DF_F3 0x1493 571 #define PCI_DEVICE_ID_AMD_17H_M60H_DF_F3 0x144b 572 #define PCI_DEVICE_ID_AMD_17H_M70H_DF_F3 0x1443 573 #define PCI_DEVICE_ID_AMD_17H_MA0H_DF_F3 0x1727 574 #define PCI_DEVICE_ID_AMD_19H_DF_F3 0x1653 575 #define PCI_DEVICE_ID_AMD_19H_M10H_DF_F3 0x14b0 576 #define PCI_DEVICE_ID_AMD_19H_M40H_DF_F3 0x167c 577 #define PCI_DEVICE_ID_AMD_19H_M50H_DF_F3 0x166d 578 #define PCI_DEVICE_ID_AMD_19H_M60H_DF_F3 0x14e3 579 #define PCI_DEVICE_ID_AMD_19H_M70H_DF_F3 0x14f3 580 #define PCI_DEVICE_ID_AMD_19H_M78H_DF_F3 0x12fb 581 #define PCI_DEVICE_ID_AMD_1AH_M00H_DF_F3 0x12c3 582 #define PCI_DEVICE_ID_AMD_1AH_M20H_DF_F3 0x16fb 583 #define PCI_DEVICE_ID_AMD_1AH_M60H_DF_F3 0x124b 584 #define PCI_DEVICE_ID_AMD_1AH_M70H_DF_F3 0x12bb 585 #define PCI_DEVICE_ID_AMD_MI200_DF_F3 0x14d3 586 #define PCI_DEVICE_ID_AMD_VANGOGH_USB 0x163a 542 587 #define PCI_DEVICE_ID_AMD_CNB17H_F3 0x1703 543 588 #define PCI_DEVICE_ID_AMD_LANCE 0x2000 … … 560 605 #define PCI_DEVICE_ID_AMD_VIPER_7443 0x7443 561 606 #define PCI_DEVICE_ID_AMD_OPUS_7445 0x7445 607 #define PCI_DEVICE_ID_AMD_GOLAM_7450 0x7450 562 608 #define PCI_DEVICE_ID_AMD_8111_PCI 0x7460 563 609 #define PCI_DEVICE_ID_AMD_8111_LPC 0x7468 … … 614 660 #define PCI_DEVICE_ID_DELL_RAC4 0x0012 615 661 #define PCI_DEVICE_ID_DELL_PERC5 0x0015 662 663 #define PCI_SUBVENDOR_ID_DELL 0x1028 616 664 617 665 #define PCI_VENDOR_ID_MATROX 0x102B … … 866 914 #define PCI_DEVICE_ID_TI_X420 0xac8e 867 915 #define PCI_DEVICE_ID_TI_XX20_FM 0xac8f 916 #define PCI_DEVICE_ID_TI_J721E 0xb00d 868 917 #define PCI_DEVICE_ID_TI_DRA74x 0xb500 869 918 #define PCI_DEVICE_ID_TI_DRA72x 0xb501 … … 1061 1110 #define PCI_DEVICE_ID_SGI_IOC3 0x0003 1062 1111 #define PCI_DEVICE_ID_SGI_LITHIUM 0x1002 1063 #define PCI_DEVICE_ID_SGI_IOC4 0x100a1064 1112 1065 1113 #define PCI_VENDOR_ID_WINBOND 0x10ad … … 1102 1150 1103 1151 #define PCI_VENDOR_ID_AL 0x10b9 1152 #define PCI_DEVICE_ID_AL_M1489 0x1489 1104 1153 #define PCI_DEVICE_ID_AL_M1533 0x1533 1105 #define PCI_DEVICE_ID_AL_M1535 1154 #define PCI_DEVICE_ID_AL_M1535 0x1535 1106 1155 #define PCI_DEVICE_ID_AL_M1541 0x1541 1107 1156 #define PCI_DEVICE_ID_AL_M1563 0x1563 … … 1130 1179 #define PCI_VENDOR_ID_TCONRAD 0x10da 1131 1180 #define PCI_DEVICE_ID_TCONRAD_TOKENRING 0x0508 1181 1182 #define PCI_VENDOR_ID_ROHM 0x10db 1132 1183 1133 1184 #define PCI_VENDOR_ID_NVIDIA 0x10de … … 1325 1376 #define PCI_DEVICE_ID_NVIDIA_NFORCE_MCP77_IDE 0x0759 1326 1377 #define PCI_DEVICE_ID_NVIDIA_NFORCE_MCP73_SMBUS 0x07D8 1378 #define PCI_DEVICE_ID_NVIDIA_GEFORCE_320M 0x08A0 1327 1379 #define PCI_DEVICE_ID_NVIDIA_NFORCE_MCP79_SMBUS 0x0AA2 1328 1380 #define PCI_DEVICE_ID_NVIDIA_NFORCE_MCP89_SATA 0x0D85 … … 1562 1614 #define PCI_DEVICE_ID_SERVERWORKS_HT1100LD 0x0408 1563 1615 1616 #define PCI_VENDOR_ID_ALTERA 0x1172 1617 1564 1618 #define PCI_VENDOR_ID_SBE 0x1176 1565 1619 #define PCI_DEVICE_ID_SBE_WANXL100 0x0301 … … 1664 1718 1665 1719 #define PCI_VENDOR_ID_PMC_Sierra 0x11f8 1720 #define PCI_VENDOR_ID_MICROSEMI 0x11f8 1666 1721 1667 1722 #define PCI_VENDOR_ID_RP 0x11fe 1668 #define PCI_DEVICE_ID_RP32INTF 0x00011669 #define PCI_DEVICE_ID_RP8INTF 0x00021670 #define PCI_DEVICE_ID_RP16INTF 0x00031671 #define PCI_DEVICE_ID_RP4QUAD 0x00041672 #define PCI_DEVICE_ID_RP8OCTA 0x00051673 #define PCI_DEVICE_ID_RP8J 0x00061674 #define PCI_DEVICE_ID_RP4J 0x00071675 #define PCI_DEVICE_ID_RP8SNI 0x00081676 #define PCI_DEVICE_ID_RP16SNI 0x00091677 #define PCI_DEVICE_ID_RPP4 0x000A1678 #define PCI_DEVICE_ID_RPP8 0x000B1679 #define PCI_DEVICE_ID_RP4M 0x000D1680 #define PCI_DEVICE_ID_RP2_232 0x000E1681 #define PCI_DEVICE_ID_RP2_422 0x000F1682 #define PCI_DEVICE_ID_URP32INTF 0x08011683 #define PCI_DEVICE_ID_URP8INTF 0x08021684 #define PCI_DEVICE_ID_URP16INTF 0x08031685 #define PCI_DEVICE_ID_URP8OCTA 0x08051686 #define PCI_DEVICE_ID_UPCI_RM3_8PORT 0x080C1687 #define PCI_DEVICE_ID_UPCI_RM3_4PORT 0x080D1688 #define PCI_DEVICE_ID_CRP16INTF 0x09031689 1723 1690 1724 #define PCI_VENDOR_ID_CYCLADES 0x120e 1691 #define PCI_DEVICE_ID_CYCLOM_Y_Lo 0x01001692 #define PCI_DEVICE_ID_CYCLOM_Y_Hi 0x01011693 #define PCI_DEVICE_ID_CYCLOM_4Y_Lo 0x01021694 #define PCI_DEVICE_ID_CYCLOM_4Y_Hi 0x01031695 #define PCI_DEVICE_ID_CYCLOM_8Y_Lo 0x01041696 #define PCI_DEVICE_ID_CYCLOM_8Y_Hi 0x01051697 #define PCI_DEVICE_ID_CYCLOM_Z_Lo 0x02001698 #define PCI_DEVICE_ID_CYCLOM_Z_Hi 0x02011699 1725 #define PCI_DEVICE_ID_PC300_RX_2 0x0300 1700 1726 #define PCI_DEVICE_ID_PC300_RX_1 0x0301 … … 1738 1764 1739 1765 /* Allied Telesyn */ 1740 #define PCI_VENDOR_ID_AT 1766 #define PCI_VENDOR_ID_AT 0x1259 1741 1767 #define PCI_SUBDEVICE_ID_AT_2700FX 0x2701 1742 1768 #define PCI_SUBDEVICE_ID_AT_2701FX 0x2703 1769 1770 #define PCI_VENDOR_ID_ASIX 0x125b 1771 #define PCI_DEVICE_ID_ASIX_AX99100 0x9100 1772 #define PCI_DEVICE_ID_ASIX_AX99100_LB 0x9110 1743 1773 1744 1774 #define PCI_VENDOR_ID_ESS 0x125d … … 1813 1843 #define PCI_VENDOR_ID_NVIDIA_SGS 0x12d2 1814 1844 #define PCI_DEVICE_ID_NVIDIA_SGS_RIVA128 0x0018 1845 1846 #define PCI_VENDOR_ID_PERICOM 0x12D8 1847 #define PCI_DEVICE_ID_PERICOM_PI7C9X7951 0x7951 1848 #define PCI_DEVICE_ID_PERICOM_PI7C9X7952 0x7952 1849 #define PCI_DEVICE_ID_PERICOM_PI7C9X7954 0x7954 1850 #define PCI_DEVICE_ID_PERICOM_PI7C9X7958 0x7958 1815 1851 1816 1852 #define PCI_SUBVENDOR_ID_CHASE_PCIFAST 0x12E0 … … 1936 1972 #define PCI_SUBDEVICE_ID_DIGIGRAM_LX6464ES_SERIAL_SUBSYSTEM 0xc001 1937 1973 #define PCI_SUBDEVICE_ID_DIGIGRAM_LX6464ES_CAE_SERIAL_SUBSYSTEM 0xc002 1974 #define PCI_SUBDEVICE_ID_DIGIGRAM_LX6464ESE_SERIAL_SUBSYSTEM 0xc021 1975 #define PCI_SUBDEVICE_ID_DIGIGRAM_LX6464ESE_CAE_SERIAL_SUBSYSTEM 0xc022 1938 1976 1939 1977 #define PCI_VENDOR_ID_KAWASAKI 0x136b … … 1958 1996 1959 1997 #define PCI_VENDOR_ID_MOXA 0x1393 1960 #define PCI_DEVICE_ID_MOXA_RC7000 0x00011961 #define PCI_DEVICE_ID_MOXA_CP102 0x10201962 #define PCI_DEVICE_ID_MOXA_CP102UL 0x10211963 #define PCI_DEVICE_ID_MOXA_CP102U 0x10221964 #define PCI_DEVICE_ID_MOXA_C104 0x10401965 #define PCI_DEVICE_ID_MOXA_CP104U 0x10411966 #define PCI_DEVICE_ID_MOXA_CP104JU 0x10421967 #define PCI_DEVICE_ID_MOXA_CP104EL 0x10431968 #define PCI_DEVICE_ID_MOXA_CT114 0x11401969 #define PCI_DEVICE_ID_MOXA_CP114 0x11411970 #define PCI_DEVICE_ID_MOXA_CP118U 0x11801971 #define PCI_DEVICE_ID_MOXA_CP118EL 0x11811972 #define PCI_DEVICE_ID_MOXA_CP132 0x13201973 #define PCI_DEVICE_ID_MOXA_CP132U 0x13211974 #define PCI_DEVICE_ID_MOXA_CP134U 0x13401975 #define PCI_DEVICE_ID_MOXA_C168 0x16801976 #define PCI_DEVICE_ID_MOXA_CP168U 0x16811977 #define PCI_DEVICE_ID_MOXA_CP168EL 0x16821978 1998 #define PCI_DEVICE_ID_MOXA_CP204J 0x2040 1979 1999 #define PCI_DEVICE_ID_MOXA_C218 0x2180 … … 2035 2055 2036 2056 #define PCI_VENDOR_ID_MICROGATE 0x13c0 2037 #define PCI_DEVICE_ID_MICROGATE_USC 0x00102038 #define PCI_DEVICE_ID_MICROGATE_SCA 0x00302039 2057 2040 2058 #define PCI_VENDOR_ID_3WARE 0x13C1 … … 2086 2104 #define PCI_DEVICE_ID_VT1724 0x1724 2087 2105 2106 #define PCI_VENDOR_ID_MICROSOFT 0x1414 2107 #define PCI_DEVICE_ID_HYPERV_VIDEO 0x5353 2108 2088 2109 #define PCI_VENDOR_ID_OXSEMI 0x1415 2089 2110 #define PCI_DEVICE_ID_OXSEMI_12PCI840 0x8403 … … 2106 2127 #define PCI_VENDOR_ID_CHELSIO 0x1425 2107 2128 2129 #define PCI_VENDOR_ID_EDIMAX 0x1432 2130 2108 2131 #define PCI_VENDOR_ID_ADLINK 0x144a 2109 2132 … … 2115 2138 2116 2139 #define PCI_VENDOR_ID_MYRICOM 0x14c1 2140 2141 #define PCI_VENDOR_ID_MEDIATEK 0x14c3 2142 #define PCI_DEVICE_ID_MEDIATEK_7629 0x7629 2117 2143 2118 2144 #define PCI_VENDOR_ID_TITAN 0x14D2 … … 2347 2373 2348 2374 #define PCI_VENDOR_ID_SYNOPSYS 0x16c3 2375 #define PCI_DEVICE_ID_SYNOPSYS_HAPSUSB3 0xabcd 2376 #define PCI_DEVICE_ID_SYNOPSYS_HAPSUSB3_AXI 0xabce 2377 #define PCI_DEVICE_ID_SYNOPSYS_HAPSUSB31 0xabcf 2378 #define PCI_DEVICE_ID_SYNOPSYS_EDDA 0xedda 2379 2380 #define PCI_VENDOR_ID_USR 0x16ec 2349 2381 2350 2382 #define PCI_VENDOR_ID_VITESSE 0x1725 … … 2382 2414 #define PCI_DEVICE_ID_RDC_D1010 0x1010 2383 2415 2416 #define PCI_VENDOR_ID_GLI 0x17a0 2417 2384 2418 #define PCI_VENDOR_ID_LENOVO 0x17aa 2419 2420 #define PCI_VENDOR_ID_QCOM 0x17cb 2421 2422 #define PCI_VENDOR_ID_CDNS 0x17cd 2385 2423 2386 2424 #define PCI_VENDOR_ID_ARECA 0x17d3 … … 2434 2472 #define PCI_DEVICE_ID_TDI_EHCI 0x0101 2435 2473 2436 #define PCI_VENDOR_ID_FREESCALE 0x1957 2474 #define PCI_VENDOR_ID_FREESCALE 0x1957 /* duplicate: NXP */ 2475 #define PCI_VENDOR_ID_NXP 0x1957 /* duplicate: FREESCALE */ 2437 2476 #define PCI_DEVICE_ID_MPC8308 0xc006 2438 2477 #define PCI_DEVICE_ID_MPC8315E 0x00b4 … … 2525 2564 #define PCI_DEVICE_ID_KORENIX_JETCARDF3 0x17ff 2526 2565 2527 #define PCI_VENDOR_ID_HUAWEI 0x19e5 2566 #define PCI_VENDOR_ID_HUAWEI 0x19e5 2567 #define PCI_DEVICE_ID_HUAWEI_ZIP_VF 0xa251 2568 #define PCI_DEVICE_ID_HUAWEI_SEC_VF 0xa256 2569 #define PCI_DEVICE_ID_HUAWEI_HPRE_VF 0xa259 2528 2570 2529 2571 #define PCI_VENDOR_ID_NETRONOME 0x19ee 2530 #define PCI_DEVICE_ID_NETRONOME_NFP3200 0x3200 2531 #define PCI_DEVICE_ID_NETRONOME_NFP3240 0x3240 2572 #define PCI_DEVICE_ID_NETRONOME_NFP3800 0x3800 2532 2573 #define PCI_DEVICE_ID_NETRONOME_NFP4000 0x4000 2574 #define PCI_DEVICE_ID_NETRONOME_NFP5000 0x5000 2533 2575 #define PCI_DEVICE_ID_NETRONOME_NFP6000 0x6000 2576 #define PCI_DEVICE_ID_NETRONOME_NFP3800_VF 0x3803 2534 2577 #define PCI_DEVICE_ID_NETRONOME_NFP6000_VF 0x6003 2535 2578 … … 2544 2587 #define PCI_VENDOR_ID_ASMEDIA 0x1b21 2545 2588 2589 #define PCI_VENDOR_ID_REDHAT 0x1b36 2590 2591 #define PCI_VENDOR_ID_SILICOM_DENMARK 0x1c2c 2592 2593 #define PCI_VENDOR_ID_AMAZON_ANNAPURNA_LABS 0x1c36 2594 2546 2595 #define PCI_VENDOR_ID_CIRCUITCO 0x1cc8 2547 2596 #define PCI_SUBSYSTEM_ID_CIRCUITCO_MINNOWBOARD 0x0001 2597 2598 #define PCI_VENDOR_ID_AMAZON 0x1d0f 2599 2600 #define PCI_VENDOR_ID_ZHAOXIN 0x1d17 2601 2602 #define PCI_VENDOR_ID_HYGON 0x1d94 2603 2604 #define PCI_VENDOR_ID_FUNGIBLE 0x1dad 2605 2606 #define PCI_VENDOR_ID_HXT 0x1dbf 2548 2607 2549 2608 #define PCI_VENDOR_ID_TEKRAM 0x1de1 … … 2554 2613 #define PCI_DEVICE_ID_TEHUTI_3010 0x3010 2555 2614 #define PCI_DEVICE_ID_TEHUTI_3014 0x3014 2615 2616 #define PCI_VENDOR_ID_SUNIX 0x1fd4 2617 #define PCI_DEVICE_ID_SUNIX_1999 0x1999 2556 2618 2557 2619 #define PCI_VENDOR_ID_HINT 0x3388 … … 2594 2656 #define PCI_DEVICE_ID_DCI_PCCOM2 0x0004 2595 2657 2658 #define PCI_VENDOR_ID_GLENFLY 0x6766 2659 2596 2660 #define PCI_VENDOR_ID_INTEL 0x8086 2597 2661 #define PCI_DEVICE_ID_INTEL_EESSC 0x0008 2662 #define PCI_DEVICE_ID_INTEL_HDA_CML_LP 0x02c8 2598 2663 #define PCI_DEVICE_ID_INTEL_PXHD_0 0x0320 2599 2664 #define PCI_DEVICE_ID_INTEL_PXHD_1 0x0321 2600 2665 #define PCI_DEVICE_ID_INTEL_PXH_0 0x0329 2601 #define PCI_DEVICE_ID_INTEL_PXH_1 0x032 A2602 #define PCI_DEVICE_ID_INTEL_PXHV 0x032 C2666 #define PCI_DEVICE_ID_INTEL_PXH_1 0x032a 2667 #define PCI_DEVICE_ID_INTEL_PXHV 0x032c 2603 2668 #define PCI_DEVICE_ID_INTEL_80332_0 0x0330 2604 2669 #define PCI_DEVICE_ID_INTEL_80332_1 0x0332 2605 2670 #define PCI_DEVICE_ID_INTEL_80333_0 0x0370 2606 2671 #define PCI_DEVICE_ID_INTEL_80333_1 0x0372 2672 #define PCI_DEVICE_ID_INTEL_QAT_DH895XCC 0x0435 2673 #define PCI_DEVICE_ID_INTEL_QAT_DH895XCC_VF 0x0443 2607 2674 #define PCI_DEVICE_ID_INTEL_82375 0x0482 2608 2675 #define PCI_DEVICE_ID_INTEL_82424 0x0483 2609 2676 #define PCI_DEVICE_ID_INTEL_82378 0x0484 2677 #define PCI_DEVICE_ID_INTEL_82425 0x0486 2678 #define PCI_DEVICE_ID_INTEL_HDA_CML_H 0x06c8 2610 2679 #define PCI_DEVICE_ID_INTEL_MRST_SD0 0x0807 2611 2680 #define PCI_DEVICE_ID_INTEL_MRST_SD1 0x0808 2681 #define PCI_DEVICE_ID_INTEL_HDA_OAKTRAIL 0x080a 2612 2682 #define PCI_DEVICE_ID_INTEL_MFD_SD 0x0820 2613 2683 #define PCI_DEVICE_ID_INTEL_MFD_SDIO1 0x0821 … … 2615 2685 #define PCI_DEVICE_ID_INTEL_MFD_EMMC0 0x0823 2616 2686 #define PCI_DEVICE_ID_INTEL_MFD_EMMC1 0x0824 2617 #define PCI_DEVICE_ID_INTEL_MRST_SD2 0x084 F2618 #define PCI_DEVICE_ID_INTEL_QUARK_X1000_ILB 0x095 E2687 #define PCI_DEVICE_ID_INTEL_MRST_SD2 0x084f 2688 #define PCI_DEVICE_ID_INTEL_QUARK_X1000_ILB 0x095e 2619 2689 #define PCI_DEVICE_ID_INTEL_I960 0x0960 2620 2690 #define PCI_DEVICE_ID_INTEL_I960RM 0x0962 2691 #define PCI_DEVICE_ID_INTEL_HDA_HSW_0 0x0a0c 2692 #define PCI_DEVICE_ID_INTEL_DSA_SPR0 0x0b25 2693 #define PCI_DEVICE_ID_INTEL_HDA_HSW_2 0x0c0c 2621 2694 #define PCI_DEVICE_ID_INTEL_CENTERTON_ILB 0x0c60 2695 #define PCI_DEVICE_ID_INTEL_IAX_SPR0 0x0cfe 2696 #define PCI_DEVICE_ID_INTEL_HDA_HSW_3 0x0d0c 2697 #define PCI_DEVICE_ID_INTEL_HDA_BYT 0x0f04 2698 #define PCI_DEVICE_ID_INTEL_SST_BYT 0x0f28 2622 2699 #define PCI_DEVICE_ID_INTEL_8257X_SOL 0x1062 2623 2700 #define PCI_DEVICE_ID_INTEL_82573E_SOL 0x1085 2624 #define PCI_DEVICE_ID_INTEL_82573L_SOL 0x108 F2701 #define PCI_DEVICE_ID_INTEL_82573L_SOL 0x108f 2625 2702 #define PCI_DEVICE_ID_INTEL_82815_MC 0x1130 2626 2703 #define PCI_DEVICE_ID_INTEL_82815_CGC 0x1132 2704 #define PCI_DEVICE_ID_INTEL_SST_TNG 0x119a 2627 2705 #define PCI_DEVICE_ID_INTEL_82092AA_0 0x1221 2628 #define PCI_DEVICE_ID_INTEL_7505_0 0x25502629 #define PCI_DEVICE_ID_INTEL_7205_0 0x255d2630 2706 #define PCI_DEVICE_ID_INTEL_82437 0x122d 2631 2707 #define PCI_DEVICE_ID_INTEL_82371FB_0 0x122e … … 2653 2729 #define PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_4C_NHI 0x1577 2654 2730 #define PCI_DEVICE_ID_INTEL_ALPINE_RIDGE_4C_BRIDGE 0x1578 2731 #define PCI_DEVICE_ID_INTEL_HDA_BDW 0x160c 2655 2732 #define PCI_DEVICE_ID_INTEL_80960_RP 0x1960 2733 #define PCI_DEVICE_ID_INTEL_QAT_C3XXX 0x19e2 2734 #define PCI_DEVICE_ID_INTEL_QAT_C3XXX_VF 0x19e3 2656 2735 #define PCI_DEVICE_ID_INTEL_82840_HB 0x1a21 2657 2736 #define PCI_DEVICE_ID_INTEL_82845_HB 0x1a30 2658 2737 #define PCI_DEVICE_ID_INTEL_IOAT 0x1a38 2738 #define PCI_DEVICE_ID_INTEL_HDA_CPT 0x1c20 2659 2739 #define PCI_DEVICE_ID_INTEL_COUGARPOINT_LPC_MIN 0x1c41 2660 2740 #define PCI_DEVICE_ID_INTEL_COUGARPOINT_LPC_MAX 0x1c5f 2741 #define PCI_DEVICE_ID_INTEL_HDA_PBG 0x1d20 2661 2742 #define PCI_DEVICE_ID_INTEL_PATSBURG_LPC_0 0x1d40 2662 2743 #define PCI_DEVICE_ID_INTEL_PATSBURG_LPC_1 0x1d41 2744 #define PCI_DEVICE_ID_INTEL_HDA_PPT 0x1e20 2663 2745 #define PCI_DEVICE_ID_INTEL_PANTHERPOINT_XHCI 0x1e31 2664 2746 #define PCI_DEVICE_ID_INTEL_PANTHERPOINT_LPC_MIN 0x1e40 2665 2747 #define PCI_DEVICE_ID_INTEL_PANTHERPOINT_LPC_MAX 0x1e5f 2748 #define PCI_DEVICE_ID_INTEL_VMD_201D 0x201d 2749 #define PCI_DEVICE_ID_INTEL_HDA_BSW 0x2284 2750 #define PCI_DEVICE_ID_INTEL_SST_BSW 0x22a8 2666 2751 #define PCI_DEVICE_ID_INTEL_DH89XXCC_LPC_MIN 0x2310 2667 2752 #define PCI_DEVICE_ID_INTEL_DH89XXCC_LPC_MAX 0x231f … … 2713 2798 #define PCI_DEVICE_ID_INTEL_82801EB_12 0x24dc 2714 2799 #define PCI_DEVICE_ID_INTEL_82801EB_13 0x24dd 2715 #define PCI_DEVICE_ID_INTEL_ESB_1 0x25a12716 #define PCI_DEVICE_ID_INTEL_ESB_2 0x25a22717 #define PCI_DEVICE_ID_INTEL_ESB_4 0x25a42718 #define PCI_DEVICE_ID_INTEL_ESB_5 0x25a62719 #define PCI_DEVICE_ID_INTEL_ESB_9 0x25ab2720 #define PCI_DEVICE_ID_INTEL_ESB_10 0x25ac2721 2800 #define PCI_DEVICE_ID_INTEL_82820_HB 0x2500 2722 2801 #define PCI_DEVICE_ID_INTEL_82820_UP_HB 0x2501 … … 2724 2803 #define PCI_DEVICE_ID_INTEL_82860_HB 0x2531 2725 2804 #define PCI_DEVICE_ID_INTEL_E7501_MCH 0x254c 2805 #define PCI_DEVICE_ID_INTEL_7505_0 0x2550 2806 #define PCI_DEVICE_ID_INTEL_7205_0 0x255d 2726 2807 #define PCI_DEVICE_ID_INTEL_82845G_HB 0x2560 2727 2808 #define PCI_DEVICE_ID_INTEL_82845G_IG 0x2562 … … 2733 2814 #define PCI_DEVICE_ID_INTEL_82915GM_HB 0x2590 2734 2815 #define PCI_DEVICE_ID_INTEL_82915GM_IG 0x2592 2735 #define PCI_DEVICE_ID_INTEL_5000_ERR 0x25F0 2736 #define PCI_DEVICE_ID_INTEL_5000_FBD0 0x25F5 2737 #define PCI_DEVICE_ID_INTEL_5000_FBD1 0x25F6 2738 #define PCI_DEVICE_ID_INTEL_82945G_HB 0x2770 2739 #define PCI_DEVICE_ID_INTEL_82945G_IG 0x2772 2740 #define PCI_DEVICE_ID_INTEL_3000_HB 0x2778 2741 #define PCI_DEVICE_ID_INTEL_82945GM_HB 0x27A0 2742 #define PCI_DEVICE_ID_INTEL_82945GM_IG 0x27A2 2816 #define PCI_DEVICE_ID_INTEL_ESB_1 0x25a1 2817 #define PCI_DEVICE_ID_INTEL_ESB_2 0x25a2 2818 #define PCI_DEVICE_ID_INTEL_ESB_4 0x25a4 2819 #define PCI_DEVICE_ID_INTEL_ESB_5 0x25a6 2820 #define PCI_DEVICE_ID_INTEL_ESB_9 0x25ab 2821 #define PCI_DEVICE_ID_INTEL_ESB_10 0x25ac 2822 #define PCI_DEVICE_ID_INTEL_5000_ERR 0x25f0 2823 #define PCI_DEVICE_ID_INTEL_5000_FBD0 0x25f5 2824 #define PCI_DEVICE_ID_INTEL_5000_FBD1 0x25f6 2743 2825 #define PCI_DEVICE_ID_INTEL_ICH6_0 0x2640 2744 2826 #define PCI_DEVICE_ID_INTEL_ICH6_1 0x2641 2745 2827 #define PCI_DEVICE_ID_INTEL_ICH6_2 0x2642 2828 #define PCI_DEVICE_ID_INTEL_HDA_ICH6 0x2668 2746 2829 #define PCI_DEVICE_ID_INTEL_ICH6_16 0x266a 2747 2830 #define PCI_DEVICE_ID_INTEL_ICH6_17 0x266d … … 2750 2833 #define PCI_DEVICE_ID_INTEL_ESB2_0 0x2670 2751 2834 #define PCI_DEVICE_ID_INTEL_ESB2_14 0x2698 2835 #define PCI_DEVICE_ID_INTEL_HDA_ESB2 0x269a 2752 2836 #define PCI_DEVICE_ID_INTEL_ESB2_17 0x269b 2753 2837 #define PCI_DEVICE_ID_INTEL_ESB2_18 0x269e 2838 #define PCI_DEVICE_ID_INTEL_82945G_HB 0x2770 2839 #define PCI_DEVICE_ID_INTEL_82945G_IG 0x2772 2840 #define PCI_DEVICE_ID_INTEL_3000_HB 0x2778 2841 #define PCI_DEVICE_ID_INTEL_82945GM_HB 0x27a0 2842 #define PCI_DEVICE_ID_INTEL_82945GM_IG 0x27a2 2843 #define PCI_DEVICE_ID_INTEL_ICH7_30 0x27b0 2754 2844 #define PCI_DEVICE_ID_INTEL_ICH7_0 0x27b8 2755 2845 #define PCI_DEVICE_ID_INTEL_ICH7_1 0x27b9 2756 #define PCI_DEVICE_ID_INTEL_ICH7_30 0x27b02757 2846 #define PCI_DEVICE_ID_INTEL_TGP_LPC 0x27bc 2758 2847 #define PCI_DEVICE_ID_INTEL_ICH7_31 0x27bd 2848 #define PCI_DEVICE_ID_INTEL_HDA_ICH7 0x27d8 2759 2849 #define PCI_DEVICE_ID_INTEL_ICH7_17 0x27da 2760 2850 #define PCI_DEVICE_ID_INTEL_ICH7_19 0x27dd … … 2767 2857 #define PCI_DEVICE_ID_INTEL_ICH8_4 0x2815 2768 2858 #define PCI_DEVICE_ID_INTEL_ICH8_5 0x283e 2859 #define PCI_DEVICE_ID_INTEL_HDA_ICH8 0x284b 2769 2860 #define PCI_DEVICE_ID_INTEL_ICH8_6 0x2850 2861 #define PCI_DEVICE_ID_INTEL_VMD_28C0 0x28c0 2770 2862 #define PCI_DEVICE_ID_INTEL_ICH9_0 0x2910 2771 #define PCI_DEVICE_ID_INTEL_ICH9_1 0x29172772 2863 #define PCI_DEVICE_ID_INTEL_ICH9_2 0x2912 2773 2864 #define PCI_DEVICE_ID_INTEL_ICH9_3 0x2913 2774 2865 #define PCI_DEVICE_ID_INTEL_ICH9_4 0x2914 2866 #define PCI_DEVICE_ID_INTEL_ICH9_7 0x2916 2867 #define PCI_DEVICE_ID_INTEL_ICH9_1 0x2917 2868 #define PCI_DEVICE_ID_INTEL_ICH9_8 0x2918 2775 2869 #define PCI_DEVICE_ID_INTEL_ICH9_5 0x2919 2776 2870 #define PCI_DEVICE_ID_INTEL_ICH9_6 0x2930 2777 #define PCI_DEVICE_ID_INTEL_ ICH9_7 0x29162778 #define PCI_DEVICE_ID_INTEL_ ICH9_8 0x29182871 #define PCI_DEVICE_ID_INTEL_HDA_ICH9_0 0x293e 2872 #define PCI_DEVICE_ID_INTEL_HDA_ICH9_1 0x293f 2779 2873 #define PCI_DEVICE_ID_INTEL_I7_MCR 0x2c18 2780 2874 #define PCI_DEVICE_ID_INTEL_I7_MC_TAD 0x2c19 … … 2793 2887 #define PCI_DEVICE_ID_INTEL_I7_MC_CH2_RANK 0x2c32 2794 2888 #define PCI_DEVICE_ID_INTEL_I7_MC_CH2_TC 0x2c33 2889 #define PCI_DEVICE_ID_INTEL_I7_NONCORE_ALT 0x2c40 2795 2890 #define PCI_DEVICE_ID_INTEL_I7_NONCORE 0x2c41 2796 #define PCI_DEVICE_ID_INTEL_I7_NONCORE_ALT 0x2c402797 2891 #define PCI_DEVICE_ID_INTEL_LYNNFIELD_NONCORE 0x2c50 2798 2892 #define PCI_DEVICE_ID_INTEL_LYNNFIELD_NONCORE_ALT 0x2c51 … … 2803 2897 #define PCI_DEVICE_ID_INTEL_LYNNFIELD_MCR 0x2c98 2804 2898 #define PCI_DEVICE_ID_INTEL_LYNNFIELD_MC_TAD 0x2c99 2805 #define PCI_DEVICE_ID_INTEL_LYNNFIELD_MC_TEST 0x2c9 C2899 #define PCI_DEVICE_ID_INTEL_LYNNFIELD_MC_TEST 0x2c9c 2806 2900 #define PCI_DEVICE_ID_INTEL_LYNNFIELD_MC_CH0_CTRL 0x2ca0 2807 2901 #define PCI_DEVICE_ID_INTEL_LYNNFIELD_MC_CH0_ADDR 0x2ca1 … … 2828 2922 #define PCI_DEVICE_ID_INTEL_LYNNFIELD_MC_CH2_RANK_REV2 0x2db2 2829 2923 #define PCI_DEVICE_ID_INTEL_LYNNFIELD_MC_CH2_TC_REV2 0x2db3 2924 #define PCI_DEVICE_ID_INTEL_HDA_GML 0x3198 2830 2925 #define PCI_DEVICE_ID_INTEL_82855PM_HB 0x3340 2831 2926 #define PCI_DEVICE_ID_INTEL_IOAT_TBG4 0x3429 … … 2838 2933 #define PCI_DEVICE_ID_INTEL_IOAT_TBG2 0x3432 2839 2934 #define PCI_DEVICE_ID_INTEL_IOAT_TBG3 0x3433 2935 #define PCI_DEVICE_ID_INTEL_HDA_ICL_LP 0x34c8 2840 2936 #define PCI_DEVICE_ID_INTEL_82830_HB 0x3575 2841 2937 #define PCI_DEVICE_ID_INTEL_82830_CGC 0x3577 2938 #define PCI_DEVICE_ID_INTEL_82855GM_HB 0x3580 2939 #define PCI_DEVICE_ID_INTEL_82855GM_IG 0x3582 2842 2940 #define PCI_DEVICE_ID_INTEL_82854_HB 0x358c 2843 2941 #define PCI_DEVICE_ID_INTEL_82854_IG 0x358e 2844 #define PCI_DEVICE_ID_INTEL_82855GM_HB 0x35802845 #define PCI_DEVICE_ID_INTEL_82855GM_IG 0x35822846 2942 #define PCI_DEVICE_ID_INTEL_E7520_MCH 0x3590 2847 2943 #define PCI_DEVICE_ID_INTEL_E7320_MCH 0x3592 … … 2853 2949 #define PCI_DEVICE_ID_INTEL_MCH_PC1 0x359a 2854 2950 #define PCI_DEVICE_ID_INTEL_E7525_MCH 0x359e 2951 #define PCI_DEVICE_ID_INTEL_IOAT_CNB 0x360b 2952 #define PCI_DEVICE_ID_INTEL_FBD_CNB 0x360c 2855 2953 #define PCI_DEVICE_ID_INTEL_I7300_MCH_ERR 0x360c 2856 2954 #define PCI_DEVICE_ID_INTEL_I7300_MCH_FB0 0x360f 2857 2955 #define PCI_DEVICE_ID_INTEL_I7300_MCH_FB1 0x3610 2858 #define PCI_DEVICE_ID_INTEL_IOAT_CNB 0x360b2859 #define PCI_DEVICE_ID_INTEL_FBD_CNB 0x360c2860 2956 #define PCI_DEVICE_ID_INTEL_IOAT_JSF0 0x3710 2861 2957 #define PCI_DEVICE_ID_INTEL_IOAT_JSF1 0x3711 … … 2868 2964 #define PCI_DEVICE_ID_INTEL_IOAT_JSF8 0x3718 2869 2965 #define PCI_DEVICE_ID_INTEL_IOAT_JSF9 0x3719 2966 #define PCI_DEVICE_ID_INTEL_QAT_C62X 0x37c8 2967 #define PCI_DEVICE_ID_INTEL_QAT_C62X_VF 0x37c9 2968 #define PCI_DEVICE_ID_INTEL_HDA_ICL_N 0x38c8 2870 2969 #define PCI_DEVICE_ID_INTEL_ICH10_0 0x3a14 2871 2970 #define PCI_DEVICE_ID_INTEL_ICH10_1 0x3a16 … … 2873 2972 #define PCI_DEVICE_ID_INTEL_ICH10_3 0x3a1a 2874 2973 #define PCI_DEVICE_ID_INTEL_ICH10_4 0x3a30 2974 #define PCI_DEVICE_ID_INTEL_HDA_ICH10_0 0x3a3e 2875 2975 #define PCI_DEVICE_ID_INTEL_ICH10_5 0x3a60 2976 #define PCI_DEVICE_ID_INTEL_HDA_ICH10_1 0x3a6e 2876 2977 #define PCI_DEVICE_ID_INTEL_5_3400_SERIES_LPC_MIN 0x3b00 2877 2978 #define PCI_DEVICE_ID_INTEL_5_3400_SERIES_LPC_MAX 0x3b1f 2979 #define PCI_DEVICE_ID_INTEL_HDA_5_3400_SERIES_0 0x3b56 2980 #define PCI_DEVICE_ID_INTEL_HDA_5_3400_SERIES_1 0x3b57 2878 2981 #define PCI_DEVICE_ID_INTEL_IOAT_SNB0 0x3c20 2879 2982 #define PCI_DEVICE_ID_INTEL_IOAT_SNB1 0x3c21 … … 2886 2989 #define PCI_DEVICE_ID_INTEL_IOAT_SNB8 0x3c2e 2887 2990 #define PCI_DEVICE_ID_INTEL_IOAT_SNB9 0x3c2f 2888 #define PCI_DEVICE_ID_INTEL_UNC_HA 0x3c462889 #define PCI_DEVICE_ID_INTEL_UNC_IMC0 0x3cb02890 #define PCI_DEVICE_ID_INTEL_UNC_IMC1 0x3cb12891 #define PCI_DEVICE_ID_INTEL_UNC_IMC2 0x3cb42892 #define PCI_DEVICE_ID_INTEL_UNC_IMC3 0x3cb52893 2991 #define PCI_DEVICE_ID_INTEL_UNC_QPI0 0x3c41 2894 2992 #define PCI_DEVICE_ID_INTEL_UNC_QPI1 0x3c42 … … 2896 2994 #define PCI_DEVICE_ID_INTEL_UNC_R3QPI0 0x3c44 2897 2995 #define PCI_DEVICE_ID_INTEL_UNC_R3QPI1 0x3c45 2996 #define PCI_DEVICE_ID_INTEL_UNC_HA 0x3c46 2898 2997 #define PCI_DEVICE_ID_INTEL_SBRIDGE_IMC_RAS 0x3c71 /* 15.1 */ 2899 2998 #define PCI_DEVICE_ID_INTEL_SBRIDGE_IMC_ERR0 0x3c72 /* 16.2 */ … … 2907 3006 #define PCI_DEVICE_ID_INTEL_SBRIDGE_IMC_TAD2 0x3cac /* 15.4 */ 2908 3007 #define PCI_DEVICE_ID_INTEL_SBRIDGE_IMC_TAD3 0x3cad /* 15.5 */ 3008 #define PCI_DEVICE_ID_INTEL_UNC_IMC0 0x3cb0 3009 #define PCI_DEVICE_ID_INTEL_UNC_IMC1 0x3cb1 3010 #define PCI_DEVICE_ID_INTEL_UNC_IMC2 0x3cb4 3011 #define PCI_DEVICE_ID_INTEL_UNC_IMC3 0x3cb5 2909 3012 #define PCI_DEVICE_ID_INTEL_SBRIDGE_IMC_DDRIO 0x3cb8 /* 17.0 */ 2910 3013 #define PCI_DEVICE_ID_INTEL_JAKETOWN_UBOX 0x3ce0 … … 2912 3015 #define PCI_DEVICE_ID_INTEL_SBRIDGE_BR 0x3cf5 /* 13.6 */ 2913 3016 #define PCI_DEVICE_ID_INTEL_SBRIDGE_SAD1 0x3cf6 /* 12.7 */ 3017 #define PCI_DEVICE_ID_INTEL_HDA_ICL_H 0x3dc8 2914 3018 #define PCI_DEVICE_ID_INTEL_IOAT_SNB 0x402f 3019 #define PCI_DEVICE_ID_INTEL_5400_ERR 0x4030 3020 #define PCI_DEVICE_ID_INTEL_5400_FBD0 0x4035 3021 #define PCI_DEVICE_ID_INTEL_5400_FBD1 0x4036 3022 #define PCI_DEVICE_ID_INTEL_HDA_TGL_H 0x43c8 3023 #define PCI_DEVICE_ID_INTEL_HDA_DG1 0x490d 3024 #define PCI_DEVICE_ID_INTEL_HDA_EHL_0 0x4b55 3025 #define PCI_DEVICE_ID_INTEL_HDA_EHL_3 0x4b58 3026 #define PCI_DEVICE_ID_INTEL_HDA_JSL_N 0x4dc8 3027 #define PCI_DEVICE_ID_INTEL_HDA_DG2_0 0x4f90 3028 #define PCI_DEVICE_ID_INTEL_HDA_DG2_1 0x4f91 3029 #define PCI_DEVICE_ID_INTEL_HDA_DG2_2 0x4f92 3030 #define PCI_DEVICE_ID_INTEL_EP80579_0 0x5031 3031 #define PCI_DEVICE_ID_INTEL_EP80579_1 0x5032 3032 #define PCI_DEVICE_ID_INTEL_HDA_ADL_P 0x51c8 3033 #define PCI_DEVICE_ID_INTEL_HDA_ADL_PS 0x51c9 3034 #define PCI_DEVICE_ID_INTEL_HDA_RPL_P_0 0x51ca 3035 #define PCI_DEVICE_ID_INTEL_HDA_RPL_P_1 0x51cb 3036 #define PCI_DEVICE_ID_INTEL_HDA_ADL_M 0x51cc 3037 #define PCI_DEVICE_ID_INTEL_HDA_ADL_PX 0x51cd 3038 #define PCI_DEVICE_ID_INTEL_HDA_RPL_M 0x51ce 3039 #define PCI_DEVICE_ID_INTEL_HDA_RPL_PX 0x51cf 3040 #define PCI_DEVICE_ID_INTEL_HDA_ADL_N 0x54c8 3041 #define PCI_DEVICE_ID_INTEL_HDA_APL 0x5a98 2915 3042 #define PCI_DEVICE_ID_INTEL_5100_16 0x65f0 2916 3043 #define PCI_DEVICE_ID_INTEL_5100_19 0x65f3 2917 3044 #define PCI_DEVICE_ID_INTEL_5100_21 0x65f5 2918 3045 #define PCI_DEVICE_ID_INTEL_5100_22 0x65f6 2919 #define PCI_DEVICE_ID_INTEL_5400_ERR 0x40302920 #define PCI_DEVICE_ID_INTEL_5400_FBD0 0x40352921 #define PCI_DEVICE_ID_INTEL_5400_FBD1 0x40362922 3046 #define PCI_DEVICE_ID_INTEL_IOAT_SCNB 0x65ff 2923 #define PCI_DEVICE_ID_INTEL_EP80579_0 0x50312924 #define PCI_DEVICE_ID_INTEL_EP80579_1 0x50322925 3047 #define PCI_DEVICE_ID_INTEL_82371SB_0 0x7000 2926 3048 #define PCI_DEVICE_ID_INTEL_82371SB_1 0x7010 … … 2952 3074 #define PCI_DEVICE_ID_INTEL_82372FB_1 0x7601 2953 3075 #define PCI_DEVICE_ID_INTEL_HDA_ARL 0x7728 3076 #define PCI_DEVICE_ID_INTEL_HDA_RPL_S 0x7a50 3077 #define PCI_DEVICE_ID_INTEL_HDA_ADL_S 0x7ad0 3078 #define PCI_DEVICE_ID_INTEL_HDA_MTL 0x7e28 3079 #define PCI_DEVICE_ID_INTEL_HDA_ARL_S 0x7f50 2954 3080 #define PCI_DEVICE_ID_INTEL_SCH_LPC 0x8119 2955 3081 #define PCI_DEVICE_ID_INTEL_SCH_IDE 0x811a 3082 #define PCI_DEVICE_ID_INTEL_HDA_POULSBO 0x811b 2956 3083 #define PCI_DEVICE_ID_INTEL_E6XX_CU 0x8183 2957 3084 #define PCI_DEVICE_ID_INTEL_ITC_LPC 0x8186 … … 2962 3089 #define PCI_DEVICE_ID_INTEL_84460GX 0x84ea 2963 3090 #define PCI_DEVICE_ID_INTEL_IXP4XX 0x8500 3091 #define PCI_DEVICE_ID_INTEL_HDA_LPT 0x8c20 3092 #define PCI_DEVICE_ID_INTEL_HDA_9_SERIES 0x8ca0 3093 #define PCI_DEVICE_ID_INTEL_HDA_WBG_0 0x8d20 3094 #define PCI_DEVICE_ID_INTEL_HDA_WBG_1 0x8d21 2964 3095 #define PCI_DEVICE_ID_INTEL_IXP2800 0x9004 3096 #define PCI_DEVICE_ID_INTEL_HDA_LKF 0x98c8 3097 #define PCI_DEVICE_ID_INTEL_VMD_9A0B 0x9a0b 3098 #define PCI_DEVICE_ID_INTEL_HDA_LPT_LP_0 0x9c20 3099 #define PCI_DEVICE_ID_INTEL_HDA_LPT_LP_1 0x9c21 3100 #define PCI_DEVICE_ID_INTEL_HDA_WPT_LP 0x9ca0 3101 #define PCI_DEVICE_ID_INTEL_HDA_SKL_LP 0x9d70 3102 #define PCI_DEVICE_ID_INTEL_HDA_KBL_LP 0x9d71 3103 #define PCI_DEVICE_ID_INTEL_HDA_CNL_LP 0x9dc8 3104 #define PCI_DEVICE_ID_INTEL_HDA_TGL_LP 0xa0c8 3105 #define PCI_DEVICE_ID_INTEL_HDA_SKL 0xa170 3106 #define PCI_DEVICE_ID_INTEL_HDA_KBL 0xa171 3107 #define PCI_DEVICE_ID_INTEL_HDA_LBG_0 0xa1f0 3108 #define PCI_DEVICE_ID_INTEL_HDA_LBG_1 0xa270 3109 #define PCI_DEVICE_ID_INTEL_HDA_KBL_H 0xa2f0 3110 #define PCI_DEVICE_ID_INTEL_HDA_CNL_H 0xa348 3111 #define PCI_DEVICE_ID_INTEL_HDA_CML_S 0xa3f0 3112 #define PCI_DEVICE_ID_INTEL_HDA_LNL_P 0xa828 2965 3113 #define PCI_DEVICE_ID_INTEL_S21152BB 0xb152 3114 #define PCI_DEVICE_ID_INTEL_HDA_CML_R 0xf0c8 3115 #define PCI_DEVICE_ID_INTEL_HDA_RKL_S 0xf1c8 3116 3117 #define PCI_VENDOR_ID_WANGXUN 0x8088 2966 3118 2967 3119 #define PCI_VENDOR_ID_SCALEMP 0x8686 … … 3045 3197 #define PCI_VENDOR_ID_3COM_2 0xa727 3046 3198 3199 #define PCI_VENDOR_ID_SOLIDRUN 0xd063 3200 3047 3201 #define PCI_VENDOR_ID_DIGIUM 0xd161 3048 3202 #define PCI_DEVICE_ID_DIGIUM_HFC4S 0xb410 -
GPL/branches/uniaud32-exp/include/linux/pm.h
r750 r763 295 295 * to RAM and hibernation. 296 296 */ 297 #define DEFINE_SIMPLE_DEV_PM_OPS(name, suspend_fn, resume_fn) \ 298 const struct dev_pm_ops name = { \ 299 SET_SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) \ 300 } 301 302 297 303 #define SIMPLE_DEV_PM_OPS(name, suspend_fn, resume_fn) \ 298 304 const struct dev_pm_ops name = { \ … … 342 348 #define PMSG_THAW 0 343 349 #define PMSG_RESTORE 0 344 350 #define pm_sleep_ptr(_ptr) _ptr 345 351 #endif /* _LINUX_PM_H */ -
GPL/branches/uniaud32-exp/include/linux/regmap.h
r652 r763 45 45 REGCACHE_COMPRESSED, 46 46 REGCACHE_FLAT, 47 REGCACHE_MAPLE, 47 48 }; 48 49 … … 1120 1121 void regcache_cache_bypass(struct regmap *map, bool enable); 1121 1122 void regcache_mark_dirty(struct regmap *map); 1123 bool regcache_reg_cached(struct regmap *map, unsigned int reg); 1122 1124 1123 1125 bool regmap_check_range_table(struct regmap *map, unsigned int reg, -
GPL/branches/uniaud32-exp/include/linux/uaccess.h
r647 r763 2 2 #define _LINUX_UACCESS_H 3 3 #include <asm/uaccess.h> 4 #include <linux/minmax.h> 4 5 5 6 #endif /* _LINUX_UACCESS_H */ -
GPL/branches/uniaud32-exp/include/linux/uio.h
r615 r763 4 4 #define _LINUX_UIO_H 5 5 6 enum { 7 ITER_IOVEC = 0, 8 ITER_KVEC = 2, 9 ITER_BVEC = 4, 6 #include <linux/types.h> 7 8 enum iter_type { 9 /* iter types */ 10 ITER_IOVEC, 11 ITER_KVEC, 12 ITER_BVEC, 13 ITER_XARRAY, 14 ITER_DISCARD, 15 ITER_UBUF, 16 }; 17 18 #define ITER_SOURCE 1 // == WRITE 19 #define ITER_DEST 0 // == READ 20 21 struct kvec { 22 void *iov_base; /* and that should *never* hold a userland pointer */ 23 size_t iov_len; 10 24 }; 11 25 … … 20 34 21 35 struct iov_iter { 22 int type; 23 size_t iov_offset; 24 size_t count; 36 u8 iter_type; 37 bool copy_mc; 38 bool nofault; 39 bool data_source; 40 bool user_backed; 41 union { 42 /* 43 * This really should be a const, but we cannot do that without 44 * also modifying any of the zero-filling iter init functions. 45 * Leave it non-const for now, but it should be treated as such. 46 */ 47 struct iovec __ubuf_iovec; 48 struct { 49 union { 50 /* use iter_iov() to get the current vec */ 51 const struct iovec *__iov; 52 void __user *ubuf; 53 }; 54 size_t count; 55 }; 56 }; 25 57 union { 26 58 const struct iovec *iov; … … 33 65 static inline bool iter_is_iovec(const struct iov_iter *i) 34 66 { 35 return !(i-> type & (ITER_BVEC | ITER_KVEC));67 return !(i->iter_type & (ITER_BVEC | ITER_KVEC)); 36 68 } 37 69 70 static inline const struct iovec *iter_iov(const struct iov_iter *iter) 71 { 72 if (iter->iter_type == ITER_UBUF) 73 return (const struct iovec *) &iter->__ubuf_iovec; 74 return iter->__iov; 75 } 76 int import_ubuf(int type, void __user *buf, size_t len, struct iov_iter *i); 77 38 78 #endif /* _LINUX_UIO_H */ -
GPL/branches/uniaud32-exp/lib32/regcache.c
r724 r763 562 562 EXPORT_SYMBOL_GPL(regcache_cache_bypass); 563 563 564 /** 565 * regcache_reg_cached - Check if a register is cached 566 * 567 * @map: map to check 568 * @reg: register to check 569 * 570 * Reports if a register is cached. 571 */ 572 bool regcache_reg_cached(struct regmap *map, unsigned int reg) 573 { 574 unsigned int val; 575 int ret; 576 577 map->lock(map->lock_arg); 578 579 ret = regcache_read(map, reg, &val); 580 581 map->unlock(map->lock_arg); 582 583 return ret == 0; 584 } 585 EXPORT_SYMBOL_GPL(regcache_reg_cached); 586 564 587 bool regcache_set_val(struct regmap *map, void *base, unsigned int idx, 565 588 unsigned int val)
Note:
See TracChangeset
for help on using the changeset viewer.