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