/Linux-v6.6/drivers/net/wireless/st/cw1200/ |
D | scan.c | 17 static int cw1200_scan_start(struct cw1200_common *priv, struct wsm_scan *scan) in cw1200_scan_start() argument 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() 44 atomic_set(&priv->scan.in_progress, 0); in cw1200_scan_start() 45 cancel_delayed_work_sync(&priv->scan.timeout); in cw1200_scan_start() 87 down(&priv->scan.lock); in cw1200_hw_scan() [all …]
|
/Linux-v6.6/Documentation/scheduler/ |
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-v6.6/drivers/gpu/drm/ |
D | drm_mm.c | 736 void drm_mm_scan_init_with_range(struct drm_mm_scan *scan, in drm_mm_scan_init_with_range() argument 749 scan->mm = mm; in drm_mm_scan_init_with_range() 754 scan->color = color; in drm_mm_scan_init_with_range() 755 scan->alignment = alignment; in drm_mm_scan_init_with_range() 756 scan->remainder_mask = is_power_of_2(alignment) ? alignment - 1 : 0; in drm_mm_scan_init_with_range() 757 scan->size = size; in drm_mm_scan_init_with_range() 758 scan->mode = mode; in drm_mm_scan_init_with_range() 761 scan->range_start = start; in drm_mm_scan_init_with_range() 762 scan->range_end = end; in drm_mm_scan_init_with_range() 764 scan->hit_start = U64_MAX; in drm_mm_scan_init_with_range() [all …]
|
/Linux-v6.6/drivers/net/wireless/ti/wl12xx/ |
D | scan.c | 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() 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() 120 cmd->params.n_ch = wl1271_get_scan_channels(wl, wl->scan.req, in wl1271_scan_send() 129 cmd->params.n_probe_reqs = wl->conf.scan.num_probe_reqs; in wl1271_scan_send() 138 if (wl->scan.ssid_len) { in wl1271_scan_send() 139 cmd->params.ssid_len = wl->scan.ssid_len; in wl1271_scan_send() 140 memcpy(cmd->params.ssid, wl->scan.ssid, wl->scan.ssid_len); in wl1271_scan_send() [all …]
|
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | scan.c | 615 struct iwl_scan_cmd *scan; in iwlagn_request_scan() local 659 scan = priv->scan_cmd; in iwlagn_request_scan() 660 memset(scan, 0, priv->scan_cmd_size); in iwlagn_request_scan() 662 scan->quiet_plcp_th = IWL_PLCP_QUIET_THRESH; in iwlagn_request_scan() 663 scan->quiet_time = IWL_ACTIVE_QUIET_TIME; in iwlagn_request_scan() 681 scan->suspend_time = 0; in iwlagn_request_scan() 682 scan->max_out_time = cpu_to_le32(200 * 1024); in iwlagn_request_scan() 689 scan->suspend_time = cpu_to_le32(scan_suspend_time); in iwlagn_request_scan() 702 scan->quiet_time = cpu_to_le16(IWL_RADIO_RESET_DWELL_TIME); in iwlagn_request_scan() 720 scan->direct_scan[p].id = WLAN_EID_SSID; in iwlagn_request_scan() [all …]
|
/Linux-v6.6/lib/zlib_deflate/ |
D | deflate.c | 571 register Byte *scan = s->window + s->strstart; /* current string */ in longest_match() local 589 register ush scan_start = *(ush*)scan; in longest_match() 590 register ush scan_end = *(ush*)(scan+best_len-1); in longest_match() 593 register Byte scan_end1 = scan[best_len-1]; in longest_match() 594 register Byte scan_end = scan[best_len]; in longest_match() 636 Assert(scan[2] == match[2], "scan[2]?"); in longest_match() 637 scan++, match++; in longest_match() 639 } while (*(ush*)(scan+=2) == *(ush*)(match+=2) && in longest_match() 640 *(ush*)(scan+=2) == *(ush*)(match+=2) && in longest_match() 641 *(ush*)(scan+=2) == *(ush*)(match+=2) && in longest_match() [all …]
|
/Linux-v6.6/arch/sparc/mm/ |
D | io-unit.c | 100 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/tools/power/cpupower/utils/ |
D | cpufreq-set.c | 66 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-v6.6/Documentation/driver-api/acpi/ |
D | scan_handlers.rst | 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 73 scope (if they have scan handlers). Next, it unregisters all of the device [all …]
|
/Linux-v6.6/drivers/net/wireless/ti/wlcore/ |
D | scan.c | 40 if (wl->scan.state == WL1271_SCAN_STATE_IDLE) 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() 142 struct conf_scan_settings *c = &wl->conf.scan; in wlcore_scan_get_channels() 342 if (wl->scan.state != WL1271_SCAN_STATE_IDLE) in wlcore_scan() 345 wl->scan.state = WL1271_SCAN_STATE_2GHZ_ACTIVE; in wlcore_scan() 348 wl->scan.ssid_len = ssid_len; in wlcore_scan() 349 memcpy(wl->scan.ssid, ssid, ssid_len); in wlcore_scan() [all …]
|
/Linux-v6.6/drivers/net/wireless/marvell/libertas/ |
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-v6.6/drivers/iio/orientation/ |
D | hid-sensor-rotation.c | 24 } scan; member 82 vals[i] = rot_state->scan.sampled_vals[i]; in dev_rot_read_raw() 157 iio_push_to_buffers_with_timestamp(indio_dev, &rot_state->scan, in dev_rot_proc_event() 177 rot_state->scan.sampled_vals[0] = ((s16 *)raw_data)[0]; in dev_rot_capture_sample() 178 rot_state->scan.sampled_vals[1] = ((s16 *)raw_data)[1]; in dev_rot_capture_sample() 179 rot_state->scan.sampled_vals[2] = ((s16 *)raw_data)[2]; in dev_rot_capture_sample() 180 rot_state->scan.sampled_vals[3] = ((s16 *)raw_data)[3]; in dev_rot_capture_sample() 182 memcpy(&rot_state->scan.sampled_vals, raw_data, in dev_rot_capture_sample() 183 sizeof(rot_state->scan.sampled_vals)); in dev_rot_capture_sample() 187 sizeof(rot_state->scan.sampled_vals)); in dev_rot_capture_sample()
|
/Linux-v6.6/drivers/net/wireless/ath/ath9k/ |
D | antenna.c | 313 antcomb->scan = false; in ath_select_ant_div_from_quick_scan() 441 if (!(antcomb->scan) && in ath_ant_div_conf_fast_divbias() 451 if (!(antcomb->scan) && in ath_ant_div_conf_fast_divbias() 458 if (!(antcomb->scan) && in ath_ant_div_conf_fast_divbias() 468 if (!(antcomb->scan) && in ath_ant_div_conf_fast_divbias() 500 if (!antcomb->scan && (alt_ratio > antcomb->ant_ratio)) in ath_ant_div_conf_fast_divbias() 509 if (!antcomb->scan && (alt_ratio > antcomb->ant_ratio)) in ath_ant_div_conf_fast_divbias() 515 if (!antcomb->scan && (alt_ratio > antcomb->ant_ratio)) in ath_ant_div_conf_fast_divbias() 524 if (!antcomb->scan && (alt_ratio > antcomb->ant_ratio)) in ath_ant_div_conf_fast_divbias() 598 antcomb->scan = true; in ath_ant_try_scan() [all …]
|
/Linux-v6.6/mm/ |
D | memfd.c | 79 int error, scan; in memfd_wait_for_pins() local 84 for (scan = 0; scan <= LAST_SCAN; scan++) { in memfd_wait_for_pins() 91 if (!scan) in memfd_wait_for_pins() 93 else if (schedule_timeout_killable((HZ << scan) / 200)) in memfd_wait_for_pins() 94 scan = LAST_SCAN; in memfd_wait_for_pins() 113 if (scan == LAST_SCAN) in memfd_wait_for_pins()
|
/Linux-v6.6/drivers/net/wireless/mediatek/mt76/mt76x2/ |
D | mcu.c | 16 u8 bw_index, bool scan) in mt76x2_mcu_set_channel() argument 20 u8 scan; in mt76x2_mcu_set_channel() member 30 .scan = scan, in mt76x2_mcu_set_channel()
|
/Linux-v6.6/include/drm/ |
D | drm_mm.h | 508 void drm_mm_scan_init_with_range(struct drm_mm_scan *scan, 533 static inline void drm_mm_scan_init(struct drm_mm_scan *scan, in drm_mm_scan_init() argument 540 drm_mm_scan_init_with_range(scan, mm, in drm_mm_scan_init() 545 bool drm_mm_scan_add_block(struct drm_mm_scan *scan, 547 bool drm_mm_scan_remove_block(struct drm_mm_scan *scan, 549 struct drm_mm_node *drm_mm_scan_color_evict(struct drm_mm_scan *scan);
|
/Linux-v6.6/drivers/gpu/drm/i915/ |
D | i915_gem_evict.c | 96 mark_free(struct drm_mm_scan *scan, in mark_free() argument 109 return drm_mm_scan_add_block(scan, &vma->node); in mark_free() 155 struct drm_mm_scan scan; in i915_gem_evict_something() local 183 drm_mm_scan_init_with_range(&scan, &vm->mm, in i915_gem_evict_something() 230 if (mark_free(&scan, ww, vma, flags, &eviction_list)) in i915_gem_evict_something() 236 ret = drm_mm_scan_remove_block(&scan, &vma->node); in i915_gem_evict_something() 283 if (drm_mm_scan_remove_block(&scan, &vma->node)) { in i915_gem_evict_something() 300 while (ret == 0 && (node = drm_mm_scan_color_evict(&scan))) { in i915_gem_evict_something()
|
/Linux-v6.6/Documentation/dev-tools/ |
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-v6.6/drivers/iio/humidity/ |
D | hts221_buffer.c | 173 &hw->scan.channels[0], in hts221_buffer_handler_thread() 174 sizeof(hw->scan.channels[0])); in hts221_buffer_handler_thread() 181 &hw->scan.channels[1], in hts221_buffer_handler_thread() 182 sizeof(hw->scan.channels[1])); in hts221_buffer_handler_thread() 186 iio_push_to_buffers_with_timestamp(iio_dev, &hw->scan, in hts221_buffer_handler_thread()
|
D | am2315.c | 39 } scan; member 173 data->scan.chans[0] = sensor_data.hum_data; in am2315_trigger_handler() 174 data->scan.chans[1] = sensor_data.temp_data; in am2315_trigger_handler() 179 data->scan.chans[i] = (bit ? sensor_data.temp_data : in am2315_trigger_handler() 186 iio_push_to_buffers_with_timestamp(indio_dev, &data->scan, in am2315_trigger_handler()
|
/Linux-v6.6/drivers/media/rc/ |
D | lirc_dev.c | 243 struct lirc_scancode scan; in lirc_transmit() local 245 if (n != sizeof(scan)) { in lirc_transmit() 250 if (copy_from_user(&scan, buf, sizeof(scan))) { in lirc_transmit() 255 if (scan.flags || scan.keycode || scan.timestamp || in lirc_transmit() 256 scan.rc_proto > RC_PROTO_MAX) { in lirc_transmit() 262 if (scan.scancode > U32_MAX || in lirc_transmit() 263 !rc_validate_scancode(scan.rc_proto, scan.scancode)) { in lirc_transmit() 274 ret = ir_raw_encode_scancode(scan.rc_proto, scan.scancode, in lirc_transmit() 291 int carrier = ir_raw_encode_carrier(scan.rc_proto); in lirc_transmit()
|
D | rc-main.c | 159 .scan = empty, 223 rc_map->scan = kmalloc(rc_map->alloc, GFP_KERNEL); in ir_create_table() 224 if (!rc_map->scan) { in ir_create_table() 247 kfree(rc_map->scan); in ir_free_table() 248 rc_map->scan = NULL; in ir_free_table() 267 struct rc_map_table *oldscan = rc_map->scan; in ir_resize_table() 292 memcpy(newscan, rc_map->scan, rc_map->len * sizeof(struct rc_map_table)); in ir_resize_table() 293 rc_map->scan = newscan; in ir_resize_table() 318 int old_keycode = rc_map->scan[index].keycode; in ir_update_mapping() 324 index, rc_map->scan[index].scancode); in ir_update_mapping() [all …]
|
/Linux-v6.6/drivers/iio/imu/st_lsm6dsx/ |
D | st_lsm6dsx_buffer.c | 417 memcpy(hw->scan[ST_LSM6DSX_ID_GYRO].channels, in st_lsm6dsx_read_fifo() 419 sizeof(hw->scan[ST_LSM6DSX_ID_GYRO].channels)); in st_lsm6dsx_read_fifo() 420 offset += sizeof(hw->scan[ST_LSM6DSX_ID_GYRO].channels); in st_lsm6dsx_read_fifo() 423 memcpy(hw->scan[ST_LSM6DSX_ID_ACC].channels, in st_lsm6dsx_read_fifo() 425 sizeof(hw->scan[ST_LSM6DSX_ID_ACC].channels)); in st_lsm6dsx_read_fifo() 426 offset += sizeof(hw->scan[ST_LSM6DSX_ID_ACC].channels); in st_lsm6dsx_read_fifo() 429 memcpy(hw->scan[ST_LSM6DSX_ID_EXT0].channels, in st_lsm6dsx_read_fifo() 431 sizeof(hw->scan[ST_LSM6DSX_ID_EXT0].channels)); in st_lsm6dsx_read_fifo() 432 offset += sizeof(hw->scan[ST_LSM6DSX_ID_EXT0].channels); in st_lsm6dsx_read_fifo() 469 &hw->scan[ST_LSM6DSX_ID_GYRO], in st_lsm6dsx_read_fifo() [all …]
|
/Linux-v6.6/drivers/media/pci/saa7134/ |
D | saa7134-tvaudio.c | 317 static int tvaudio_checkcarrier(struct saa7134_dev *dev, struct mainscan *scan) in tvaudio_checkcarrier() argument 321 if (!(dev->tvnorm->id & scan->std)) { in tvaudio_checkcarrier() 323 scan->carr / 1000, scan->carr % 1000, scan->name); in tvaudio_checkcarrier() 329 audio_dbg(1, "debug %d:", scan->carr); in tvaudio_checkcarrier() 331 tvaudio_setcarrier(dev,scan->carr+i,scan->carr+i); in tvaudio_checkcarrier() 344 tvaudio_setcarrier(dev,scan->carr-90,scan->carr-90); in tvaudio_checkcarrier() 350 tvaudio_setcarrier(dev,scan->carr+90,scan->carr+90); in tvaudio_checkcarrier() 360 scan->carr / 1000, scan->carr % 1000, in tvaudio_checkcarrier() 361 scan->name, value, left, right); in tvaudio_checkcarrier()
|
/Linux-v6.6/Documentation/devicetree/bindings/input/ |
D | gpio-matrix-keypad.txt | 25 - col-scan-delay-us: delay, measured in microseconds, that is needed 26 before we can scan keypad after activating column gpio 27 - drive-inactive-cols: drive inactive columns during scan, 34 col-scan-delay-us = <2>;
|