| /OK3568_Linux_fs/kernel/tools/testing/selftests/ptp/ |
| H A D | testptp.c | 1 // 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 * 1000000000LL + 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | dhd_linux_pktdump.c | 21 * <<Broadcom-WL-IPTag/Open:>> 57 /* EAPOL-Key types */ 62 /* EAPOL-Key header field size */ 92 #define EAP_TYPE_TLS 13 /* EAP-TLS */ 93 #define EAP_TYPE_LEAP 17 /* Cisco-LEAP */ 94 #define EAP_TYPE_TTLS 21 /* EAP-TTLS */ 95 #define EAP_TYPE_AKA 23 /* EAP-AKA */ 96 #define EAP_TYPE_PEAP 25 /* EAP-PEAP */ 97 #define EAP_TYPE_FAST 43 /* EAP-FAST */ 98 #define EAP_TYPE_PSK 47 /* EAP-PSK */ [all …]
|
| H A D | dhd_statlog.c | 21 * <<Broadcom-WL-IPTag/Open:>> 38 #define DHD_STATLOG_ERR_INTERNAL(fmt, ...) DHD_ERROR(("STATLOG-" fmt, ##__VA_ARGS__)) 39 #define DHD_STATLOG_INFO_INTERNAL(fmt, ...) DHD_INFO(("STATLOG-" fmt, ##__VA_ARGS__)) 57 statlog = (dhd_statlog_t *)VMALLOCZ(dhdp->osh, sizeof(dhd_statlog_t)); in dhd_attach_statlog() 65 statlog->logbuf = (uint8 *)VMALLOCZ(dhdp->osh, logbuf_len); in dhd_attach_statlog() 66 if (!statlog->logbuf) { in dhd_attach_statlog() 70 statlog->logbuf_len = logbuf_len; in dhd_attach_statlog() 73 statlog->bufsize = (uint32)(dhd_ring_get_hdr_size() + in dhd_attach_statlog() 75 buf = VMALLOCZ(dhdp->osh, statlog->bufsize); in dhd_attach_statlog() 82 statlog->ringbuf = dhd_ring_init(dhdp, buf, statlog->bufsize, in dhd_attach_statlog() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | dhd_linux_pktdump.c | 21 * <<Broadcom-WL-IPTag/Open:>> 57 /* EAPOL-Key types */ 62 /* EAPOL-Key header field size */ 92 #define EAP_TYPE_TLS 13 /* EAP-TLS */ 93 #define EAP_TYPE_LEAP 17 /* Cisco-LEAP */ 94 #define EAP_TYPE_TTLS 21 /* EAP-TTLS */ 95 #define EAP_TYPE_AKA 23 /* EAP-AKA */ 96 #define EAP_TYPE_PEAP 25 /* EAP-PEAP */ 97 #define EAP_TYPE_FAST 43 /* EAP-FAST */ 98 #define EAP_TYPE_PSK 47 /* EAP-PSK */ [all …]
|
| H A D | dhd_statlog.c | 21 * <<Broadcom-WL-IPTag/Open:>> 38 #define DHD_STATLOG_ERR_INTERNAL(fmt, ...) DHD_ERROR(("STATLOG-" fmt, ##__VA_ARGS__)) 39 #define DHD_STATLOG_INFO_INTERNAL(fmt, ...) DHD_INFO(("STATLOG-" fmt, ##__VA_ARGS__)) 57 statlog = (dhd_statlog_t *)VMALLOCZ(dhdp->osh, sizeof(dhd_statlog_t)); in dhd_attach_statlog() 65 statlog->logbuf = (uint8 *)VMALLOCZ(dhdp->osh, logbuf_len); in dhd_attach_statlog() 66 if (!statlog->logbuf) { in dhd_attach_statlog() 70 statlog->logbuf_len = logbuf_len; in dhd_attach_statlog() 73 statlog->bufsize = (uint32)(dhd_ring_get_hdr_size() + in dhd_attach_statlog() 75 buf = VMALLOCZ(dhdp->osh, statlog->bufsize); in dhd_attach_statlog() 82 statlog->ringbuf = dhd_ring_init(dhdp, buf, statlog->bufsize, in dhd_attach_statlog() [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/timers/ |
| H A D | valid-adjtimex.c | 9 * Usage: valid-adjtimex 12 * $ gcc valid-adjtimex.c -o valid-adjtimex -lrt 43 int clock_adjtime(clockid_t id, struct timex *tx) in clock_adjtime() argument 45 return syscall(__NR_clock_adjtime, id, tx); in clock_adjtime() 52 struct timex tx; in clear_time_state() local 55 tx.modes = ADJ_STATUS; in clear_time_state() 56 tx.status = 0; in clear_time_state() 57 ret = adjtimex(&tx); in clear_time_state() 66 -499<<16, 67 -450<<16, [all …]
|
| H A D | leap-a-day.c | 9 * 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 …]
|
| /OK3568_Linux_fs/kernel/samples/bpf/ |
| H A D | xdp_redirect_map_kern.c | 27 } tx_port SEC(".maps"); 29 /* Count RX packets, as XDP bpf_prog doesn't get direct TX-success 30 * feedback. Redirect TX errors can be caught via a tracepoint. 37 } rxcnt SEC(".maps"); 55 SEC("xdp_redirect_map") 58 void *data_end = (void *)(long)ctx->data_end; in xdp_redirect_map_prog() 59 void *data = (void *)(long)ctx->data; in xdp_redirect_map_prog() 85 /* Redirect require an XDP bpf_prog loaded on the TX device */ 86 SEC("xdp_redirect_dummy") 92 char _license[] SEC("license") = "GPL";
|
| H A D | xdp_redirect_kern.c | 27 } tx_port SEC(".maps"); 29 /* Count RX packets, as XDP bpf_prog doesn't get direct TX-success 30 * feedback. Redirect TX errors can be caught via a tracepoint. 37 } rxcnt SEC(".maps"); 55 SEC("xdp_redirect") 58 void *data_end = (void *)(long)ctx->data_end; in xdp_redirect_prog() 59 void *data = (void *)(long)ctx->data; in xdp_redirect_prog() 83 /* Redirect require an XDP bpf_prog loaded on the TX device */ 84 SEC("xdp_redirect_dummy") 90 char _license[] SEC("license") = "GPL";
|
| /OK3568_Linux_fs/kernel/drivers/crypto/caam/ |
| H A D | dpseci.h | 1 /* 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/igbvf/ |
| H A D | igbvf.h | 1 /* 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/ |
| H A D | ibm,emac.txt | 8 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlan/ |
| H A D | mlan_txrx.c | 4 * @brief This file contains the handling of TX/RX in MLAN 6 * Copyright (C) 2009-2017, Marvell International Ltd. 13 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the 14 * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. 16 * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE 67 t_u32 sec = 0, usec = 0; in wlan_handle_rx_packet() local 72 prx_pd = (RxPD *)(pmbuf->pbuf + pmbuf->data_offset); in wlan_handle_rx_packet() 74 priv = wlan_get_priv_by_id(pmadapter, prx_pd->bss_num & BSS_NUM_MASK, in wlan_handle_rx_packet() 75 prx_pd->bss_type); in wlan_handle_rx_packet() 82 pmbuf->bss_index = priv->bss_index; in wlan_handle_rx_packet() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlan/ |
| H A D | mlan_txrx.c | 4 * @brief This file contains the handling of TX/RX in MLAN 7 * Copyright 2009-2021 NXP 14 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the 15 * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. 17 * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE 67 t_u32 sec = 0, usec = 0; in wlan_handle_rx_packet() local 72 prx_pd = (RxPD *)(pmbuf->pbuf + pmbuf->data_offset); in wlan_handle_rx_packet() 74 priv = wlan_get_priv_by_id(pmadapter, prx_pd->bss_num & BSS_NUM_MASK, in wlan_handle_rx_packet() 75 prx_pd->bss_type); in wlan_handle_rx_packet() 82 pmbuf->bss_index = priv->bss_index; in wlan_handle_rx_packet() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | dhd_linux_pktdump.c | 6 * Copyright (C) 1999-2017, Broadcom Corporation 27 * <<Broadcom-WL-IPTag/Open:>> 61 /* EAPOL-Key types */ 66 /* EAPOL-Key header field size */ 96 #define EAP_TYPE_TLS 13 /* EAP-TLS */ 97 #define EAP_TYPE_LEAP 17 /* Cisco-LEAP */ 98 #define EAP_TYPE_TTLS 21 /* EAP-TTLS */ 99 #define EAP_TYPE_AKA 23 /* EAP-AKA */ 100 #define EAP_TYPE_PEAP 25 /* EAP-PEAP */ 101 #define EAP_TYPE_FAST 43 /* EAP-FAST */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/ |
| H A D | dhd_linux_pktdump.c | 6 * Copyright (C) 1999-2017, Broadcom Corporation 27 * <<Broadcom-WL-IPTag/Open:>> 61 /* EAPOL-Key types */ 66 /* EAPOL-Key header field size */ 96 #define EAP_TYPE_TLS 13 /* EAP-TLS */ 97 #define EAP_TYPE_LEAP 17 /* Cisco-LEAP */ 98 #define EAP_TYPE_TTLS 21 /* EAP-TTLS */ 99 #define EAP_TYPE_AKA 23 /* EAP-AKA */ 100 #define EAP_TYPE_PEAP 25 /* EAP-PEAP */ 101 #define EAP_TYPE_FAST 43 /* EAP-FAST */ [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | dhd_linux_pktdump.c | 6 * Copyright (C) 1999-2017, Broadcom Corporation 27 * <<Broadcom-WL-IPTag/Open:>> 61 /* EAPOL-Key types */ 66 /* EAPOL-Key header field size */ 96 #define EAP_TYPE_TLS 13 /* EAP-TLS */ 97 #define EAP_TYPE_LEAP 17 /* Cisco-LEAP */ 98 #define EAP_TYPE_TTLS 21 /* EAP-TTLS */ 99 #define EAP_TYPE_AKA 23 /* EAP-AKA */ 100 #define EAP_TYPE_PEAP 25 /* EAP-PEAP */ 101 #define EAP_TYPE_FAST 43 /* EAP-FAST */ [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/freescale/ |
| H A D | fsl-ls1028a.dtsi | 1 // 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/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/thermal/thermal.h> 16 interrupt-parent = <&gic>; 17 #address-cells = <2>; 18 #size-cells = <2>; 25 #address-cells = <1>; 26 #size-cells = <0>; [all …]
|
| H A D | fsl-ls1012a.dtsi | 1 // 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/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/thermal/thermal.h> 15 interrupt-parent = <&gic>; 16 #address-cells = <2>; 17 #size-cells = <2>; 22 rtic-a = &rtic_a; 23 rtic-b = &rtic_b; [all …]
|
| /OK3568_Linux_fs/kernel/drivers/atm/ |
| H A D | horizon.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 Copyright (C) 1995-1999 Madge Networks Ltd. 13 /* too many macros - change to inline functions */ 74 #define PRINTDD(sec,fmt,args...) argument 75 #define PRINTDDB(sec,fmt,args...) argument 76 #define PRINTDDM(sec,fmt,args...) argument 77 #define PRINTDDE(sec,fmt,args...) argument 170 #define MAX_PIO_COUNT 0x000000ff // 255 - make tunable? 175 /* TX channel config command port */ 187 /* TX channel config data port */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/intel/ipw2x00/ |
| H A D | ipw2100.c | 1 // 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 …]
|
| /OK3568_Linux_fs/kernel/tools/perf/scripts/python/ |
| H A D | netdev-times.py | 2 # 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/ |
| H A D | samsung-i2s.yaml | 1 # 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> 16 samsung,s3c6410-i2s: for 8/16/24bit stereo I2S. 18 samsung,s5pv210-i2s: for 8/16/24bit multichannel (5.1) I2S with 22 samsung,exynos5420-i2s: for 8/16/24bit multichannel (5.1) I2S for 29 samsung,exynos7-i2s: with all the available features of Exynos5 I2S. [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/dpaa2/ |
| H A D | dpaa2-eth.h | 1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ 2 /* Copyright 2014-2016 Freescale Semiconductor Inc. 3 * Copyright 2016-2020 NXP 16 #include <soc/fsl/dpaa2-io.h> 17 #include <soc/fsl/dpaa2-fd.h> 19 #include "dpni-cmd.h" 21 #include "dpaa2-eth-trace.h" 22 #include "dpaa2-eth-debugfs.h" 23 #include "dpaa2-mac.h" 29 /* Maximum number of scatter-gather entries in an ingress frame, [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | vfxxx.dtsi | 1 // 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 …]
|