Home
last modified time | relevance | path

Searched +full:tx +full:- +full:sec (Results 1 – 25 of 476) sorted by relevance

12345678910>>...20

/linux-6.12.1/tools/testing/selftests/ptp/
Dtestptp.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * PTP 1588 clock support - User space test program
35 #define CLOCK_INVALID -1
43 static int clock_adjtime(clockid_t id, struct timex *tx) in clock_adjtime() argument
45 return syscall(__NR_clock_adjtime, id, tx); in clock_adjtime()
113 return t->sec * NSEC_PER_SEC + t->nsec; in pctns()
120 " -c query the ptp clock's capabilities\n" in usage()
121 " -d name device to open\n" in usage()
122 " -e val read 'val' external time stamp events\n" in usage()
123 " -f val adjust the ptp clock frequency by 'val' ppb\n" in usage()
[all …]
/linux-6.12.1/tools/testing/selftests/timers/
Dvalid-adjtimex.c9 * Usage: valid-adjtimex
12 * $ gcc valid-adjtimex.c -o valid-adjtimex -lrt
40 int clock_adjtime(clockid_t id, struct timex *tx) in clock_adjtime() argument
42 return syscall(__NR_clock_adjtime, id, tx); in clock_adjtime()
49 struct timex tx; in clear_time_state() local
52 tx.modes = ADJ_STATUS; in clear_time_state()
53 tx.status = 0; in clear_time_state()
54 ret = adjtimex(&tx); in clear_time_state()
65 -499 * SHIFTED_PPM,
66 -450 * SHIFTED_PPM,
[all …]
Dleap-a-day.c9 * kernel's leap-second behavior, as well as how well applications
10 * handle the leap-second discontinuity.
12 * Usage: leap-a-day [-s] [-i <num>]
15 * -s: Each iteration, set the date to 10 seconds before midnight GMT.
21 * -i: Number of iterations to run (default: infinite)
27 * $ gcc leap-a-day.c -o leap-a-day -lrt
75 ts.tv_nsec -= NSEC_PER_SEC; in timespec_add()
97 struct timex tx; in clear_time_state() local
103 * -stable), had an issue with the state machine in clear_time_state()
106 tx.modes = ADJ_STATUS; in clear_time_state()
[all …]
/linux-6.12.1/drivers/crypto/caam/
Ddpseci.h1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
3 * Copyright 2013-2016 Freescale Semiconductor Inc.
4 * Copyright 2017-2018 NXP
10 * Data Path SEC Interface API
21 * Maximum number of Tx/Rx queues per DPSECI object
28 #define DPSECI_ALL_QUEUES (u8)(-1)
41 * struct dpseci_cfg - Structure representing DPSECI configuration
44 * @num_tx_queues: num of queues towards the SEC
45 * @num_rx_queues: num of queues back from the SEC
46 * @priorities: Priorities for the SEC hardware processing;
[all …]
/linux-6.12.1/drivers/net/ethernet/intel/igbvf/
Digbvf.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 2009 - 2018 Intel Corporation. */
22 #define IGBVF_START_ITR 488 /* ~8000 ints/sec */
39 /* Tx/Rx descriptor defines */
48 #define IGBVF_MIN_ITR_USECS 10 /* 100000 irq/sec */
49 #define IGBVF_MAX_ITR_USECS 10000 /* 100 irq/sec */
52 * PTHRESH - MAC will consider prefetch if it has fewer than this number of
55 * HTHRESH - MAC will only prefetch if there are at least this many descriptors
58 * WTHRESH - RX descriptor writeback threshold - MAC will delay writing back
71 /* How many Tx Descriptors do we need to call netif_wake_queue ? */
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/net/
Dibm,emac.txt8 correct clock-frequency property.
13 - device_type : "network"
15 - compatible : compatible list, contains 2 entries, first is
16 "ibm,emac-CHIP" where CHIP is the host ASIC (440gx,
18 "ibm,emac4". For Axon, thus, we have: "ibm,emac-axon",
20 - interrupts : <interrupt mapping for EMAC IRQ and WOL IRQ>
21 - reg : <registers mapping>
22 - local-mac-address : 6 bytes, MAC address
23 - mal-device : phandle of the associated McMAL node
24 - mal-tx-channel : 1 cell, index of the tx channel on McMAL associated
[all …]
/linux-6.12.1/drivers/firmware/arm_scmi/vendors/imx/
Dimx-sm-bbm.c1 // SPDX-License-Identifier: GPL-2.0
8 #define pr_fmt(fmt) "SCMI Notifications BBM - " fmt
99 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, 0, sizeof(*attr), &t); in scmi_imx_bbm_attributes_get()
103 attr = t->rx.buf; in scmi_imx_bbm_attributes_get()
105 ret = ph->xops->do_xfer(ph, t); in scmi_imx_bbm_attributes_get()
107 pi->nr_rtc = GET_RTCS_NR(attr->attributes); in scmi_imx_bbm_attributes_get()
108 pi->nr_gpr = GET_GPRS_NR(attr->attributes); in scmi_imx_bbm_attributes_get()
111 ph->xops->xfer_put(ph, t); in scmi_imx_bbm_attributes_get()
125 ret = ph->xops->xfer_get_init(ph, message_id, in scmi_imx_bbm_notify()
130 rtc_notify = t->tx.buf; in scmi_imx_bbm_notify()
[all …]
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dxdp_features.c1 // SPDX-License-Identifier: GPL-2.0
15 #include <asm-generic/errno-base.h>
38 } stats SEC(".maps");
45 } dut_stats SEC(".maps");
52 } cpu_map SEC(".maps");
59 } dev_map SEC(".maps");
67 void *data_end = (void *)(long)xdp->data_end; in xdp_process_echo_packet()
68 void *data = (void *)(long)xdp->data; in xdp_process_echo_packet()
75 return -EINVAL; in xdp_process_echo_packet()
77 if (eh->h_proto == bpf_htons(ETH_P_IP)) { in xdp_process_echo_packet()
[all …]
Dlsm_cgroup.c1 // SPDX-License-Identifier: GPL-2.0
8 char _license[] SEC("license") = "GPL";
30 } cgroup_storage SEC(".maps");
57 /* Reject non-tx-only AF_PACKET. */ in real_create()
61 sk = sock->sk; in real_create()
84 SEC("lsm_cgroup/socket_post_create")
93 SEC("lsm_cgroup/socket_post_create")
106 struct sock *sk = sock->sk; in real_bind()
111 if (sk->__sk_common.skc_family != AF_PACKET) in real_bind()
114 if (sk->sk_kern_sock) in real_bind()
[all …]
/linux-6.12.1/tools/perf/scripts/python/
Dnetdev-times.py2 # SPDX-License-Identifier: GPL-2.0
6 # tx: show only tx chart
17 '/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
27 net_rx_dic = {}; # key is cpu and value include time of NET_RX softirq-entry
61 return (dst - src) / 1000000.0
80 PF_NET_RECV= " |---netif_receive_skb(+%.3fmsec skb=%x len=%d)"
81 PF_NET_RX= " |---netif_rx(+%.3fmsec skb=%x)"
129 if i == len(event_list) - 1:
166 if arg == 'tx':
223 print("----------------------------")
[all …]
/linux-6.12.1/arch/arm64/boot/dts/freescale/
Dfsl-ls1012a.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Device Tree Include file for NXP Layerscape-1012A family SoC.
6 * Copyright 2019-2020 NXP
10 #include <dt-bindings/clock/fsl,qoriq-clockgen.h>
11 #include <dt-bindings/interrupt-controller/arm-gic.h>
12 #include <dt-bindings/thermal/thermal.h>
16 interrupt-parent = <&gic>;
17 #address-cells = <2>;
18 #size-cells = <2>;
23 rtic-a = &rtic_a;
[all …]
Dfsl-ls1028a.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Device Tree Include file for NXP Layerscape-1028A family SoC.
5 * Copyright 2018-2020 NXP
11 #include <dt-bindings/clock/fsl,qoriq-clockgen.h>
12 #include <dt-bindings/interrupt-controller/arm-gic.h>
13 #include <dt-bindings/thermal/thermal.h>
17 interrupt-parent = <&gic>;
18 #address-cells = <2>;
19 #size-cells = <2>;
22 #address-cells = <1>;
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/sound/
Dsamsung-i2s.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/sound/samsung-i2s.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzk@kernel.org>
11 - Sylwester Nawrocki <s.nawrocki@samsung.com>
14 - $ref: dai-common.yaml#
19 samsung,s3c6410-i2s: for 8/16/24bit stereo I2S.
21 samsung,s5pv210-i2s: for 8/16/24bit multichannel (5.1) I2S with
25 samsung,exynos5420-i2s: for 8/16/24bit multichannel (5.1) I2S for
[all …]
/linux-6.12.1/drivers/net/wireless/intel/ipw2x00/
Dipw2100.c1 // SPDX-License-Identifier: GPL-2.0-only
4 Copyright(c) 2003 - 2006 Intel Corporation. All rights reserved.
9 Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
12 Extensions 0.26 package and copyright (c) 1997-2003 Jean Tourrilhes
16 Copyright (c) 2001-2002, SSH Communications Security Corp and Jouni Malinen
18 Copyright (c) 2002-2003, Jouni Malinen <j@w1.fi>
34 Tx - Commands and Data
54 The Tx flow cycle is as follows:
68 8) For each Tx interrupt received from the firmware, the READ index is checked
84 There are two locks utilized. The first is the low level lock (priv->low_lock)
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/dsp/
Dmediatek,mt8186-dsp.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/dsp/mediatek,mt8186-dsp.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Tinghan Shen <tinghan.shen@mediatek.com>
14 advanced pre- and post- audio processing.
19 - mediatek,mt8186-dsp
20 - mediatek,mt8188-dsp
24 - description: Address and size of the DSP config registers
25 - description: Address and size of the DSP SRAM
[all …]
/linux-6.12.1/Documentation/networking/dsa/
Dsja1105.rst8 The NXP SJA1105 is a family of 10 SPI-managed automotive switches:
10 - SJA1105E: First generation, no TTEthernet
11 - SJA1105T: First generation, TTEthernet
12 - SJA1105P: Second generation, no TTEthernet, no SGMII
13 - SJA1105Q: Second generation, TTEthernet, no SGMII
14 - SJA1105R: Second generation, no TTEthernet, SGMII
15 - SJA1105S: Second generation, TTEthernet, SGMII
16 - SJA1110A: Third generation, TTEthernet, SGMII, integrated 100base-T1 and
17 100base-TX PHYs
18 - SJA1110B: Third generation, TTEthernet, SGMII, 100base-T1, 100base-TX
[all …]
/linux-6.12.1/arch/arm/boot/dts/nxp/vf/
Dvfxxx.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
5 #include "vf610-pinfunc.h"
6 #include <dt-bindings/clock/vf610-clock.h>
7 #include <dt-bindings/interrupt-controller/irq.h>
8 #include <dt-bindings/gpio/gpio.h>
32 compatible = "fixed-clock";
33 #clock-cells = <0>;
34 clock-frequency = <24000000>;
38 compatible = "fixed-clock";
39 #clock-cells = <0>;
[all …]
/linux-6.12.1/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.h1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
2 /* Copyright 2014-2016 Freescale Semiconductor Inc.
3 * Copyright 2016-2022 NXP
17 #include <soc/fsl/dpaa2-io.h>
18 #include <soc/fsl/dpaa2-fd.h>
20 #include "dpni-cmd.h"
22 #include "dpaa2-eth-trace.h"
23 #include "dpaa2-eth-debugfs.h"
24 #include "dpaa2-mac.h"
30 /* Maximum number of scatter-gather entries in an ingress frame,
[all …]
/linux-6.12.1/drivers/net/ethernet/microchip/
Dlan743x_ptp.c1 /* SPDX-License-Identifier: GPL-2.0+ */
37 return -EINVAL; in lan743x_get_channel()
42 struct lan743x_gpio *gpio = &adapter->gpio; in lan743x_gpio_init()
44 spin_lock_init(&gpio->gpio_lock); in lan743x_gpio_init()
46 gpio->gpio_cfg0 = 0; /* set all direction to input, data = 0 */ in lan743x_gpio_init()
47 gpio->gpio_cfg1 = 0x0FFF0000;/* disable all gpio, set to open drain */ in lan743x_gpio_init()
48 gpio->gpio_cfg2 = 0;/* set all to 1588 low polarity level */ in lan743x_gpio_init()
49 gpio->gpio_cfg3 = 0;/* disable all 1588 output */ in lan743x_gpio_init()
50 lan743x_csr_write(adapter, GPIO_CFG0, gpio->gpio_cfg0); in lan743x_gpio_init()
51 lan743x_csr_write(adapter, GPIO_CFG1, gpio->gpio_cfg1); in lan743x_gpio_init()
[all …]
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dpci_hw.h1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
2 /* Copyright (c) 2015-2018 Mellanox Technologies. All rights reserved */
79 * For Ethernet EMAD (Direct Route and non Direct Route) -
81 * For InfiniBand CTL - must be set if packet destination is local device
94 * Size of i-th scatter/gather entry, 0 if entry is unused.
99 * Physical address of i-th scatter/gather entry.
203 * 1 - Send Queue
204 * 0 - Receive Queue
220 * 0: uSec - 1.024uSec (default for devices which do not support
222 * 1: FRC - Free Running Clock - units of 1nSec
[all …]
/linux-6.12.1/drivers/net/hippi/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
10 HIgh Performance Parallel Interface (HIPPI) is a 800Mbit/sec and
11 1600Mbit/sec dual-simplex switched or point-to-point network. HIPPI
12 can run over copper (25m) or fiber (300m on multi-mode or 10km on
13 single-mode). HIPPI networks are commonly used for clusters and to
31 bool "Use large TX/RX rings"
/linux-6.12.1/drivers/net/ethernet/intel/iavf/
Diavf_txrx.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 2013 - 2018 Intel Corporation. */
32 * the value of the rate limit is non-zero
38 #define IAVF_INTRL_8K 125 /* 8000 ints/sec */
39 #define IAVF_INTRL_62K 16 /* 62500 ints/sec */
40 #define IAVF_INTRL_83K 12 /* 83333 ints/sec */
86 * iavf_test_staterr - tests bits in Rx descriptor status and error fields
98 return !!(rx_desc->wb.qword1.status_error_len & in iavf_test_staterr()
106 if ((i) == (r)->count) \
108 r->next_to_clean = i; \
[all …]
/linux-6.12.1/drivers/net/phy/
Dmicrel.c1 // SPDX-License-Identifier: GPL-2.0+
9 * Copyright (c) 2010-2013 Micrel, Inc.
126 * The value is calculated as following: (1/1000000)/((2^-32)/4)
132 * The value is calculated as following: (1/1000000)/((2^-32)/8)
525 const struct kszphy_type *type = phydev->drv->driver_data; in kszphy_config_intr()
529 if (type && type->interrupt_level_mask) in kszphy_config_intr()
530 mask = type->interrupt_level_mask; in kszphy_config_intr()
542 if (phydev->interrupts == PHY_INTERRUPT_ENABLED) { in kszphy_config_intr()
605 return -EINVAL; in kszphy_setup_led()
625 * unique (non-broadcast) address on a shared bus.
[all …]
/linux-6.12.1/drivers/net/ethernet/intel/igc/
Digc_tsn.c1 // SPDX-License-Identifier: GPL-2.0
12 for (i = 0; i < adapter->num_tx_queues; i++) { in is_any_launchtime()
13 struct igc_ring *ring = adapter->tx_ring[i]; in is_any_launchtime()
15 if (ring->launchtime_enable) in is_any_launchtime()
26 for (i = 0; i < adapter->num_tx_queues; i++) { in is_cbs_enabled()
27 struct igc_ring *ring = adapter->tx_ring[i]; in is_cbs_enabled()
29 if (ring->cbs_enable) in is_cbs_enabled()
38 unsigned int new_flags = adapter->flags & ~IGC_FLAG_TSN_ANY_ENABLED; in igc_tsn_new_flags()
40 if (adapter->taprio_offload_enable) in igc_tsn_new_flags()
49 if (adapter->strict_priority_enable) in igc_tsn_new_flags()
[all …]
/linux-6.12.1/include/uapi/linux/
Datmdev.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /* atmdev.h - ATM device driver declarations and various related items */
4 /* Written 1995-2000 by Werner Almesberger, EPFL LRC/ICA */
22 max cell rate: 353207.547 cells/sec */
23 #define ATM_25_PCR ((25600000/8-8000)/54)
29 max cell rate: 1412830.188 cells/sec */
35 __HANDLE_ITEM(tx); /* TX okay */ \
36 __HANDLE_ITEM(tx_err); /* TX errors */ \
97 /* enable or disable single-copy */
109 * above. In the future we may support dynamic loading of these - for now,
[all …]

12345678910>>...20