/drivers/net/wireless/st/cw1200/ |
D | scan.c | 20 static int cw1200_scan_start(struct cw1200_common *priv, struct wsm_scan *scan) in cw1200_scan_start() argument 34 scan->type, scan->num_channels, scan->flags); in cw1200_scan_start() 36 for (i = 0; i < scan->num_channels; ++i) in cw1200_scan_start() 37 tmo += scan->ch[i].max_chan_time + 10; in cw1200_scan_start() 40 atomic_set(&priv->scan.in_progress, 1); in cw1200_scan_start() 43 queue_delayed_work(priv->workqueue, &priv->scan.timeout, in cw1200_scan_start() 45 ret = wsm_scan(priv, scan); in cw1200_scan_start() 47 atomic_set(&priv->scan.in_progress, 0); in cw1200_scan_start() 48 cancel_delayed_work_sync(&priv->scan.timeout); in cw1200_scan_start() 90 down(&priv->scan.lock); in cw1200_hw_scan() [all …]
|
D | pm.c | 194 if (down_trylock(&priv->scan.lock)) in cw1200_wow_suspend() 237 cw1200_suspend_work(&priv->scan.probe_work); in cw1200_wow_suspend() 289 cw1200_resume_work(priv, &priv->scan.probe_work, in cw1200_wow_suspend() 300 up(&priv->scan.lock); in cw1200_wow_suspend() 322 up(&priv->scan.lock); in cw1200_wow_resume() 346 cw1200_resume_work(priv, &priv->scan.probe_work, in cw1200_wow_resume()
|
/drivers/staging/lustre/lustre/obdclass/ |
D | cl_io.c | 150 struct cl_object *scan; in cl_io_init0() local 163 cl_object_for_each(scan, obj) { in cl_io_init0() 164 if (scan->co_ops->coo_io_init) { in cl_io_init0() 165 result = scan->co_ops->coo_io_init(env, scan, io); in cl_io_init0() 305 struct cl_io_lock_link *scan; in cl_lockset_merge() local 307 list_for_each_entry(scan, &set->cls_todo, cill_linkage) { in cl_lockset_merge() 308 if (!cl_object_same(scan->cill_descr.cld_obj, need->cld_obj)) in cl_lockset_merge() 318 cl_lock_descr_merge(&scan->cill_descr, need); in cl_lockset_merge() 320 scan->cill_descr.cld_mode, scan->cill_descr.cld_start, in cl_lockset_merge() 321 scan->cill_descr.cld_end); in cl_lockset_merge() [all …]
|
D | lu_object.c | 223 struct lu_object *scan; in lu_object_alloc() local 254 list_for_each_entry(scan, layers, lo_linkage) { in lu_object_alloc() 258 scan->lo_header = top->lo_header; in lu_object_alloc() 259 result = scan->lo_ops->loo_object_init(env, scan, conf); in lu_object_alloc() 270 list_for_each_entry_reverse(scan, layers, lo_linkage) { in lu_object_alloc() 271 if (scan->lo_ops->loo_object_start) { in lu_object_alloc() 272 result = scan->lo_ops->loo_object_start(env, scan); in lu_object_alloc() 291 struct lu_object *scan; in lu_object_free() local 301 list_for_each_entry_reverse(scan, layers, lo_linkage) { in lu_object_free() 302 if (scan->lo_ops->loo_object_delete) in lu_object_free() [all …]
|
D | cl_lock.c | 99 struct cl_object *scan; in cl_lock_init() local 106 list_for_each_entry(scan, &obj->co_lu.lo_header->loh_layers, in cl_lock_init() 108 result = scan->co_ops->coo_lock_init(env, scan, lock, io); in cl_lock_init()
|
/drivers/net/wireless/ti/wl12xx/ |
D | scan.c | 32 struct conf_scan_settings *c = &wl->conf.scan; in wl1271_get_scan_channels() 41 if (!test_bit(i, wl->scan.scanned_ch) && in wl1271_get_scan_channels() 83 set_bit(i, wl->scan.scanned_ch); in wl1271_get_scan_channels() 105 if (!passive && wl->scan.req->n_ssids == 0) in wl1271_scan_send() 115 if (wl->conf.scan.split_scan_timeout) in wl1271_scan_send() 134 cmd->params.n_ch = wl1271_get_scan_channels(wl, wl->scan.req, in wl1271_scan_send() 143 cmd->params.n_probe_reqs = wl->conf.scan.num_probe_reqs; in wl1271_scan_send() 152 if (wl->scan.ssid_len) { in wl1271_scan_send() 153 cmd->params.ssid_len = wl->scan.ssid_len; in wl1271_scan_send() 154 memcpy(cmd->params.ssid, wl->scan.ssid, wl->scan.ssid_len); in wl1271_scan_send() [all …]
|
/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | scan.c | 638 struct iwl_scan_cmd *scan; in iwlagn_request_scan() local 676 scan = priv->scan_cmd; in iwlagn_request_scan() 677 memset(scan, 0, scan_cmd_size); in iwlagn_request_scan() 679 scan->quiet_plcp_th = IWL_PLCP_QUIET_THRESH; in iwlagn_request_scan() 680 scan->quiet_time = IWL_ACTIVE_QUIET_TIME; in iwlagn_request_scan() 698 scan->suspend_time = 0; in iwlagn_request_scan() 699 scan->max_out_time = cpu_to_le32(200 * 1024); in iwlagn_request_scan() 706 scan->suspend_time = cpu_to_le32(scan_suspend_time); in iwlagn_request_scan() 719 scan->quiet_time = cpu_to_le16(IWL_RADIO_RESET_DWELL_TIME); in iwlagn_request_scan() 737 scan->direct_scan[p].id = WLAN_EID_SSID; in iwlagn_request_scan() [all …]
|
/drivers/net/wireless/ti/wlcore/ |
D | scan.c | 54 if (wl->scan.state == WL1271_SCAN_STATE_IDLE) in wl1271_scan_complete_work() 65 wl->scan.state = WL1271_SCAN_STATE_IDLE; in wl1271_scan_complete_work() 66 memset(wl->scan.scanned_ch, 0, sizeof(wl->scan.scanned_ch)); in wl1271_scan_complete_work() 67 wl->scan.req = NULL; in wl1271_scan_complete_work() 81 if (wl->scan.failed) { in wl1271_scan_complete_work() 155 struct conf_scan_settings *c = &wl->conf.scan; in wlcore_scan_get_channels() 355 if (wl->scan.state != WL1271_SCAN_STATE_IDLE) in wlcore_scan() 358 wl->scan.state = WL1271_SCAN_STATE_2GHZ_ACTIVE; in wlcore_scan() 361 wl->scan.ssid_len = ssid_len; in wlcore_scan() 362 memcpy(wl->scan.ssid, ssid, ssid_len); in wlcore_scan() [all …]
|
/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 …]
|
/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 …]
|
D | ani.c | 150 bool scan) in ath9k_hw_set_ofdm_nil() argument 167 if (!scan) in ath9k_hw_set_ofdm_nil() 230 bool scan) in ath9k_hw_set_cck_nil() argument 250 if (!scan) in ath9k_hw_set_cck_nil()
|
/drivers/media/rc/ |
D | rc-main.c | 112 .scan = empty, 139 rc_map->scan = kmalloc(rc_map->alloc, GFP_KERNEL); in ir_create_table() 140 if (!rc_map->scan) { in ir_create_table() 162 kfree(rc_map->scan); in ir_free_table() 163 rc_map->scan = NULL; in ir_free_table() 179 struct rc_map_table *oldscan = rc_map->scan; in ir_resize_table() 206 memcpy(newscan, rc_map->scan, rc_map->len * sizeof(struct rc_map_table)); in ir_resize_table() 207 rc_map->scan = newscan; in ir_resize_table() 230 int old_keycode = rc_map->scan[index].keycode; in ir_update_mapping() 236 index, rc_map->scan[index].scancode); in ir_update_mapping() [all …]
|
/drivers/media/pci/saa7134/ |
D | saa7134-tvaudio.c | 330 static int tvaudio_checkcarrier(struct saa7134_dev *dev, struct mainscan *scan) in tvaudio_checkcarrier() argument 334 if (!(dev->tvnorm->id & scan->std)) { in tvaudio_checkcarrier() 337 scan->carr / 1000, scan->carr % 1000, scan->name); in tvaudio_checkcarrier() 343 audio_dbg(1, "debug %d:", scan->carr); in tvaudio_checkcarrier() 345 tvaudio_setcarrier(dev,scan->carr+i,scan->carr+i); in tvaudio_checkcarrier() 358 tvaudio_setcarrier(dev,scan->carr-90,scan->carr-90); in tvaudio_checkcarrier() 364 tvaudio_setcarrier(dev,scan->carr+90,scan->carr+90); in tvaudio_checkcarrier() 374 scan->carr / 1000, scan->carr % 1000, in tvaudio_checkcarrier() 375 scan->name, value, left, right); in tvaudio_checkcarrier()
|
/drivers/rapidio/ |
D | rio.c | 1976 struct rio_scan_node *scan; in rio_register_scan() local 1992 list_for_each_entry(scan, &rio_scans, node) { in rio_register_scan() 1993 if (scan->mport_id == mport_id) { in rio_register_scan() 2002 scan = kzalloc(sizeof(*scan), GFP_KERNEL); in rio_register_scan() 2003 if (!scan) { in rio_register_scan() 2008 scan->mport_id = mport_id; in rio_register_scan() 2009 scan->ops = scan_ops; in rio_register_scan() 2028 list_add_tail(&scan->node, &rio_scans); in rio_register_scan() 2051 struct rio_scan_node *scan; in rio_unregister_scan() local 2065 list_for_each_entry(scan, &rio_scans, node) { in rio_unregister_scan() [all …]
|
/drivers/net/ethernet/toshiba/ |
D | ps3_gelic_wireless.c | 406 struct gelic_eurus_scan_info *scan) in gelic_wl_synthesize_ie() argument 414 pr_debug("%s: <- sec=%16x\n", __func__, scan->security); in gelic_wl_synthesize_ie() 415 switch (be16_to_cpu(scan->security) & GELIC_EURUS_SCAN_SEC_MASK) { in gelic_wl_synthesize_ie() 427 switch (be16_to_cpu(scan->security) & GELIC_EURUS_SCAN_SEC_WPA_MASK) { in gelic_wl_synthesize_ie() 581 struct gelic_eurus_scan_info *scan = network->hwinfo; in gelic_wl_translate_scan() local 592 memcpy(iwe.u.ap_addr.sa_data, &scan->bssid[2], ETH_ALEN); in gelic_wl_translate_scan() 598 iwe.u.data.length = strnlen(scan->essid, 32); in gelic_wl_translate_scan() 599 ev = iwe_stream_add_point(info, ev, stop, &iwe, scan->essid); in gelic_wl_translate_scan() 603 iwe.u.freq.m = be16_to_cpu(scan->channel); in gelic_wl_translate_scan() 620 ((scan->ext_rate[j] & 0x7f) < (scan->rate[i] & 0x7f))) in gelic_wl_translate_scan() [all …]
|
/drivers/char/ |
D | toshiba.c | 114 unsigned char scan; in tosh_fn_status() local 118 scan = inb(tosh_fn); in tosh_fn_status() 122 scan = inb(0xe5); in tosh_fn_status() 126 return (int) scan; in tosh_fn_status()
|
/drivers/net/wireless/atmel/ |
D | at76c50x-usb.c | 1165 struct at76_req_scan scan; in at76_start_monitor() local 1168 memset(&scan, 0, sizeof(struct at76_req_scan)); in at76_start_monitor() 1169 eth_broadcast_addr(scan.bssid); in at76_start_monitor() 1171 scan.channel = priv->channel; in at76_start_monitor() 1172 scan.scan_type = SCAN_TYPE_PASSIVE; in at76_start_monitor() 1173 scan.international_scan = 0; in at76_start_monitor() 1174 scan.min_channel_time = cpu_to_le16(priv->scan_min_time); in at76_start_monitor() 1175 scan.max_channel_time = cpu_to_le16(priv->scan_max_time); in at76_start_monitor() 1176 scan.probe_delay = cpu_to_le16(0); in at76_start_monitor() 1178 ret = at76_set_card_command(priv->udev, CMD_SCAN, &scan, sizeof(scan)); in at76_start_monitor() [all …]
|
/drivers/net/wireless/intel/iwlegacy/ |
D | 3945-mac.c | 2535 struct il3945_scan_cmd *scan; in il3945_request_scan() local 2553 scan = il->scan_cmd; in il3945_request_scan() 2554 memset(scan, 0, sizeof(struct il3945_scan_cmd) + IL_MAX_SCAN_SIZE); in il3945_request_scan() 2556 scan->quiet_plcp_th = IL_PLCP_QUIET_THRESH; in il3945_request_scan() 2557 scan->quiet_time = IL_ACTIVE_QUIET_TIME; in il3945_request_scan() 2569 scan->suspend_time = 0; in il3945_request_scan() 2570 scan->max_out_time = cpu_to_le32(200 * 1024); in il3945_request_scan() 2584 scan->suspend_time = cpu_to_le32(scan_suspend_time); in il3945_request_scan() 2596 scan->direct_scan[p].id = WLAN_EID_SSID; in il3945_request_scan() 2597 scan->direct_scan[p].len = in il3945_request_scan() [all …]
|
/drivers/net/wireless/ath/carl9170/ |
D | fw.c | 383 int scan = 0, found = 0; in carl9170_find_fw_desc() local 390 while (scan < len - sizeof(struct carl9170fw_desc_head)) { in carl9170_find_fw_desc() 391 if (fw_data[scan++] == otus_magic[found]) in carl9170_find_fw_desc() 396 if (scan >= len) in carl9170_find_fw_desc() 406 return (void *)&fw_data[scan - found]; in carl9170_find_fw_desc()
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_display.c | 102 struct nv04_disp_scanoutpos_v0 scan; in nouveau_display_scanoutpos_head() member 116 if (args.scan.vline) { in nouveau_display_scanoutpos_head() 125 *hpos = args.scan.hline; in nouveau_display_scanoutpos_head() 126 *vpos = calc(args.scan.vblanks, args.scan.vblanke, in nouveau_display_scanoutpos_head() 127 args.scan.vtotal, args.scan.vline); in nouveau_display_scanoutpos_head() 128 if (stime) *stime = ns_to_ktime(args.scan.time[0]); in nouveau_display_scanoutpos_head() 129 if (etime) *etime = ns_to_ktime(args.scan.time[1]); in nouveau_display_scanoutpos_head()
|
/drivers/gpu/drm/gma500/ |
D | oaktrail_lvds.c | 308 struct drm_display_mode *scan; /* *modes, *bios_mode; */ in oaktrail_lvds_init() local 383 list_for_each_entry(scan, &connector->probed_modes, head) { in oaktrail_lvds_init() 384 if (scan->type & DRM_MODE_TYPE_PREFERRED) { in oaktrail_lvds_init() 386 drm_mode_duplicate(dev, scan); in oaktrail_lvds_init()
|
/drivers/char/xillybus/ |
D | xillybus_core.c | 573 unsigned char *scan; in xilly_scan_idt() local 576 scan = idt; in xilly_scan_idt() 579 scan++; /* Skip version number */ in xilly_scan_idt() 581 while ((scan <= end_of_idt) && *scan) { in xilly_scan_idt() 582 while ((scan <= end_of_idt) && *scan++) in xilly_scan_idt() 587 scan++; in xilly_scan_idt() 589 if (scan > end_of_idt) { in xilly_scan_idt() 594 idt_handle->chandesc = scan; in xilly_scan_idt() 596 len = endpoint->idtlen - (3 + ((int) (scan - idt))); in xilly_scan_idt()
|
/drivers/net/wireless/intersil/hostap/ |
D | hostap_ioctl.c | 1776 struct hfa384x_hostscan_result *scan, in __prism2_translate_scan() argument 1794 ssid = scan->ssid; in __prism2_translate_scan() 1795 ssid_len = le16_to_cpu(scan->ssid_len); in __prism2_translate_scan() 1796 bssid = scan->bssid; in __prism2_translate_scan() 1823 capabilities = le16_to_cpu(scan->capability); in __prism2_translate_scan() 1837 if (scan) { in __prism2_translate_scan() 1838 chan = le16_to_cpu(scan->chid); in __prism2_translate_scan() 1852 if (scan) { in __prism2_translate_scan() 1856 iwe.u.qual.level = le16_to_cpu(scan->sl); in __prism2_translate_scan() 1857 iwe.u.qual.noise = le16_to_cpu(scan->anl); in __prism2_translate_scan() [all …]
|
/drivers/gpu/drm/i915/ |
D | intel_panel.c | 63 struct drm_display_mode *scan, *tmp_mode; in intel_find_panel_downclock() local 69 list_for_each_entry(scan, &connector->probed_modes, head) { in intel_find_panel_downclock() 77 if (scan->hdisplay == fixed_mode->hdisplay && in intel_find_panel_downclock() 78 scan->hsync_start == fixed_mode->hsync_start && in intel_find_panel_downclock() 79 scan->hsync_end == fixed_mode->hsync_end && in intel_find_panel_downclock() 80 scan->htotal == fixed_mode->htotal && in intel_find_panel_downclock() 81 scan->vdisplay == fixed_mode->vdisplay && in intel_find_panel_downclock() 82 scan->vsync_start == fixed_mode->vsync_start && in intel_find_panel_downclock() 83 scan->vsync_end == fixed_mode->vsync_end && in intel_find_panel_downclock() 84 scan->vtotal == fixed_mode->vtotal) { in intel_find_panel_downclock() [all …]
|
/drivers/staging/iio/Documentation/ |
D | ring.txt | 30 If possible, get the most recent scan from the buffer (without removal). 43 Set the number of bytes for a complete scan. (All samples + timestamp)
|