Home
last modified time | relevance | path

Searched +full:ns +full:- +full:config (Results 1 – 25 of 390) sorted by relevance

12345678910>>...16

/linux/Documentation/devicetree/bindings/interrupt-controller/
H A Darm,gic-v5.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/interrupt-controller/arm,gic-v5.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Lorenzo Pieralisi <lpieralisi@kernel.org>
11 - Marc Zyngier <maz@kernel.org>
21 - one or more IRS (Interrupt Routing Service)
22 - zero or more ITS (Interrupt Translation Service)
25 - PE-Private Peripheral Interrupts (PPI)
26 - Shared Peripheral Interrupts (SPI)
[all …]
/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_ptp.c1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
3 * Copyright (c) 2015-2017 QLogic Corporation
4 * Copyright (c) 2019-2020 Marvell International Ltd.
31 * qede_ptp_adjfine() - Adjust the frequency of the PTP cycle counter.
36 * Scaled parts per million is ppm with a 16-bit binary fractional field.
44 struct qede_dev *edev = ptp->edev; in qede_ptp_adjfine()
48 if (edev->state == QEDE_STATE_OPEN) { in qede_ptp_adjfine()
49 spin_lock_bh(&ptp->lock); in qede_ptp_adjfine()
50 rc = ptp->ops->adjfreq(edev->cdev, ppb); in qede_ptp_adjfine()
51 spin_unlock_bh(&ptp->lock); in qede_ptp_adjfine()
[all …]
/linux/Documentation/devicetree/bindings/mips/cavium/
H A Dbootbus.txt7 - compatible: "cavium,octeon-3860-bootbus"
11 - reg: The base address of the Boot Bus' register bank.
13 - #address-cells: Must be <2>. The first cell is the chip select
16 - #size-cells: Must be <1>.
18 - ranges: There must be one one triplet of (child-bus-address,
19 parent-bus-address, length) for each active chip select. If the
27 - compatible: "cavium,octeon-3860-bootbus-config"
29 - cavium,cs-index: A single cell indicating the chip select that
32 - cavium,t-adr: A cell specifying the ADR timing (in nS).
34 - cavium,t-ce: A cell specifying the CE timing (in nS).
[all …]
/linux/security/tomoyo/
H A Dcommon.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2005-2011 NTT DATA CORPORATION
25 /* CONFIG::file group */
49 /* CONFIG::network group */
65 /* CONFIG::misc group */
67 /* CONFIG group */
173 /* Permit policy management by non-root user? */
179 * tomoyo_addprintf - strncat()-like-snprintf().
181 * @buffer: Buffer to write to. Must be '\0'-terminated.
194 vsnprintf(buffer + pos, len - pos - 1, fmt, args); in tomoyo_addprintf()
[all …]
/linux/drivers/net/ethernet/intel/igb/
H A Digb_ptp.c1 // SPDX-License-Identifier: GPL-2.0+
14 /* The 82580 timesync updates the system timer every 8ns by 8ns,
38 * +--------------+ +---+---+------+
40 * +--------------+ +---+---+------+
43 * +----------+---+ +--------------+
45 * +----------+---+ +--------------+
50 * 2^45 * 10^-9 / 3600 = 9.77 hours.
53 * 2^40 * 10^-9 / 60 = 18.3 minutes.
67 #define INCVALUE_82576_MASK GENMASK(E1000_TIMINCA_16NS_SHIFT - 1, 0)
79 struct e1000_hw *hw = &igb->hw; in igb_ptp_read_82576()
[all …]
/linux/tools/testing/selftests/net/
H A Dtest_ingress_egress_chaining.sh2 # SPDX-License-Identifier: GPL-2.0
7 # Kselftest framework requirement - SKIP code is 4.
10 if [ "$(id -u)" -ne 0 ];then
20 ns="ns$((RANDOM%899+100))"
34 killall -q -9 udpgso_bench_rx
37 ip netns del $ns &> /dev/null
41 function config() { function
47 ip netns add $ns
48 ip link set dev $peer2 netns $ns
49 ip netns exec $ns ip addr add $ip_peer2/24 dev $peer2
[all …]
H A Dfcnal-test.sh2 # SPDX-License-Identifier: GPL-2.0
9 # 2. client, server, no-server
13 # 6. VRF and non-VRF permutations
16 # ns-A | ns-B
18 # [ lo ] [ eth1 ]---|---[ eth1 ] [ lo ]
21 # [ red ]---[ eth1 ]---|---[ eth1 ] [ lo ]
23 # ns-A:
30 # ns-B:
35 # ns-A to ns-C connection - only for VRF and same config
36 # as ns-A to ns-B
[all …]
H A Dvrf_route_leaking.sh2 # SPDX-License-Identifier: GPL-2.0
13 # +----+ .253 +----+ .253 +----+
14 # | h1 |-------------------| r1 |-------------------| h2 |
15 # +----+ .1 +----+ .2 +----+
42 # .253 +----+ .253
43 # +----| r1 |----+
44 # | +----+ |
45 # +----+ | | +----+
46 # | h1 |--------------+ +--------------| h2 |
47 # +----+ .1 | | .2 +----+
[all …]
H A Dfib_nexthop_multiprefix.sh2 # SPDX-License-Identifier: GPL-2.0
9 # h0 - r1 - h2
30 if [ ${rc} -eq ${expected} ]; then
31 printf "TEST: %-60s [ OK ]\n" "${msg}"
36 printf "TEST: %-60s [FAIL]\n" "${msg}"
60 if [ "$VERBOSE" = "1" -a -n "$out" ]; then
70 # config
74 local ns=${1}
76 ip netns exec ${ns} sysctl -q -w net.ipv6.conf.all.keep_addr_on_down=1
77 case ${ns} in
[all …]
/linux/arch/x86/platform/scx200/
H A Dscx200_32.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2001,2002 Christer Weinigel <wingel@nano-system.com>
21 MODULE_AUTHOR("Christer Weinigel <wingel@nano-system.com>");
31 { PCI_VDEVICE(NS, PCI_DEVICE_ID_NS_SCx200_BRIDGE) },
32 { PCI_VDEVICE(NS, PCI_DEVICE_ID_NS_SC1100_BRIDGE) },
33 { PCI_VDEVICE(NS, PCI_DEVICE_ID_NS_SCx200_XBUS) },
34 { PCI_VDEVICE(NS, PCI_DEVICE_ID_NS_SC1100_XBUS) },
62 if (pdev->device == PCI_DEVICE_ID_NS_SCx200_BRIDGE || in scx200_probe()
63 pdev->device == PCI_DEVICE_ID_NS_SC1100_BRIDGE) { in scx200_probe()
70 return -EBUSY; in scx200_probe()
[all …]
/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_phc.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2017 - 2021 Pensando Systems, Inc */
24 return -ERANGE; in ionic_hwstamp_tx_mode()
70 struct ionic *ionic = lif->ionic; in ionic_lif_hwstamp_set_ts_config()
71 struct hwtstamp_config *config; in ionic_lif_hwstamp_set_ts_config() local
79 if (!lif->phc || !lif->phc->ptp) in ionic_lif_hwstamp_set_ts_config()
80 return -EOPNOTSUPP; in ionic_lif_hwstamp_set_ts_config()
82 mutex_lock(&lif->phc->config_lock); in ionic_lif_hwstamp_set_ts_config()
85 config = new_ts; in ionic_lif_hwstamp_set_ts_config()
93 config = &ts; in ionic_lif_hwstamp_set_ts_config()
[all …]
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ptp.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
18 * period of 6.4ns. In order to convert the scale counter into
20 * used. The SYSTIME registers need to be converted to ns values by use
30 * Period * [ 2 ^ ( MaxWidth - PeriodWidth ) ]
32 * For the X540, MaxWidth is 31 bits, and the base period is 6.4 ns
33 * For the 82599, MaxWidth is 24 bits, and the base period is 6.4 ns
37 * At 1Gb link, the period is multiplied by 10. (64ns)
38 * At 100Mb link, the period is multiplied by 100. (640ns)
47 * +--------------+ +--------------+
[all …]
/linux/drivers/net/ethernet/freescale/
H A Dfec_ptp.c1 // SPDX-License-Identifier: GPL-2.0
92 * fec_ptp_read - read raw cycle counter (to be used by time counter)
96 * cyclecounter structure used to construct a ns counter from the
105 tempval = readl(fep->hwp + FEC_ATIME_CTRL); in fec_ptp_read()
107 writel(tempval, fep->hwp + FEC_ATIME_CTRL); in fec_ptp_read()
109 if (fep->quirks & FEC_QUIRK_BUG_CAPTURE) in fec_ptp_read()
112 return readl(fep->hwp + FEC_ATIME); in fec_ptp_read()
127 u64 ns; in fec_ptp_enable_pps() local
129 spin_lock_irqsave(&fep->tmreg_lock, flags); in fec_ptp_enable_pps()
131 if (fep->pps_enable == enable) { in fec_ptp_enable_pps()
[all …]
/linux/arch/arm64/boot/dts/rockchip/
H A Drk3568.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 #include "rk356x-base.dtsi"
11 cpu0_opp_table: opp-table-0 {
12 compatible = "operating-points-v2";
13 opp-shared;
15 opp-408000000 {
16 opp-hz = /bits/ 64 <408000000>;
17 opp-microvolt = <850000 850000 1150000>;
18 clock-latency-ns = <40000>;
21 opp-600000000 {
[all …]
/linux/drivers/net/ethernet/engleder/
H A Dtsnep_ptp.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (C) 2021 Gerhard Engleder <gerhard@engleder-embedded.com> */
13 high = ioread32(adapter->addr + ECM_SYSTEM_TIME_HIGH); in tsnep_get_system_time()
15 low = ioread32(adapter->addr + ECM_SYSTEM_TIME_LOW); in tsnep_get_system_time()
17 high = ioread32(adapter->addr + ECM_SYSTEM_TIME_HIGH); in tsnep_get_system_time()
25 struct hwtstamp_config config; in tsnep_ptp_ioctl() local
28 return -EINVAL; in tsnep_ptp_ioctl()
31 if (copy_from_user(&config, ifr->ifr_data, sizeof(config))) in tsnep_ptp_ioctl()
32 return -EFAULT; in tsnep_ptp_ioctl()
34 switch (config.tx_type) { in tsnep_ptp_ioctl()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtest_xdp_veth.c1 // SPDX-License-Identifier: GPL-2.0
3 /* Create 3 namespaces with 3 veth peers, and forward packets in-between using
7 * ------
48 static struct veth_configuration config[VETH_PAIRS_COUNT] = { global() variable
[all...]
/linux/arch/arm/boot/dts/ti/omap/
H A Domap2420-n8x0-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
11 stdout-path = &uart3;
16 compatible = "i2c-cbus-gpio";
21 #address-cells = <1>;
22 #size-cells = <0>;
25 interrupt-parent = <&gpio4>;
34 clock-frequency = <400000>;
44 clock-frequency = <400000>;
50 /* gpio-irq for dma: 26 */
53 #address-cells = <1>;
[all …]
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_ptp.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 2013 - 2018 Intel Corporation. */
5 #include <linux/posix-clock.h>
16 * At 40Gb, 25Gb, or no link, the period is 1.6ns.
17 * At 10Gb or 5Gb link, the period is multiplied by 2. (3.2ns)
18 * At 1Gb link, the period is multiplied by 20. (32ns)
39 CANT_DO_PINS = -1,
52 end = -2,
66 led_end = -2,
145 * i40e_ptp_extts0_work - workqueue task function
[all …]
/linux/drivers/net/ethernet/wangxun/libwx/
H A Dwx_ptp.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (c) 2015 - 2025 Beijing WangXun Technology Co., Ltd. */
3 /* Copyright (c) 1999 - 2025 Intel Corporation. */
37 u64 ns; in wx_ptp_timecounter_cyc2time() local
40 seq = read_seqbegin(&wx->hw_tc_lock); in wx_ptp_timecounter_cyc2time()
41 ns = timecounter_cyc2time(&wx->hw_tc, timestamp); in wx_ptp_timecounter_cyc2time()
42 } while (read_seqretry(&wx->hw_tc_lock, seq)); in wx_ptp_timecounter_cyc2time()
44 return ns; in wx_ptp_timecounter_cyc2time()
71 incval = READ_ONCE(wx->base_incval); in wx_ptp_adjfine()
74 mask = (wx->mac.type == wx_mac_em) ? 0x7FFFFFF : 0xFFFFFF; in wx_ptp_adjfine()
[all …]
/linux/drivers/net/ethernet/intel/igc/
H A Digc_ptp.c1 // SPDX-License-Identifier: GPL-2.0
27 struct igc_hw *hw = &adapter->hw; in igc_ptp_read()
34 ts->tv_sec = sec; in igc_ptp_read()
35 ts->tv_nsec = nsec; in igc_ptp_read()
41 struct igc_hw *hw = &adapter->hw; in igc_ptp_write_i225()
43 wr32(IGC_SYSTIML, ts->tv_nsec); in igc_ptp_write_i225()
44 wr32(IGC_SYSTIMH, ts->tv_sec); in igc_ptp_write_i225()
51 struct igc_hw *hw = &igc->hw; in igc_ptp_adjfine_i225()
58 scaled_ppm = -scaled_ppm; in igc_ptp_adjfine_i225()
80 spin_lock_irqsave(&igc->tmreg_lock, flags); in igc_ptp_adjtime_i225()
[all …]
/linux/Documentation/hwmon/
H A Dsmsc47b397.rst6 * SMSC LPC47B397-NC
8 * SMSC SCH5307-NS
14 Addresses scanned: none, address read from Super I/O config space
20 - Mark M. Hoffman <mhoffman@lightlink.com>
21 - Utilitek Systems, Inc.
25 The following specification describes the SMSC LPC47B397-NC [1]_ sensor chip
27 provided by Craig Kelly (In-Store Broadcast Network) and edited/corrected
30 .. [1] And SMSC SCH5307-NS and SCH5317, which have different device IDs but are
33 -------------------------------------------------------------------------
36 -------------------------------------------------------------------------
[all …]
/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_ptp.c1 // SPDX-License-Identifier: GPL-2.0
11 * iavf_ptp_disable_rx_tstamp - Disable timestamping in Rx rings
18 for (u32 i = 0; i < adapter->num_active_queues; i++) in iavf_ptp_disable_rx_tstamp()
19 adapter->rx_rings[i].flags &= ~IAVF_TXRX_FLAGS_HW_TSTAMP; in iavf_ptp_disable_rx_tstamp()
23 * iavf_ptp_enable_rx_tstamp - Enable timestamping in Rx rings
30 for (u32 i = 0; i < adapter->num_active_queues; i++) in iavf_ptp_enable_rx_tstamp()
31 adapter->rx_rings[i].flags |= IAVF_TXRX_FLAGS_HW_TSTAMP; in iavf_ptp_enable_rx_tstamp()
35 * iavf_ptp_set_timestamp_mode - Set device timestamping mode
37 * @config: pointer to kernel_hwtstamp_config
47 struct kernel_hwtstamp_config *config) in iavf_ptp_set_timestamp_mode() argument
[all …]
/linux/drivers/gpu/drm/sprd/
H A Dsprd_dsi.h1 /* SPDX-License-Identifier: GPL-2.0 */
68 u8 refin; /* Pre-divider control signal */
75 u32 freq; /* panel config, unit: KHz */
98 /* maximum time (ns) for data lanes from HS to LP */
100 /* maximum time (ns) for data lanes from LP to HS */
102 /* maximum time (ns) for clk lanes from HS to LP */
104 /* maximum time (ns) for clk lanes from LP to HS */
106 /* maximum time (ns) for BTA operation - REQUIRED */
108 /* enable receiving frame ack packets - for video mode */
110 /* enable receiving tear effect ack packets - for cmd mode */
/linux/drivers/net/ethernet/ti/icssg/
H A Dicss_iep.h1 /* SPDX-License-Identifier: GPL-2.0 */
4 * Copyright (C) 2023 Texas Instruments Incorporated - https://www.ti.com/
51 * struct icss_iep_plat_data - Plat data to handle SoC variants
52 * @config: Regmap configuration data
57 const struct regmap_config *config; member
69 int clk_tick_time; /* one refclk tick time in ns */
91 void (*settime)(void *clockops_data, u64 ns);
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_ptp.c1 // SPDX-License-Identifier: GPL-2.0+
11 struct hclge_ptp *ptp = hdev->ptp; in hclge_ptp_get_cycle()
13 ptp->cycle.quo = readl(hdev->ptp->io_base + HCLGE_PTP_CYCLE_QUO_REG) & in hclge_ptp_get_cycle()
15 ptp->cycle.numer = readl(hdev->ptp->io_base + HCLGE_PTP_CYCLE_NUM_REG); in hclge_ptp_get_cycle()
16 ptp->cycle.den = readl(hdev->ptp->io_base + HCLGE_PTP_CYCLE_DEN_REG); in hclge_ptp_get_cycle()
18 if (ptp->cycle.den == 0) { in hclge_ptp_get_cycle()
19 dev_err(&hdev->pdev->dev, "invalid ptp cycle denominator!\n"); in hclge_ptp_get_cycle()
20 return -EINVAL; in hclge_ptp_get_cycle()
29 struct hclge_ptp_cycle *cycle = &hdev->ptp->cycle; in hclge_ptp_adjfine()
34 adj_base = (u64)cycle->quo * (u64)cycle->den + (u64)cycle->numer; in hclge_ptp_adjfine()
[all …]

12345678910>>...16