Home
last modified time | relevance | path

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

/linux-4.1.27/sound/hda/
Dhdac_regmap.c37 unsigned int verb = get_verb(reg); in hda_volatile_reg() local
39 switch (verb) { in hda_volatile_reg()
64 unsigned int verb = get_verb(reg); in hda_writeable_reg() local
69 if (verb == *v) in hda_writeable_reg()
76 switch (verb & 0xf00) { in hda_writeable_reg()
88 switch (verb) { in hda_writeable_reg()
113 unsigned int verb = get_verb(reg); in hda_readable_reg() local
118 switch (verb) { in hda_readable_reg()
174 unsigned int verb, left, right; in hda_reg_write_stereo_amp() local
176 verb = AC_VERB_SET_AMP_GAIN_MUTE << 8; in hda_reg_write_stereo_amp()
[all …]
Dhdac_device.c176 unsigned int verb, unsigned int parm) in snd_hdac_make_cmd() argument
182 (verb & ~0xfff) || (parm & ~0xffff)) { in snd_hdac_make_cmd()
184 addr, nid, verb, parm); in snd_hdac_make_cmd()
190 val |= verb << 8; in snd_hdac_make_cmd()
229 unsigned int verb, unsigned int parm, unsigned int *res) in snd_hdac_read() argument
231 unsigned int cmd = snd_hdac_make_cmd(codec, nid, verb, parm); in snd_hdac_read()
285 unsigned int verb = (AC_VERB_PARAMETERS << 8) | (nid << 20) | parm; in snd_hdac_override_parm() local
292 err = snd_hdac_regmap_write_raw(codec, verb, val); in snd_hdac_override_parm()
/linux-4.1.27/sound/pci/hda/
Dhda_hwdep.c36 u32 verb, res; in verb_write_ioctl() local
38 if (get_user(verb, &arg->verb)) in verb_write_ioctl()
40 res = snd_hda_codec_read(codec, verb >> 24, 0, in verb_write_ioctl()
41 (verb >> 8) & 0xffff, verb & 0xff); in verb_write_ioctl()
50 u32 verb, res; in get_wcap_ioctl() local
52 if (get_user(verb, &arg->verb)) in get_wcap_ioctl()
54 res = get_wcaps(codec, verb >> 24); in get_wcap_ioctl()
Dhda_codec.h342 unsigned int verb, unsigned int parm);
344 unsigned int verb, unsigned int parm);
375 u32 verb; member
392 int flags, unsigned int verb, unsigned int parm) in snd_hda_codec_write_cache() argument
394 return snd_hdac_regmap_write(&codec->core, nid, verb, parm); in snd_hda_codec_write_cache()
397 #define snd_hda_codec_update_cache(codec, nid, flags, verb, parm) \ argument
398 snd_hda_codec_write_cache(codec, nid, flags, verb, parm)
Dhda_sysfs.c226 v->nid, v->verb, v->param); in init_verbs_show()
235 int nid, verb, param; in parse_init_verbs() local
237 if (sscanf(buf, "%i %i %i", &nid, &verb, &param) != 3) in parse_init_verbs()
239 if (!nid || !verb) in parse_init_verbs()
248 v->verb = verb; in parse_init_verbs()
Dpatch_via.c353 unsigned int verb, parm; in __analog_low_current_mode() local
367 verb = 0xf70; in __analog_low_current_mode()
373 verb = 0xf73; in __analog_low_current_mode()
377 verb = 0xf73; in __analog_low_current_mode()
383 verb = 0xf93; in __analog_low_current_mode()
388 verb = 0xf82; in __analog_low_current_mode()
395 snd_hda_codec_write(codec, codec->core.afg, 0, verb, parm); in __analog_low_current_mode()
Dpatch_hdmi.c3058 int verb; in atihdmi_pin_set_slot_channel() local
3080 verb = ATI_VERB_SET_MULTICHANNEL_01 + hdmi_slot/2 + (hdmi_slot % 2) * 0x00e; in atihdmi_pin_set_slot_channel()
3087 return snd_hda_codec_write(codec, pin_nid, 0, verb, ati_channel_setup); in atihdmi_pin_set_slot_channel()
3095 int verb; in atihdmi_pin_get_slot_channel() local
3109 verb = ATI_VERB_GET_MULTICHANNEL_01 + ati_asp_slot/2 + (ati_asp_slot % 2) * 0x00e; in atihdmi_pin_get_slot_channel()
3111 ati_channel_setup = snd_hda_codec_read(codec, pin_nid, 0, verb, 0); in atihdmi_pin_get_slot_channel()
Dhda_codec.c177 unsigned int verb, unsigned int parm) in snd_hda_codec_read() argument
179 unsigned int cmd = snd_hdac_make_cmd(&codec->core, nid, verb, parm); in snd_hda_codec_read()
200 unsigned int verb, unsigned int parm) in snd_hda_codec_write() argument
202 unsigned int cmd = snd_hdac_make_cmd(&codec->core, nid, verb, parm); in snd_hda_codec_write()
218 snd_hda_codec_write(codec, seq->nid, 0, seq->verb, seq->param); in snd_hda_sequence_write()
Dpatch_sigmatel.c4392 unsigned int verb) in analog_loop_proc_hook() argument
4395 snd_hda_codec_read(codec, codec->core.afg, 0, verb, 0)); in analog_loop_proc_hook()
Dpatch_ca0132.c761 unsigned int verb, unsigned int parm, unsigned int *res) in codec_send_command() argument
764 response = snd_hda_codec_read(codec, nid, 0, verb, parm); in codec_send_command()
/linux-4.1.27/include/sound/
Dhda_regmap.h17 unsigned int verb);
32 #define snd_hdac_regmap_encode_verb(nid, verb) \ argument
33 (((verb) << 8) | 0x80000 | ((unsigned int)(nid) << 20))
74 unsigned int verb, unsigned int val) in snd_hdac_regmap_write() argument
76 unsigned int cmd = snd_hdac_regmap_encode_verb(nid, verb); in snd_hdac_regmap_write()
92 unsigned int verb, unsigned int mask, in snd_hdac_regmap_update() argument
95 unsigned int cmd = snd_hdac_regmap_encode_verb(nid, verb); in snd_hdac_regmap_update()
110 unsigned int verb, unsigned int *val) in snd_hdac_regmap_read() argument
112 unsigned int cmd = snd_hdac_regmap_encode_verb(nid, verb); in snd_hdac_regmap_read()
Dhda_hwdep.h30 #define HDA_VERB(nid,verb,param) ((nid)<<24 | (verb)<<8 | (param)) argument
33 u32 verb; /* HDA_VERB() */ member
Dhdaudio.h106 unsigned int verb, unsigned int parm);
110 unsigned int verb, unsigned int parm, unsigned int *res);
/linux-4.1.27/drivers/tty/hvc/
Dhvsi_lib.c30 q.verb = cpu_to_be16(VSV_SEND_VERSION_NUMBER); in hvsi_start_handshake()
42 ctrl.verb = cpu_to_be16(VSV_CLOSE_PROTOCOL); in hvsi_send_close()
71 switch (be16_to_cpu(pkt->verb)) { in hvsi_got_control()
89 if (be16_to_cpu(pkt->verb) != VSV_SEND_VERSION_NUMBER) in hvsi_got_query()
98 r.verb = cpu_to_be16(VSV_SEND_VERSION_NUMBER); in hvsi_got_query()
112 switch(r->verb) { in hvsi_got_response()
267 q.verb = cpu_to_be16(VSV_SEND_MODEM_CTL_STATUS); in hvsilib_read_mctrl()
305 ctrl.verb = cpu_to_be16(VSV_SET_MODEM_CTL); in hvsilib_write_mctrl()
Dhvsi.c243 switch (header->verb) { in hvsi_recv_control()
299 packet.verb = VSV_SEND_VERSION_NUMBER; in hvsi_version_respond()
551 static int hvsi_query(struct hvsi_struct *hp, uint16_t verb) in hvsi_query() argument
559 packet.verb = verb; in hvsi_query()
602 packet.verb = VSV_SET_MODEM_CTL; in hvsi_set_mctrl()
702 packet.verb = VSV_CLOSE_PROTOCOL; in hvsi_close_protocol()
/linux-4.1.27/arch/powerpc/include/asm/
Dhvsi.h38 __be16 verb; member
46 __be16 verb; member
51 __be16 verb; member
/linux-4.1.27/include/net/sctp/
Dcommand.h201 sctp_verb_t verb; member
228 static inline void sctp_add_cmd_sf(sctp_cmd_seq_t *seq, sctp_verb_t verb, in sctp_add_cmd_sf() argument
235 cmd->verb = verb; in sctp_add_cmd_sf()
/linux-4.1.27/sound/pci/lola/
Dlola_pcm.c383 unsigned int verb; in lola_get_format_verb() local
387 verb = 0x00000000; in lola_get_format_verb()
390 verb = 0x00000200; in lola_get_format_verb()
393 verb = 0x00000300; in lola_get_format_verb()
396 verb = 0x00001300; in lola_get_format_verb()
401 verb |= substream->runtime->channels; in lola_get_format_verb()
402 return verb; in lola_get_format_verb()
410 unsigned int verb, val; in lola_set_stream_config() local
425 verb = (str->index << 6) | i; in lola_set_stream_config()
427 LOLA_VERB_SET_CHANNEL_STREAMID, 0, verb, in lola_set_stream_config()
Dlola.c88 unsigned int verb, unsigned int data, in corb_send_verb() argument
95 chip->last_verb = verb; in corb_send_verb()
98 data |= (nid << 20) | (verb << 8); in corb_send_verb()
195 int lola_codec_write(struct lola *chip, unsigned int nid, unsigned int verb, in lola_codec_write() argument
199 nid, verb, data, extdata); in lola_codec_write()
200 return corb_send_verb(chip, nid, verb, data, extdata); in lola_codec_write()
204 int lola_codec_read(struct lola *chip, unsigned int nid, unsigned int verb, in lola_codec_read() argument
211 nid, verb, data, extdata); in lola_codec_read()
212 err = corb_send_verb(chip, nid, verb, data, extdata); in lola_codec_read()
Dlola_proc.c152 unsigned int id, verb, data, extdata; in lola_proc_codec_rw_write() local
154 if (sscanf(line, "%u %u %u %u", &id, &verb, &data, &extdata) != 4) in lola_proc_codec_rw_write()
156 lola_codec_read(chip, id, verb, data, extdata, in lola_proc_codec_rw_write()
Dlola.h485 int lola_codec_write(struct lola *chip, unsigned int nid, unsigned int verb,
487 int lola_codec_read(struct lola *chip, unsigned int nid, unsigned int verb,
/linux-4.1.27/Documentation/sound/alsa/
DHD-Audio.txt240 external amplifier. This can be set usually via EAPD verb or a
242 chance via SET_EAPD_BTL verb (0x70c). On others, GPIO pin (mostly
248 - Very rare but some devices don't accept the pin-detection verb until
249 triggered. Issuing GET_PIN_SENSE verb (0xf09) may result in the
321 hda-verb and hda-analyzer, the hwdep device has to be enabled.
380 The extra verbs to execute at initialization. You can add a verb by
381 writing to this file. Pass three numbers: nid, verb and parameter
436 explicit call of AC_VERB_SET_PIN_SENSE verb
500 [verb]
525 Similarly, the lines after `[verb]` are parsed as `init_verbs`
[all …]
Dhda_codec.txt49 unsigned int verb, unsigned int parm);
/linux-4.1.27/drivers/scsi/sym53c8xx_2/
Dsym_glue.c68 module_param_named(verb, sym_driver_setup.verbose, byte, 0);
82 MODULE_PARM_DESC(verb, "0 for minimal verbosity, 1 for normal, 2 for excessive");
1008 static int is_keyword(char *ptr, int len, char *verb) in is_keyword() argument
1010 int verb_len = strlen(verb); in is_keyword()
1012 if (len >= verb_len && !memcmp(verb, ptr, verb_len)) in is_keyword()
/linux-4.1.27/Documentation/scsi/
Dncr53c8xx.txt303 1st method: boot your system using 'ncr53c8xx=verb:0' option.
438 echo "<verb> <parameters>" >/proc/scsi/ncr53c8xx/0
728 verb:0 minimal
729 verb:1 normal
730 verb:2 too much
867 verbosity level 2 verb:2
885 ncr53c8xx=mpar:y,spar:y,disc:y,specf:3,fsn:n,ultra:2,fsn:n,revprob:n,verb:1\
898 ncr53c8xx=mpar:y,spar:y,disc:y,specf:1,fsn:n,ultra:2,fsn:n,revprob:n,verb:1\
902 "ncr53c8xx=verb:2" to get the "static" setup of the driver, or add "verb:2"
Dsym53c8xx_2.txt274 1st method: boot your system using 'sym53c8xx=verb:0' option.
299 echo "<verb> <parameters>" >/proc/scsi/sym53c8xx/0
495 verb=0 minimal
496 verb=1 normal
497 verb=2 too much
/linux-4.1.27/drivers/block/
Dcciss_scsi.c1283 is_keyword(char *ptr, int len, char *verb) // Thanks to ncr53c8xx.c in is_keyword() argument
1285 int verb_len = strlen(verb); in is_keyword()
1286 if (len >= verb_len && !memcmp(verb,ptr,verb_len)) in is_keyword()
/linux-4.1.27/net/sctp/
Dsm_sideeffect.c1253 switch (cmd->verb) { in sctp_cmd_interpreter()
1732 cmd->verb); in sctp_cmd_interpreter()
/linux-4.1.27/drivers/block/drbd/
Ddrbd_receiver.c2520 int size, verb; in receive_DataRequest() local
2545 verb = 1; in receive_DataRequest()
2556 verb = 0; in receive_DataRequest()
2563 if (verb && __ratelimit(&drbd_ratelimit_state)) in receive_DataRequest()