Home
last modified time | relevance | path

Searched full:scan (Results 1 – 25 of 2094) sorted by relevance

12345678910>>...84

/Linux-v6.6/drivers/net/wireless/st/cw1200/
Dscan.c3 * Scan implementation for ST-Ericsson CW1200 mac80211 drivers
11 #include "scan.h"
17 static int cw1200_scan_start(struct cw1200_common *priv, struct wsm_scan *scan) in cw1200_scan_start() argument
30 wiphy_dbg(priv->hw->wiphy, "[SCAN] hw req, type %d, %d channels, flags: 0x%x.\n", in cw1200_scan_start()
31 scan->type, scan->num_channels, scan->flags); in cw1200_scan_start()
33 for (i = 0; i < scan->num_channels; ++i) in cw1200_scan_start()
34 tmo += scan->ch[i].max_chan_time + 10; in cw1200_scan_start()
37 atomic_set(&priv->scan.in_progress, 1); in cw1200_scan_start()
40 queue_delayed_work(priv->workqueue, &priv->scan.timeout, in cw1200_scan_start()
42 ret = wsm_scan(priv, scan); in cw1200_scan_start()
[all …]
/Linux-v6.6/Documentation/scheduler/
Dsched-debug.rst24 memory node local to where the task is running. Every "scan delay" the task
25 scans the next "scan size" number of pages in its address space. When the
28 In combination, the "scan delay" and "scan size" determine the scan rate.
29 When "scan delay" decreases, the scan rate increases. The scan delay and
30 hence the scan rate of every task is adaptive and depends on historical
31 behaviour. If pages are properly placed then the scan delay increases,
32 otherwise the scan delay decreases. The "scan size" is not adaptive but
33 the higher the "scan size", the higher the scan rate.
35 Higher scan rates incur higher system overhead as page faults must be
36 trapped and potentially data must be migrated. However, the higher the scan
[all …]
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/dvm/
Dscan.c15 /* For active scan, listen ACTIVE_DWELL_TIME (msec) on each channel after
24 /* For passive scan, listen PASSIVE_DWELL_TIME (msec) on each channel.
26 * For the most reliable scan, set > AP beacon interval (typically 100msec). */
46 * to receive scan abort command or it does not perform in iwl_send_scan_abort()
47 * hardware scan currently */ in iwl_send_scan_abort()
59 /* The scan abort will return 1 for success or in iwl_send_scan_abort()
61 * due to simply not being in an active scan which in iwl_send_scan_abort()
62 * can occur if we send the scan abort before we in iwl_send_scan_abort()
63 * the microcode has notified us that a scan is in iwl_send_scan_abort()
80 /* check if scan was requested from mac80211 */ in iwl_complete_scan()
[all …]
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/fw/api/
Dscan.h10 /* 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 */
166 * struct iwl_scan_schedule_lmac - schedule of scan offload
168 * @iterations: num of scan iterations
169 * @full_scan_mul: number of partial scans before each full scan
211 * @flags: bits 1-20: directed scan to i'th ssid
214 * @iter_count: scan iteration on this channel
[all …]
/Linux-v6.6/drivers/net/wireless/ti/wl12xx/
Dscan.c9 #include "scan.h"
18 struct conf_scan_settings *c = &wl->conf.scan; in wl1271_get_scan_channels()
27 if (!test_bit(i, wl->scan.scanned_ch) && in wl1271_get_scan_channels()
31 * In passive scans, we scan all remaining in wl1271_get_scan_channels()
33 * In active scans, we only scan channels not in wl1271_get_scan_channels()
69 set_bit(i, wl->scan.scanned_ch); in wl1271_get_scan_channels()
91 if (!passive && wl->scan.req->n_ssids == 0) in wl1271_scan_send()
101 if (wl->conf.scan.split_scan_timeout) in wl1271_scan_send()
107 /* scan on the dev role if the regular one is not started */ in wl1271_scan_send()
120 cmd->params.n_ch = wl1271_get_scan_channels(wl, wl->scan.req, in wl1271_scan_send()
[all …]
Dscan.h13 #include "../wlcore/scan.h"
18 /* Scan option flags (WL1271_SCAN_OPT_*) */
21 /* Number of scan channels in the list (maximum 30) */
24 per channel for an active scan */
34 /* Band to scan */
42 /* Duration in TU to wait for frames on a channel for active scan */
75 u8 cycles; /* maximum number of scan cycles */
/Linux-v6.6/Documentation/driver-api/acpi/
Dscan_handlers.rst5 ACPI Scan Handlers
26 The core ACPI namespace scanning code in drivers/acpi/scan.c carries out basic
39 called ACPI scan handlers represented by the following structure::
49 take care of, list_node is the hook to the global list of ACPI scan handlers
56 to match a scan handler against each of them using the ids arrays of the
57 available scan handlers. If a matching scan handler is found, its .attach()
62 The device node's handler field is then populated with the address of the scan
66 interesting to the given scan handler and may be matched against the next scan
68 the namespace scan should be terminated due to a serious error. The error code
72 callbacks from the scan handlers of all device nodes in the given namespace
[all …]
/Linux-v6.6/drivers/gpu/drm/
Ddrm_mm.c687 * DOC: lru scan roster
697 * interfaces. First a scan operation needs to be initialized with
707 * in the scan mode no other operation is allowed.
710 * reported true) in the scan, and any overlapping nodes after color adjustment
714 * scan operation even begins this is linear in the number of objects. It
720 * @scan: scan state
721 * @mm: drm_mm to scan
733 * As long as the scan list is non-empty, no other operations than
734 * adding/removing nodes to/from the scan list are allowed.
736 void drm_mm_scan_init_with_range(struct drm_mm_scan *scan, in drm_mm_scan_init_with_range() argument
[all …]
/Linux-v6.6/drivers/net/wireless/marvell/libertas/
DREADME165 This command is used to do a specific scan.
178 Display the current contents of the driver scan table (ie. get the
179 scan results).
187 Initiate a customized scan and retrieve the results
197 bssid=xx:xx:xx:xx:xx:xx specify a BSSID filter for the scan
198 ssid="[SSID]" specify a SSID filter for the scan
199 keep=[0 or 1] keep the previous scan results (1), discard (0)
200 dur=[scan time] time to scan for each channel in milliseconds
205 The bssid and ssid fields, if blank, will produce an unfiltered scan.
210 1) Perform a passive scan on all channels for 20 ms per channel:
[all …]
/Linux-v6.6/drivers/net/wireless/ti/wlcore/
Dscan.c16 #include "scan.h"
40 if (wl->scan.state == WL1271_SCAN_STATE_IDLE) in wl1271_scan_complete_work()
46 * Rearm the tx watchdog just before idling scan. This in wl1271_scan_complete_work()
51 wl->scan.state = WL1271_SCAN_STATE_IDLE; in wl1271_scan_complete_work()
52 memset(wl->scan.scanned_ch, 0, sizeof(wl->scan.scanned_ch)); in wl1271_scan_complete_work()
53 wl->scan.req = NULL; in wl1271_scan_complete_work()
65 if (wl->scan.failed) { in wl1271_scan_complete_work()
66 wl1271_info("Scan completed due to error."); in wl1271_scan_complete_work()
140 /* configure dwell times according to scan type */ in wlcore_scan_get_channels()
142 struct conf_scan_settings *c = &wl->conf.scan; in wlcore_scan_get_channels()
[all …]
/Linux-v6.6/drivers/net/wireless/marvell/mwifiex/
Dscan.c3 * NXP Wireless LAN device driver: scan ioctl and command handling
16 /* The maximum number of channels the firmware can scan per command */
21 /* Memory needed to store a max sized Channel List TLV for a firmware scan */
31 scan */
47 /* Scan configuration (variable length) */
436 * This function creates a channel list for the driver to scan, based
439 * This routine is used for any scan that is not provided with a
440 * specific channel list to scan.
563 /* This function appends rate TLV to scan config command. */
596 * This function constructs and sends multiple scan config commands to
[all …]
/Linux-v6.6/drivers/platform/x86/intel/ifs/
Druntest.c46 [IFS_NO_ERROR] = "SCAN no error",
48 [IFS_INTERRUPTED_BEFORE_RENDEZVOUS] = "Interrupt occurred prior to SCAN coordination.",
50 "Core Abort SCAN Response due to power management condition.",
53 [IFS_CORE_NOT_CAPABLE_CURRENTLY] = "Core not capable of performing SCAN currently",
56 "Exceeded number of Logical Processors (LP) allowed to run Scan-At-Field concurrently",
57 [IFS_INTERRUPTED_DURING_EXECUTION] = "Interrupt occurred prior to SCAN start",
63 dev_info(dev, "CPU(s) %*pbl: SCAN operation did not start. %s\n", in message_not_tested()
67 dev_info(dev, "CPU(s) %*pbl: software timeout during scan\n", in message_not_tested()
72 "Not all scan chunks were executed. Maximum forward progress retries exceeded"); in message_not_tested()
74 dev_info(dev, "CPU(s) %*pbl: SCAN unknown status %llx\n", in message_not_tested()
[all …]
Dload.c36 [1] = "Attempt to copy scan hashes when copy already in progress",
41 [6] = "Scan reload or test is in progress"
84 * To copy scan hashes and authenticate test chunks, the initiating cpu must point
86 * Run wrmsr(MSR_COPY_SCAN_HASHES) for scan hash copy and run wrmsr(MSR_AUTHENTICATE_AND_COPY_CHUNK)
87 * for scan hash copy and test chunk authentication.
101 /* run scan hash copy */ in copy_hashes_authenticate_chunks()
105 /* enumerate the scan image information */ in copy_hashes_authenticate_chunks()
120 /* base linear address to the scan data */ in copy_hashes_authenticate_chunks()
123 /* scan data authentication and copy chunks to secured memory */ in copy_hashes_authenticate_chunks()
157 snprintf(test_file, sizeof(test_file), "%02x-%02x-%02x-%02x.scan", in validate_ifs_metadata()
[all …]
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/mvm/
Dscan.c12 #include "fw/api/scan.h"
24 /* adaptive dwell max budget time [TU] for full scan */
26 /* adaptive dwell max budget time [TU] for directed scan */
34 /* number of scan channels */
45 /* minimal number of 2GHz and 5GHz channels in the regular scan request */
48 /* Number of iterations on the channel for mei filtered scan */
80 /* For CDB this is low band scan type, for non-CDB - type. */
244 * set all scan requests as fast-balance scan in _iwl_mvm_get_scan_type()
288 /* require rrm scan whenever the fw supports it */ in iwl_mvm_rrm_scan_needed()
314 * scan IEs, however the LMAC scan api contains both 2GHZ and 5GHZ IEs in iwl_mvm_max_scan_ie_len()
[all …]
/Linux-v6.6/Documentation/dev-tools/
Dkmemleak.rst26 To trigger an intermediate memory scan::
28 # echo scan > /sys/kernel/debug/kmemleak
50 - scan=on
52 - scan=off
54 - scan=<secs>
57 - scan
58 trigger a memory scan
101 2. scan the memory starting with the data section and stacks, checking
105 3. scan the gray objects for matching addresses (some white objects
124 /sys/kernel/debug/kmemleak output. By issuing a 'scan' after a 'clear'
[all …]
/Linux-v6.6/Documentation/fb/
Dviafb.modes14 # Scan Frequency 31.469 kHz 59.94 Hz
39 # Scan Frequency 37.500 kHz 75.00 Hz
60 # Scan Frequency 43.269 kHz 85.00 Hz
81 # Scan Frequency 50.900 kHz 100.00 Hz
102 # Scan Frequency 61.800 kHz 120.00 Hz
123 # Scan Frequency 30.000 kHz 60.241 Hz
144 # Scan Frequency 29.892 kHz 60.00 Hz
165 # Scan Frequency 35.820 kHz 60.00 Hz
186 # Scan Frequency 37.879 kHz 60.32 Hz
208 # Scan Frequency 46.875 kHz 75.00 Hz
[all …]
/Linux-v6.6/arch/sparc/mm/
Dio-unit.c100 unsigned long rotor, scan, limit; in iounit_get_area() local
117 scan = rotor; in iounit_get_area()
118 nexti: scan = find_next_zero_bit(iounit->bmap, limit, scan); in iounit_get_area()
119 if (scan + npages > limit) { in iounit_get_area()
122 scan = iounit->limit[j - 1]; in iounit_get_area()
130 for (k = 1, scan++; k < npages; k++) in iounit_get_area()
131 if (test_bit(scan++, iounit->bmap)) in iounit_get_area()
133 iounit->rotor[j - 1] = (scan < limit) ? scan : iounit->limit[j - 1]; in iounit_get_area()
134 scan -= npages; in iounit_get_area()
136 vaddr = IOUNIT_DMA_BASE + (scan << PAGE_SHIFT) + (vaddr & ~PAGE_MASK); in iounit_get_area()
[all …]
/Linux-v6.6/drivers/scsi/
Dscsi_scan.c17 * Scan LUN 0; if the target responds to LUN 0 (even if there is no
23 * If target is SCSI-3 or up, issue a REPORT LUN, and scan
25 * sequentially scan LUNs up until some maximum is reached,
102 module_param_string(scan, scsi_scan_type, sizeof(scsi_scan_type),
104 MODULE_PARM_DESC(scan, "sync, async, manual, or none. "
106 "for manual device scan via the 'scan' sysfs attribute.");
145 * this function was called will have finished its scan. Hosts which
463 * means it was allocated but never made visible (because a scan in scsi_target_reap_ref_release()
667 "scsi scan: INQUIRY pass %d length %d\n", in scsi_probe_lun()
684 "scsi scan: INQUIRY %s with code 0x%x\n", in scsi_probe_lun()
[all …]
/Linux-v6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dpno.h17 * brcmf_pno_start_sched_scan - initiate scheduled scan on device.
20 * @req: configuration parameters for scheduled scan.
26 * brcmf_pno_stop_sched_scan - terminate scheduled scan on device.
29 * @reqid: unique identifier of scan to be stopped.
34 * brcmf_pno_wiphy_params - fill scheduled scan parameters in wiphy instance.
37 * @gscan: indicates whether the device has support for g-scan feature.
/Linux-v6.6/drivers/net/wireless/ti/wl18xx/
Dscan.c9 #include "scan.h"
40 /* scan on the dev role if the regular one is not started */ in wl18xx_scan_send()
64 cmd->n_probe_reqs = wl->conf.scan.num_probe_reqs; in wl18xx_scan_send()
83 * remain 0 for normal scan in wl18xx_scan_send()
132 wl1271_dump(DEBUG_SCAN, "SCAN: ", cmd, sizeof(*cmd)); in wl18xx_scan_send()
136 wl1271_error("SCAN failed"); in wl18xx_scan_send()
148 wl->scan.failed = false; in wl18xx_scan_completed()
166 wl1271_debug(DEBUG_CMD, "cmd sched_scan scan config"); in wl18xx_scan_sched_scan_config()
275 wl1271_dump(DEBUG_SCAN, "SCAN: ", cmd, sizeof(*cmd)); in wl18xx_scan_sched_scan_config()
279 wl1271_error("SCAN failed"); in wl18xx_scan_sched_scan_config()
[all …]
/Linux-v6.6/include/media/
Dv4l2-jpeg.h65 /* B.2.3 Scan header syntax */
68 * struct v4l2_jpeg_scan_component_spec - scan component-specification
80 * struct v4l2_jpeg_scan_header - JPEG scan header
111 * @sos: pointer to scan header and size
117 * @scan: pointer to parsed scan header, optional
125 * When this structure is passed to v4l2_jpeg_parse_header, the optional scan,
138 struct v4l2_jpeg_scan_header *scan; member
/Linux-v6.6/include/trace/events/
Dksm.h11 * ksm_scan_template - called for start / stop scan
13 * @seq: sequence number of scan
16 * Allows to trace the start / stop of a ksm scan.
39 * ksm_start_scan - called after a new ksm scan is started
41 * @seq: sequence number of scan
44 * Allows to trace the start of a ksm scan.
54 * ksm_stop_scan - called after a new ksm scan has completed
56 * @seq: sequence number of scan
59 * Allows to trace the completion of a ksm scan.
/Linux-v6.6/drivers/net/wireless/silabs/wfx/
Dscan.c3 * Scan related functions.
10 #include "scan.h"
67 dev_dbg(wvif->wdev->dev, "scan timeout (%d channels done)\n", in send_scan_req()
71 dev_err(wvif->wdev->dev, "scan didn't stop\n"); in send_scan_req()
74 dev_notice(wvif->wdev->dev, "scan abort\n"); in send_scan_req()
87 /* It is not really necessary to run scan request asynchronously. However,
88 * there is a bug in "iw scan" when ieee80211_scan_completed() is called before
115 dev_err(wvif->wdev->dev, "scan has not been able to start\n"); in wfx_hw_scan_work()
/Linux-v6.6/fs/ubifs/
Dscan.c12 * This file implements the scan which is a general-purpose function for
13 * determining what nodes are in an eraseblock. The scan is used to replay the
21 * scan_padding_bytes - scan for padding bytes.
22 * @buf: buffer to scan
47 * ubifs_scan_a_node - scan for a node or padding.
49 * @buf: buffer to scan
116 * ubifs_start_scan - create LEB scanning information at start of scan.
120 * @sbuf: scan buffer (must be c->leb_size)
131 dbg_scan("scan LEB %d:%d", lnum, offs); in ubifs_start_scan()
157 * ubifs_end_scan - update LEB scanning information at end of scan.
[all …]
Dfind.c21 * struct scan_data - data provided to scan callback functions
22 * @min_space: minimum number of bytes for which to scan
23 * @pick_free: whether it is OK to scan for empty LEBs
72 * scan_for_dirty_cb - dirty space scan callback.
74 * @lprops: LEB properties to scan
76 * @data: information passed to and from the caller of the scan
78 * This function returns a code that indicates whether the scan should continue
80 * in main memory (%LPT_SCAN_ADD), or whether the scan should stop
161 /* We have looked everywhere in main memory, now scan the flash */ in scan_for_dirty()
163 /* All pnodes are in memory, so skip scan */ in scan_for_dirty()
[all …]

12345678910>>...84