Lines Matching +full:left +full:- +full:justified

1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause AND BSD-3-Clause
27 /*-
101 static int tumbler_set(struct snd_mixer *m, unsigned dev, unsigned left,
143 #define TUMBLER_LB0 0x0a /* Left biquad 0 (15bytes) */
144 #define TUMBLER_LB1 0x0b /* Left biquad 1 (15bytes) */
145 #define TUMBLER_LB2 0x0c /* Left biquad 2 (15bytes) */
146 #define TUMBLER_LB3 0x0d /* Left biquad 3 (15bytes) */
147 #define TUMBLER_LB4 0x0e /* Left biquad 4 (15bytes) */
148 #define TUMBLER_LB5 0x0f /* Left biquad 5 (15bytes) */
160 #define TUMBLER_MCR_SM_L 0x00 /* Left justified */
161 #define TUMBLER_MCR_SM_R 0x10 /* Right justified */
254 0x00000148, 0x0000015C, 0x00000171, 0x00000186, // -46.0, -45.5, -45.0, -44.5,
255 0x0000019E, 0x000001B6, 0x000001D0, 0x000001EB, // -44.0, -43.5, -43.0, -42.5,
256 0x00000209, 0x00000227, 0x00000248, 0x0000026B, // -42.0, -41.5, -41.0, -40.5,
257 0x0000028F, 0x000002B6, 0x000002DF, 0x0000030B, // -40.0, -39.5, -39.0, -38.5,
258 0x00000339, 0x0000036A, 0x0000039E, 0x000003D5, // -38.0, -37.5, -37.0, -36.5,
259 0x0000040F, 0x0000044C, 0x0000048D, 0x000004D2, // -36.0, -35.5, -35.0, -34.5,
260 0x0000051C, 0x00000569, 0x000005BB, 0x00000612, // -34.0, -33.5, -33.0, -32.5,
261 0x0000066E, 0x000006D0, 0x00000737, 0x000007A5, // -32.0, -31.5, -31.0, -30.5,
262 0x00000818, 0x00000893, 0x00000915, 0x0000099F, // -30.0, -29.5, -29.0, -28.5,
263 0x00000A31, 0x00000ACC, 0x00000B6F, 0x00000C1D, // -28.0, -27.5, -27.0, -26.5,
264 0x00000CD5, 0x00000D97, 0x00000E65, 0x00000F40, // -26.0, -25.5, -25.0, -24.5,
265 0x00001027, 0x0000111C, 0x00001220, 0x00001333, // -24.0, -23.5, -23.0, -22.5,
266 0x00001456, 0x0000158A, 0x000016D1, 0x0000182B, // -22.0, -21.5, -21.0, -20.5,
267 0x0000199A, 0x00001B1E, 0x00001CB9, 0x00001E6D, // -20.0, -19.5, -19.0, -18.5,
268 0x0000203A, 0x00002223, 0x00002429, 0x0000264E, // -18.0, -17.5, -17.0, -16.5,
269 0x00002893, 0x00002AFA, 0x00002D86, 0x00003039, // -16.0, -15.5, -15.0, -14.5,
270 0x00003314, 0x0000361B, 0x00003950, 0x00003CB5, // -14.0, -13.5, -13.0, -12.5,
271 0x0000404E, 0x0000441D, 0x00004827, 0x00004C6D, // -12.0, -11.5, -11.0, -10.5,
272 0x000050F4, 0x000055C0, 0x00005AD5, 0x00006037, // -10.0, -9.5, -9.0, -8.5,
273 0x000065EA, 0x00006BF4, 0x0000725A, 0x00007920, // -8.0, -7.5, -7.0, -6.5,
274 0x0000804E, 0x000087EF, 0x00008FF6, 0x0000987D, // -6.0, -5.5, -5.0, -4.5,
275 0x0000A186, 0x0000AB19, 0x0000B53C, 0x0000BFF9, // -4.0, -3.5, -3.0, -2.5,
276 0x0000CB59, 0x0000D766, 0x0000E429, 0x0000F1AE, // -2.0, -1.5, -1.0, -0.5,
288 { sc->sc_addr, IIC_M_WR, 0, buf } in tumbler_write()
297 iicbus_transfer(sc->sc_dev, msg, 1); in tumbler_write()
326 sc->sc_dev = dev; in tumbler_attach()
327 sc->sc_addr = iicbus_get_addr(dev); in tumbler_attach()
383 tumbler_set(struct snd_mixer *m, unsigned dev, unsigned left, unsigned right) in tumbler_set() argument
397 if (left > 100 || right > 100) in tumbler_set()
400 l = (left == 0 ? 0 : tumbler_volume_table[left - 1]); in tumbler_set()
401 r = (right == 0 ? 0 : tumbler_volume_table[right - 1]); in tumbler_set()
425 return (left | (right << 8)); in tumbler_set()