Home
last modified time | relevance | path

Searched +full:rx +full:- +full:eq (Results 1 – 25 of 186) sorted by relevance

12345678

/OK3568_Linux_fs/kernel/tools/testing/selftests/net/forwarding/
H A Ddevlink_lib.sh2 # SPDX-License-Identifier: GPL-2.0
7 if [[ ! -v DEVLINK_DEV ]]; then
8 DEVLINK_DEV=$(devlink port show "${NETIFS[p1]:-$NETIF_NO_CABLE}" -j \
9 | jq -r '.port | keys[]' | cut -d/ -f-2)
10 if [ -z "$DEVLINK_DEV" ]; then
14 if [[ "$(echo $DEVLINK_DEV | grep -c pci)" -eq 0 ]]; then
19 DEVLINK_VIDDID=$(lspci -s $(echo $DEVLINK_DEV | cut -d"/" -f2) \
20 -n | cut -d" " -f3)
27 if [ $? -ne 0 ]; then
33 if [ $? -ne 0 ]; then
[all …]
H A Dlib.sh2 # SPDX-License-Identifier: GPL-2.0
29 if [[ -f $relative_path/forwarding.config ]]; then
38 tc -j &> /dev/null
39 if [[ $? -ne 0 ]]; then
48 if [[ $? -ne 0 ]]; then
57 if [[ $? -ne 0 ]]; then
65 tc actions help 2>&1 | grep -q hw_stats
66 if [[ $? -ne 0 ]]; then
72 if [[ "$(id -u)" -ne 0 ]]; then
85 if [[ ! -x "$(command -v "$cmd")" ]]; then
[all …]
/OK3568_Linux_fs/kernel/sound/soc/codecs/
H A Dwm8996.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * wm8996.h - WM8996 audio codec interface
744 * R0 (0x00) - Software Reset
746 #define WM8996_SW_RESET_MASK 0xFFFF /* SW_RESET - [15:0] */
747 #define WM8996_SW_RESET_SHIFT 0 /* SW_RESET - [15:0] */
748 #define WM8996_SW_RESET_WIDTH 16 /* SW_RESET - [15:0] */
751 * R1 (0x01) - Power Management (1)
783 * R2 (0x02) - Power Management (2)
803 * R3 (0x03) - Power Management (3)
847 * R4 (0x04) - Power Management (4)
[all …]
H A Dwm8996.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * wm8996.c - WM8996 audio codec interface
5 * Copyright 2011-2 Wolfson Microelectronics PLC.
108 regcache_mark_dirty(wm8996->regmap); \
299 static const DECLARE_TLV_DB_SCALE(sidetone_tlv, -3600, 150, 0);
300 static const DECLARE_TLV_DB_SCALE(digital_tlv, -7200, 75, 1);
301 static const DECLARE_TLV_DB_SCALE(out_digital_tlv, -1200, 150, 0);
302 static const DECLARE_TLV_DB_SCALE(out_tlv, -900, 75, 0);
303 static const DECLARE_TLV_DB_SCALE(spk_tlv, -900, 150, 0);
304 static const DECLARE_TLV_DB_SCALE(eq_tlv, -1200, 100, 0);
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/emulex/benet/
H A Dbe_hw.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2005-2016 Broadcom.
7 * linux-drivers@emulex.com
33 #define SLIPORT_SEMAPHORE_OFFSET_SH 0x94 /* PCI-CFG offset */
44 #define POST_STAGE_HOST_RDY 0x2 /* Host has given go-ahed to FW */
127 #define DB_EQ_RING_ID_MASK 0x1FF /* bits 0 - 8 */
128 #define DB_EQ_RING_ID_EXT_MASK 0x3e00 /* bits 9-13 */
129 #define DB_EQ_RING_ID_EXT_MASK_SHIFT (2) /* qid bits 9-13 placing at 11-15 */
131 /* Clear the interrupt for this eq */
136 #define DB_EQ_NUM_POPPED_SHIFT (16) /* bits 16 - 28 */
[all …]
H A Dbe_main.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2005 - 2016 Broadcom
7 * linux-drivers@emulex.com
39 /* Per-module error detection/recovery workq shared across all functions.
147 struct be_dma_mem *mem = &q->dma_mem; in be_queue_free()
149 if (mem->va) { in be_queue_free()
150 dma_free_coherent(&adapter->pdev->dev, mem->size, mem->va, in be_queue_free()
151 mem->dma); in be_queue_free()
152 mem->va = NULL; in be_queue_free()
159 struct be_dma_mem *mem = &q->dma_mem; in be_queue_alloc()
[all …]
/OK3568_Linux_fs/kernel/drivers/media/i2c/it66353/
H A Dconfig.h1 // SPDX-License-Identifier: GPL-2.0
8 * Wangqiang Guo <kay.guo@rock-chips.com>
25 * RX register i2c address ( programmable )
53 * 1: Enable Auto EQ code
54 * 0: Disable Auto EQ code
60 * 1: Enable Auto EQ code
61 * 0: Disable Auto EQ code
H A Dit66353.c1 // SPDX-License-Identifier: GPL-2.0
8 * Wangqiang Guo<kay.guo@rock-chips.com>
28 #include <linux/i2c-dev.h>
58 #define PR_IO(x) { if (g_enable_io_log) dev_dbg(g_it66353->dev, x); }
107 struct i2c_client *client = it66353->client; in i2c_wr()
113 msg.addr = client->addr; in i2c_wr()
117 err = i2c_transfer(client->adapter, &msg, 1); in i2c_wr()
119 dev_err(it66353->dev, "writing register 0x%x from 0x%x failed\n", in i2c_wr()
120 reg, client->addr); in i2c_wr()
124 dev_dbg(it66353->dev, "I2C write 0x%02x = 0x%02x\n", in i2c_wr()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dreporter_rx.c1 // SPDX-License-Identifier: GPL-2.0
17 return -ENOMEM; in mlx5e_query_rq_state()
37 if (icosq->cc == icosq->pc) in mlx5e_wait_for_icosq_flush()
43 netdev_err(icosq->channel->netdev, in mlx5e_wait_for_icosq_flush()
45 icosq->sqn, icosq->cc, icosq->pc); in mlx5e_wait_for_icosq_flush()
47 return -ETIMEDOUT; in mlx5e_wait_for_icosq_flush()
52 WARN_ONCE(icosq->cc != icosq->pc, "ICOSQ 0x%x: cc (0x%x) != pc (0x%x)\n", in mlx5e_reset_icosq_cc_pc()
53 icosq->sqn, icosq->cc, icosq->pc); in mlx5e_reset_icosq_cc_pc()
54 icosq->cc = 0; in mlx5e_reset_icosq_cc_pc()
55 icosq->pc = 0; in mlx5e_reset_icosq_cc_pc()
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/net/
H A Dudpgro.sh2 # SPDX-License-Identifier: GPL-2.0
6 readonly PEER_NS="ns-peer-$(mktemp -u XXXXXX)"
11 if [ $ret -eq 0 ]; then
17 local -r jobs="$(jobs -p)"
18 local -r ns="$(ip netns list|grep $PEER_NS)"
20 [ -n "${jobs}" ] && kill -1 ${jobs} 2>/dev/null
21 [ -n "$ns" ] && ip netns del $ns 2>/dev/null
27 ip -netns "${PEER_NS}" link set lo up
34 ip -netns "${PEER_NS}" addr add dev veth1 192.168.1.1/24
35 ip -netns "${PEER_NS}" addr add dev veth1 2001:db8::1/64 nodad
[all …]
H A Dudpgro_bench.sh2 # SPDX-License-Identifier: GPL-2.0
6 readonly PEER_NS="ns-peer-$(mktemp -u XXXXXX)"
9 local -r jobs="$(jobs -p)"
10 local -r ns="$(ip netns list|grep $PEER_NS)"
12 [ -n "${jobs}" ] && kill -INT ${jobs} 2>/dev/null
13 [ -n "$ns" ] && ip netns del $ns 2>/dev/null
18 # use 'rx' as separator between sender args and receiver args
19 local -r all="$@"
20 local -r tx_args=${all%rx*}
21 local rx_args=${all#*rx}
[all …]
H A Drtnetlink.sh5 # set -e
7 devdummy="test-dummy0"
9 # Kselftest framework requirement - SKIP code is 4.
15 if [ $ret -eq 0 ]; then
20 # same but inverted -- used when command must fail for test to pass
23 if [ $1 -eq 0 ]; then
51 ip -$f netconf show dev "$dev" > /dev/null
55 if [ $ret -ne 0 ] ;then
57 test $r -eq 0 && ret=0
65 devbr="test-br0"
[all …]
/OK3568_Linux_fs/kernel/tools/testing/selftests/drivers/net/netdevsim/
H A Dudp_tunnel_nic.sh2 # SPDX-License-Identifier: GPL-2.0-only
30 [ -e /sys/class/net/$dev ] && ip link del dev $dev
36 if [ -e $NSIM_DEV_SYS ]; then
58 [ "$ipver" != '6' ] || ipfl="-6"
84 [ "$ipver" != '6' ] || ipfl="-6"
118 echo -e "port: $((val >> 16))\ttype: $((val & 0xffff))"
134 type_name="vxlan-gpe"
146 local -n expected=$2
149 read -a have < $path
151 if [ ${#expected[@]} -ne ${#have[@]} ]; then
[all …]
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/hfi1/
H A Dpcie.c2 * Copyright(c) 2015 - 2019 Intel Corporation.
24 * - Redistributions of source code must retain the above copyright
26 * - Redistributions in binary form must reproduce the above copyright
30 * - Neither the name of Intel Corporation nor the names of its
69 struct pci_dev *pdev = dd->pcidev; in hfi1_pcie_init()
85 dd_dev_err(dd, "pci enable failed: error %d\n", -ret); in hfi1_pcie_init()
91 dd_dev_err(dd, "pci_request_regions fails: err %d\n", -ret); in hfi1_pcie_init()
140 * fields required to re-initialize after a chip reset, or for
161 return -EINVAL; in hfi1_pcie_ddinit()
164 dd->kregbase1 = ioremap(addr, RCV_ARRAY); in hfi1_pcie_ddinit()
[all …]
H A Dplatform.c24 * - Redistributions of source code must retain the above copyright
26 * - Redistributions in binary form must reproduce the above copyright
30 * - Neither the name of Intel Corporation nor the names of its
81 for (j = sizeof(u64); j != 0; j -= 2) { in validate_scratch_checksum()
103 struct hfi1_pportdata *ppd = dd->pport; in save_platform_config_fields()
109 (dd->hfi1_id ? PORT1_PORT_TYPE_SMASK : in save_platform_config_fields()
111 ppd->port_type = temp_dest >> in save_platform_config_fields()
112 (dd->hfi1_id ? PORT1_PORT_TYPE_SHIFT : in save_platform_config_fields()
116 (dd->hfi1_id ? PORT1_LOCAL_ATTEN_SMASK : in save_platform_config_fields()
118 ppd->local_atten = temp_dest >> in save_platform_config_fields()
[all …]
/OK3568_Linux_fs/external/common_algorithm/audio/
H A DChangelog.txt4 - Update new Para.bins and matching for new Para tool
5 - Fixed some NLP and CNG bugs
6 - Optimize DTD and Echo
7 - Optimize ANR and Denoise
10 - Fixed discontinuous near-end talk
11 - Add support Double Talk Detection(DTD)
14 - Fixed mute when AEC RX be opened
15 - Fixed the FS bug for EQ
16 - Add NLP plus when need suppress residual echo
17 - Fixed ANR/Denoise attenuation problem after 2s
[all …]
/OK3568_Linux_fs/kernel/drivers/firmware/arm_scmi/
H A Dnotify.c1 // SPDX-License-Identifier: GPL-2.0
36 * All users provided callbacks and allocated notification-chains are stored in
44 * hash-keys.
51 * Upon reception of a notification message from the platform the SCMI RX ISR
54 * pushes the event-data itself on a protocol-dedicated kfifo queue for further
59 * queued items into the proper notification-chain: notifications processing can
65 * conveyed, converted into a custom per-event report struct, as the void *data
73 #define dev_fmt(fmt) "SCMI Notifications - " fmt
74 #define pr_fmt(fmt) "SCMI Notifications - " fmt
115 * Assumes that the stored obj includes its own hash-key in a field named 'key':
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4/
H A Dsge.c4 * Copyright (c) 2003-2014 Chelsio Communications, Inc. All rights reserved.
16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
40 #include <linux/dma-mapping.h>
62 * Rx buffer size. We use largish buffers if possible but settle for single
68 # define FL_PG_ORDER (16 - PAGE_SHIFT)
76 * Main body length for sk_buffs used for Rx Ethernet packets with fragments.
91 * Max number of Rx buffers we replenish at a time. Again keep this modest,
97 * Period of the Rx queue check timer. This timer is infrequent as it has
115 #define NOMEM_TMR_IDX (SGE_NTIMERS - 1)
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx4/
H A Den_cq.c14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
51 struct mlx4_en_dev *mdev = priv->mdev; in mlx4_en_create_cq()
58 return -ENOMEM; in mlx4_en_create_cq()
61 cq->size = entries; in mlx4_en_create_cq()
62 cq->buf_size = cq->size * mdev->dev->caps.cqe_size; in mlx4_en_create_cq()
64 cq->ring = ring; in mlx4_en_create_cq()
65 cq->type = mode; in mlx4_en_create_cq()
66 cq->vector = mdev->dev->caps.num_comp_vectors; in mlx4_en_create_cq()
69 * dev->numa_node is used in mtt range allocation flow. in mlx4_en_create_cq()
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/phy/
H A Dqcom,ipq806x-usb-phy-ss.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/phy/qcom,ipq806x-usb-phy-ss.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Ansuel Smith <ansuelsmth@gmail.com>
13 DWC3 PHY nodes are defined to describe on-chip Synopsis Physical layer
19 const: qcom,ipq806x-usb-phy-ss
21 "#phy-cells":
31 clock-names:
35 - const: ref
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/ibm/ehea/
H A Dehea_main.c1 // SPDX-License-Identifier: GPL-2.0-or-later
11 * Jan-Bernd Themann <themann@de.ibm.com>
46 static int msg_level = -1;
66 "[2^x - 1], x = [7..14]. Default = "
69 "[2^x - 1], x = [7..14]. Default = "
72 "[2^x - 1], x = [7..14]. Default = "
75 "[2^x - 1], x = [7..14]. Default = "
99 .compatible = "IBM,lhea-ethernet",
136 if (!test_bit(__EHEA_DISABLE_PORT_RESET, &port->flags)) in ehea_schedule_port_reset()
137 schedule_work(&port->reset_task); in ehea_schedule_port_reset()
[all …]
/OK3568_Linux_fs/kernel/drivers/phy/qualcomm/
H A Dphy-qcom-ipq806x-usb.c1 // SPDX-License-Identifier: GPL-2.0-only
53 /* SSPHY control registers - Does this need 0x30? */
85 /* RX OVRD IN HI bits */
132 * @base - QCOM DWC3 PHY base virtual address.
133 * @offset - register offset.
134 * @mask - register bitmask specifying what should be updated
135 * @val - value to write.
141 u32 write_val, tmp = readl(phy_dwc3->base + offset); in usb_phy_write_readback()
146 writel(write_val, phy_dwc3->base + offset); in usb_phy_write_readback()
149 tmp = readl(phy_dwc3->base + offset); in usb_phy_write_readback()
[all …]
/OK3568_Linux_fs/kernel/Documentation/networking/device_drivers/ethernet/mellanox/
H A Dmlx5.rst1 .. SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
12 - `Enabling the driver and kconfig options`_
13 - `Devlink info`_
14 - `Devlink parameters`_
15 - `Devlink health reporters`_
16 - `mlx5 tracepoints`_
23 | Basic features, ethernet net device rx/tx offloads and XDP, are available with the most basic fla…
35 | Choosing this option will allow basic ethernet netdevice support with all of the standard rx/t…
37 | built-in into mlx5_core.ko.
42 | Enables Hardware-accelerated receive flow steering (arfs) support, and ntuple filtering.
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A DMakefile1 # SPDX-License-Identifier: GPL-2.0
7 subdir-ccflags-y += -I$(src)
9 obj-$(CONFIG_MLX5_CORE) += mlx5_core.o
14 mlx5_core-y := main.o cmd.o debugfs.o fw.o eq.o uar.o pagealloc.o \
24 mlx5_core-$(CONFIG_MLX5_CORE_EN) += en_main.o en_common.o en_fs.o en_ethtool.o \
28 en/xsk/setup.o en/xsk/rx.o en/xsk/tx.o en/devlink.o
33 mlx5_core-$(CONFIG_MLX5_EN_ARFS) += en_arfs.o
34 mlx5_core-$(CONFIG_MLX5_EN_RXNFC) += en_fs_ethtool.o
35 mlx5_core-$(CONFIG_MLX5_CORE_EN_DCB) += en_dcbnl.o en/port_buffer.o
36 mlx5_core-$(CONFIG_PCI_HYPERV_INTERFACE) += en/hv_vhca_stats.o
[all …]
/OK3568_Linux_fs/u-boot/drivers/net/phy/
H A Drk630phy.c1 // SPDX-License-Identifier: GPL-2.0+
8 * David Wu <david.wu@rock-chips.com>
62 * Addr: 1 --- RK630@S40
63 * 2 --- RV1106@T22
96 node = dev_read_subnode(dev, "macphy-txlevel"); in rk630_phy_t22_get_txlevel_from_efuse()
98 return -EINVAL; in rk630_phy_t22_get_txlevel_from_efuse()
103 return -EINVAL; in rk630_phy_t22_get_txlevel_from_efuse()
118 return -EINVAL; in rk630_phy_t22_get_txlevel_from_efuse()
154 /* PHYAFE RX optimization */ in rk630_phy_s40_config_init()
186 /* PHYAFE EQ optimization */ in rk630_phy_t22_config_init()
[all …]

12345678