Lines Matching refs:amixer
51 /* Define the descriptor of a amixer resource */
54 struct amixer {
58 struct sum *sum; /* Put amixer output to this summation node */
63 int (*set_input)(struct amixer *amixer, struct rsc *rsc);
64 int (*set_scale)(struct amixer *amixer, unsigned int scale);
65 int (*set_invalid_squash)(struct amixer *amixer, unsigned int iv);
66 int (*set_sum)(struct amixer *amixer, struct sum *sum);
67 int (*commit_write)(struct amixer *amixer);
69 int (*commit_raw_write)(struct amixer *amixer);
70 int (*setup)(struct amixer *amixer, struct rsc *input,
72 int (*get_scale)(struct amixer *amixer);
75 /* Define amixer resource request description info */
84 /* request one amixer resource */
87 struct amixer **ramixer);
88 /* return one amixer resource */
89 int (*put_amixer)(struct amixer_mgr *mgr, struct amixer *amixer);
92 /* Constructor and destructor of amixer resource manager */