/kernel/linux/linux-5.10/drivers/net/can/ |
H A D | vcan.c | 63 * Enable the echo on driver level for testing the CAN core echo modes. 67 static bool echo; /* echo testing. Default: 0 (Off) */ variable 68 module_param(echo, bool, 0444); 69 MODULE_PARM_DESC(echo, "Echo sent frames (for testing). Default: 0 (Off)"); 101 if (!echo) { in vcan_tx() 102 /* no echo handling available inside this driver */ in vcan_tx() 105 * CAN core already did the echo for us in vcan_tx() 114 /* perform standard echo handlin in vcan_tx() [all...] |
/kernel/linux/linux-6.6/drivers/net/can/ |
H A D | vcan.c | 64 * 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) { in vcan_tx() 105 /* no echo handling available inside this driver */ in vcan_tx() 108 * CAN core already did the echo for us in vcan_tx() 117 /* perform standard echo handlin in vcan_tx() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_spq.c | 141 "Ramrod is stuck [CID %08x cmd %02x protocol %02x echo %04x]\n", in qed_spq_block() 145 le16_to_cpu(p_ent->elem.hdr.echo)); in qed_spq_block() 234 u16 echo = qed_chain_get_prod_idx(p_chain); in qed_spq_hw_post() local 237 p_ent->elem.hdr.echo = cpu_to_le16(echo); in qed_spq_hw_post() 281 return cb(p_hwfn, p_eqe->opcode, p_eqe->echo, in qed_async_event_completion() 352 "op %x prot %x res0 %x echo %x fwret %x flags %x\n", in qed_eq_completion() 356 le16_to_cpu(p_eqe->echo), in qed_eq_completion() 364 p_eqe->echo, in qed_eq_completion() 447 * used to complete the ramrod using the echo valu in qed_cqe_completion() 802 qed_spq_comp_bmap_update(struct qed_hwfn *p_hwfn, __le16 echo) qed_spq_comp_bmap_update() argument 915 qed_spq_completion(struct qed_hwfn *p_hwfn, __le16 echo, u8 fw_return_code, union event_ring_data *p_data) qed_spq_completion() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_spq.c | 142 "Ramrod is stuck [CID %08x %s:%02x %s:%02x echo %04x]\n", in qed_spq_block() 149 le16_to_cpu(p_ent->elem.hdr.echo)); in qed_spq_block() 238 u16 echo = qed_chain_get_prod_idx(p_chain); in qed_spq_hw_post() local 241 p_ent->elem.hdr.echo = cpu_to_le16(echo); in qed_spq_hw_post() 293 return cb(p_hwfn, p_eqe->opcode, p_eqe->echo, in qed_async_event_completion() 366 "op %x prot %x res0 %x echo %x fwret %x flags %x\n", in qed_eq_completion() 370 le16_to_cpu(p_eqe->echo), in qed_eq_completion() 378 p_eqe->echo, in qed_eq_completion() 461 * used to complete the ramrod using the echo valu in qed_cqe_completion() 815 qed_spq_comp_bmap_update(struct qed_hwfn *p_hwfn, __le16 echo) qed_spq_comp_bmap_update() argument 932 qed_spq_completion(struct qed_hwfn *p_hwfn, __le16 echo, u8 fw_return_code, union event_ring_data *p_data) qed_spq_completion() argument [all...] |
/kernel/linux/linux-6.6/net/mptcp/ |
H A D | pm.c | 19 bool echo) in mptcp_pm_announce_addr() 23 pr_debug("msk=%p, local_id=%d, echo=%d", msk, addr->id, echo); in mptcp_pm_announce_addr() 28 (echo ? BIT(MPTCP_ADD_ADDR_ECHO) : BIT(MPTCP_ADD_ADDR_SIGNAL))) { in mptcp_pm_announce_addr() 30 echo ? MPTCP_MIB_ECHOADDTXDROP : MPTCP_MIB_ADDADDRTXDROP); in mptcp_pm_announce_addr() 34 if (echo) { in mptcp_pm_announce_addr() 334 struct mptcp_addr_info *addr, bool *echo, in mptcp_pm_add_addr_signal() 357 *echo = mptcp_pm_should_add_signal_echo(msk); in mptcp_pm_add_addr_signal() 358 port = !!(*echo ? msk->pm.remote.port : msk->pm.local.port); in mptcp_pm_add_addr_signal() 360 family = *echo in mptcp_pm_add_addr_signal() 17 mptcp_pm_announce_addr(struct mptcp_sock *msk, const struct mptcp_addr_info *addr, bool echo) mptcp_pm_announce_addr() argument 332 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) mptcp_pm_add_addr_signal() argument [all...] |
H A D | options.c | 243 mp_opt->echo = (*ptr++) & MPTCP_ADDR_ECHO; in mptcp_parse_option() 244 if (!mp_opt->echo) { in mptcp_parse_option() 292 if (!mp_opt->echo) { in mptcp_parse_option() 296 pr_debug("ADD_ADDR%s: id=%d, ahmac=%llu, echo=%d, port=%d", in mptcp_parse_option() 298 mp_opt->addr.id, mp_opt->ahmac, mp_opt->echo, ntohs(mp_opt->addr.port)); in mptcp_parse_option() 658 bool echo; in mptcp_established_options_add_addr() local 667 &echo, &drop_other_suboptions)) in mptcp_established_options_add_addr() 672 len = mptcp_add_addr_len(opts->addr.family, echo, !!opts->addr.port); in mptcp_established_options_add_addr() 683 * to avoid appending the hmac even for ADD_ADDR echo in mptcp_established_options_add_addr() 690 if (!echo) { in mptcp_established_options_add_addr() 1514 u8 echo = MPTCP_ADDR_ECHO; mptcp_write_options() local [all...] |
/kernel/linux/linux-5.10/net/mptcp/ |
H A D | pm.c | 17 bool echo) in mptcp_pm_announce_addr() 22 WRITE_ONCE(msk->pm.add_addr_echo, echo); in mptcp_pm_announce_addr() 176 struct mptcp_addr_info *saddr, bool *echo) in mptcp_pm_add_addr_signal() 186 *echo = READ_ONCE(msk->pm.add_addr_echo); in mptcp_pm_add_addr_signal() 188 if (remaining < mptcp_add_addr_len(msk->pm.local.family, *echo)) in mptcp_pm_add_addr_signal() 15 mptcp_pm_announce_addr(struct mptcp_sock *msk, const struct mptcp_addr_info *addr, bool echo) mptcp_pm_announce_addr() argument 175 mptcp_pm_add_addr_signal(struct mptcp_sock *msk, unsigned int remaining, struct mptcp_addr_info *saddr, bool *echo) mptcp_pm_add_addr_signal() argument
|
H A D | options.c | 218 mp_opt->echo = (*ptr++) & MPTCP_ADDR_ECHO; in mptcp_parse_option() 219 if (!mp_opt->echo) { in mptcp_parse_option() 245 pr_debug("ADD_ADDR: id=%d, echo=%d", mp_opt->addr_id, mp_opt->echo); in mptcp_parse_option() 266 if (!mp_opt->echo) { in mptcp_parse_option() 587 bool echo; in mptcp_established_options_add_addr() local 591 !(mptcp_pm_add_addr_signal(msk, remaining, &saddr, &echo))) in mptcp_established_options_add_addr() 594 len = mptcp_add_addr_len(saddr.family, echo); in mptcp_established_options_add_addr() 603 if (!echo) { in mptcp_established_options_add_addr() 614 if (!echo) { in mptcp_established_options_add_addr() [all...] |
H A D | protocol.h | 108 echo : 1, member 455 bool echo); 469 static inline unsigned int mptcp_add_addr_len(int family, bool echo) in mptcp_add_addr_len() argument 472 return echo ? TCPOLEN_MPTCP_ADD_ADDR_BASE in mptcp_add_addr_len() 474 return echo ? TCPOLEN_MPTCP_ADD_ADDR6_BASE : TCPOLEN_MPTCP_ADD_ADDR6; in mptcp_add_addr_len() 478 struct mptcp_addr_info *saddr, bool *echo);
|
/kernel/linux/linux-5.10/drivers/media/rc/ |
H A D | ir-sharp-decoder.c | 43 u32 msg, echo, address, command, scancode; in ir_sharp_decode() local 144 echo = data->bits & 0x7fff; in ir_sharp_decode() 145 if ((msg ^ echo) != 0x3ff) { in ir_sharp_decode() 148 msg, echo); in ir_sharp_decode()
|
/kernel/linux/linux-6.6/drivers/media/rc/ |
H A D | ir-sharp-decoder.c | 43 u32 msg, echo, address, command, scancode; in ir_sharp_decode() local 144 echo = data->bits & 0x7fff; in ir_sharp_decode() 145 if ((msg ^ echo) != 0x3ff) { in ir_sharp_decode() 148 msg, echo); in ir_sharp_decode()
|
/kernel/linux/linux-5.10/drivers/mfd/ |
H A D | dln2.c | 27 __le16 echo; member 77 * the echo header field to index the slots field and find the receive context 223 static void dln2_run_event_callbacks(struct dln2_dev *dln2, u16 id, u16 echo, in dln2_run_event_callbacks() argument 232 i->callback(i->pdev, echo, data, len); in dln2_run_event_callbacks() 245 u16 id, echo, handle, size; in dln2_rx() local 273 echo = le16_to_cpu(hdr->echo); in dln2_rx() 277 dev_err(dev, "size mismatch: handle %x cmd %x echo %x size %d actual %d\n", in dln2_rx() 278 handle, id, echo, size, urb->actual_length); in dln2_rx() 294 dln2_run_event_callbacks(dln2, id, echo, dat in dln2_rx() 308 dln2_prep_buf(u16 handle, u16 cmd, u16 echo, const void *obuf, int *obuf_len, gfp_t gfp) dln2_prep_buf() argument 333 dln2_send_wait(struct dln2_dev *dln2, u16 handle, u16 cmd, u16 echo, const void *obuf, int obuf_len) dln2_send_wait() argument [all...] |
/kernel/linux/linux-6.6/drivers/mfd/ |
H A D | dln2.c | 26 __le16 echo; member 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, in dln2_run_event_callbacks() argument 226 i->callback(i->pdev, echo, data, len); in dln2_run_event_callbacks() 239 u16 id, echo, handle, size; in dln2_rx() local 267 echo = le16_to_cpu(hdr->echo); in dln2_rx() 271 dev_err(dev, "size mismatch: handle %x cmd %x echo %x size %d actual %d\n", in dln2_rx() 272 handle, id, echo, size, urb->actual_length); in dln2_rx() 288 dln2_run_event_callbacks(dln2, id, echo, dat in dln2_rx() 302 dln2_prep_buf(u16 handle, u16 cmd, u16 echo, const void *obuf, int *obuf_len, gfp_t gfp) dln2_prep_buf() argument 327 dln2_send_wait(struct dln2_dev *dln2, u16 handle, u16 cmd, u16 echo, const void *obuf, int obuf_len) dln2_send_wait() argument [all...] |
/kernel/linux/linux-6.6/tools/scripts/ |
H A D | utilities.mak | 106 # | 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)) }')
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A D | xdping_kern.c | 116 if (!pinginfo || pinginfo->seq != icmph->un.echo.sequence) in xdping_client() 137 /* Now convert reply back into echo request. */ in xdping_client() 142 seq = bpf_htons(bpf_ntohs(icmph->un.echo.sequence) + 1); in xdping_client() 143 icmph->un.echo.sequence = seq; in xdping_client() 173 /* Now convert request into echo reply. */ in xdping_server()
|
/kernel/linux/linux-5.10/drivers/pps/ |
H A D | kapi.c | 44 dev_info(pps->dev, "echo %s %s\n", in pps_echo_client_default() 99 /* check for default echo function */ in pps_register_source() 101 pps->info.echo == NULL) in pps_register_source() 102 pps->info.echo = pps_echo_client_default; in pps_register_source() 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? */ in pps_event() 178 pps->info.echo(pps, event, data); in pps_event()
|
H A D | sysfs.c | 60 return sprintf(buf, "%d\n", !!pps->info.echo); in echo_show() 62 static DEVICE_ATTR_RO(echo);
|
/kernel/linux/linux-6.6/drivers/pps/ |
H A D | kapi.c | 44 dev_info(pps->dev, "echo %s %s\n", in pps_echo_client_default() 99 /* check for default echo function */ in pps_register_source() 101 pps->info.echo == NULL) in pps_register_source() 102 pps->info.echo = pps_echo_client_default; in pps_register_source() 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? */ in pps_event() 178 pps->info.echo(pps, event, data); in pps_event()
|
H A D | sysfs.c | 60 return sprintf(buf, "%d\n", !!pps->info.echo); in echo_show() 62 static DEVICE_ATTR_RO(echo);
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | xdping_kern.c | 115 if (!pinginfo || pinginfo->seq != icmph->un.echo.sequence) in xdping_client() 136 /* Now convert reply back into echo request. */ in xdping_client() 141 seq = bpf_htons(bpf_ntohs(icmph->un.echo.sequence) + 1); in xdping_client() 142 icmph->un.echo.sequence = seq; in xdping_client() 171 /* Now convert request into echo reply. */ in xdping_server()
|
/kernel/linux/linux-5.10/drivers/isdn/mISDN/ |
H A D | dsp_cmx.c | 36 * other but will not receive their own speech (echo) if not enabled. 168 odsp->name, odsp->echo.hardware, odsp->echo.software, in dsp_cmx_debug() 413 /* process hw echo */ in dsp_cmx_hardware() 416 if (!dsp->echo.software && !dsp->echo.hardware) { in dsp_cmx_hardware() 422 " dsp is split (no echo)\n", in dsp_cmx_hardware() 434 /* echo is enabled, find out if we use soft or hardware */ in dsp_cmx_hardware() 435 dsp->echo.software = dsp->tx_data; in dsp_cmx_hardware() 436 dsp->echo in dsp_cmx_hardware() [all...] |
/kernel/linux/linux-6.6/drivers/isdn/mISDN/ |
H A D | dsp_cmx.c | 36 * other but will not receive their own speech (echo) if not enabled. 157 odsp->name, odsp->echo.hardware, odsp->echo.software, in dsp_cmx_debug() 402 /* process hw echo */ in dsp_cmx_hardware() 405 if (!dsp->echo.software && !dsp->echo.hardware) { in dsp_cmx_hardware() 411 " dsp is split (no echo)\n", in dsp_cmx_hardware() 423 /* echo is enabled, find out if we use soft or hardware */ in dsp_cmx_hardware() 424 dsp->echo.software = dsp->tx_data; in dsp_cmx_hardware() 425 dsp->echo in dsp_cmx_hardware() [all...] |
/kernel/linux/linux-5.10/tools/scripts/ |
H A D | utilities.mak | 106 # | 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)
|
/kernel/linux/linux-6.6/drivers/net/ |
H A D | gtp.c | 261 * Returns true if the echo req was correct, false otherwise. 335 netdev_dbg(gtp->dev, "no route for echo response from %pI4\n", in gtp0_send_echo_resp() 353 int flags, u32 type, struct echo_info echo) in gtp_genl_fill_echo() 362 if (nla_put_u32(skb, GTPA_VERSION, echo.gtp_version) || in gtp_genl_fill_echo() 363 nla_put_be32(skb, GTPA_PEER_ADDRESS, echo.peer_addr_ip4.s_addr) || in gtp_genl_fill_echo() 364 nla_put_be32(skb, GTPA_MS_ADDRESS, echo.ms_addr_ip4.s_addr)) in gtp_genl_fill_echo() 378 struct echo_info echo; in gtp0_handle_echo_resp() local 389 echo.ms_addr_ip4.s_addr = iph->daddr; in gtp0_handle_echo_resp() 390 echo.peer_addr_ip4.s_addr = iph->saddr; in gtp0_handle_echo_resp() 391 echo in gtp0_handle_echo_resp() 352 gtp_genl_fill_echo(struct sk_buff *skb, u32 snd_portid, u32 snd_seq, int flags, u32 type, struct echo_info echo) gtp_genl_fill_echo() argument 537 struct echo_info echo; gtp1u_handle_echo_resp() local [all...] |
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | ping.c | 514 skb->protocol, type, code, ntohs(icmph->un.echo.id), in ping_err() 515 ntohs(icmph->un.echo.sequence)); in ping_err() 517 sk = ping_lookup(net, skb, ntohs(icmph->un.echo.id)); in ping_err() 826 pfh.icmph.un.echo.id = inet->inet_sport; in ping_v4_sendmsg() 827 pfh.icmph.un.echo.sequence = user_icmph.un.echo.sequence; in ping_v4_sendmsg() 978 skb, ntohs(icmph->un.echo.id), ntohs(icmph->un.echo.sequence)); in ping_rcv() 983 sk = ping_lookup(net, skb, ntohs(icmph->un.echo.id)); in ping_rcv()
|