Searched refs:echo (Results 1 - 25 of 65) sorted by relevance

123

/linux-master/drivers/net/can/
H A Dvcan.c64 * Enable the echo on driver level for testing the CAN core echo modes.
68 static bool echo; /* echo testing. Default: 0 (Off) */ variable
69 module_param(echo, bool, 0444);
70 MODULE_PARM_DESC(echo, "Echo sent frames (for testing). Default: 0 (Off)");
104 if (!echo) {
105 /* no echo handling available inside this driver */
108 * CAN core already did the echo for us
117 /* perform standard echo handlin
[all...]
/linux-master/include/linux/mfd/
H A Ddln2.h16 * @echo - the echo header field received in the message
25 typedef void (*dln2_event_cb_t)(struct platform_device *pdev, u16 echo,
/linux-master/drivers/media/rc/
H A Dir-sharp-decoder.c43 u32 msg, echo, address, command, scancode; local
144 echo = data->bits & 0x7fff;
145 if ((msg ^ echo) != 0x3ff) {
148 msg, echo);
/linux-master/drivers/pps/
H A Dsysfs.c60 return sprintf(buf, "%d\n", !!pps->info.echo);
62 static DEVICE_ATTR_RO(echo);
H A Dkapi.c44 dev_info(pps->dev, "echo %s %s\n",
99 /* check for default echo function */
101 pps->info.echo == NULL)
102 pps->info.echo = pps_echo_client_default;
155 * If an echo function is associated with the PPS device it will be called
157 * pps->info.echo(pps, event, data);
176 /* Must call the echo function? */
178 pps->info.echo(pps, event, data);
/linux-master/drivers/net/ethernet/qlogic/qed/
H A Dqed_spq.c142 "Ramrod is stuck [CID %08x %s:%02x %s:%02x echo %04x]\n",
149 le16_to_cpu(p_ent->elem.hdr.echo));
238 u16 echo = qed_chain_get_prod_idx(p_chain); local
241 p_ent->elem.hdr.echo = cpu_to_le16(echo);
293 return cb(p_hwfn, p_eqe->opcode, p_eqe->echo,
366 "op %x prot %x res0 %x echo %x fwret %x flags %x\n",
370 le16_to_cpu(p_eqe->echo),
378 p_eqe->echo,
461 * used to complete the ramrod using the echo valu
815 qed_spq_comp_bmap_update(struct qed_hwfn *p_hwfn, __le16 echo) argument
932 qed_spq_completion(struct qed_hwfn *p_hwfn, __le16 echo, u8 fw_return_code, union event_ring_data *p_data) argument
[all...]
H A Dqed_sp.h158 __le16 echo, union event_ring_data *data,
322 * @echo: echo value from cookie (used for determining completion).
329 __le16 echo,
H A Dqed_sriov.h333 * @echo: Echo.
339 int qed_sriov_eqe_event(struct qed_hwfn *p_hwfn, u8 opcode, __le16 echo,
489 __le16 echo, union event_ring_data *data,
488 qed_sriov_eqe_event(struct qed_hwfn *p_hwfn, u8 opcode, __le16 echo, union event_ring_data *data, u8 fw_return_code) argument
/linux-master/include/linux/
H A Drtnetlink.h12 extern int rtnetlink_send(struct sk_buff *skb, struct net *net, u32 pid, u32 group, int echo);
15 u32 pid, u32 group, int echo)
17 return !skb ? 0 : rtnetlink_send(skb, net, pid, group, echo);
14 rtnetlink_maybe_send(struct sk_buff *skb, struct net *net, u32 pid, u32 group, int echo) argument
H A Dpps_kernel.h28 void (*echo)(struct pps_device *pps, member in struct:pps_source_info
29 int event, void *data); /* PPS echo function */
/linux-master/tools/testing/selftests/bpf/progs/
H A Dxdping_kern.c116 if (!pinginfo || pinginfo->seq != icmph->un.echo.sequence)
137 /* Now convert reply back into echo request. */
142 seq = bpf_htons(bpf_ntohs(icmph->un.echo.sequence) + 1);
143 icmph->un.echo.sequence = seq;
172 /* Now convert request into echo reply. */
/linux-master/net/mptcp/
H A Dpm.c18 bool echo)
22 pr_debug("msk=%p, local_id=%d, echo=%d", msk, addr->id, echo);
27 (echo ? BIT(MPTCP_ADD_ADDR_ECHO) : BIT(MPTCP_ADD_ADDR_SIGNAL))) {
29 echo ? MPTCP_MIB_ECHOADDTXDROP : MPTCP_MIB_ADDADDRTXDROP);
33 if (echo) {
333 struct mptcp_addr_info *addr, bool *echo,
356 *echo = mptcp_pm_should_add_signal_echo(msk);
357 port = !!(*echo ? msk->pm.remote.port : msk->pm.local.port);
359 family = *echo
16 mptcp_pm_announce_addr(struct mptcp_sock *msk, const struct mptcp_addr_info *addr, bool echo) argument
331 mptcp_pm_add_addr_signal(struct mptcp_sock *msk, const struct sk_buff *skb, unsigned int opt_size, unsigned int remaining, struct mptcp_addr_info *addr, bool *echo, bool *drop_other_suboptions) argument
[all...]
H A Doptions.c243 mp_opt->echo = (*ptr++) & MPTCP_ADDR_ECHO;
244 if (!mp_opt->echo) {
292 if (!mp_opt->echo) {
296 pr_debug("ADD_ADDR%s: id=%d, ahmac=%llu, echo=%d, port=%d",
298 mp_opt->addr.id, mp_opt->ahmac, mp_opt->echo, ntohs(mp_opt->addr.port));
658 bool echo; local
667 &echo, &drop_other_suboptions))
672 len = mptcp_add_addr_len(opts->addr.family, echo, !!opts->addr.port);
683 * to avoid appending the hmac even for ADD_ADDR echo
690 if (!echo) {
1514 u8 echo = MPTCP_ADDR_ECHO; local
[all...]
/linux-master/sound/core/seq/oss/
H A Dseq_oss_event.h87 unsigned int echo; member in union:evrec
H A Dseq_oss_readq.c223 rec.echo = (curt << 8) | SEQ_WAIT;
H A Dseq_oss_timer.c99 parm = (ev->echo >> 8) & 0xffffff;
/linux-master/tools/scripts/
H A Dutilities.mak106 # | echo $(call shell-wordify,$(text))
128 "$$(echo $(call escape-nl,$(shell-sq),$(2)) | $(call shell-unescape-nl,$(2)))"
135 is-absolute = $(shell echo $(shell-sq) | grep -q ^/ && echo y)
156 _is-executable-sh = $(call shell-sq,test -f $(1) -a -x $(1) && echo y)
189 version-ge3 = $(shell echo "$(1).$(2)" | awk -F'.' '{ printf("%d\n", (10000000 * $$1 + 10000 * $$2 + $$3) >= (10000000 * $$4 + 10000 * $$5 + $$6)) }')
199 version-lt3 = $(shell echo "$(1).$(2)" | awk -F'.' '{ printf("%d\n", (10000000 * $$1 + 10000 * $$2 + $$3) < (10000000 * $$4 + 10000 * $$5 + $$6)) }')
/linux-master/drivers/mfd/
H A Ddln2.c26 __le16 echo; member in struct:dln2_header
76 * the echo header field to index the slots field and find the receive context
217 static void dln2_run_event_callbacks(struct dln2_dev *dln2, u16 id, u16 echo, argument
226 i->callback(i->pdev, echo, data, len);
239 u16 id, echo, handle, size; local
267 echo = le16_to_cpu(hdr->echo);
271 dev_err(dev, "size mismatch: handle %x cmd %x echo %x size %d actual %d\n",
272 handle, id, echo, size, urb->actual_length);
288 dln2_run_event_callbacks(dln2, id, echo, dat
302 dln2_prep_buf(u16 handle, u16 cmd, u16 echo, const void *obuf, int *obuf_len, gfp_t gfp) argument
327 dln2_send_wait(struct dln2_dev *dln2, u16 handle, u16 cmd, u16 echo, const void *obuf, int obuf_len) argument
[all...]
/linux-master/include/uapi/linux/
H A Dicmp.h97 } echo; member in union:icmphdr::__anon2429
/linux-master/drivers/isdn/mISDN/
H A Ddsp_cmx.c36 * other but will not receive their own speech (echo) if not enabled.
157 odsp->name, odsp->echo.hardware, odsp->echo.software,
402 /* process hw echo */
405 if (!dsp->echo.software && !dsp->echo.hardware) {
411 " dsp is split (no echo)\n",
423 /* echo is enabled, find out if we use soft or hardware */
424 dsp->echo.software = dsp->tx_data;
425 dsp->echo
[all...]
H A Ddsp.h158 * echo stuff *
162 int software; /* echo is generated by software */
163 int hardware; /* echo is generated by hardware */
176 struct dsp_echo echo; member in struct:dsp
/linux-master/include/linux/netfilter/
H A Dnfnetlink.h56 unsigned int group, int echo, gfp_t flags);
/linux-master/drivers/net/wireless/ath/carl9170/
H A Dfwcmd.h233 struct carl9170_u32_list echo; member in union:carl9170_cmd::__anon1607
321 struct carl9170_u32_list echo; member in union:carl9170_rsp::__anon1609
/linux-master/drivers/net/
H A Dgtp.c261 * Returns true if the echo req was correct, false otherwise.
335 netdev_dbg(gtp->dev, "no route for echo response from %pI4\n",
353 int flags, u32 type, struct echo_info echo)
362 if (nla_put_u32(skb, GTPA_VERSION, echo.gtp_version) ||
363 nla_put_be32(skb, GTPA_PEER_ADDRESS, echo.peer_addr_ip4.s_addr) ||
364 nla_put_be32(skb, GTPA_MS_ADDRESS, echo.ms_addr_ip4.s_addr))
378 struct echo_info echo; local
389 echo.ms_addr_ip4.s_addr = iph->daddr;
390 echo.peer_addr_ip4.s_addr = iph->saddr;
391 echo
352 gtp_genl_fill_echo(struct sk_buff *skb, u32 snd_portid, u32 snd_seq, int flags, u32 type, struct echo_info echo) argument
537 struct echo_info echo; local
[all...]
/linux-master/net/ipv4/
H A Dping.c521 skb->protocol, type, code, ntohs(icmph->un.echo.id),
522 ntohs(icmph->un.echo.sequence));
524 sk = ping_lookup(net, skb, ntohs(icmph->un.echo.id));
816 pfh.icmph.un.echo.id = inet->inet_sport;
817 pfh.icmph.un.echo.sequence = user_icmph.un.echo.sequence;
977 skb, ntohs(icmph->un.echo.id), ntohs(icmph->un.echo.sequence));
982 sk = ping_lookup(net, skb, ntohs(icmph->un.echo.id));

Completed in 221 milliseconds

123