| /kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
| D | scanlog.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * scan-log-data driver for PPC64 Todd Inglett <tinglett@vnet.ibm.com> 9 * of this data using this driver. A dump exists if the device-tree 10 * /chosen/ibm,scan-log-data property exists. 12 * This driver exports /proc/powerpc/scan-log-dump which can be read. 33 /* Status returns from ibm,scan-log-dump */ 35 #define SCANLOG_HWERROR -1 43 size_t count, loff_t *ppos) in scanlog_read() argument 50 if (count > RTAS_DATA_BUF_SIZE) in scanlog_read() 51 count = RTAS_DATA_BUF_SIZE; in scanlog_read() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/ti/wlcore/ |
| D | scan.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2009-2010 Nokia Corporation 16 #include "scan.h" 35 mutex_lock(&wl->mutex); in wl1271_scan_complete_work() 37 if (unlikely(wl->state != WLCORE_STATE_ON)) in wl1271_scan_complete_work() 40 if (wl->scan.state == WL1271_SCAN_STATE_IDLE) in wl1271_scan_complete_work() 43 wlvif = wl->scan_wlvif; in wl1271_scan_complete_work() 46 * Rearm the tx watchdog just before idling scan. This in wl1271_scan_complete_work() 47 * prevents just-finished scans from triggering the watchdog in wl1271_scan_complete_work() 51 wl->scan.state = WL1271_SCAN_STATE_IDLE; in wl1271_scan_complete_work() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/ti/wlcore/ |
| D | scan.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2009-2010 Nokia Corporation 16 #include "scan.h" 35 mutex_lock(&wl->mutex); in wl1271_scan_complete_work() 37 if (unlikely(wl->state != WLCORE_STATE_ON)) in wl1271_scan_complete_work() 40 if (wl->scan.state == WL1271_SCAN_STATE_IDLE) in wl1271_scan_complete_work() 43 wlvif = wl->scan_wlvif; in wl1271_scan_complete_work() 46 * Rearm the tx watchdog just before idling scan. This in wl1271_scan_complete_work() 47 * prevents just-finished scans from triggering the watchdog in wl1271_scan_complete_work() 51 wl->scan.state = WL1271_SCAN_STATE_IDLE; in wl1271_scan_complete_work() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| D | fwil_types.h | 1 // SPDX-License-Identifier: ISC 52 /* masks for channel and ssid count */ 56 /* scan type definitions */ 74 #define BRCMF_OBSS_COEX_AUTO (-1) 83 /* Wakeup on loss-of-link due to Disassoc/Deauth: */ 93 /* Wakeup after receipt of EAP-Identity Req: */ 111 /* If the bit is set, scan offload is enabled: */ 246 * struct tdls_iovar - common structure for tdls iovars. 316 __le32 count; /* # rates in this set */ member 343 __le32 count; member [all …]
|
| /kernel/linux/linux-6.6/Documentation/admin-guide/mm/ |
| D | shrinker_debugfs.rst | 11 unique id: e.g. *kfree_rcu-0* or *sb-xfs:vda1-36*. 13 Each shrinker directory contains **count** and **scan** files, which allow to 18 ------ 26 dquota-cache-16 sb-devpts-28 sb-proc-47 sb-tmpfs-42 27 mm-shadow-18 sb-devtmpfs-5 sb-proc-48 sb-tmpfs-43 28 mm-zspool:zram0-34 sb-hugetlbfs-17 sb-pstore-31 sb-tmpfs-44 29 rcu-kfree-0 sb-hugetlbfs-33 sb-rootfs-2 sb-tmpfs-49 30 sb-aio-20 sb-iomem-12 sb-securityfs-6 sb-tracefs-13 31 sb-anon_inodefs-15 sb-mqueue-21 sb-selinuxfs-22 sb-xfs:vda1-36 32 sb-bdev-3 sb-nsfs-4 sb-sockfs-8 sb-zsmalloc-19 [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| D | fwil_types.h | 1 // SPDX-License-Identifier: ISC 56 /* masks for channel and ssid count */ 60 /* scan type definitions */ 79 #define BRCMF_OBSS_COEX_AUTO (-1) 88 /* Wakeup on loss-of-link due to Disassoc/Deauth: */ 98 /* Wakeup after receipt of EAP-Identity Req: */ 116 /* If the bit is set, scan offload is enabled: */ 255 * struct tdls_iovar - common structure for tdls iovars. 325 __le32 count; /* # rates in this set */ member 352 __le32 count; member [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | list_lru.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 108 * @nid: the node id to count from. 109 * @memcg: the cgroup to count from. 111 * Always return a non-negative number, 0 for empty lists. There is no 112 * guarantee that the list is not updated while the count is being computed. 122 return list_lru_count_one(lru, sc->nid, sc->memcg); in list_lru_shrink_count() 127 long count = 0; in list_lru_count() local 131 count += list_lru_count_node(lru, nid); in list_lru_count() 133 return count; in list_lru_count() 146 * @nid: the node id to scan from. [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | list_lru.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 109 * @nid: the node id to count from. 110 * @memcg: the cgroup to count from. 112 * Always return a non-negative number, 0 for empty lists. There is no 113 * guarantee that the list is not updated while the count is being computed. 123 return list_lru_count_one(lru, sc->nid, sc->memcg); in list_lru_shrink_count() 128 long count = 0; in list_lru_count() local 132 count += list_lru_count_node(lru, nid); in list_lru_count() 134 return count; in list_lru_count() 147 * @nid: the node id to scan from. [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/selftests/ |
| D | test-drm_mm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 38 [BOTTOMUP] = { "bottom-up", DRM_MM_INSERT_LOW }, 39 [TOPDOWN] = { "top-down", DRM_MM_INSERT_HIGH }, 43 { "bottom-up", DRM_MM_INSERT_LOW }, 44 { "top-down", DRM_MM_INSERT_HIGH }, 50 pr_info("%s - ok!\n", __func__); in igt_sanitycheck() 58 unsigned long count; in assert_no_holes() local 60 count = 0; in assert_no_holes() 62 count++; in assert_no_holes() 63 if (count) { in assert_no_holes() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/tests/ |
| D | drm_mm_test.c | 1 // SPDX-License-Identifier: GPL-2.0-only 36 [BOTTOMUP] = { "bottom-up", DRM_MM_INSERT_LOW }, 37 [TOPDOWN] = { "top-down", DRM_MM_INSERT_HIGH }, 41 { "bottom-up", DRM_MM_INSERT_LOW }, 42 { "top-down", DRM_MM_INSERT_HIGH }, 50 unsigned long count; in assert_no_holes() local 52 count = 0; in assert_no_holes() 54 count++; in assert_no_holes() 55 if (count) { in assert_no_holes() 57 "Expected to find no holes (after reserve), found %lu instead\n", count); in assert_no_holes() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/fw/api/ |
| D | scan.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2012-2014, 2018-2023 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 10 /* Scan Commands, Responses, Notifications */ 13 * enum iwl_scan_subcmd_ids - scan commands 29 * struct iwl_ssid_ie - directed scan network information element 46 /* scan offload */ 55 /* Default watchdog (in MS) for scheduled scan iteration */ 72 * struct iwl_scan_offload_blocklist - SCAN_OFFLOAD_BLACKLIST_S [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/api/ |
| D | scan.h | 8 * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved. 9 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH 10 * Copyright(c) 2016 - 2017 Intel Deutschland GmbH 11 * Copyright(c) 2018 - 2020 Intel Corporation 27 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 31 * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved. 32 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH 33 * Copyright(c) 2016 - 2017 Intel Deutschland GmbH 34 * Copyright(c) 2018 - 2020 Intel Corporation 68 /* Scan Commands, Responses, Notifications */ [all …]
|
| /kernel/linux/linux-6.6/drivers/media/rc/ |
| D | lirc_dev.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 19 #include "rc-core-priv.h" 33 * lirc_raw_event() - Send raw IR data to lirc to be relayed to userspace 53 dev_dbg(&dev->dev, "delivering overflow to lirc_dev\n"); in lirc_raw_event() 58 dev_dbg(&dev->dev, "carrier report (freq: %d)\n", sample); in lirc_raw_event() 62 dev->gap_start = ktime_get(); in lirc_raw_event() 65 dev_dbg(&dev->dev, "timeout report (duration: %d)\n", sample); in lirc_raw_event() 69 if (dev->gap_start) { in lirc_raw_event() 71 dev->gap_start); in lirc_raw_event() 76 spin_lock_irqsave(&dev->lirc_fh_lock, flags); in lirc_raw_event() [all …]
|
| /kernel/linux/linux-5.10/mm/ |
| D | kmemleak.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * Documentation/dev-tools/kmemleak.rst. 12 * ---------------- 16 * - kmemleak_lock (raw_spinlock_t): protects the object_list modifications and 19 * blocks. The object_tree_root is a red black tree used to look-up 25 * - kmemleak_object.lock (raw_spinlock_t): protects a kmemleak_object. 26 * Accesses to the metadata (e.g. count) are protected by this lock. Note 32 * - scan_mutex (mutex): ensures that only one thread may scan the memory for 36 * scan_mutex is held. At the end of a scan, the gray_list is always empty. 45 * scan_mutex [-> object->lock] -> kmemleak_lock -> other_object->lock (SINGLE_DEPTH_NESTING) [all …]
|
| /kernel/linux/linux-5.10/drivers/media/rc/ |
| D | lirc_dev.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 19 #include "rc-core-priv.h" 33 * lirc_raw_event() - Send raw IR data to lirc to be relayed to userspace 54 dev_dbg(&dev->dev, "delivering reset sync space to lirc_dev\n"); in lirc_raw_event() 59 dev_dbg(&dev->dev, "carrier report (freq: %d)\n", sample); in lirc_raw_event() 63 if (dev->gap) in lirc_raw_event() 66 dev->gap_start = ktime_get(); in lirc_raw_event() 67 dev->gap = true; in lirc_raw_event() 68 dev->gap_duration = ev.duration; in lirc_raw_event() 71 dev_dbg(&dev->dev, "timeout report (duration: %d)\n", sample); in lirc_raw_event() [all …]
|
| /kernel/linux/linux-6.6/mm/ |
| D | kmemleak.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * Documentation/dev-tools/kmemleak.rst. 12 * ---------------- 16 * - kmemleak_lock (raw_spinlock_t): protects the object_list as well as 21 * black trees used to look-up metadata based on a pointer to the 28 * - kmemleak_object.lock (raw_spinlock_t): protects a kmemleak_object. 29 * Accesses to the metadata (e.g. count) are protected by this lock. Note 35 * - scan_mutex (mutex): ensures that only one thread may scan the memory for 39 * scan_mutex is held. At the end of a scan, the gray_list is always empty. 48 * scan_mutex [-> object->lock] -> kmemleak_lock -> other_object->lock (SINGLE_DEPTH_NESTING) [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/kernel/ |
| D | rtasd.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 40 static int surveillance_timeout = -1; 104 * -------------------------------------------------------- 105 * 0-7 (8) : rtas_error_log 106 * 8-47 (40) : extended info 107 * 48-51 (4) : vendor id 108 * 52-1023 (vendor specific) : location code and debug data 119 printk(RTAS_DEBUG "%d -------- %s begin --------\n", in printk_log_rtas() 140 if (j == (perline-1)) in printk_log_rtas() 146 printk(RTAS_DEBUG "%d -------- %s end ----------\n", in printk_log_rtas() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/marvell/libertas/ |
| D | README | 4 (c) Copyright © 2003-2006, Marvell International Ltd. 14 THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE 35 Use the -i option to retrieve version information from the driver. 37 # ethtool -i eth0 39 version: COMM-USB8388-318.p4 40 firmware-version: 5.110.7 41 bus-info: 43 Use the -e option to read the EEPROM contents of the card. 46 ethtool -e ethX [raw on|off] [offset N] [length N] 48 -e retrieves and prints an EEPROM dump for the specified ethernet [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas/ |
| D | README | 4 (c) Copyright © 2003-2006, Marvell International Ltd. 14 THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE 35 Use the -i option to retrieve version information from the driver. 37 # ethtool -i eth0 39 version: COMM-USB8388-318.p4 40 firmware-version: 5.110.7 41 bus-info: 43 Use the -e option to read the EEPROM contents of the card. 46 ethtool -e ethX [raw on|off] [offset N] [length N] 48 -e retrieves and prints an EEPROM dump for the specified ethernet [all …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/ |
| D | spectral.h | 1 /* SPDX-License-Identifier: ISC */ 3 * Copyright (c) 2013-2015 Qualcomm Atheros, Inc. 12 * struct ath10k_spec_scan - parameters for Atheros spectral scan 14 * @count: number of scan results requested for manual mode 15 * @fft_size: number of bins to be requested = 2^(fft_size - bin_scale) 18 u8 count; member 27 * @SPECTRAL_MANUAL: spectral scan is enabled, triggering for samples
|
| /kernel/linux/linux-6.6/drivers/net/wireless/ath/ath10k/ |
| D | spectral.h | 1 /* SPDX-License-Identifier: ISC */ 3 * Copyright (c) 2013-2015 Qualcomm Atheros, Inc. 12 * struct ath10k_spec_scan - parameters for Atheros spectral scan 14 * @count: number of scan results requested for manual mode 15 * @fft_size: number of bins to be requested = 2^(fft_size - bin_scale) 18 u8 count; member 27 * @SPECTRAL_MANUAL: spectral scan is enabled, triggering for samples
|
| D | spectral.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (c) 2013-2017 Qualcomm Atheros, Inc. 9 #include "wmi-ops.h" 16 if (!ar->spectral.rfs_chan_spec_scan) in send_fft_sample() 19 length = __be16_to_cpu(fft_sample_tlv->length) + in send_fft_sample() 21 relay_write(ar->spectral.rfs_chan_spec_scan, fft_sample_tlv, length); in send_fft_sample() 33 if (dc_pos < max_index || -dc_pos >= max_index) in get_max_exp() 58 bin_len -= ar->hw_params.spectral_bin_discard; in ath10k_spectral_fix_bin_size() 80 return -EINVAL; in ath10k_spectral_process_fft() 82 reg0 = __le32_to_cpu(fftr->reg0); in ath10k_spectral_process_fft() [all …]
|
| /kernel/linux/linux-6.6/arch/powerpc/kernel/ |
| D | rtasd.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 40 static int surveillance_timeout = -1; 104 * -------------------------------------------------------- 105 * 0-7 (8) : rtas_error_log 106 * 8-47 (40) : extended info 107 * 48-51 (4) : vendor id 108 * 52-1023 (vendor specific) : location code and debug data 119 printk(RTAS_DEBUG "%d -------- %s begin --------\n", in printk_log_rtas() 140 if (j == (perline-1)) in printk_log_rtas() 146 printk(RTAS_DEBUG "%d -------- %s end ----------\n", in printk_log_rtas() [all …]
|
| /kernel/linux/linux-5.10/drivers/bcma/ |
| D | host_soc.c | 9 #include "scan.h" 18 return readb(core->io_addr + offset); in bcma_host_soc_read8() 23 return readw(core->io_addr + offset); in bcma_host_soc_read16() 28 return readl(core->io_addr + offset); in bcma_host_soc_read32() 34 writeb(value, core->io_addr + offset); in bcma_host_soc_write8() 40 writew(value, core->io_addr + offset); in bcma_host_soc_write16() 46 writel(value, core->io_addr + offset); in bcma_host_soc_write32() 51 size_t count, u16 offset, u8 reg_width) in bcma_host_soc_block_read() argument 53 void __iomem *addr = core->io_addr + offset; in bcma_host_soc_block_read() 59 while (count) { in bcma_host_soc_block_read() [all …]
|
| /kernel/linux/linux-6.6/drivers/bcma/ |
| D | host_soc.c | 9 #include "scan.h" 18 return readb(core->io_addr + offset); in bcma_host_soc_read8() 23 return readw(core->io_addr + offset); in bcma_host_soc_read16() 28 return readl(core->io_addr + offset); in bcma_host_soc_read32() 34 writeb(value, core->io_addr + offset); in bcma_host_soc_write8() 40 writew(value, core->io_addr + offset); in bcma_host_soc_write16() 46 writel(value, core->io_addr + offset); in bcma_host_soc_write32() 51 size_t count, u16 offset, u8 reg_width) in bcma_host_soc_block_read() argument 53 void __iomem *addr = core->io_addr + offset; in bcma_host_soc_block_read() 59 while (count) { in bcma_host_soc_block_read() [all …]
|