| /kernel/linux/linux-6.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 …]
|
| /kernel/linux/linux-6.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 …]
|
| /kernel/linux/linux-6.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 …]
|
| /kernel/linux/linux-5.10/drivers/net/phy/ |
| D | sfp-bus.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 * struct sfp_bus - internal representation of a sfp bus 50 /* Ubiquiti U-Fiber Instant module claims that support all transceiver in sfp_quirk_ubnt_uf_instant() 52 * modes and set only one mode which module supports: 1000baseX_Full. in sfp_quirk_ubnt_uf_instant() 55 phylink_set(modes, 1000baseX_Full); in sfp_quirk_ubnt_uf_instant() 60 // Alcatel Lucent G-010S-P can operate at 2500base-X, but 66 // Alcatel Lucent G-010S-A can operate at 2500base-X, but 72 // Huawei MA5671A can operate at 2500base-X, but report 1.2GBd 78 // Lantech 8330-262D-E can operate at 2500base-X, but 81 .part = "8330-262D-E", [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 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() 79 * - iow, descending speed. */ 149 PHY_SETTING( 10000, FULL, 10000baseCR_Full ), 150 PHY_SETTING( 10000, FULL, 10000baseER_Full ), 151 PHY_SETTING( 10000, FULL, 10000baseKR_Full ), 152 PHY_SETTING( 10000, FULL, 10000baseKX4_Full ), [all …]
|
| /kernel/linux/linux-6.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 …]
|
| /kernel/linux/linux-6.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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.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 …]
|
| /kernel/linux/linux-6.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 …]
|
| /kernel/linux/linux-6.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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.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 …]
|
| /kernel/linux/linux-6.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 …]
|
| /kernel/linux/linux-5.10/net/ethtool/ |
| D | common.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 [NETIF_F_SG_BIT] = "tx-scatter-gather", 12 [NETIF_F_IP_CSUM_BIT] = "tx-checksum-ipv4", 13 [NETIF_F_HW_CSUM_BIT] = "tx-checksum-ip-generic", 14 [NETIF_F_IPV6_CSUM_BIT] = "tx-checksum-ipv6", 16 [NETIF_F_FRAGLIST_BIT] = "tx-scatter-gather-fraglist", 17 [NETIF_F_HW_VLAN_CTAG_TX_BIT] = "tx-vlan-hw-insert", 19 [NETIF_F_HW_VLAN_CTAG_RX_BIT] = "rx-vlan-hw-parse", 20 [NETIF_F_HW_VLAN_CTAG_FILTER_BIT] = "rx-vlan-filter", 21 [NETIF_F_HW_VLAN_STAG_TX_BIT] = "tx-vlan-stag-hw-insert", [all …]
|
| D | linkmodes.c | 1 // SPDX-License-Identifier: GPL-2.0-only 31 struct net_device *dev = reply_base->dev; in linkmodes_prepare_data() 34 data->lsettings = &data->ksettings.base; in linkmodes_prepare_data() 40 ret = __ethtool_get_link_ksettings(dev, &data->ksettings); in linkmodes_prepare_data() 46 data->peer_empty = in linkmodes_prepare_data() 47 bitmap_empty(data->ksettings.link_modes.lp_advertising, in linkmodes_prepare_data() 59 const struct ethtool_link_ksettings *ksettings = &data->ksettings; in linkmodes_reply_size() 60 const struct ethtool_link_settings *lsettings = &ksettings->base; in linkmodes_reply_size() 61 bool compact = req_base->flags & ETHTOOL_FLAG_COMPACT_BITSETS; in linkmodes_reply_size() 68 ret = ethnl_bitset_size(ksettings->link_modes.advertising, in linkmodes_reply_size() [all …]
|
| /kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
| D | ethtool.h | 36 ep->speed = (__u16)(speed & 0xFFFF); in ethtool_cmd_speed_set() 37 ep->speed_hi = (__u16)(speed >> 16); in ethtool_cmd_speed_set() 41 return (ep->speed_hi << 16) | ep->speed; in ethtool_cmd_speed() 378 #define ETHTOOL_RXNTUPLE_ACTION_DROP (-1) 379 #define ETHTOOL_RXNTUPLE_ACTION_CLEAR (-2) 610 #define SUPPORTED_1000baseT_Half __ETHTOOL_LINK_MODE_LEGACY_MASK(1000baseT_Half) 611 #define SUPPORTED_1000baseT_Full __ETHTOOL_LINK_MODE_LEGACY_MASK(1000baseT_Full) 618 #define SUPPORTED_10000baseT_Full __ETHTOOL_LINK_MODE_LEGACY_MASK(10000baseT_Full) 623 #define SUPPORTED_1000baseKX_Full __ETHTOOL_LINK_MODE_LEGACY_MASK(1000baseKX_Full) 624 #define SUPPORTED_10000baseKX4_Full __ETHTOOL_LINK_MODE_LEGACY_MASK(10000baseKX4_Full) [all …]
|
| /kernel/linux/linux-6.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()
|
| /kernel/linux/linux-6.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 …]
|
| /kernel/linux/linux-5.10/fs/udf/ |
| D | udftime.c | 17 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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/tools/power/cpupower/utils/ |
| D | cpufreq-info.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * (C) 2004-2009 Dominik Brodowski <linux@dominikbrodowski.de> 39 value[LINE_LEN - 1] = '\0'; in count_cpus() 40 if (strlen(value) < (LINE_LEN - 2)) in count_cpus() 64 printf(_(" minimum CPU frequency - maximum CPU frequency - governor\n")); in proc_cpufreq_output() 75 min_pctg = (policy->min * 100) / max; in proc_cpufreq_output() 76 max_pctg = (policy->max * 100) / max; in proc_cpufreq_output() 78 printf("CPU%3d %9lu kHz (%3d %%) - %9lu kHz (%3d %%) - %s\n", in proc_cpufreq_output() 79 cpu , policy->min, max ? min_pctg : 0, policy->max, in proc_cpufreq_output() 80 max ? max_pctg : 0, policy->governor); in proc_cpufreq_output() [all …]
|
| /kernel/linux/linux-6.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 …]
|
| /kernel/linux/linux-5.10/drivers/staging/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 …]
|