Home
last modified time | relevance | path

Searched refs:onyx (Results 1 – 2 of 2) sorted by relevance

/sound/aoa/codecs/
Donyx.c48 struct onyx { struct
65 #define codec_to_onyx(c) container_of(c, struct onyx, codec) argument
68 static int onyx_read_register(struct onyx *onyx, u8 reg, u8 *value) in onyx_read_register() argument
73 *value = onyx->cache[reg-FIRSTREGISTER]; in onyx_read_register()
76 v = i2c_smbus_read_byte_data(onyx->i2c, reg); in onyx_read_register()
80 onyx->cache[ONYX_REG_CONTROL-FIRSTREGISTER] = *value; in onyx_read_register()
84 static int onyx_write_register(struct onyx *onyx, u8 reg, u8 value) in onyx_write_register() argument
88 result = i2c_smbus_write_byte_data(onyx->i2c, reg, value); in onyx_write_register()
90 onyx->cache[reg-FIRSTREGISTER] = value; in onyx_write_register()
122 struct onyx *onyx = snd_kcontrol_chip(kcontrol); in onyx_snd_vol_get() local
[all …]
DMakefile1 snd-aoa-codec-onyx-objs := onyx.o
5 obj-$(CONFIG_SND_AOA_ONYX) += snd-aoa-codec-onyx.o