Home
last modified time | relevance | path

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

12

/linux/sound/hda/
H A Dhdac_regmap.c41 unsigned int verb = get_verb(reg); in hda_volatile_reg() local
43 switch (verb) { in hda_volatile_reg()
68 unsigned int verb = get_verb(reg); in hda_writeable_reg() local
73 if (verb == *v) in hda_writeable_reg()
80 switch (verb & 0xf00) { in hda_writeable_reg()
92 switch (verb) { in hda_writeable_reg()
117 unsigned int verb = get_verb(reg); in hda_readable_reg() local
122 switch (verb) { in hda_readable_reg()
178 unsigned int verb, left, right; in hda_reg_write_stereo_amp() local
180 verb = AC_VERB_SET_AMP_GAIN_MUTE << 8; in hda_reg_write_stereo_amp()
[all …]
H A Dhdac_device.c226 unsigned int verb, unsigned int parm) in snd_hdac_make_cmd() argument
232 (verb & ~0xfff) || (parm & ~0xffff)) { in snd_hdac_make_cmd()
234 addr, nid, verb, parm); in snd_hdac_make_cmd()
240 val |= verb << 8; in snd_hdac_make_cmd()
277 unsigned int verb, unsigned int parm, unsigned int *res) in snd_hdac_read() argument
279 unsigned int cmd = snd_hdac_make_cmd(codec, nid, verb, parm); in snd_hdac_read()
335 unsigned int verb = (AC_VERB_PARAMETERS << 8) | (nid << 20) | parm; in snd_hdac_override_parm() local
342 err = snd_hdac_regmap_write_raw(codec, verb, val); in snd_hdac_override_parm()
1059 int flags, unsigned int verb, unsigned int parm) in codec_read() argument
1061 unsigned int cmd = snd_hdac_make_cmd(hdac, nid, verb, parm); in codec_read()
[all …]
/linux/sound/pci/hda/
H A 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 …]
H A Dhda_sysfs.c224 v->nid, v->verb, v->param); in init_verbs_show()
233 int nid, verb, param; in parse_init_verbs() local
235 if (sscanf(buf, "%i %i %i", &nid, &verb, &param) != 3) in parse_init_verbs()
237 if (!nid || !verb) in parse_init_verbs()
246 v->verb = verb; in parse_init_verbs()
H A 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()
/linux/drivers/soc/fsl/dpio/
H A Dqbman-portal.c480 u32 *ret, verb; in qbman_swp_mc_result() local
487 verb = ret[0] & ~QB_VALID_BIT; in qbman_swp_mc_result()
488 if (!verb) in qbman_swp_mc_result()
497 verb = ret[0] & ~QB_VALID_BIT; in qbman_swp_mc_result()
498 if (!verb) in qbman_swp_mc_result()
535 d->verb &= ~(1 << QB_ENQUEUE_CMD_ORP_ENABLE_SHIFT); in qbman_eq_desc_set_no_orp()
537 d->verb |= enqueue_response_always; in qbman_eq_desc_set_no_orp()
539 d->verb |= enqueue_rejects_to_fq; in qbman_eq_desc_set_no_orp()
556 d->verb &= ~(1 << QB_ENQUEUE_CMD_TARGET_TYPE_SHIFT); in qbman_eq_desc_set_fq()
570 d->verb |= 1 << QB_ENQUEUE_CMD_TARGET_TYPE_SHIFT; in qbman_eq_desc_set_qd()
[all …]
H A Dqbman-portal.h40 u8 verb; member
80 u8 verb; member
102 u8 verb; member
310 return ((dq->dq.verb & QBMAN_RESULT_MASK) == QBMAN_RESULT_DQ); in qbman_result_is_DQ()
326 return ((dq->dq.verb & QBMAN_RESULT_MASK) == QBMAN_RESULT_FQDAN); in qbman_result_is_FQDAN()
332 return ((dq->dq.verb & QBMAN_RESULT_MASK) == QBMAN_RESULT_CDAN); in qbman_result_is_CDAN()
338 return ((dq->dq.verb & QBMAN_RESULT_MASK) == QBMAN_RESULT_CSCN_WQ); in qbman_result_is_CSCN()
344 return ((dq->dq.verb & QBMAN_RESULT_MASK) == QBMAN_RESULT_BPSCN); in qbman_result_is_BPSCN()
350 return ((dq->dq.verb & QBMAN_RESULT_MASK) == QBMAN_RESULT_CGCU); in qbman_result_is_CGCU()
356 return ((dq->dq.verb & QBMAN_RESULT_MASK) == QBMAN_RESULT_FQRN); in qbman_result_is_FQRN()
[all …]
/linux/include/sound/
H A Dhda_regmap.h18 unsigned int verb);
38 #define snd_hdac_regmap_encode_verb(nid, verb) \ argument
39 (((verb) << 8) | 0x80000 | ((unsigned int)(nid) << 20))
80 unsigned int verb, unsigned int val) in snd_hdac_regmap_write() argument
82 unsigned int cmd = snd_hdac_regmap_encode_verb(nid, verb); in snd_hdac_regmap_write()
98 unsigned int verb, unsigned int mask, in snd_hdac_regmap_update() argument
101 unsigned int cmd = snd_hdac_regmap_encode_verb(nid, verb); in snd_hdac_regmap_update()
116 unsigned int verb, unsigned int *val) in snd_hdac_regmap_read() argument
118 unsigned int cmd = snd_hdac_regmap_encode_verb(nid, verb); in snd_hdac_regmap_read()
H A Dhda_hwdep.h17 #define HDA_VERB(nid,verb,param) ((nid)<<24 | (verb)<<8 | (param)) argument
20 u32 verb; /* HDA_VERB() */ member
H A Dhda_codec.h324 unsigned int verb, unsigned int parm) in snd_hda_codec_read() argument
326 return snd_hdac_codec_read(&codec->core, nid, flags, verb, parm); in snd_hda_codec_read()
331 unsigned int verb, unsigned int parm) in snd_hda_codec_write() argument
333 return snd_hdac_codec_write(&codec->core, nid, flags, verb, parm); in snd_hda_codec_write()
367 u32 verb; member
377 int flags, unsigned int verb, unsigned int parm) in snd_hda_codec_write_cache() argument
379 return snd_hdac_regmap_write(&codec->core, nid, verb, parm); in snd_hda_codec_write_cache()
/linux/tools/testing/selftests/cgroup/
H A Dwith_stress.sh17 local verb=+
19 echo $verb$subsys_ctrl >$sysfs/cgroup.subtree_control
20 [ $verb = "+" ] && verb=- || verb=+
/linux/sound/soc/codecs/
H A Drt715-sdw.c375 int hda_to_sdw(unsigned int nid, unsigned int verb, unsigned int payload, in hda_to_sdw() argument
381 if (((verb & 0xff) != 0) || verb == 0xf00) { /* 12 bits command */ in hda_to_sdw()
382 if (verb == 0x7ff) /* special case */ in hda_to_sdw()
387 if (verb & 0x800) /* get command */ in hda_to_sdw()
388 e_verb = (verb - 0xf00) | 0x80; in hda_to_sdw()
390 e_verb = (verb - 0x700); in hda_to_sdw()
395 if ((verb & 0x800) == 0x800) { /* read */ in hda_to_sdw()
402 e_verb = verb >> 8; in hda_to_sdw()
/linux/drivers/tty/hvc/
H A Dhvsi_lib.c31 q.verb = cpu_to_be16(VSV_SEND_VERSION_NUMBER); in hvsi_start_handshake()
43 ctrl.verb = cpu_to_be16(VSV_CLOSE_PROTOCOL); in hvsi_send_close()
72 switch (be16_to_cpu(pkt->verb)) { in hvsi_got_control()
90 if (be16_to_cpu(pkt->verb) != VSV_SEND_VERSION_NUMBER) in hvsi_got_query()
99 r.verb = cpu_to_be16(VSV_SEND_VERSION_NUMBER); in hvsi_got_query()
113 switch(r->verb) { in hvsi_got_response()
270 q.verb = cpu_to_be16(VSV_SEND_MODEM_CTL_STATUS); in hvsilib_read_mctrl()
308 ctrl.verb = cpu_to_be16(VSV_SET_MODEM_CTL); in hvsilib_write_mctrl()
H A Dhvsi.c230 switch (be16_to_cpu(header->verb)) { in hvsi_recv_control()
288 packet.verb = cpu_to_be16(VSV_SEND_VERSION_NUMBER); in hvsi_version_respond()
540 static int hvsi_query(struct hvsi_struct *hp, uint16_t verb) in hvsi_query() argument
548 packet.verb = cpu_to_be16(verb); in hvsi_query()
591 packet.verb = cpu_to_be16(VSV_SET_MODEM_CTL); in hvsi_set_mctrl()
691 packet.verb = cpu_to_be16(VSV_CLOSE_PROTOCOL); in hvsi_close_protocol()
/linux/drivers/soc/fsl/qbman/
H A Dqman.c275 u8 verb; member
284 u8 verb; member
314 u8 verb; member
685 if ((res->verb & QM_DQRR_VERB_VBIT) == dqrr->vbit) { in qm_dqrr_pvb_update()
819 if ((res->verb & QM_MR_VERB_VBIT) == mr->vbit) { in qm_mr_pvb_update()
868 rr0 = mc->rr->verb; in qm_mc_init()
869 rr1 = (mc->rr+1)->verb; in qm_mc_init()
930 if (!rr->verb) { in qm_mc_result()
1213 if ((msg->verb & QM_MR_VERB_TYPE_MASK) != QM_MR_VERB_FQRNI) { in drain_mr_fqrni()
1215 pr_err("Found verb 0x%x in MR\n", msg->verb); in drain_mr_fqrni()
[all …]
H A Dqman_test_api.c237 u8 verb = (msg->verb & QM_MR_VERB_TYPE_MASK); in cb_fqs() local
239 if ((verb != QM_MR_VERB_FQRN) && (verb != QM_MR_VERB_FQRNI)) { in cb_fqs()
H A Dqman_priv.h42 u8 verb; member
60 u8 verb; member
69 u8 verb; member
/linux/include/net/sctp/
H A Dcommand.h186 enum sctp_verb verb; member
214 enum sctp_verb verb, union sctp_arg obj) in sctp_add_cmd_sf() argument
220 cmd->verb = verb; in sctp_add_cmd_sf()
/linux/include/soc/fsl/
H A Ddpaa2-global.h17 u8 verb; member
21 u8 verb; member
35 u8 verb; member
H A Dqman.h250 u8 verb; member
279 u8 verb; member
283 u8 verb; member
294 u8 verb; member
820 u8 verb; member
/linux/arch/powerpc/include/asm/
H A Dhvsi.h39 __be16 verb; member
47 __be16 verb; member
52 __be16 verb; member
/linux/sound/pci/lola/
H A 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()
H A Dlola.c74 unsigned int verb, unsigned int data, in corb_send_verb() argument
81 chip->last_verb = verb; in corb_send_verb()
84 data |= (nid << 20) | (verb << 8); in corb_send_verb()
181 int lola_codec_write(struct lola *chip, unsigned int nid, unsigned int verb, in lola_codec_write() argument
185 nid, verb, data, extdata); in lola_codec_write()
186 return corb_send_verb(chip, nid, verb, data, extdata); in lola_codec_write()
190 int lola_codec_read(struct lola *chip, unsigned int nid, unsigned int verb, in lola_codec_read() argument
197 nid, verb, data, extdata); in lola_codec_read()
198 err = corb_send_verb(chip, nid, verb, data, extdata); in lola_codec_read()
H A 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()
/linux/Documentation/sound/hd-audio/
H A Dnotes.rst261 external amplifier. This can be set usually via EAPD verb or a
263 chance via SET_EAPD_BTL verb (0x70c). On others, GPIO pin (mostly
269 * Very rare but some devices don't accept the pin-detection verb until
270 triggered. Issuing GET_PIN_SENSE verb (0xf09) may result in the
336 hda-verb and hda-analyzer, the hwdep device has to be enabled.
395 The extra verbs to execute at initialization. You can add a verb by
396 writing to this file. Pass three numbers: nid, verb and parameter
453 AC_VERB_SET_PIN_SENSE verb
534 [verb]
559 Similarly, the lines after ``[verb]`` are parsed as ``init_verbs``
[all …]

12