Home
last modified time | relevance | path

Searched refs:verb (Results 1 – 15 of 15) sorted by relevance

/sound/hda/
Dhdac_regmap.c42 unsigned int verb = get_verb(reg); in hda_volatile_reg() local
44 switch (verb) { in hda_volatile_reg()
69 unsigned int verb = get_verb(reg); in hda_writeable_reg() local
74 if (verb == *v) in hda_writeable_reg()
81 switch (verb & 0xf00) { in hda_writeable_reg()
93 switch (verb) { in hda_writeable_reg()
118 unsigned int verb = get_verb(reg); in hda_readable_reg() local
123 switch (verb) { in hda_readable_reg()
179 unsigned int verb, left, right; in hda_reg_write_stereo_amp() local
181 verb = AC_VERB_SET_AMP_GAIN_MUTE << 8; in hda_reg_write_stereo_amp()
[all …]
Dhdac_device.c225 unsigned int verb, unsigned int parm) in snd_hdac_make_cmd() argument
231 (verb & ~0xfff) || (parm & ~0xffff)) { in snd_hdac_make_cmd()
233 addr, nid, verb, parm); in snd_hdac_make_cmd()
239 val |= verb << 8; in snd_hdac_make_cmd()
276 unsigned int verb, unsigned int parm, unsigned int *res) in snd_hdac_read() argument
278 unsigned int cmd = snd_hdac_make_cmd(codec, nid, verb, parm); in snd_hdac_read()
334 unsigned int verb = (AC_VERB_PARAMETERS << 8) | (nid << 20) | parm; in snd_hdac_override_parm() local
341 err = snd_hdac_regmap_write_raw(codec, verb, val); in snd_hdac_override_parm()
989 int flags, unsigned int verb, unsigned int parm) in codec_read() argument
991 unsigned int cmd = snd_hdac_make_cmd(hdac, nid, verb, parm); in codec_read()
[all …]
/sound/pci/hda/
Dhda_hwdep.c24 u32 verb, res; in verb_write_ioctl() local
26 if (get_user(verb, &arg->verb)) in verb_write_ioctl()
28 res = snd_hda_codec_read(codec, verb >> 24, 0, in verb_write_ioctl()
29 (verb >> 8) & 0xffff, verb & 0xff); in verb_write_ioctl()
38 u32 verb, res; in get_wcap_ioctl() local
40 if (get_user(verb, &arg->verb)) in get_wcap_ioctl()
43 verb >>= 24; in get_wcap_ioctl()
44 if (verb < codec->core.start_nid || in get_wcap_ioctl()
45 verb >= codec->core.start_nid + codec->core.num_nodes) { in get_wcap_ioctl()
48 verb -= codec->core.start_nid; in get_wcap_ioctl()
[all …]
Dhda_sysfs.c227 v->nid, v->verb, v->param); in init_verbs_show()
236 int nid, verb, param; in parse_init_verbs() local
238 if (sscanf(buf, "%i %i %i", &nid, &verb, &param) != 3) in parse_init_verbs()
240 if (!nid || !verb) in parse_init_verbs()
249 v->verb = verb; in parse_init_verbs()
Dpatch_via.c317 unsigned int verb, parm; in __analog_low_current_mode() local
331 verb = 0xf70; in __analog_low_current_mode()
337 verb = 0xf73; in __analog_low_current_mode()
341 verb = 0xf73; in __analog_low_current_mode()
347 verb = 0xf93; in __analog_low_current_mode()
352 verb = 0xf82; in __analog_low_current_mode()
359 snd_hda_codec_write(codec, codec->core.afg, 0, verb, parm); in __analog_low_current_mode()
Dpatch_hdmi.c4019 int verb; in atihdmi_pin_set_slot_channel() local
4041 verb = ATI_VERB_SET_MULTICHANNEL_01 + hdmi_slot/2 + (hdmi_slot % 2) * 0x00e; in atihdmi_pin_set_slot_channel()
4048 return snd_hda_codec_write(codec, pin_nid, 0, verb, ati_channel_setup); in atihdmi_pin_set_slot_channel()
4057 int verb; in atihdmi_pin_get_slot_channel() local
4071 verb = ATI_VERB_GET_MULTICHANNEL_01 + ati_asp_slot/2 + (ati_asp_slot % 2) * 0x00e; in atihdmi_pin_get_slot_channel()
4073 ati_channel_setup = snd_hda_codec_read(codec, pin_nid, 0, verb, 0); in atihdmi_pin_get_slot_channel()
Dpatch_ca0132.c1482 unsigned int verb, unsigned int parm, unsigned int *res) in codec_send_command() argument
1485 response = snd_hda_codec_read(codec, nid, 0, verb, parm); in codec_send_command()
1867 unsigned int verb; in chipio_8051_write_direct() local
1869 verb = VENDOR_CHIPIO_8051_WRITE_DIRECT | data; in chipio_8051_write_direct()
1870 snd_hda_codec_write(codec, WIDGET_CHIP_CTRL, 0, verb, addr); in chipio_8051_write_direct()
9787 spec->spec_init_verbs[0].verb = 0x00; in ca0132_prepare_verbs()
Dpatch_sigmatel.c4422 unsigned int verb) in analog_loop_proc_hook() argument
4425 snd_hda_codec_read(codec, codec->core.afg, 0, verb, 0)); in analog_loop_proc_hook()
Dhda_codec.c82 snd_hda_codec_write(codec, seq->nid, 0, seq->verb, seq->param); in snd_hda_sequence_write()
/sound/soc/codecs/
Drt715-sdw.c373 int hda_to_sdw(unsigned int nid, unsigned int verb, unsigned int payload, in hda_to_sdw() argument
379 if (((verb & 0xff) != 0) || verb == 0xf00) { /* 12 bits command */ in hda_to_sdw()
380 if (verb == 0x7ff) /* special case */ in hda_to_sdw()
385 if (verb & 0x800) /* get command */ in hda_to_sdw()
386 e_verb = (verb - 0xf00) | 0x80; in hda_to_sdw()
388 e_verb = (verb - 0x700); in hda_to_sdw()
393 if ((verb & 0x800) == 0x800) { /* read */ in hda_to_sdw()
400 e_verb = verb >> 8; in hda_to_sdw()
Drt715.h219 int hda_to_sdw(unsigned int nid, unsigned int verb, unsigned int payload,
/sound/pci/lola/
Dlola_pcm.c369 unsigned int verb; in lola_get_format_verb() local
373 verb = 0x00000000; in lola_get_format_verb()
376 verb = 0x00000200; in lola_get_format_verb()
379 verb = 0x00000300; in lola_get_format_verb()
382 verb = 0x00001300; in lola_get_format_verb()
387 verb |= substream->runtime->channels; in lola_get_format_verb()
388 return verb; in lola_get_format_verb()
396 unsigned int verb, val; in lola_set_stream_config() local
411 verb = (str->index << 6) | i; in lola_set_stream_config()
413 LOLA_VERB_SET_CHANNEL_STREAMID, 0, verb, in lola_set_stream_config()
Dlola.c75 unsigned int verb, unsigned int data, in corb_send_verb() argument
82 chip->last_verb = verb; in corb_send_verb()
85 data |= (nid << 20) | (verb << 8); in corb_send_verb()
182 int lola_codec_write(struct lola *chip, unsigned int nid, unsigned int verb, in lola_codec_write() argument
186 nid, verb, data, extdata); in lola_codec_write()
187 return corb_send_verb(chip, nid, verb, data, extdata); in lola_codec_write()
191 int lola_codec_read(struct lola *chip, unsigned int nid, unsigned int verb, in lola_codec_read() argument
198 nid, verb, data, extdata); in lola_codec_read()
199 err = corb_send_verb(chip, nid, verb, data, extdata); in lola_codec_read()
Dlola_proc.c139 unsigned int id, verb, data, extdata; in lola_proc_codec_rw_write() local
141 if (sscanf(line, "%u %u %u %u", &id, &verb, &data, &extdata) != 4) in lola_proc_codec_rw_write()
143 lola_codec_read(chip, id, verb, data, extdata, in lola_proc_codec_rw_write()
Dlola.h472 int lola_codec_write(struct lola *chip, unsigned int nid, unsigned int verb,
474 int lola_codec_read(struct lola *chip, unsigned int nid, unsigned int verb,