Home
last modified time | relevance | path

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

/sound/aoa/codecs/
Donyx.c45 struct onyx { struct
62 #define codec_to_onyx(c) container_of(c, struct onyx, codec) argument
65 static int onyx_read_register(struct onyx *onyx, u8 reg, u8 *value) in onyx_read_register() argument
70 *value = onyx->cache[reg-FIRSTREGISTER]; in onyx_read_register()
73 v = i2c_smbus_read_byte_data(onyx->i2c, reg); in onyx_read_register()
79 onyx->cache[ONYX_REG_CONTROL-FIRSTREGISTER] = *value; in onyx_read_register()
83 static int onyx_write_register(struct onyx *onyx, u8 reg, u8 value) in onyx_write_register() argument
87 result = i2c_smbus_write_byte_data(onyx->i2c, reg, value); in onyx_write_register()
89 onyx->cache[reg-FIRSTREGISTER] = value; in onyx_write_register()
121 struct onyx *onyx = snd_kcontrol_chip(kcontrol); in onyx_snd_vol_get() local
[all …]
DMakefile2 snd-aoa-codec-onyx-objs := onyx.o
6 obj-$(CONFIG_SND_AOA_ONYX) += snd-aoa-codec-onyx.o