Home
last modified time | relevance | path

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

12345678910>>...77

/linux-5.10/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-5.10/drivers/net/wireless/intel/iwlwifi/dvm/
Dscan.c19 /* For active scan, listen ACTIVE_DWELL_TIME (msec) on each channel after
28 /* For passive scan, listen PASSIVE_DWELL_TIME (msec) on each channel.
30 * For the most reliable scan, set > AP beacon interval (typically 100msec). */
50 * to receive scan abort command or it does not perform in iwl_send_scan_abort()
51 * hardware scan currently */ in iwl_send_scan_abort()
63 /* The scan abort will return 1 for success or in iwl_send_scan_abort()
65 * due to simply not being in an active scan which in iwl_send_scan_abort()
66 * can occur if we send the scan abort before we in iwl_send_scan_abort()
67 * the microcode has notified us that a scan is in iwl_send_scan_abort()
84 /* check if scan was requested from mac80211 */ in iwl_complete_scan()
[all …]
/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/api/
Dscan.h68 /* Scan Commands, Responses, Notifications */
77 * struct iwl_ssid_ie - directed scan network information element
94 /* scan offload */
103 /* Default watchdog (in MS) for scheduled scan iteration */
204 * struct iwl_scan_schedule_lmac - schedule of scan offload
206 * @iterations: num of scan iterations
207 * @full_scan_mul: number of partial scans before each full scan
249 * @flags: bits 1-20: directed scan to i'th ssid
252 * @iter_count: scan iteration on this channel
310 * @non_ebs_ratio: defines the ratio of number of scan iterations where EBS is
[all …]
/linux-5.10/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-5.10/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-5.10/drivers/gpu/drm/
Ddrm_mm.c690 * DOC: lru scan roster
700 * interfaces. First a scan operation needs to be initialized with
710 * in the scan mode no other operation is allowed.
713 * reported true) in the scan, and any overlapping nodes after color adjustment
717 * scan operation even begins this is linear in the number of objects. It
723 * @scan: scan state
724 * @mm: drm_mm to scan
736 * As long as the scan list is non-empty, no other operations than
737 * adding/removing nodes to/from the scan list are allowed.
739 void drm_mm_scan_init_with_range(struct drm_mm_scan *scan, in drm_mm_scan_init_with_range() argument
[all …]
/linux-5.10/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-5.10/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()
67 if (wl->scan.failed) { in wl1271_scan_complete_work()
68 wl1271_info("Scan completed due to error."); in wl1271_scan_complete_work()
142 /* configure dwell times according to scan type */ in wlcore_scan_get_channels()
144 struct conf_scan_settings *c = &wl->conf.scan; in wlcore_scan_get_channels()
[all …]
/linux-5.10/drivers/net/wireless/marvell/mwifiex/
Dscan.c2 * NXP Wireless LAN device driver: scan ioctl and command handling
28 /* The maximum number of channels the firmware can scan per command */
33 /* Memory needed to store a max sized Channel List TLV for a firmware scan */
43 scan */
59 /* Scan configuration (variable length) */
448 * This function creates a channel list for the driver to scan, based
451 * This routine is used for any scan that is not provided with a
452 * specific channel list to scan.
575 /* This function appends rate TLV to scan config command. */
608 * This function constructs and sends multiple scan config commands to
[all …]
/linux-5.10/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-5.10/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-5.10/arch/sparc/mm/
Dio-unit.c99 unsigned long rotor, scan, limit; in iounit_get_area() local
116 scan = rotor; in iounit_get_area()
117 nexti: scan = find_next_zero_bit(iounit->bmap, limit, scan); in iounit_get_area()
118 if (scan + npages > limit) { in iounit_get_area()
121 scan = iounit->limit[j - 1]; in iounit_get_area()
129 for (k = 1, scan++; k < npages; k++) in iounit_get_area()
130 if (test_bit(scan++, iounit->bmap)) in iounit_get_area()
132 iounit->rotor[j - 1] = (scan < limit) ? scan : iounit->limit[j - 1]; in iounit_get_area()
133 scan -= npages; in iounit_get_area()
135 vaddr = IOUNIT_DMA_BASE + (scan << PAGE_SHIFT) + (vaddr & ~PAGE_MASK); in iounit_get_area()
[all …]
/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dscan.c69 #include "fw/api/scan.h"
82 /* adaptive dwell max budget time [TU] for full scan */
84 /* adaptive dwell max budget time [TU] for directed scan */
92 /* number of scan channels */
132 /* For CDB this is low band scan type, for non-CDB - type. */
289 * set all scan requests as fast-balance scan in _iwl_mvm_get_scan_type()
342 /* require rrm scan whenever the fw supports it */ in iwl_mvm_rrm_scan_needed()
368 * scan IEs, however the LMAC scan api contains both 2GHZ and 5GHZ IEs in iwl_mvm_max_scan_ie_len()
370 * is just iwl_mvm_max_scan_ie_fw_cmd_room() / 2. Currently the scan in iwl_mvm_max_scan_ie_len()
372 * bytes for scan IEs, which is clearly not enough. So meanwhile in iwl_mvm_max_scan_ie_len()
[all …]
/linux-5.10/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.");
129 * this function was called will have finished its scan. Hosts which
381 * means it was allocated but never made visible (because a scan in scsi_target_reap_ref_release()
579 "scsi scan: INQUIRY pass %d length %d\n", in scsi_probe_lun()
598 "scsi scan: INQUIRY %s with code 0x%x\n", in scsi_probe_lun()
[all …]
/linux-5.10/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
93 * @sos: pointer to scan header and size
97 * @scan: pointer to parsed scan header, optional
104 * When this structure is passed to v4l2_jpeg_parse_header, the optional scan,
117 struct v4l2_jpeg_scan_header *scan; member
/linux-5.10/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-5.10/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-5.10/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 …]
/linux-5.10/fs/jffs2/
DTODO11 - checkpointing (do we need this? scan is quite fast)
12 - make the scan code populate real inodes so read_inode just after
36 2. get_sb()->build_fs()->scan() path... Why get_sb() removes scan()'s crap in
37 case of failure? scan() does not clean everything. Fix.
/linux-5.10/tools/power/cpupower/utils/
Dcpufreq-set.c66 const char *scan; in string_to_frequency() local
74 for (scan = str; isdigit(*scan) || *scan == '.'; scan++) { in string_to_frequency()
75 if (*scan == '.' && match_count == 0) in string_to_frequency()
77 else if (*scan == '.' && match_count == 1) in string_to_frequency()
81 if (*scan) { in string_to_frequency()
85 scan[i] && tolower(scan[i]) == unit->str_unit[i]; in string_to_frequency()
88 if (scan[i]) in string_to_frequency()
/linux-5.10/drivers/input/keyboard/
Ddavinci_keyscan.c3 * DaVinci Key Scan Driver for TI platforms
24 /* Key scan registers */
77 /* Setup the scan period = strobe + interval */ in davinci_ks_initialize()
98 /* Enable key scan module and set matrix type */ in davinci_ks_initialize()
119 /* Reading previous and new status of the key scan */ in davinci_ks_interrupt()
212 dev_err(dev, "key scan registers at %08x are not free\n", in davinci_ks_probe()
251 dev_err(dev, "unable to register davinci key scan device\n"); in davinci_ks_probe()
258 dev_err(dev, "unable to register davinci key scan interrupt\n"); in davinci_ks_probe()
264 dev_err(dev, "unable to initialize davinci key scan device\n"); in davinci_ks_probe()
314 MODULE_DESCRIPTION("Texas Instruments DaVinci Key Scan Driver");
/linux-5.10/arch/powerpc/platforms/pseries/
Dscanlog.c5 * scan-log-data driver for PPC64 Todd Inglett <tinglett@vnet.ibm.com>
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 */
142 data[0] = 0; /* re-init so we restart the scan */ in scanlog_open()
168 ibm_scan_log_dump = rtas_token("ibm,scan-log-dump"); in scanlog_init()
177 ent = proc_create("powerpc/rtas/scan-log-dump", 0400, NULL, in scanlog_init()
189 remove_proc_entry("powerpc/rtas/scan-log-dump", NULL); in scanlog_cleanup()
/linux-5.10/lib/zlib_deflate/
Ddeflate.c564 register Byte *scan = s->window + s->strstart; /* current string */ in longest_match() local
582 register ush scan_start = *(ush*)scan; in longest_match()
583 register ush scan_end = *(ush*)(scan+best_len-1); in longest_match()
586 register Byte scan_end1 = scan[best_len-1]; in longest_match()
587 register Byte scan_end = scan[best_len]; in longest_match()
620 /* It is not necessary to compare scan[2] and match[2] since they are in longest_match()
629 Assert(scan[2] == match[2], "scan[2]?"); in longest_match()
630 scan++, match++; in longest_match()
632 } while (*(ush*)(scan+=2) == *(ush*)(match+=2) && in longest_match()
633 *(ush*)(scan+=2) == *(ush*)(match+=2) && in longest_match()
[all …]

12345678910>>...77