/kernel/linux/linux-5.10/sound/core/oss/ |
H A D | mixer_oss.c | 30 struct snd_mixer_oss_file *fmixer; in snd_mixer_oss_open() local 50 fmixer = kzalloc(sizeof(*fmixer), GFP_KERNEL); in snd_mixer_oss_open() 51 if (fmixer == NULL) { in snd_mixer_oss_open() 56 fmixer->card = card; in snd_mixer_oss_open() 57 fmixer->mixer = card->mixer_oss; in snd_mixer_oss_open() 58 file->private_data = fmixer; in snd_mixer_oss_open() 60 kfree(fmixer); in snd_mixer_oss_open() 71 struct snd_mixer_oss_file *fmixer; in snd_mixer_oss_release() local 74 fmixer in snd_mixer_oss_release() 82 snd_mixer_oss_info(struct snd_mixer_oss_file *fmixer, mixer_info __user *_info) snd_mixer_oss_info() argument 98 snd_mixer_oss_info_obsolete(struct snd_mixer_oss_file *fmixer, _old_mixer_info __user *_info) snd_mixer_oss_info_obsolete() argument 113 snd_mixer_oss_caps(struct snd_mixer_oss_file *fmixer) snd_mixer_oss_caps() argument 125 snd_mixer_oss_devmask(struct snd_mixer_oss_file *fmixer) snd_mixer_oss_devmask() argument 143 snd_mixer_oss_stereodevs(struct snd_mixer_oss_file *fmixer) snd_mixer_oss_stereodevs() argument 161 snd_mixer_oss_recmask(struct snd_mixer_oss_file *fmixer) snd_mixer_oss_recmask() argument 184 snd_mixer_oss_get_recsrc(struct snd_mixer_oss_file *fmixer) snd_mixer_oss_get_recsrc() argument 217 snd_mixer_oss_set_recsrc(struct snd_mixer_oss_file *fmixer, int recsrc) snd_mixer_oss_set_recsrc() argument 257 snd_mixer_oss_get_volume(struct snd_mixer_oss_file *fmixer, int slot) snd_mixer_oss_get_volume() argument 291 snd_mixer_oss_set_volume(struct snd_mixer_oss_file *fmixer, int slot, int volume) snd_mixer_oss_set_volume() argument 320 snd_mixer_oss_ioctl1(struct snd_mixer_oss_file *fmixer, unsigned int cmd, unsigned long arg) snd_mixer_oss_ioctl1() argument 395 struct snd_mixer_oss_file fmixer; snd_mixer_oss_ioctl_card() local 530 snd_mixer_oss_get_volume1_vol(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, unsigned int numid, int *left, int *right) snd_mixer_oss_get_volume1_vol() argument 567 snd_mixer_oss_get_volume1_sw(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, unsigned int numid, int *left, int *right, int route) snd_mixer_oss_get_volume1_sw() argument 606 snd_mixer_oss_get_volume1(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, int *left, int *right) snd_mixer_oss_get_volume1() argument 632 snd_mixer_oss_put_volume1_vol(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, unsigned int numid, int left, int right) snd_mixer_oss_put_volume1_vol() argument 672 snd_mixer_oss_put_volume1_sw(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, unsigned int numid, int left, int right, int route) snd_mixer_oss_put_volume1_sw() argument 717 snd_mixer_oss_put_volume1(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, int left, int right) snd_mixer_oss_put_volume1() argument 766 snd_mixer_oss_get_recsrc1_sw(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, int *active) snd_mixer_oss_get_recsrc1_sw() argument 779 snd_mixer_oss_get_recsrc1_route(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, int *active) snd_mixer_oss_get_recsrc1_route() argument 792 snd_mixer_oss_put_recsrc1_sw(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, int active) snd_mixer_oss_put_recsrc1_sw() argument 802 snd_mixer_oss_put_recsrc1_route(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, int active) snd_mixer_oss_put_recsrc1_route() argument 812 snd_mixer_oss_get_recsrc2(struct snd_mixer_oss_file *fmixer, unsigned int *active_index) snd_mixer_oss_get_recsrc2() argument 862 snd_mixer_oss_put_recsrc2(struct snd_mixer_oss_file *fmixer, unsigned int active_index) snd_mixer_oss_put_recsrc2() argument [all...] |
/kernel/linux/linux-6.6/sound/core/oss/ |
H A D | mixer_oss.c | 30 struct snd_mixer_oss_file *fmixer; in snd_mixer_oss_open() local 50 fmixer = kzalloc(sizeof(*fmixer), GFP_KERNEL); in snd_mixer_oss_open() 51 if (fmixer == NULL) { in snd_mixer_oss_open() 56 fmixer->card = card; in snd_mixer_oss_open() 57 fmixer->mixer = card->mixer_oss; in snd_mixer_oss_open() 58 file->private_data = fmixer; in snd_mixer_oss_open() 60 kfree(fmixer); in snd_mixer_oss_open() 71 struct snd_mixer_oss_file *fmixer; in snd_mixer_oss_release() local 74 fmixer in snd_mixer_oss_release() 82 snd_mixer_oss_info(struct snd_mixer_oss_file *fmixer, mixer_info __user *_info) snd_mixer_oss_info() argument 98 snd_mixer_oss_info_obsolete(struct snd_mixer_oss_file *fmixer, _old_mixer_info __user *_info) snd_mixer_oss_info_obsolete() argument 113 snd_mixer_oss_caps(struct snd_mixer_oss_file *fmixer) snd_mixer_oss_caps() argument 125 snd_mixer_oss_devmask(struct snd_mixer_oss_file *fmixer) snd_mixer_oss_devmask() argument 143 snd_mixer_oss_stereodevs(struct snd_mixer_oss_file *fmixer) snd_mixer_oss_stereodevs() argument 161 snd_mixer_oss_recmask(struct snd_mixer_oss_file *fmixer) snd_mixer_oss_recmask() argument 184 snd_mixer_oss_get_recsrc(struct snd_mixer_oss_file *fmixer) snd_mixer_oss_get_recsrc() argument 217 snd_mixer_oss_set_recsrc(struct snd_mixer_oss_file *fmixer, int recsrc) snd_mixer_oss_set_recsrc() argument 257 snd_mixer_oss_get_volume(struct snd_mixer_oss_file *fmixer, int slot) snd_mixer_oss_get_volume() argument 291 snd_mixer_oss_set_volume(struct snd_mixer_oss_file *fmixer, int slot, int volume) snd_mixer_oss_set_volume() argument 320 snd_mixer_oss_ioctl1(struct snd_mixer_oss_file *fmixer, unsigned int cmd, unsigned long arg) snd_mixer_oss_ioctl1() argument 395 struct snd_mixer_oss_file fmixer; snd_mixer_oss_ioctl_card() local 530 snd_mixer_oss_get_volume1_vol(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, unsigned int numid, int *left, int *right) snd_mixer_oss_get_volume1_vol() argument 568 snd_mixer_oss_get_volume1_sw(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, unsigned int numid, int *left, int *right, int route) snd_mixer_oss_get_volume1_sw() argument 608 snd_mixer_oss_get_volume1(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, int *left, int *right) snd_mixer_oss_get_volume1() argument 634 snd_mixer_oss_put_volume1_vol(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, unsigned int numid, int left, int right) snd_mixer_oss_put_volume1_vol() argument 676 snd_mixer_oss_put_volume1_sw(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, unsigned int numid, int left, int right, int route) snd_mixer_oss_put_volume1_sw() argument 723 snd_mixer_oss_put_volume1(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, int left, int right) snd_mixer_oss_put_volume1() argument 772 snd_mixer_oss_get_recsrc1_sw(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, int *active) snd_mixer_oss_get_recsrc1_sw() argument 785 snd_mixer_oss_get_recsrc1_route(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, int *active) snd_mixer_oss_get_recsrc1_route() argument 798 snd_mixer_oss_put_recsrc1_sw(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, int active) snd_mixer_oss_put_recsrc1_sw() argument 808 snd_mixer_oss_put_recsrc1_route(struct snd_mixer_oss_file *fmixer, struct snd_mixer_oss_slot *pslot, int active) snd_mixer_oss_put_recsrc1_route() argument 818 snd_mixer_oss_get_recsrc2(struct snd_mixer_oss_file *fmixer, unsigned int *active_index) snd_mixer_oss_get_recsrc2() argument 870 snd_mixer_oss_put_recsrc2(struct snd_mixer_oss_file *fmixer, unsigned int active_index) snd_mixer_oss_put_recsrc2() argument [all...] |
/kernel/linux/linux-5.10/include/sound/ |
H A D | mixer_oss.h | 19 int (*get_volume)(struct snd_mixer_oss_file *fmixer, 22 int (*put_volume)(struct snd_mixer_oss_file *fmixer, 25 int (*get_recsrc)(struct snd_mixer_oss_file *fmixer, 28 int (*put_recsrc)(struct snd_mixer_oss_file *fmixer, 43 int (*get_recsrc)(struct snd_mixer_oss_file *fmixer, 45 int (*put_recsrc)(struct snd_mixer_oss_file *fmixer,
|
/kernel/linux/linux-6.6/include/sound/ |
H A D | mixer_oss.h | 19 int (*get_volume)(struct snd_mixer_oss_file *fmixer, 22 int (*put_volume)(struct snd_mixer_oss_file *fmixer, 25 int (*get_recsrc)(struct snd_mixer_oss_file *fmixer, 28 int (*put_recsrc)(struct snd_mixer_oss_file *fmixer, 43 int (*get_recsrc)(struct snd_mixer_oss_file *fmixer, 45 int (*put_recsrc)(struct snd_mixer_oss_file *fmixer,
|