Home
last modified time | relevance | path

Searched +full:1000 +full:- +full:10000 (Results 1 – 25 of 1067) sorted by relevance

12345678910>>...43

/Linux-v6.1/tools/testing/selftests/tc-testing/tc-tests/qdiscs/
Dchoke.json15 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root choke limit 1000 bandwidth 10000",
18 "matchPattern": "qdisc choke 1: root refcnt [0-9]+ limit 1000p min 83p max 250p",
38 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root choke limit 1000 bandwidth 10000 min 100",
41 "matchPattern": "qdisc choke 1: root refcnt [0-9]+ limit 1000p min 100p max 250p",
61 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root choke limit 1000 bandwidth 10000 max 900",
64 "matchPattern": "qdisc choke 1: root refcnt [0-9]+ limit 1000p min.*max 900p",
84 … "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root choke limit 1000 bandwidth 10000 ecn",
87 "matchPattern": "qdisc choke 1: root refcnt [0-9]+ limit 1000p min 83p max 250p ecn",
107 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root choke limit 1000 bandwidth 10000 burst 10…
110 "matchPattern": "qdisc choke 1: root refcnt [0-9]+ limit 1000p min 83p max 250p",
[all …]
Dtbf.json15 … "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root tbf limit 1000 burst 1500 rate 10000",
18 "matchPattern": "qdisc tbf 1: root refcnt [0-9]+ rate 10Kbit burst 1500b limit 1000b",
38 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root tbf limit 1000 burst 1500 rate 20000 mtu …
41 "matchPattern": "qdisc tbf 1: root refcnt [0-9]+ rate 20Kbit burst 1500b limit 1000b",
61 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root tbf limit 1000 burst 1500 rate 20000 mtu …
64 …"matchPattern": "qdisc tbf 1: root refcnt [0-9]+ rate 20Kbit burst 1500b peakrate 30Kbit minburst.…
87 "matchPattern": "qdisc tbf 1: root refcnt [0-9]+ rate 20Kbit burst 1500b lat 100ms",
107 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root tbf limit 1000 burst 1500 rate 20000 over…
110 …"matchPattern": "qdisc tbf 1: root refcnt [0-9]+ rate 20Kbit burst 1800b limit 1000b overhead 300",
130 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root tbf limit 1000 burst 1500 rate 20000 link…
[all …]
/Linux-v6.1/net/ethtool/
Dcommon.c1 // SPDX-License-Identifier: GPL-2.0-only
12 [NETIF_F_SG_BIT] = "tx-scatter-gather",
13 [NETIF_F_IP_CSUM_BIT] = "tx-checksum-ipv4",
14 [NETIF_F_HW_CSUM_BIT] = "tx-checksum-ip-generic",
15 [NETIF_F_IPV6_CSUM_BIT] = "tx-checksum-ipv6",
17 [NETIF_F_FRAGLIST_BIT] = "tx-scatter-gather-fraglist",
18 [NETIF_F_HW_VLAN_CTAG_TX_BIT] = "tx-vlan-hw-insert",
20 [NETIF_F_HW_VLAN_CTAG_RX_BIT] = "rx-vlan-hw-parse",
21 [NETIF_F_HW_VLAN_CTAG_FILTER_BIT] = "rx-vlan-filter",
22 [NETIF_F_HW_VLAN_STAG_TX_BIT] = "tx-vlan-stag-hw-insert",
[all …]
/Linux-v6.1/lib/
Dpolynomial.c1 // SPDX-License-Identifier: GPL-2.0-only
18 * Originally this was part of drivers/hwmon/bt1-pvt.c.
22 * to PVT data and vice-versa are following:
24 * N = 1.8322e-8*(T^4) + 2.343e-5*(T^3) + 8.7018e-3*(T^2) + 3.9269*(T^1) +
26 * T = -1.6743e-11*(N^4) + 8.1542e-8*(N^3) + -1.8201e-4*(N^2) +
27 * 3.1020e-1*(N^1) - 4.838e1
29 * where T = [-48.380, 147.438]C and N = [0, 1023].
38 * N = (18322e-20*(T^4) + 2343e-13*(T^3) + 87018e-9*(T^2) + 39269e-3*T +
40 * T = -16743e-12*(D^4) + 81542e-9*(D^3) - 182010e-6*(D^2) + 310200e-3*D -
42 * where T = [-48380, 147438] mC and N = [0, 1023].
[all …]
/Linux-v6.1/drivers/net/phy/
Dsfp-bus.c1 // SPDX-License-Identifier: GPL-2.0-only
14 * struct sfp_bus - internal representation of a sfp bus
36 * sfp_parse_port() - Parse the EEPROM base ID, setting the port type
43 * %PORT_TP, %PORT_FIBRE or %PORT_OTHER. If @support is non-%NULL,
55 switch (id->base.connector) { in sfp_parse_port()
76 if (id->base.e1000_base_t) { in sfp_parse_port()
88 dev_warn(bus->sfp_dev, "SFP: unknown connector id 0x%02x\n", in sfp_parse_port()
89 id->base.connector); in sfp_parse_port()
111 * sfp_may_have_phy() - indicate whether the module may have a PHY
120 if (id->base.e1000_base_t) in sfp_may_have_phy()
[all …]
Dphy-core.c1 // SPDX-License-Identifier: GPL-2.0+
10 * phy_speed_to_str - Return a string representing the PHY link speed
55 return "Unsupported (update phy-core.c)"; in phy_speed_to_str()
61 * phy_duplex_to_str - Return string describing the duplex
73 return "Unsupported (update phy-core.c)"; in phy_duplex_to_str()
78 * phy_rate_matching_to_str - Return a string describing the rate matching
92 return "open-loop"; in phy_rate_matching_to_str()
94 return "Unsupported (update phy-core.c)"; in phy_rate_matching_to_str()
99 * phy_interface_num_ports - Return the number of links that can be carried by
100 * a given MAC-PHY physical link. Returns 0 if this is
[all …]
/Linux-v6.1/tools/power/cpupower/utils/helpers/
Dmisc.c1 // SPDX-License-Identifier: GPL-2.0
59 return -1; in cpupower_intel_get_perf_bias()
64 return -1; in cpupower_intel_get_perf_bias()
68 return -1; in cpupower_intel_get_perf_bias()
79 return -1; in cpupower_intel_set_perf_bias()
85 return -1; in cpupower_intel_set_perf_bias()
98 if (!strcmp(driver, "amd-pstate")) in cpupower_amd_pstate_enabled()
140 str_len = online_cpus->size * 5; in print_online_cpus()
158 str_len = offline_cpus->size * 5; in print_offline_cpus()
181 else if (speed > 1000) in print_speed()
[all …]
/Linux-v6.1/drivers/media/dvb-frontends/
Dtda10086.c1 // SPDX-License-Identifier: GPL-2.0-or-later
45 msg.addr = state->config->demod_address; in tda10086_write_byte()
46 ret = i2c_transfer(state->i2c, &msg, 1); in tda10086_write_byte()
63 msg[0].addr = state->config->demod_address; in tda10086_read_byte()
64 msg[1].addr = state->config->demod_address; in tda10086_read_byte()
65 ret = i2c_transfer(state->i2c, msg, 2); in tda10086_read_byte()
95 struct tda10086_state* state = fe->demodulator_priv; in tda10086_init()
100 if (state->config->diseqc_tone) in tda10086_init()
120 if (state->config->xtal_freq == TDA10086_XTAL_16M) { in tda10086_init()
133 tda10086_write_byte(state, 0x56, 0x80); /* powerdown WPLL - unused in the mode we use */ in tda10086_init()
[all …]
Dhorus3a.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Sony Horus3A DVB-S/S2 tuner driver
40 dev_dbg(&priv->i2c->dev, "horus3a: I2C %s reg 0x%02x size %d\n", in horus3a_i2c_debug()
53 .addr = priv->i2c_address, in horus3a_write_regs()
61 dev_warn(&priv->i2c->dev,"wr reg=%04x: len=%d is too big!\n", in horus3a_write_regs()
63 return -E2BIG; in horus3a_write_regs()
69 ret = i2c_transfer(priv->i2c, msg, 1); in horus3a_write_regs()
71 ret = -EREMOTEIO; in horus3a_write_regs()
73 dev_warn(&priv->i2c->dev, in horus3a_write_regs()
92 dev_dbg(&priv->i2c->dev, "%s()\n", __func__); in horus3a_enter_power_save()
[all …]
/Linux-v6.1/arch/mips/ralink/
Dmt7620.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Copyright (C) 2008-2011 Gabor Juhos <juhosg@openwrt.org>
16 #include <asm/mach-ralink/ralink_regs.h>
17 #include <asm/mach-ralink/mt7620.h>
64 #define MHZ(x) ((x) * 1000 * 1000)
205 #define RFRAC(x) (((x) / 1000) % 1000) in ralink_clk_init()
216 ralink_clk_add("10000d00.uartlite", periph_rate); in ralink_clk_init()
217 ralink_clk_add("10000e00.uartlite", periph_rate); in ralink_clk_init()
249 ralink_clk_add("10000a00.i2s", pcmi2s_rate); in ralink_clk_init()
250 ralink_clk_add("10000b00.spi", sys_rate); in ralink_clk_init()
[all …]
/Linux-v6.1/tools/testing/selftests/drivers/net/mlxsw/
Ddevlink_trap_policer.sh2 # SPDX-License-Identifier: GPL-2.0
4 # Test devlink-trap policer functionality over mlxsw.
6 # +---------------------------------+
12 # +----|----------------------------+
14 # +----|----------------------------------------------------------------------+
22 # +----|----------------------------------------------------------------------+
24 # +----|----------------------------+
30 # +---------------------------------+
48 mtu_set $h1 10000
50 ip -4 route add default vrf v$h1 nexthop via 192.0.2.2
[all …]
/Linux-v6.1/drivers/mtd/nand/raw/
Dnand_timings.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Author: Boris BREZILLON <boris.brezillon@free-electrons.com>
16 * For non-ONFI chips we use the highest possible value for tPROG and tBERS.
48 .tIR_min = 10000,
78 .tALH_min = 10000,
80 .tAR_min = 10000,
83 .tCH_min = 10000,
85 .tCLH_min = 10000,
86 .tCLR_min = 10000,
90 .tDH_min = 10000,
[all …]
/Linux-v6.1/drivers/s390/net/
Dqeth_ethtool.c1 // SPDX-License-Identifier: GPL-2.0
89 struct qeth_card *card = dev->ml_priv; in qeth_get_sset_count()
94 card->qdio.no_out_queues * TXQ_STATS_LEN; in qeth_get_sset_count()
96 return -EINVAL; in qeth_get_sset_count()
103 struct qeth_card *card = dev->ml_priv; in qeth_get_ethtool_stats()
106 qeth_add_stat_data(&data, &card->stats, card_stats, CARD_STATS_LEN); in qeth_get_ethtool_stats()
107 for (i = 0; i < card->qdio.no_out_queues; i++) in qeth_get_ethtool_stats()
108 qeth_add_stat_data(&data, &card->qdio.out_qs[i]->stats, in qeth_get_ethtool_stats()
116 WRITE_ONCE(queue->coalesce_usecs, coal->tx_coalesce_usecs); in __qeth_set_coalesce()
117 WRITE_ONCE(queue->max_coalesced_frames, coal->tx_max_coalesced_frames); in __qeth_set_coalesce()
[all …]
/Linux-v6.1/fs/udf/
Dudftime.c17 write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 Boston, MA 02111-1307, USA. */
23 * 10/04/98: added new table-based lookup after seeing how ugly
55 if (offset == -2047) /* unspecified offset */ in udf_disk_stamp_to_time()
60 dest->tv_sec = mktime64(year, src.month, src.day, src.hour, src.minute, in udf_disk_stamp_to_time()
62 dest->tv_sec -= offset * 60; in udf_disk_stamp_to_time()
63 dest->tv_nsec = 1000 * (src.centiseconds * 10000 + in udf_disk_stamp_to_time()
67 * recorded with bogus sub-second values. in udf_disk_stamp_to_time()
69 dest->tv_nsec %= NSEC_PER_SEC; in udf_disk_stamp_to_time()
79 offset = -sys_tz.tz_minuteswest; in udf_time_to_disk_stamp()
[all …]
/Linux-v6.1/drivers/net/ethernet/amd/xgbe/
Dxgbe-phy-v2.c125 #include "xgbe-common.h"
148 /* Rate-change complete wait/retry count */
152 #define XGBE_CDR_DELAY_INIT 10000
153 #define XGBE_CDR_DELAY_INC 10000
277 ((_x)->extd[XGBE_SFP_EXTD_SFF_8472] && \
278 !((_x)->extd[XGBE_SFP_EXTD_DIAG] & XGBE_SFP_EXTD_DIAG_ADDR_CHANGE))
285 #define XGBE_BEL_FUSE_VENDOR "BEL-FUSE "
286 #define XGBE_BEL_FUSE_PARTNO "1GBT-SFP06 "
307 /* Re-driver related definitions */
376 /* Re-driver support */
[all …]
/Linux-v6.1/drivers/comedi/drivers/
Dni_atmio.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Comedi driver for NI AT-MIO E series cards
5 * COMEDI - Linux Control and Measurement Device Interface
6 * Copyright (C) 1997-2001 David A. Schleef <ds@schleef.org>
11 * Description: National Instruments AT-MIO-E series
13 * Devices: [National Instruments] AT-MIO-16E-1 (ni_atmio),
14 * AT-MIO-16E-2, AT-MIO-16E-10, AT-MIO-16DE-10, AT-MIO-64E-3,
15 * AT-MIO-16XE-50, AT-MIO-16XE-10, AT-AI-16XE-10
23 * modprobe the isa-pnp module for /proc/isapnp to exist) so the id numbers
40 * (scan_begin_arg, etc.) maps to PFI0 - PFI9.
[all …]
Dni_pcimio.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Comedi driver for NI PCI-MIO E series cards
5 * COMEDI - Linux Control and Measurement Device Interface
6 * Copyright (C) 1997-8 David A. Schleef <ds@schleef.org>
11 * Description: National Instruments PCI-MIO-E series and M series (all boards)
15 * Devices: [National Instruments] PCI-MIO-16XE-50 (ni_pcimio),
16 * PCI-MIO-16XE-10, PXI-6030E, PCI-MIO-16E-1, PCI-MIO-16E-4, PCI-6014,
17 * PCI-6040E, PXI-6040E, PCI-6030E, PCI-6031E, PCI-6032E, PCI-6033E,
18 * PCI-6071E, PCI-6023E, PCI-6024E, PCI-6025E, PXI-6025E, PCI-6034E,
19 * PCI-6035E, PCI-6052E, PCI-6110, PCI-6111, PCI-6220, PXI-6220,
[all …]
/Linux-v6.1/drivers/media/pci/cobalt/
Dcobalt-cpld.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 2012-2015 Cisco Systems, Inc. and/or its affiliates.
11 #include "cobalt-cpld.h"
17 return cobalt_bus_read32(cobalt->bar1, ADRS(offset)); in cpld_read()
22 return cobalt_bus_write32(cobalt->bar1, ADRS(offset), val); in cpld_write()
36 …cobalt_info("CPLD HSMA Clk Osc register (read/write) - Must set wr trigger to load default values\… in cpld_info_ver3()
67 tmp = (rd * 33 * 1000) / (483 * 10); in cpld_info_ver3()
68 cobalt_info("\t\tVDD 3V3: %u,%03uV\n", tmp / 1000, tmp % 1000); in cpld_info_ver3()
70 tmp = (rd * 74 * 2197) / (27 * 1000); in cpld_info_ver3()
71 cobalt_info("\t\tADC ch3 5V: %u,%03uV\n", tmp / 1000, tmp % 1000); in cpld_info_ver3()
[all …]
/Linux-v6.1/drivers/usb/typec/
Drt1719.c1 // SPDX-License-Identifier: GPL-2.0
131 ret = regmap_raw_read(data->regmap, reg, &regval, sizeof(regval)); in rt1719_read16()
144 ret = regmap_raw_read(data->regmap, reg, &regval, sizeof(regval)); in rt1719_read32()
156 return regmap_raw_write(data->regmap, reg, &regval, sizeof(regval)); in rt1719_write32()
210 usb_role_switch_set_role(data->role_sw, usb_role); in rt1719_set_data_role()
211 typec_set_data_role(data->port, data_role); in rt1719_set_data_role()
216 if (!data->attached) in rt1719_update_data_role()
219 rt1719_set_data_role(data, rt1719_get_data_role(data->conn_info), true); in rt1719_update_data_role()
226 if (data->pd_capable) { in rt1719_register_partner()
229 rev = FIELD_GET(RT1719_PDSPECREV_MASK, data->conn_info); in rt1719_register_partner()
[all …]
/Linux-v6.1/arch/mips/cavium-octeon/executive/
Dcvmx-helper-sgmii.c7 * Copyright (C) 2003-2018 Cavium, Inc.
14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty
21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
35 #include <asm/octeon/cvmx-config.h>
37 #include <asm/octeon/cvmx-helper.h>
38 #include <asm/octeon/cvmx-helper-board.h>
40 #include <asm/octeon/cvmx-gmxx-defs.h>
41 #include <asm/octeon/cvmx-pcsx-defs.h>
42 #include <asm/octeon/cvmx-pcsxx-defs.h>
54 const uint64_t clock_mhz = cvmx_sysinfo_get()->cpu_clock_hz / 1000000; in __cvmx_helper_sgmii_hardware_init_one_time()
[all …]
/Linux-v6.1/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_utils_fw2x.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (C) 2014-2019 aQuantia Corporation
5 * Copyright (C) 2019-2020 Marvell International Ltd.
101 self, self->mbox_addr, in aq_fw2x_init()
102 self->mbox_addr != 0U, in aq_fw2x_init()
103 1000U, 10000U); in aq_fw2x_init()
106 self, self->rpc_addr, in aq_fw2x_init()
107 self->rpc_addr != 0U, in aq_fw2x_init()
108 1000U, 100000U); in aq_fw2x_init()
110 err = aq_fw2x_settings_get(self, &self->settings_addr); in aq_fw2x_init()
[all …]
Dhw_atl_utils.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (C) 2014-2019 aQuantia Corporation
5 * Copyright (C) 2019-2020 Marvell International Ltd.
72 &self->chip_features); in hw_atl_utils_initfw()
74 self->fw_ver_actual = hw_atl_utils_get_fw_version(self); in hw_atl_utils_initfw()
76 if (hw_atl_utils_ver_match(HW_ATL_FW_VER_1X, self->fw_ver_actual)) { in hw_atl_utils_initfw()
78 } else if (hw_atl_utils_ver_match(HW_ATL_FW_VER_2X, self->fw_ver_actual)) { in hw_atl_utils_initfw()
80 } else if (hw_atl_utils_ver_match(HW_ATL_FW_VER_3X, self->fw_ver_actual)) { in hw_atl_utils_initfw()
82 } else if (hw_atl_utils_ver_match(HW_ATL_FW_VER_4X, self->fw_ver_actual)) { in hw_atl_utils_initfw()
86 self->fw_ver_actual); in hw_atl_utils_initfw()
[all …]
/Linux-v6.1/drivers/net/ethernet/sfc/siena/
Dmcdi_port_common.c1 // SPDX-License-Identifier: GPL-2.0-only
23 BUILD_BUG_ON(MC_CMD_GET_PHY_CFG_OUT_NAME_LEN != sizeof(cfg->name)); in efx_mcdi_get_phy_cfg()
31 rc = -EIO; in efx_mcdi_get_phy_cfg()
35 cfg->flags = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_FLAGS); in efx_mcdi_get_phy_cfg()
36 cfg->type = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_TYPE); in efx_mcdi_get_phy_cfg()
37 cfg->supported_cap = in efx_mcdi_get_phy_cfg()
39 cfg->channel = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_CHANNEL); in efx_mcdi_get_phy_cfg()
40 cfg->port = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_PRT); in efx_mcdi_get_phy_cfg()
41 cfg->stats_mask = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_STATS_MASK); in efx_mcdi_get_phy_cfg()
42 memcpy(cfg->name, MCDI_PTR(outbuf, GET_PHY_CFG_OUT_NAME), in efx_mcdi_get_phy_cfg()
[all …]
/Linux-v6.1/drivers/video/fbdev/
Dgbefb.c4 * Copyright (C) 1999 Silicon Graphics, Inc. - Jeffrey Newquist
5 * Copyright (C) 2002 Vivien Chappelier <vivien.chappelier@linux-mips.org>
14 #include <linux/dma-mapping.h>
44 /* macro for fastest write-though access to the framebuffer */
63 #define TILE_MASK (TILE_SIZE - 1)
87 /* 640x480, 60 Hz, Non-Interlaced (25.175 MHz dotclock) */
102 .height = -1,
103 .width = -1,
133 .height = -1,
134 .width = -1,
[all …]
/Linux-v6.1/drivers/net/ethernet/sfc/
Dmcdi_port_common.c1 // SPDX-License-Identifier: GPL-2.0-only
22 BUILD_BUG_ON(MC_CMD_GET_PHY_CFG_OUT_NAME_LEN != sizeof(cfg->name)); in efx_mcdi_get_phy_cfg()
30 rc = -EIO; in efx_mcdi_get_phy_cfg()
34 cfg->flags = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_FLAGS); in efx_mcdi_get_phy_cfg()
35 cfg->type = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_TYPE); in efx_mcdi_get_phy_cfg()
36 cfg->supported_cap = in efx_mcdi_get_phy_cfg()
38 cfg->channel = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_CHANNEL); in efx_mcdi_get_phy_cfg()
39 cfg->port = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_PRT); in efx_mcdi_get_phy_cfg()
40 cfg->stats_mask = MCDI_DWORD(outbuf, GET_PHY_CFG_OUT_STATS_MASK); in efx_mcdi_get_phy_cfg()
41 memcpy(cfg->name, MCDI_PTR(outbuf, GET_PHY_CFG_OUT_NAME), in efx_mcdi_get_phy_cfg()
[all …]

12345678910>>...43