Searched refs:onyx (Results 1 – 2 of 2) sorted by relevance
48 struct onyx { struct65 #define codec_to_onyx(c) container_of(c, struct onyx, codec) argument68 static int onyx_read_register(struct onyx *onyx, u8 reg, u8 *value) in onyx_read_register() argument73 *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() argument88 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 …]
1 snd-aoa-codec-onyx-objs := onyx.o5 obj-$(CONFIG_SND_AOA_ONYX) += snd-aoa-codec-onyx.o