Changeset 764 for GPL/branches
- Timestamp:
- Apr 6, 2025, 10:44:06 AM (4 months ago)
- Location:
- GPL/branches/uniaud32-exp
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/uniaud32-exp/alsa-kernel/core/pcm_lib.c
r763 r764 2008 2008 } 2009 2009 2010 #ifndef TARGET_OS2 2010 2011 typedef int (*pcm_transfer_f)(struct snd_pcm_substream *substream, 2011 2012 int channel, unsigned long hwoff, 2012 2013 struct iov_iter *iter, unsigned long bytes); 2014 #else 2015 typedef int (*pcm_transfer_f)(struct snd_pcm_substream *substream, 2016 int channel, unsigned long hwoff, 2017 void *iter, unsigned long bytes); 2018 #endif 2013 2019 2014 2020 typedef int (*pcm_copy_f)(struct snd_pcm_substream *, snd_pcm_uframes_t, void *, … … 2051 2057 * a NULL buffer is passed 2052 2058 */ 2059 #ifndef TARGET_OS2 2053 2060 static int fill_silence(struct snd_pcm_substream *substream, int channel, 2054 2061 unsigned long hwoff, struct iov_iter *iter, 2055 2062 unsigned long bytes) 2063 #else 2064 static int fill_silence(struct snd_pcm_substream *substream, int channel, 2065 unsigned long hwoff, void *iter, 2066 unsigned long bytes) 2067 #endif 2056 2068 { 2057 2069 struct snd_pcm_runtime *runtime = substream->runtime; -
GPL/branches/uniaud32-exp/alsa-kernel/core/seq/seq_clientmgr.c
r763 r764 446 446 return -ENXIO; 447 447 448 if (!access_ok( 0,buf, count))448 if (!access_ok(buf, count)) 449 449 return -EFAULT; 450 450 -
GPL/branches/uniaud32-exp/alsa-kernel/hda/hdac_regmap.c
r762 r764 358 358 .readable_reg = hda_readable_reg, 359 359 .volatile_reg = hda_volatile_reg, 360 #ifndef TARGET_OS2 360 361 .cache_type = REGCACHE_MAPLE, 362 #else 363 .cache_type = REGCACHE_RBTREE, 364 #endif 361 365 .reg_read = hda_reg_read, 362 366 .reg_write = hda_reg_write, … … 569 573 unsigned int mask, unsigned int val) 570 574 { 575 #ifndef TARGET_OS2 571 576 int err = 0; 572 577 #else 578 unsigned int orig; 579 int err; 580 #endif 573 581 if (!codec->regmap) 574 582 return reg_raw_update(codec, reg, mask, val); 575 583 576 584 mutex_lock(&codec->regmap_lock); 585 #ifndef TARGET_OS2 577 586 /* Discard any updates to already initialised registers. */ 578 587 if (!regcache_reg_cached(codec->regmap, reg)) 588 #else 589 regcache_cache_only(codec->regmap, true); 590 err = regmap_read(codec->regmap, reg, &orig); 591 regcache_cache_only(codec->regmap, false); 592 if (err < 0) 593 #endif 579 594 err = regmap_update_bits(codec->regmap, reg, mask, val); 580 595 mutex_unlock(&codec->regmap_lock); -
GPL/branches/uniaud32-exp/alsa-kernel/include/sound/pcm.h
r762 r764 48 48 struct snd_pcm_status64; 49 49 struct snd_pcm_substream; 50 51 50 struct snd_pcm_audio_tstamp_config; /* definitions further down */ 52 51 struct snd_pcm_audio_tstamp_report; … … 70 69 int (*fill_silence)(struct snd_pcm_substream *substream, int channel, 71 70 unsigned long pos, unsigned long bytes); 71 #ifndef TARGET_OS2 72 72 int (*copy)(struct snd_pcm_substream *substream, int channel, 73 73 unsigned long pos, struct iov_iter *iter, unsigned long bytes); 74 #else 75 int (*copy)(struct snd_pcm_substream *substream, int channel, 76 unsigned long pos, void *iter, unsigned long bytes); 77 #endif 74 78 struct page *(*page)(struct snd_pcm_substream *substream, 75 79 unsigned long offset); -
GPL/branches/uniaud32-exp/alsa-kernel/pci/es1938.c
r763 r764 828 828 static int snd_es1938_capture_copy(struct snd_pcm_substream *substream, 829 829 int channel, unsigned long pos, 830 #ifndef TARGET_OS2 830 831 struct iov_iter *dst, unsigned long count) 832 #else 833 void *dst, unsigned long count) 834 #endif 831 835 { 832 836 struct snd_pcm_runtime *runtime = substream->runtime; -
GPL/branches/uniaud32-exp/alsa-kernel/pci/hda/hda_codec.c
r762 r764 3186 3186 info->formats ? NULL : &info->formats, 3187 3187 info->maxbps ? NULL : &info->maxbps); 3188 if (err < 0) 3189 return err; 3188 if (err < 0){ 3189 codec_warn(codec,"exiting here\n"); 3190 return err;} 3190 3191 } 3191 3192 if (info->ops.open == NULL) -
GPL/branches/uniaud32-exp/alsa-kernel/pci/nm256/nm256.c
r763 r764 696 696 snd_nm256_playback_copy(struct snd_pcm_substream *substream, 697 697 int channel, unsigned long pos, 698 #ifndef TARGET_OS2 698 699 struct iov_iter *src, unsigned long count) 700 #else 701 void *src, unsigned long count) 702 #endif 699 703 { 700 704 struct snd_pcm_runtime *runtime = substream->runtime; … … 716 720 snd_nm256_capture_copy(struct snd_pcm_substream *substream, 717 721 int channel, unsigned long pos, 722 #ifndef TARGET_OS2 718 723 struct iov_iter *dst, unsigned long count) 724 #else 725 void *dst, unsigned long count) 726 #endif 719 727 { 720 728 struct snd_pcm_runtime *runtime = substream->runtime; -
GPL/branches/uniaud32-exp/include/asm/uaccess.h
r763 r764 48 48 * doing a check on the get_fs() 49 49 */ 50 static inline int __access_ok(unsigned long addr, unsigned long size) 50 static inline int __access_ok(const void __user *ptr, unsigned long size) 51 51 52 { 52 53 return 1; -
GPL/branches/uniaud32-exp/include/linux/device.h
r753 r764 84 84 struct pm_dev *pm_dev; 85 85 char bus_id[20]; 86 struct class *class;86 const struct class *class; 87 87 spinlock_t devres_lock; 88 88 struct list_head devres_head; -
GPL/branches/uniaud32-exp/include/linux/math64.h
r647 r764 140 140 #endif 141 141 142 u64 div64_u64_rem(u64 dividend, u64 divisor, u64 *remainder); 143 142 144 #endif /* MATH64_COMPAT_H */ -
GPL/branches/uniaud32-exp/include/linux/pci.h
r760 r764 782 782 int pcim_enable_device(struct pci_dev *pdev); 783 783 int pcim_iomap_regions(struct pci_dev *pdev, int mask, const char *name); 784 void __iomem *pcim_iomap(struct pci_dev *pdev, int bar, unsigned long maxlen); 784 785 785 786 static inline int pci_is_managed(struct pci_dev *pdev) -
GPL/branches/uniaud32-exp/include/linux/regmap.h
r763 r764 43 43 REGCACHE_NONE, 44 44 REGCACHE_RBTREE, 45 REGCACHE_COMPRESSED,46 45 REGCACHE_FLAT, 47 46 REGCACHE_MAPLE, -
GPL/branches/uniaud32-exp/include/linux/string.h
r737 r764 14 14 #endif 15 15 16 extern void *memset32(uint32_t *, uint32_t, __kernel_size_t); 16 17 char *kstrdup(const char *s, unsigned int gfp_flags); 17 18 _WCRTLINK extern size_t strnlen_s( const char *__s, size_t __maxsize ); -
GPL/branches/uniaud32-exp/lib32/Makefile
r737 r764 30 30 strncmp.obj timer.obj kobject.obj driver.obj drivers_base.obj & 31 31 instropl2.obj instropl3.obj vsprintf.obj bitmap.obj find_next_bit.obj & 32 regmap.obj regcache.obj regcache-flat.obj regcache-rbtree.obj component.obj 32 regmap.obj regcache.obj regcache-flat.obj regcache-rbtree.obj & 33 regcache-maple.obj component.obj 33 34 34 35 TARGET = linuxlib -
GPL/branches/uniaud32-exp/lib32/bitmap.c
r639 r764 512 512 int nmaskbits) 513 513 { 514 if (!access_ok( VERIFY_READ,ubuf, ulen))514 if (!access_ok(ubuf, ulen)) 515 515 return -EFAULT; 516 516 return __bitmap_parse((const char *)ubuf, ulen, 1, maskp, nmaskbits); -
GPL/branches/uniaud32-exp/lib32/internal.h
r652 r764 274 274 275 275 extern struct regcache_ops regcache_rbtree_ops; 276 extern struct regcache_ops regcache_ lzo_ops;276 extern struct regcache_ops regcache_maple_ops; 277 277 extern struct regcache_ops regcache_flat_ops; 278 278 -
GPL/branches/uniaud32-exp/lib32/regcache.c
r763 r764 24 24 static const struct regcache_ops *cache_types[] = { 25 25 ®cache_rbtree_ops, 26 #if IS_ENABLED(CONFIG_REGCACHE_COMPRESSED) 27 ®cache_lzo_ops, 28 #endif 26 ®cache_maple_ops, 29 27 ®cache_flat_ops, 30 28 };
Note:
See TracChangeset
for help on using the changeset viewer.