Home
last modified time | relevance | path

Searched refs:scan (Results 1 – 25 of 515) sorted by relevance

12345678910>>...21

/linux/drivers/net/wireless/st/cw1200/
A Dscan.c31 scan->type, scan->num_channels, scan->flags); in cw1200_scan_start()
109 priv->scan.curr = priv->scan.begin; in cw1200_hw_scan()
136 priv->scan.begin != priv->scan.end); in cw1200_scan_work()
164 if (!priv->scan.req || (priv->scan.curr == priv->scan.end)) { in cw1200_scan_work()
215 scan.num_ssids = priv->scan.n_ssids; in cw1200_scan_work()
216 scan.ssids = &priv->scan.ssids[0]; in cw1200_scan_work()
217 scan.num_channels = it - priv->scan.curr; in cw1200_scan_work()
228 scan.ch = kcalloc(it - priv->scan.curr, in cw1200_scan_work()
236 scan.ch[i].number = priv->scan.curr[i]->hw_value; in cw1200_scan_work()
261 priv->scan.curr = priv->scan.end; in cw1200_scan_work()
[all …]
A Dpm.c190 if (down_trylock(&priv->scan.lock)) in cw1200_wow_suspend()
233 cw1200_suspend_work(&priv->scan.probe_work); in cw1200_wow_suspend()
285 cw1200_resume_work(priv, &priv->scan.probe_work, in cw1200_wow_suspend()
296 up(&priv->scan.lock); in cw1200_wow_suspend()
318 up(&priv->scan.lock); in cw1200_wow_resume()
342 cw1200_resume_work(priv, &priv->scan.probe_work, in cw1200_wow_resume()
/linux/drivers/gpu/drm/
A Ddrm_mm.c749 scan->mm = mm; in drm_mm_scan_init_with_range()
754 scan->color = color; 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()
765 scan->hit_end = 0; in drm_mm_scan_init_with_range()
820 if (scan->alignment) { in drm_mm_scan_add_block()
832 min(col_end, scan->range_end) - adj_start < scan->size) in drm_mm_scan_add_block()
842 scan->hit_end = adj_start + scan->size; in drm_mm_scan_add_block()
[all …]
/linux/drivers/net/wireless/ti/wl12xx/
A Dscan.c27 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()
101 if (wl->conf.scan.split_scan_timeout) in wl1271_scan_send()
138 if (wl->scan.ssid_len) { in wl1271_scan_send()
140 memcpy(cmd->params.ssid, wl->scan.ssid, wl->scan.ssid_len); in wl1271_scan_send()
147 wl->scan.ssid, wl->scan.ssid_len, in wl1271_scan_send()
148 wl->scan.req->ie, in wl1271_scan_send()
210 switch (wl->scan.state) { in wl1271_scan_stm()
217 if (wl->scan.req->no_cck) { in wl1271_scan_stm()
234 if (wl->scan.req->no_cck) { in wl1271_scan_stm()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
A Dscan.c615 struct iwl_scan_cmd *scan; in iwlagn_request_scan() local
653 scan = priv->scan_cmd; in iwlagn_request_scan()
654 memset(scan, 0, scan_cmd_size); in iwlagn_request_scan()
675 scan->suspend_time = 0; in iwlagn_request_scan()
715 scan->direct_scan[p].len = in iwlagn_request_scan()
865 scan->channel_count = in iwlagn_request_scan()
867 (void *)&scan->data[cmd_len]); in iwlagn_request_scan()
870 scan->channel_count = in iwlagn_request_scan()
873 (void *)&scan->data[cmd_len]); in iwlagn_request_scan()
877 if (scan->channel_count == 0) { in iwlagn_request_scan()
[all …]
/linux/lib/zlib_deflate/
A Ddeflate.c630 scan++, match++; in longest_match()
636 scan < strend); in longest_match()
641 if (*scan == *match) scan++; in longest_match()
644 scan = strend - (MAX_MATCH-1); in longest_match()
659 scan += 2, match++; in longest_match()
666 } while (*++scan == *++match && *++scan == *++match && in longest_match()
667 *++scan == *++match && *++scan == *++match && in longest_match()
668 *++scan == *++match && *++scan == *++match && in longest_match()
669 *++scan == *++match && *++scan == *++match && in longest_match()
670 scan < strend); in longest_match()
[all …]
/linux/arch/sparc/mm/
A 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()
137 set_bit(scan, iounit->bmap); in iounit_get_area()
[all …]
/linux/tools/power/cpupower/utils/
A 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/Documentation/driver-api/acpi/
A Dscan_handlers.rst26 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/drivers/net/wireless/ti/wlcore/
A Dscan.c40 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()
67 if (wl->scan.failed) { in wl1271_scan_complete_work()
350 wl->scan.ssid_len = ssid_len; in wlcore_scan()
351 memcpy(wl->scan.ssid, ssid, ssid_len); in wlcore_scan()
353 wl->scan.ssid_len = 0; in wlcore_scan()
357 wl->scan.req = req; in wlcore_scan()
358 memset(wl->scan.scanned_ch, 0, sizeof(wl->scan.scanned_ch)); in wlcore_scan()
[all …]
/linux/drivers/net/wireless/marvell/libertas/
A 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
200 dur=[scan time] time to scan for each channel in milliseconds
213 2) Perform an active scan for a specific SSID:
217 the current scan table intact, update existing or append new scan data:
222 matches with the new scan data:
[all …]
/linux/drivers/net/wireless/ath/ath9k/
A Dantenna.c313 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()
598 antcomb->scan = true; in ath_ant_try_scan()
606 antcomb->scan = true; in ath_ant_try_scan()
613 antcomb->scan = true; in ath_ant_try_scan()
619 antcomb->scan = false; in ath_ant_try_scan()
796 antcomb->scan = true; in ath_ant_comb_scan()
800 if (!antcomb->scan) { in ath_ant_comb_scan()
[all …]
/linux/mm/
A Dmemfd.c70 int error, scan; in memfd_wait_for_pins() local
75 for (scan = 0; scan <= LAST_SCAN; scan++) { in memfd_wait_for_pins()
81 if (!scan) in memfd_wait_for_pins()
83 else if (schedule_timeout_killable((HZ << scan) / 200)) in memfd_wait_for_pins()
84 scan = LAST_SCAN; in memfd_wait_for_pins()
99 if (scan == LAST_SCAN) in memfd_wait_for_pins()
/linux/drivers/iio/orientation/
A Dhid-sensor-rotation.c24 } 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/drivers/gpu/drm/i915/
A Di915_gem_evict.c53 mark_free(struct drm_mm_scan *scan, in mark_free() argument
62 return drm_mm_scan_add_block(scan, &vma->node); in mark_free()
106 struct drm_mm_scan scan; in i915_gem_evict_something() local
133 drm_mm_scan_init_with_range(&scan, &vm->mm, in i915_gem_evict_something()
173 if (mark_free(&scan, vma, flags, &eviction_list)) in i915_gem_evict_something()
179 ret = drm_mm_scan_remove_block(&scan, &vma->node); in i915_gem_evict_something()
225 if (drm_mm_scan_remove_block(&scan, &vma->node)) in i915_gem_evict_something()
239 while (ret == 0 && (node = drm_mm_scan_color_evict(&scan))) { in i915_gem_evict_something()
/linux/drivers/gpu/drm/i915/display/
A Dintel_panel.c93 const struct drm_display_mode *scan, *best_mode = NULL; in intel_panel_edid_downclock_mode() local
105 if (is_downclock_mode(scan, fixed_mode) && in intel_panel_edid_downclock_mode()
106 scan->clock < best_clock) { in intel_panel_edid_downclock_mode()
111 best_clock = scan->clock; in intel_panel_edid_downclock_mode()
112 best_mode = scan; in intel_panel_edid_downclock_mode()
135 const struct drm_display_mode *scan; in intel_panel_edid_fixed_mode() local
143 if ((scan->type & DRM_MODE_TYPE_PREFERRED) == 0) in intel_panel_edid_fixed_mode()
146 fixed_mode = drm_mode_duplicate(&dev_priv->drm, scan); in intel_panel_edid_fixed_mode()
158 scan = list_first_entry(&connector->base.probed_modes, in intel_panel_edid_fixed_mode()
159 typeof(*scan), head); in intel_panel_edid_fixed_mode()
[all …]
/linux/Documentation/dev-tools/
A 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
132 # echo scan > /sys/kernel/debug/kmemleak
166 - ``kmemleak_no_scan`` - do not scan a memory block
233 enabled. Load the module and perform a scan with::
[all …]
/linux/drivers/media/rc/
A Drc-main.c159 .scan = empty,
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()
293 rc_map->scan = newscan; in ir_resize_table()
326 memmove(&rc_map->scan[index], &rc_map->scan[index+ 1], in ir_update_mapping()
405 memmove(&rc_map->scan[i + 1], &rc_map->scan[i], in ir_establish_scancode()
407 rc_map->scan[i].scancode = scancode; in ir_establish_scancode()
491 from->scan[i].keycode); in ir_setkeytable()
532 return res - rc_map->scan; in ir_lookup_by_scancode()
[all …]
A Dlirc_dev.c254 struct lirc_scancode scan; in lirc_transmit() local
256 if (n != sizeof(scan)) { in lirc_transmit()
261 if (copy_from_user(&scan, buf, sizeof(scan))) { in lirc_transmit()
266 if (scan.flags || scan.keycode || scan.timestamp || in lirc_transmit()
267 scan.rc_proto > RC_PROTO_MAX) { in lirc_transmit()
273 if (scan.scancode > U32_MAX || in lirc_transmit()
274 !rc_validate_scancode(scan.rc_proto, scan.scancode)) { in lirc_transmit()
285 ret = ir_raw_encode_scancode(scan.rc_proto, scan.scancode, in lirc_transmit()
302 int carrier = ir_raw_encode_carrier(scan.rc_proto); in lirc_transmit()
/linux/include/drm/
A Ddrm_mm.h506 void drm_mm_scan_init_with_range(struct drm_mm_scan *scan,
531 static inline void drm_mm_scan_init(struct drm_mm_scan *scan, in drm_mm_scan_init() argument
538 drm_mm_scan_init_with_range(scan, mm, in drm_mm_scan_init()
543 bool drm_mm_scan_add_block(struct drm_mm_scan *scan,
545 bool drm_mm_scan_remove_block(struct drm_mm_scan *scan,
547 struct drm_mm_node *drm_mm_scan_color_evict(struct drm_mm_scan *scan);
/linux/drivers/net/wireless/mediatek/mt76/mt76x2/
A Dmcu.c16 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/drivers/iio/humidity/
A Dhts221_buffer.c169 &hw->scan.channels[0], in hts221_buffer_handler_thread()
170 sizeof(hw->scan.channels[0])); in hts221_buffer_handler_thread()
177 &hw->scan.channels[1], in hts221_buffer_handler_thread()
178 sizeof(hw->scan.channels[1])); in hts221_buffer_handler_thread()
182 iio_push_to_buffers_with_timestamp(iio_dev, &hw->scan, in hts221_buffer_handler_thread()
A Dam2315.c39 } 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/drivers/iio/imu/st_lsm6dsx/
A Dst_lsm6dsx_buffer.c416 memcpy(hw->scan[ST_LSM6DSX_ID_GYRO].channels, in st_lsm6dsx_read_fifo()
418 sizeof(hw->scan[ST_LSM6DSX_ID_GYRO].channels)); in st_lsm6dsx_read_fifo()
419 offset += sizeof(hw->scan[ST_LSM6DSX_ID_GYRO].channels); in st_lsm6dsx_read_fifo()
422 memcpy(hw->scan[ST_LSM6DSX_ID_ACC].channels, in st_lsm6dsx_read_fifo()
424 sizeof(hw->scan[ST_LSM6DSX_ID_ACC].channels)); in st_lsm6dsx_read_fifo()
425 offset += sizeof(hw->scan[ST_LSM6DSX_ID_ACC].channels); in st_lsm6dsx_read_fifo()
428 memcpy(hw->scan[ST_LSM6DSX_ID_EXT0].channels, in st_lsm6dsx_read_fifo()
430 sizeof(hw->scan[ST_LSM6DSX_ID_EXT0].channels)); in st_lsm6dsx_read_fifo()
461 &hw->scan[ST_LSM6DSX_ID_GYRO], in st_lsm6dsx_read_fifo()
468 &hw->scan[ST_LSM6DSX_ID_ACC], in st_lsm6dsx_read_fifo()
[all …]
/linux/drivers/media/pci/saa7134/
A Dsaa7134-tvaudio.c317 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()

Completed in 52 milliseconds

12345678910>>...21