/Linux-v6.6/tools/testing/selftests/tc-testing/tc-tests/qdiscs/ |
D | choke.json | 15 "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 …]
|
D | tbf.json | 15 … "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.6/drivers/net/ethernet/intel/ice/ |
D | ice_ethtool.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 28 [2] = ICE_PHY_TYPE(1000MB, 1000baseT_Full), 29 [3] = ICE_PHY_TYPE(1000MB, 1000baseX_Full), 30 [4] = ICE_PHY_TYPE(1000MB, 1000baseX_Full), 31 [5] = ICE_PHY_TYPE(1000MB, 1000baseKX_Full), 32 [6] = ICE_PHY_TYPE(1000MB, 1000baseT_Full), 38 [12] = ICE_PHY_TYPE(10GB, 10000baseT_Full), 39 [13] = ICE_PHY_TYPE(10GB, 10000baseCR_Full), 40 [14] = ICE_PHY_TYPE(10GB, 10000baseSR_Full), 41 [15] = ICE_PHY_TYPE(10GB, 10000baseLR_Full), [all …]
|
/Linux-v6.6/lib/ |
D | polynomial.c | 1 // 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.6/net/ethtool/ |
D | common.c | 1 // 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.6/drivers/net/phy/ |
D | sfp-bus.c | 1 // 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 …]
|
D | phy-core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 10 * phy_speed_to_str - Return a string representing the PHY link speed 57 return "Unsupported (update phy-core.c)"; in phy_speed_to_str() 63 * phy_duplex_to_str - Return string describing the duplex 75 return "Unsupported (update phy-core.c)"; in phy_duplex_to_str() 80 * phy_rate_matching_to_str - Return a string describing the rate matching 94 return "open-loop"; in phy_rate_matching_to_str() 96 return "Unsupported (update phy-core.c)"; in phy_rate_matching_to_str() 101 * phy_interface_num_ports - Return the number of links that can be carried by 102 * a given MAC-PHY physical link. Returns 0 if this is [all …]
|
/Linux-v6.6/drivers/media/dvb-frontends/ |
D | tda10086.c | 1 // 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 …]
|
D | horus3a.c | 1 // 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.6/tools/testing/selftests/drivers/net/mlxsw/ |
D | devlink_trap_policer.sh | 2 # 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.6/fs/udf/ |
D | udftime.c | 1 // SPDX-License-Identifier: LGPL-2.0+ 9 * 10/04/98: added new table-based lookup after seeing how ugly 41 if (offset == -2047) /* unspecified offset */ in udf_disk_stamp_to_time() 46 dest->tv_sec = mktime64(year, src.month, src.day, src.hour, src.minute, in udf_disk_stamp_to_time() 48 dest->tv_sec -= offset * 60; in udf_disk_stamp_to_time() 49 dest->tv_nsec = 1000 * (src.centiseconds * 10000 + in udf_disk_stamp_to_time() 53 * recorded with bogus sub-second values. in udf_disk_stamp_to_time() 55 dest->tv_nsec %= NSEC_PER_SEC; in udf_disk_stamp_to_time() 65 offset = -sys_tz.tz_minuteswest; in udf_time_to_disk_stamp() 67 dest->typeAndTimezone = cpu_to_le16(0x1000 | (offset & 0x0FFF)); in udf_time_to_disk_stamp() [all …]
|
/Linux-v6.6/drivers/mtd/nand/raw/ |
D | nand_timings.c | 1 // 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.6/tools/power/cpupower/utils/helpers/ |
D | misc.c | 1 // 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() 99 return -1; in cpupower_set_epp() 104 return -1; in cpupower_set_epp() 117 return -1; in cpupower_set_amd_pstate_mode() 122 return -1; in cpupower_set_amd_pstate_mode() [all …]
|
/Linux-v6.6/drivers/s390/net/ |
D | qeth_ethtool.c | 1 // 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.6/tools/perf/bench/ |
D | syscall.c | 9 #include <subcmd/parse-options.h> 22 #define __NR_fork -1 97 /* Only loop 10000 times to save time */ in bench_syscall_common() 98 if (i == 10000) in bench_syscall_common() 99 loops = 10000; in bench_syscall_common() 103 /* Only loop 10000 times to save time */ in bench_syscall_common() 104 if (i == 10000) in bench_syscall_common() 105 loops = 10000; in bench_syscall_common() 141 (unsigned long) (diff.tv_usec/1000)); in bench_syscall_common() 153 (unsigned long) (diff.tv_usec / 1000)); in bench_syscall_common()
|
/Linux-v6.6/drivers/comedi/drivers/ |
D | ni_atmio.c | 1 // 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 …]
|
/Linux-v6.6/drivers/media/pci/cobalt/ |
D | cobalt-cpld.c | 1 // 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.6/drivers/usb/typec/ |
D | rt1719.c | 1 // SPDX-License-Identifier: GPL-2.0 131 ret = regmap_raw_read(data->regmap, reg, ®val, sizeof(regval)); in rt1719_read16() 144 ret = regmap_raw_read(data->regmap, reg, ®val, sizeof(regval)); in rt1719_read32() 156 return regmap_raw_write(data->regmap, reg, ®val, 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.6/arch/mips/cavium-octeon/executive/ |
D | cvmx-helper-sgmii.c | 7 * 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.6/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
D | hw_atl_utils_fw2x.c | 1 // 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 …]
|
D | hw_atl_utils.c | 1 // 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.6/drivers/net/ethernet/sfc/siena/ |
D | mcdi_port_common.c | 1 // 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.6/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-phy-v2.c | 125 #include "xgbe-common.h" 149 /* Rate-change complete wait/retry count */ 153 #define XGBE_CDR_DELAY_INIT 10000 154 #define XGBE_CDR_DELAY_INC 10000 276 ((_x)->extd[XGBE_SFP_EXTD_SFF_8472] && \ 277 !((_x)->extd[XGBE_SFP_EXTD_DIAG] & XGBE_SFP_EXTD_DIAG_ADDR_CHANGE)) 284 #define XGBE_BEL_FUSE_VENDOR "BEL-FUSE " 285 #define XGBE_BEL_FUSE_PARTNO "1GBT-SFP06 " 306 /* Re-driver related definitions */ 375 /* Re-driver support */ [all …]
|
/Linux-v6.6/drivers/video/fbdev/ |
D | gbefb.c | 4 * 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.6/drivers/net/ethernet/sfc/ |
D | mcdi_port_common.c | 1 // 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 …]
|