/linux-6.12.1/tools/testing/selftests/tc-testing/tc-tests/qdiscs/ |
D | choke.json | 14 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root choke limit 1000 bandwidth 10000", 17 "matchPattern": "qdisc choke 1: root refcnt [0-9]+ limit 1000p min 83p max 250p", 35 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root choke limit 1000 bandwidth 10000 min 100", 38 "matchPattern": "qdisc choke 1: root refcnt [0-9]+ limit 1000p min 100p max 250p", 56 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root choke limit 1000 bandwidth 10000 max 900", 59 "matchPattern": "qdisc choke 1: root refcnt [0-9]+ limit 1000p min.*max 900p", 77 … "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root choke limit 1000 bandwidth 10000 ecn", 80 "matchPattern": "qdisc choke 1: root refcnt [0-9]+ limit 1000p min 83p max 250p ecn", 98 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root choke limit 1000 bandwidth 10000 burst 10… 101 "matchPattern": "qdisc choke 1: root refcnt [0-9]+ limit 1000p min 83p max 250p", [all …]
|
D | tbf.json | 14 … "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root tbf limit 1000 burst 1500 rate 10000", 17 "matchPattern": "qdisc tbf 1: root refcnt [0-9]+ rate 10Kbit burst 1500b limit 1000b", 35 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root tbf limit 1000 burst 1500 rate 20000 mtu … 38 "matchPattern": "qdisc tbf 1: root refcnt [0-9]+ rate 20Kbit burst 1500b limit 1000b", 56 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root tbf limit 1000 burst 1500 rate 20000 mtu … 59 …"matchPattern": "qdisc tbf 1: root refcnt [0-9]+ rate 20Kbit burst 1500b peakrate 30Kbit minburst.… 80 "matchPattern": "qdisc tbf 1: root refcnt [0-9]+ rate 20Kbit burst 1500b lat 100ms", 98 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root tbf limit 1000 burst 1500 rate 20000 over… 101 …"matchPattern": "qdisc tbf 1: root refcnt [0-9]+ rate 20Kbit burst 1800b limit 1000b overhead 300", 119 …"cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root tbf limit 1000 burst 1500 rate 20000 link… [all …]
|
/linux-6.12.1/drivers/net/ethernet/intel/ice/ |
D | ice_ethtool.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 57 [2] = ICE_PHY_TYPE(1000MB, 1000baseT_Full), 58 [3] = ICE_PHY_TYPE(1000MB, 1000baseX_Full), 59 [4] = ICE_PHY_TYPE(1000MB, 1000baseX_Full), 60 [5] = ICE_PHY_TYPE(1000MB, 1000baseKX_Full), 61 [6] = ICE_PHY_TYPE(1000MB, 1000baseT_Full), 67 [12] = ICE_PHY_TYPE(10GB, 10000baseT_Full), 68 [13] = ICE_PHY_TYPE(10GB, 10000baseCR_Full), 69 [14] = ICE_PHY_TYPE(10GB, 10000baseSR_Full), 70 [15] = ICE_PHY_TYPE(10GB, 10000baseLR_Full), [all …]
|
/linux-6.12.1/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-6.12.1/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-6.12.1/net/ethtool/ |
D | common.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 [NETIF_F_SG_BIT] = "tx-scatter-gather", 14 [NETIF_F_IP_CSUM_BIT] = "tx-checksum-ipv4", 15 [NETIF_F_HW_CSUM_BIT] = "tx-checksum-ip-generic", 16 [NETIF_F_IPV6_CSUM_BIT] = "tx-checksum-ipv6", 18 [NETIF_F_FRAGLIST_BIT] = "tx-scatter-gather-fraglist", 19 [NETIF_F_HW_VLAN_CTAG_TX_BIT] = "tx-vlan-hw-insert", 21 [NETIF_F_HW_VLAN_CTAG_RX_BIT] = "rx-vlan-hw-parse", 22 [NETIF_F_HW_VLAN_CTAG_FILTER_BIT] = "rx-vlan-filter", 23 [NETIF_F_HW_VLAN_STAG_TX_BIT] = "tx-vlan-stag-hw-insert", [all …]
|
/linux-6.12.1/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-6.12.1/tools/testing/selftests/bpf/progs/ |
D | pro_epilogue.c | 1 // SPDX-License-Identifier: GPL-2.0 19 args->a += 1; in subprog() 20 return args->a; in subprog() 27 __xlated("2: r7 += 1000") 32 __xlated("6: call kernel-function") 53 __xlated("0: *(u64 *)(r10 -8) = r1") 57 __xlated("3: call kernel-function") 61 __xlated("6: r1 = *(u64 *)(r10 -8)") 64 __xlated("9: r6 += 10000") 88 __xlated("2: r7 += 1000") [all …]
|
D | pro_epilogue_goto_start.c | 1 // SPDX-License-Identifier: GPL-2.0 16 __xlated("2: r7 += 1000") 22 __xlated("7: goto pc-3") 24 __xlated("9: goto pc-6") 34 "goto -3;" in test_prologue_goto_start() 36 "goto -6;" in test_prologue_goto_start() 44 __xlated("0: *(u64 *)(r10 -8) = r1") 49 __xlated("4: goto pc-3") 51 __xlated("6: goto pc-6") 54 __xlated("8: r1 = *(u64 *)(r10 -8)") [all …]
|
/linux-6.12.1/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-6.12.1/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() 52 * recorded with bogus sub-second values. in udf_disk_stamp_to_time() 56 dest->tv_nsec = 1000 * (src.centiseconds * 10000 + in udf_disk_stamp_to_time() 59 dest->tv_nsec = 0; in udf_disk_stamp_to_time() 70 offset = -sys_tz.tz_minuteswest; in udf_time_to_disk_stamp() 72 dest->typeAndTimezone = cpu_to_le16(0x1000 | (offset & 0x0FFF)); in udf_time_to_disk_stamp() [all …]
|
/linux-6.12.1/tools/testing/selftests/net/packetdrill/ |
D | tcp_inq_client.pkt | 1 // SPDX-License-Identifier: GPL-2.0 6 // Create a socket and set it to non-blocking. 12 +0 connect(3, ..., ...) = -1 EINPROGRESS (Operation now in progress) 20 +0 < . 1:10001(10000) ack 1 win 514 25 msg_iov(1)=[{..., 1000}], 29 cmsg_data=9000}]}, 0) = 1000 39 +0 < F. 10001:20001(10000) ack 1 win 514 45 msg_iov(1)=[{..., 10000}], 49 cmsg_data=1}]}, 0) = 10000
|
/linux-6.12.1/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-6.12.1/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-6.12.1/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-6.12.1/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-6.12.1/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-6.12.1/drivers/usb/typec/ |
D | rt1719.c | 1 // SPDX-License-Identifier: GPL-2.0 125 ret = regmap_raw_read(data->regmap, reg, ®val, sizeof(regval)); in rt1719_read16() 138 ret = regmap_raw_read(data->regmap, reg, ®val, sizeof(regval)); in rt1719_read32() 150 return regmap_raw_write(data->regmap, reg, ®val, sizeof(regval)); in rt1719_write32() 204 usb_role_switch_set_role(data->role_sw, usb_role); in rt1719_set_data_role() 205 typec_set_data_role(data->port, data_role); in rt1719_set_data_role() 210 if (!data->attached) in rt1719_update_data_role() 213 rt1719_set_data_role(data, rt1719_get_data_role(data->conn_info), true); in rt1719_update_data_role() 220 if (data->pd_capable) { in rt1719_register_partner() 223 rev = FIELD_GET(RT1719_PDSPECREV_MASK, data->conn_info); in rt1719_register_partner() [all …]
|
/linux-6.12.1/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-6.12.1/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-6.12.1/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-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|