| /linux/drivers/net/wireless/st/cw1200/ |
| H A D | scan.c | 3 * 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/rust/syn/ |
| H A D | fixup.rs | 290 if let Scan::Bailout = scan_right(expr, self, Precedence::MIN, 0, 0) { in leftmost_subexpression_precedence() 365 if let Scan::Bailout | Scan::Fail = scan_right(expr, self, self.previous_operator, 1, 0) in rightmost_subexpression_precedence() 457 enum Scan { enum 464 impl Copy for Scan {} implementation 467 impl Clone for Scan { implementation 474 impl PartialEq for Scan { implementation 501 ) -> Scan { in scan_right() argument 507 Scan::Consume in scan_right() 509 Scan::Bailout in scan_right() 520 return Scan::Consume; in scan_right() [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
| H A D | scan.c | 15 /* 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/Documentation/scheduler/ |
| H A D | sched-debug.rst | 24 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/drivers/net/wireless/mediatek/mt76/ |
| H A D | scan.c | 9 struct mt76_phy *phy = dev->scan.phy; in mt76_scan_complete() 19 if (dev->scan.chan && phy->main_chandef.chan && in mt76_scan_complete() 22 mt76_put_vif_phy_link(phy, dev->scan.vif, dev->scan.mlink); in mt76_scan_complete() 23 memset(&dev->scan, 0, sizeof(dev->scan)); in mt76_scan_complete() 38 struct cfg80211_scan_request *req = dev->scan.req; in mt76_scan_send_probe() 39 struct ieee80211_vif *vif = dev->scan.vif; in mt76_scan_send_probe() 40 struct mt76_vif_link *mvif = dev->scan.mlink; in mt76_scan_send_probe() 41 enum nl80211_band band = dev->scan.chan->band; in mt76_scan_send_probe() 42 struct mt76_phy *phy = dev->scan.phy; in mt76_scan_send_probe() 84 struct cfg80211_scan_request *req = dev->scan.req; in mt76_scan_work() [all …]
|
| /linux/drivers/net/wireless/ti/wl12xx/ |
| H A D | scan.c | 9 #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 …]
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_mm.c | 653 * DOC: lru scan roster 663 * interfaces. First a scan operation needs to be initialized with 673 * in the scan mode no other operation is allowed. 676 * reported true) in the scan, and any overlapping nodes after color adjustment 680 * scan operation even begins this is linear in the number of objects. It 686 * @scan: scan state 687 * @mm: drm_mm to scan 699 * As long as the scan list is non-empty, no other operations than 700 * adding/removing nodes to/from the scan list are allowed. 702 void drm_mm_scan_init_with_range(struct drm_mm_scan *scan, in drm_mm_scan_init_with_range() argument [all …]
|
| /linux/Documentation/driver-api/acpi/ |
| H A D | scan_handlers.rst | 5 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/drivers/net/wireless/marvell/libertas/ |
| H A D | README | 165 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/Documentation/admin-guide/mm/ |
| H A D | ksm.rst | 80 how many pages to scan before ksmd goes to sleep 84 been set to scan-time. 89 how many milliseconds ksmd should sleep before next scan 158 scan. It's a noop if not a single KSM page hit the 162 Historically KSM checked every candidate page for each scan. It did 163 not take into account historic information. When smart scan is 172 supported: none and scan-time. The default is none. By setting 173 ``advisor_mode`` to scan-time, the scan time advisor is enabled. 174 The section about ``advisor`` explains in detail how the scan time 182 specifies the target scan time in seconds to scan all the candidate [all …]
|
| /linux/drivers/net/wireless/marvell/mwifiex/ |
| H A D | scan.c | 3 * 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) */ 425 * This function creates a channel list for the driver to scan, based 428 * This routine is used for any scan that is not provided with a 429 * specific channel list to scan. 552 /* This function appends rate TLV to scan config command. */ 585 * This function constructs and sends multiple scan config commands to [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | scan.c | 12 #include "fw/api/scan.h" 25 /* adaptive dwell max budget time [TU] for full scan */ 27 /* adaptive dwell max budget time [TU] for directed scan */ 35 /* number of scan channels */ 46 /* minimal number of 2GHz and 5GHz channels in the regular scan request */ 49 /* Number of iterations on the channel for mei filtered scan */ 83 /* For CDB this is low band scan type, for non-CDB - type. */ 235 * Force a non-fragmented scan in that case. in _iwl_mvm_get_scan_type() 255 * in case of DCM with P2P GO set all scan requests as in _iwl_mvm_get_scan_type() 256 * fast-balance scan in _iwl_mvm_get_scan_type() [all …]
|
| /linux/drivers/net/wireless/ti/wlcore/ |
| H A D | scan.c | 16 #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() 139 /* configure dwell times according to scan type */ in wlcore_scan_get_channels() 141 struct conf_scan_settings *c = &wl->conf.scan; in wlcore_scan_get_channels() [all …]
|
| /linux/Documentation/netlink/specs/ |
| H A D | nl80211.yaml | 46 - get-scan 47 - trigger-scan 48 - new-scan-results 49 - scan-aborted 89 - start-sched-scan 90 - stop-sched-scan 91 - sched-scan-results 92 - sched-scan-stopped 128 - abort-scan 180 - low-priority-scan [all …]
|
| /linux/fs/xfs/scrub/ |
| H A D | iscan.c | 28 * Live File Scan 32 * less like a regular iwalk, except that when we're advancing the scan cursor, 36 * inode to scan, we must grab the AGI and hold it until we've updated the 37 * scan cursor. 39 * Callers are expected to use this code to scan all files in the filesystem to 40 * construct a new metadata index of some kind. The scan races against other 43 * can be used in live update hook code to stop the scan and protect this data 56 * that the scan ignores that inode. 171 * and update the scan cursor. in xchk_iscan_find_next() 190 * Advance both the scan and the visited cursors. [all …]
|
| /linux/Documentation/dev-tools/ |
| H A D | kmemleak.rst | 26 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/Documentation/fb/ |
| H A D | viafb.modes | 14 # 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/drivers/iio/dummy/ |
| H A D | iio_simple_dummy_buffer.c | 53 struct dummy_scan *scan; in iio_simple_dummy_trigger_h() local 63 scan = kzalloc_obj(*scan); in iio_simple_dummy_trigger_h() 64 if (!scan) in iio_simple_dummy_trigger_h() 77 * occasionally a driver may process the nearest hardware scan to avoid in iio_simple_dummy_trigger_h() 84 scan->data[i++] = fakedata[j]; in iio_simple_dummy_trigger_h() 86 iio_push_to_buffers_with_ts(indio_dev, scan, sizeof(*scan), in iio_simple_dummy_trigger_h() 89 kfree(scan); in iio_simple_dummy_trigger_h()
|
| /linux/drivers/platform/x86/intel/ifs/ |
| H A D | runtest.c | 62 [IFS_NO_ERROR] = "SCAN no error", 64 [IFS_INTERRUPTED_BEFORE_RENDEZVOUS] = "Interrupt occurred prior to SCAN coordination.", 66 "Core Abort SCAN Response due to power management condition.", 69 [IFS_CORE_NOT_CAPABLE_CURRENTLY] = "Core not capable of performing SCAN currently", 72 "Exceeded number of Logical Processors (LP) allowed to run Scan-At-Field concurrently", 73 [IFS_INTERRUPTED_DURING_EXECUTION] = "Interrupt occurred prior to SCAN start", 75 [IFS_CORRUPTED_CHUNK] = "Scan operation aborted due to corrupted image. Try reloading", 88 dev_warn(dev, "CPU(s) %*pbl: Scan controller error. Batch: %02x version: 0x%x\n", in message_not_tested() 94 dev_info(dev, "CPU(s) %*pbl: SCAN operation did not start. %s\n", in message_not_tested() 98 dev_info(dev, "CPU(s) %*pbl: software timeout during scan\n", in message_not_tested() [all …]
|
| /linux/arch/sparc/mm/ |
| H A D | io-unit.c | 101 unsigned long rotor, scan, limit; in iounit_get_area() local 118 scan = rotor; in iounit_get_area() 119 nexti: scan = find_next_zero_bit(iounit->bmap, limit, scan); in iounit_get_area() 120 if (scan + npages > limit) { in iounit_get_area() 123 scan = iounit->limit[j - 1]; in iounit_get_area() 132 for (k = 1, scan++; k < npages; k++) in iounit_get_area() 133 if (test_bit(scan++, iounit->bmap)) in iounit_get_area() 135 iounit->rotor[j - 1] = (scan < limit) ? scan : iounit->limit[j - 1]; in iounit_get_area() 136 scan -= npages; in iounit_get_area() 138 phys = IOUNIT_DMA_BASE + (scan << PAGE_SHIFT) + offset_in_page(phys); in iounit_get_area() [all …]
|
| /linux/drivers/scsi/ |
| H A D | scsi_scan.c | 17 * 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 465 * means it was allocated but never made visible (because a scan in scsi_target_reap_ref_release() 696 "scsi scan: INQUIRY pass %d length %d\n", in scsi_probe_lun() 715 "scsi scan: INQUIRY %s with code 0x%x\n", in scsi_probe_lun() [all …]
|
| /linux/tools/testing/selftests/ublk/ |
| H A D | test_part_02.sh | 22 # for partition scan events to complete 24 echo "Testing partition scan with recovery support..." 27 echo "Testing partition scan without recovery..." 33 # The add command should return quickly because partition scan is async. 34 # Now sleep briefly to let the async partition scan work start and hit 38 # Kill the ublk daemon while partition scan is potentially blocked 58 _prep_test "partition_scan" "verify async partition scan prevents IO hang"
|
| /linux/include/trace/events/ |
| H A D | ksm.h | 11 * 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. 251 * @scan_time: scan time in seconds [all …]
|
| /linux/drivers/net/wireless/ti/wl18xx/ |
| H A D | scan.c | 9 #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/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A D | pno.h | 17 * 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.
|