scan 26 arch/arm/include/asm/mach/pci.h int (*scan)(int nr, struct pci_host_bridge *); scan 491 arch/arm/kernel/bios32.c if (hw->scan) scan 492 arch/arm/kernel/bios32.c ret = hw->scan(nr, bridge); scan 185 arch/arm/mach-dove/pcie.c .scan = dove_pcie_scan_bus, scan 228 arch/arm/mach-mv78xx0/pcie.c .scan = mv78xx0_pcie_scan_bus, scan 44 arch/arm/mach-orion5x/board-mss2.c .scan = orion5x_pci_sys_scan_bus, scan 104 arch/arm/mach-orion5x/board-rd88f5182.c .scan = orion5x_pci_sys_scan_bus, scan 269 arch/arm/mach-orion5x/db88f5281-setup.c .scan = orion5x_pci_sys_scan_bus, scan 91 arch/arm/mach-orion5x/dns323-setup.c .scan = orion5x_pci_sys_scan_bus, scan 142 arch/arm/mach-orion5x/kurobox_pro-setup.c .scan = orion5x_pci_sys_scan_bus, scan 149 arch/arm/mach-orion5x/rd88f5181l-fxo-setup.c .scan = orion5x_pci_sys_scan_bus, scan 160 arch/arm/mach-orion5x/rd88f5181l-ge-setup.c .scan = orion5x_pci_sys_scan_bus, scan 175 arch/arm/mach-orion5x/rd88f5182-setup.c .scan = orion5x_pci_sys_scan_bus, scan 97 arch/arm/mach-orion5x/rd88f6183ap-ge-setup.c .scan = orion5x_pci_sys_scan_bus, scan 122 arch/arm/mach-orion5x/terastation_pro2-setup.c .scan = orion5x_pci_sys_scan_bus, scan 170 arch/arm/mach-orion5x/ts209-setup.c .scan = orion5x_pci_sys_scan_bus, scan 140 arch/arm/mach-orion5x/ts409-setup.c .scan = orion5x_pci_sys_scan_bus, scan 156 arch/arm/mach-orion5x/wnr854t-setup.c .scan = orion5x_pci_sys_scan_bus, scan 244 arch/arm/mach-orion5x/wrt350n-v2-setup.c .scan = orion5x_pci_sys_scan_bus, scan 98 arch/sparc/mm/io-unit.c unsigned long rotor, scan, limit; scan 115 arch/sparc/mm/io-unit.c scan = rotor; scan 116 arch/sparc/mm/io-unit.c nexti: scan = find_next_zero_bit(iounit->bmap, limit, scan); scan 117 arch/sparc/mm/io-unit.c if (scan + npages > limit) { scan 120 arch/sparc/mm/io-unit.c scan = iounit->limit[j - 1]; scan 128 arch/sparc/mm/io-unit.c for (k = 1, scan++; k < npages; k++) scan 129 arch/sparc/mm/io-unit.c if (test_bit(scan++, iounit->bmap)) scan 131 arch/sparc/mm/io-unit.c iounit->rotor[j - 1] = (scan < limit) ? scan : iounit->limit[j - 1]; scan 132 arch/sparc/mm/io-unit.c scan -= npages; scan 134 arch/sparc/mm/io-unit.c vaddr = IOUNIT_DMA_BASE + (scan << PAGE_SHIFT) + (vaddr & ~PAGE_MASK); scan 135 arch/sparc/mm/io-unit.c for (k = 0; k < npages; k++, iopte = __iopte(iopte_val(iopte) + 0x100), scan++) { scan 136 arch/sparc/mm/io-unit.c set_bit(scan, iounit->bmap); scan 137 arch/sparc/mm/io-unit.c sbus_writel(iopte_val(iopte), &iounit->page_table[scan]); scan 208 drivers/char/hw_random/virtio-rng.c .scan = virtrng_scan, scan 104 drivers/char/toshiba.c unsigned char scan; scan 108 drivers/char/toshiba.c scan = inb(tosh_fn); scan 112 drivers/char/toshiba.c scan = inb(0xe5); scan 116 drivers/char/toshiba.c return (int) scan; scan 570 drivers/char/xillybus/xillybus_core.c unsigned char *scan; scan 573 drivers/char/xillybus/xillybus_core.c scan = idt; scan 576 drivers/char/xillybus/xillybus_core.c scan++; /* Skip version number */ scan 578 drivers/char/xillybus/xillybus_core.c while ((scan <= end_of_idt) && *scan) { scan 579 drivers/char/xillybus/xillybus_core.c while ((scan <= end_of_idt) && *scan++) scan 584 drivers/char/xillybus/xillybus_core.c scan++; scan 586 drivers/char/xillybus/xillybus_core.c if (scan > end_of_idt) { scan 591 drivers/char/xillybus/xillybus_core.c idt_handle->chandesc = scan; scan 593 drivers/char/xillybus/xillybus_core.c len = endpoint->idtlen - (3 + ((int) (scan - idt))); scan 2737 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c input.scan = SCAN_DIRECTION_HORIZONTAL; scan 2739 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c input.scan = SCAN_DIRECTION_VERTICAL; scan 132 drivers/gpu/drm/amd/display/dc/dc.h enum dc_scan_direction scan; scan 885 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c } else if (input->scan == SCAN_DIRECTION_HORIZONTAL) { scan 892 drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c } else if (input->scan == SCAN_DIRECTION_VERTICAL) { scan 244 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.c } else if (input->scan == SCAN_DIRECTION_HORIZONTAL) { scan 251 drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hubbub.c } else if (input->scan == SCAN_DIRECTION_VERTICAL) { scan 680 drivers/gpu/drm/drm_mm.c void drm_mm_scan_init_with_range(struct drm_mm_scan *scan, scan 693 drivers/gpu/drm/drm_mm.c scan->mm = mm; scan 698 drivers/gpu/drm/drm_mm.c scan->color = color; scan 699 drivers/gpu/drm/drm_mm.c scan->alignment = alignment; scan 700 drivers/gpu/drm/drm_mm.c scan->remainder_mask = is_power_of_2(alignment) ? alignment - 1 : 0; scan 701 drivers/gpu/drm/drm_mm.c scan->size = size; scan 702 drivers/gpu/drm/drm_mm.c scan->mode = mode; scan 705 drivers/gpu/drm/drm_mm.c scan->range_start = start; scan 706 drivers/gpu/drm/drm_mm.c scan->range_end = end; scan 708 drivers/gpu/drm/drm_mm.c scan->hit_start = U64_MAX; scan 709 drivers/gpu/drm/drm_mm.c scan->hit_end = 0; scan 724 drivers/gpu/drm/drm_mm.c bool drm_mm_scan_add_block(struct drm_mm_scan *scan, scan 727 drivers/gpu/drm/drm_mm.c struct drm_mm *mm = scan->mm; scan 754 drivers/gpu/drm/drm_mm.c mm->color_adjust(hole, scan->color, &col_start, &col_end); scan 756 drivers/gpu/drm/drm_mm.c adj_start = max(col_start, scan->range_start); scan 757 drivers/gpu/drm/drm_mm.c adj_end = min(col_end, scan->range_end); scan 758 drivers/gpu/drm/drm_mm.c if (adj_end <= adj_start || adj_end - adj_start < scan->size) scan 761 drivers/gpu/drm/drm_mm.c if (scan->mode == DRM_MM_INSERT_HIGH) scan 762 drivers/gpu/drm/drm_mm.c adj_start = adj_end - scan->size; scan 764 drivers/gpu/drm/drm_mm.c if (scan->alignment) { scan 767 drivers/gpu/drm/drm_mm.c if (likely(scan->remainder_mask)) scan 768 drivers/gpu/drm/drm_mm.c rem = adj_start & scan->remainder_mask; scan 770 drivers/gpu/drm/drm_mm.c div64_u64_rem(adj_start, scan->alignment, &rem); scan 773 drivers/gpu/drm/drm_mm.c if (scan->mode != DRM_MM_INSERT_HIGH) scan 774 drivers/gpu/drm/drm_mm.c adj_start += scan->alignment; scan 775 drivers/gpu/drm/drm_mm.c if (adj_start < max(col_start, scan->range_start) || scan 776 drivers/gpu/drm/drm_mm.c min(col_end, scan->range_end) - adj_start < scan->size) scan 780 drivers/gpu/drm/drm_mm.c adj_end - adj_start < scan->size) scan 785 drivers/gpu/drm/drm_mm.c scan->hit_start = adj_start; scan 786 drivers/gpu/drm/drm_mm.c scan->hit_end = adj_start + scan->size; scan 788 drivers/gpu/drm/drm_mm.c DRM_MM_BUG_ON(scan->hit_start >= scan->hit_end); scan 789 drivers/gpu/drm/drm_mm.c DRM_MM_BUG_ON(scan->hit_start < hole_start); scan 790 drivers/gpu/drm/drm_mm.c DRM_MM_BUG_ON(scan->hit_end > hole_end); scan 815 drivers/gpu/drm/drm_mm.c bool drm_mm_scan_remove_block(struct drm_mm_scan *scan, scan 820 drivers/gpu/drm/drm_mm.c DRM_MM_BUG_ON(node->mm != scan->mm); scan 840 drivers/gpu/drm/drm_mm.c return (node->start + node->size > scan->hit_start && scan 841 drivers/gpu/drm/drm_mm.c node->start < scan->hit_end); scan 856 drivers/gpu/drm/drm_mm.c struct drm_mm_node *drm_mm_scan_color_evict(struct drm_mm_scan *scan) scan 858 drivers/gpu/drm/drm_mm.c struct drm_mm *mm = scan->mm; scan 876 drivers/gpu/drm/drm_mm.c if (hole_start <= scan->hit_start && scan 877 drivers/gpu/drm/drm_mm.c hole_end >= scan->hit_end) scan 886 drivers/gpu/drm/drm_mm.c DRM_MM_BUG_ON(hole_start > scan->hit_start); scan 887 drivers/gpu/drm/drm_mm.c DRM_MM_BUG_ON(hole_end < scan->hit_end); scan 889 drivers/gpu/drm/drm_mm.c mm->color_adjust(hole, scan->color, &hole_start, &hole_end); scan 890 drivers/gpu/drm/drm_mm.c if (hole_start > scan->hit_start) scan 892 drivers/gpu/drm/drm_mm.c if (hole_end < scan->hit_end) scan 150 drivers/gpu/drm/etnaviv/etnaviv_mmu.c struct drm_mm_scan scan; scan 160 drivers/gpu/drm/etnaviv/etnaviv_mmu.c drm_mm_scan_init(&scan, &context->mm, size, 0, 0, mode); scan 177 drivers/gpu/drm/etnaviv/etnaviv_mmu.c if (drm_mm_scan_add_block(&scan, &free->vram_node)) { scan 186 drivers/gpu/drm/etnaviv/etnaviv_mmu.c BUG_ON(drm_mm_scan_remove_block(&scan, &m->vram_node)); scan 197 drivers/gpu/drm/etnaviv/etnaviv_mmu.c if (!drm_mm_scan_remove_block(&scan, &m->vram_node)) scan 577 drivers/gpu/drm/gma500/cdv_intel_lvds.c struct drm_display_mode *scan; scan 684 drivers/gpu/drm/gma500/cdv_intel_lvds.c list_for_each_entry(scan, &connector->probed_modes, head) { scan 685 drivers/gpu/drm/gma500/cdv_intel_lvds.c if (scan->type & DRM_MODE_TYPE_PREFERRED) { scan 687 drivers/gpu/drm/gma500/cdv_intel_lvds.c drm_mode_duplicate(dev, scan); scan 296 drivers/gpu/drm/gma500/oaktrail_lvds.c struct drm_display_mode *scan; /* *modes, *bios_mode; */ scan 371 drivers/gpu/drm/gma500/oaktrail_lvds.c list_for_each_entry(scan, &connector->probed_modes, head) { scan 372 drivers/gpu/drm/gma500/oaktrail_lvds.c if (scan->type & DRM_MODE_TYPE_PREFERRED) { scan 374 drivers/gpu/drm/gma500/oaktrail_lvds.c drm_mode_duplicate(dev, scan); scan 651 drivers/gpu/drm/gma500/psb_intel_lvds.c struct drm_display_mode *scan; /* *modes, *bios_mode; */ scan 745 drivers/gpu/drm/gma500/psb_intel_lvds.c list_for_each_entry(scan, &connector->probed_modes, head) { scan 746 drivers/gpu/drm/gma500/psb_intel_lvds.c if (scan->type & DRM_MODE_TYPE_PREFERRED) { scan 748 drivers/gpu/drm/gma500/psb_intel_lvds.c drm_mode_duplicate(dev, scan); scan 69 drivers/gpu/drm/i915/display/intel_panel.c const struct drm_display_mode *scan, *best_mode = NULL; scan 73 drivers/gpu/drm/i915/display/intel_panel.c list_for_each_entry(scan, &connector->base.probed_modes, head) { scan 81 drivers/gpu/drm/i915/display/intel_panel.c if (is_downclock_mode(scan, fixed_mode) && scan 82 drivers/gpu/drm/i915/display/intel_panel.c scan->clock < best_clock) { scan 87 drivers/gpu/drm/i915/display/intel_panel.c best_clock = scan->clock; scan 88 drivers/gpu/drm/i915/display/intel_panel.c best_mode = scan; scan 110 drivers/gpu/drm/i915/display/intel_panel.c const struct drm_display_mode *scan; scan 117 drivers/gpu/drm/i915/display/intel_panel.c list_for_each_entry(scan, &connector->base.probed_modes, head) { scan 118 drivers/gpu/drm/i915/display/intel_panel.c if ((scan->type & DRM_MODE_TYPE_PREFERRED) == 0) scan 121 drivers/gpu/drm/i915/display/intel_panel.c fixed_mode = drm_mode_duplicate(&dev_priv->drm, scan); scan 132 drivers/gpu/drm/i915/display/intel_panel.c scan = list_first_entry(&connector->base.probed_modes, scan 133 drivers/gpu/drm/i915/display/intel_panel.c typeof(*scan), head); scan 135 drivers/gpu/drm/i915/display/intel_panel.c fixed_mode = drm_mode_duplicate(&dev_priv->drm, scan); scan 424 drivers/gpu/drm/i915/gem/i915_gem_pages.c goto scan; scan 430 drivers/gpu/drm/i915/gem/i915_gem_pages.c goto scan; scan 438 drivers/gpu/drm/i915/gem/i915_gem_pages.c scan: scan 56 drivers/gpu/drm/i915/i915_gem_evict.c mark_free(struct drm_mm_scan *scan, scan 65 drivers/gpu/drm/i915/i915_gem_evict.c return drm_mm_scan_add_block(scan, &vma->node); scan 99 drivers/gpu/drm/i915/i915_gem_evict.c struct drm_mm_scan scan; scan 126 drivers/gpu/drm/i915/i915_gem_evict.c drm_mm_scan_init_with_range(&scan, &vm->mm, scan 175 drivers/gpu/drm/i915/i915_gem_evict.c if (mark_free(&scan, vma, flags, &eviction_list)) scan 181 drivers/gpu/drm/i915/i915_gem_evict.c ret = drm_mm_scan_remove_block(&scan, &vma->node); scan 227 drivers/gpu/drm/i915/i915_gem_evict.c if (drm_mm_scan_remove_block(&scan, &vma->node)) scan 241 drivers/gpu/drm/i915/i915_gem_evict.c while (ret == 0 && (node = drm_mm_scan_color_evict(&scan))) { scan 106 drivers/gpu/drm/nouveau/nouveau_display.c struct nv04_disp_scanoutpos_v0 scan; scan 121 drivers/gpu/drm/nouveau/nouveau_display.c if (args.scan.vline) { scan 129 drivers/gpu/drm/nouveau/nouveau_display.c *hpos = args.scan.hline; scan 130 drivers/gpu/drm/nouveau/nouveau_display.c *vpos = calc(args.scan.vblanks, args.scan.vblanke, scan 131 drivers/gpu/drm/nouveau/nouveau_display.c args.scan.vtotal, args.scan.vline); scan 132 drivers/gpu/drm/nouveau/nouveau_display.c if (stime) *stime = ns_to_ktime(args.scan.time[0]); scan 133 drivers/gpu/drm/nouveau/nouveau_display.c if (etime) *etime = ns_to_ktime(args.scan.time[1]); scan 1143 drivers/gpu/drm/selftests/test-drm_mm.c static void show_scan(const struct drm_mm_scan *scan) scan 1146 drivers/gpu/drm/selftests/test-drm_mm.c scan->hit_start, scan->hit_end, scan 1147 drivers/gpu/drm/selftests/test-drm_mm.c scan->size, scan->alignment, scan->color); scan 1187 drivers/gpu/drm/selftests/test-drm_mm.c static bool evict_nodes(struct drm_mm_scan *scan, scan 1200 drivers/gpu/drm/selftests/test-drm_mm.c if (drm_mm_scan_add_block(scan, &e->node)) scan 1204 drivers/gpu/drm/selftests/test-drm_mm.c if (!drm_mm_scan_remove_block(scan, &e->node)) scan 1209 drivers/gpu/drm/selftests/test-drm_mm.c scan->size, count, scan->alignment, scan->color); scan 1219 drivers/gpu/drm/selftests/test-drm_mm.c while ((node = drm_mm_scan_color_evict(scan))) { scan 1225 drivers/gpu/drm/selftests/test-drm_mm.c if (drm_mm_scan_color_evict(scan)) { scan 1238 drivers/gpu/drm/selftests/test-drm_mm.c struct drm_mm_scan scan; scan 1244 drivers/gpu/drm/selftests/test-drm_mm.c drm_mm_scan_init(&scan, mm, 1, 0, 0, 0); scan 1248 drivers/gpu/drm/selftests/test-drm_mm.c drm_mm_scan_add_block(&scan, &e->node); scan 1251 drivers/gpu/drm/selftests/test-drm_mm.c drm_mm_scan_remove_block(&scan, &e->node); scan 1285 drivers/gpu/drm/selftests/test-drm_mm.c struct drm_mm_scan scan; scan 1291 drivers/gpu/drm/selftests/test-drm_mm.c drm_mm_scan_init(&scan, mm, total_size, 0, 0, 0); scan 1295 drivers/gpu/drm/selftests/test-drm_mm.c if (drm_mm_scan_add_block(&scan, &e->node)) scan 1301 drivers/gpu/drm/selftests/test-drm_mm.c if (!drm_mm_scan_remove_block(&scan, &e->node)) { scan 1339 drivers/gpu/drm/selftests/test-drm_mm.c struct drm_mm_scan scan; scan 1345 drivers/gpu/drm/selftests/test-drm_mm.c drm_mm_scan_init_with_range(&scan, mm, scan 1349 drivers/gpu/drm/selftests/test-drm_mm.c if (!evict_nodes(&scan, scan 1360 drivers/gpu/drm/selftests/test-drm_mm.c show_scan(&scan); scan 2093 drivers/gpu/drm/selftests/test-drm_mm.c struct drm_mm_scan scan; scan 2099 drivers/gpu/drm/selftests/test-drm_mm.c drm_mm_scan_init_with_range(&scan, mm, scan 2103 drivers/gpu/drm/selftests/test-drm_mm.c if (!evict_nodes(&scan, scan 2114 drivers/gpu/drm/selftests/test-drm_mm.c show_scan(&scan); scan 124 drivers/ide/ide-sysfs.c static DEVICE_ATTR(scan, S_IWUSR, NULL, store_scan); scan 80 drivers/iio/chemical/pms7003.c } scan; scan 121 drivers/iio/chemical/pms7003.c state->scan.data[PM1] = scan 123 drivers/iio/chemical/pms7003.c state->scan.data[PM2P5] = scan 125 drivers/iio/chemical/pms7003.c state->scan.data[PM10] = scan 129 drivers/iio/chemical/pms7003.c iio_push_to_buffers_with_timestamp(indio_dev, &state->scan, scan 236 drivers/iio/chemical/sps30.c } scan; scan 239 drivers/iio/chemical/sps30.c ret = sps30_do_meas(state, scan.data, ARRAY_SIZE(scan.data)); scan 244 drivers/iio/chemical/sps30.c iio_push_to_buffers_with_timestamp(indio_dev, &scan, scan 481 drivers/infiniband/core/uverbs_cmd.c struct xrcd_table_entry *entry, *scan; scan 494 drivers/infiniband/core/uverbs_cmd.c scan = rb_entry(parent, struct xrcd_table_entry, node); scan 496 drivers/infiniband/core/uverbs_cmd.c if (inode < scan->inode) { scan 498 drivers/infiniband/core/uverbs_cmd.c } else if (inode > scan->inode) { scan 421 drivers/input/keyboard/pxa27x_keypad.c goto scan; scan 430 drivers/input/keyboard/pxa27x_keypad.c goto scan; scan 433 drivers/input/keyboard/pxa27x_keypad.c goto scan; scan 451 drivers/input/keyboard/pxa27x_keypad.c scan: scan 890 drivers/lightnvm/core.c goto scan; scan 920 drivers/lightnvm/core.c scan: scan 317 drivers/media/pci/saa7134/saa7134-tvaudio.c static int tvaudio_checkcarrier(struct saa7134_dev *dev, struct mainscan *scan) scan 321 drivers/media/pci/saa7134/saa7134-tvaudio.c if (!(dev->tvnorm->id & scan->std)) { scan 323 drivers/media/pci/saa7134/saa7134-tvaudio.c scan->carr / 1000, scan->carr % 1000, scan->name); scan 329 drivers/media/pci/saa7134/saa7134-tvaudio.c audio_dbg(1, "debug %d:", scan->carr); scan 331 drivers/media/pci/saa7134/saa7134-tvaudio.c tvaudio_setcarrier(dev,scan->carr+i,scan->carr+i); scan 344 drivers/media/pci/saa7134/saa7134-tvaudio.c tvaudio_setcarrier(dev,scan->carr-90,scan->carr-90); scan 350 drivers/media/pci/saa7134/saa7134-tvaudio.c tvaudio_setcarrier(dev,scan->carr+90,scan->carr+90); scan 360 drivers/media/pci/saa7134/saa7134-tvaudio.c scan->carr / 1000, scan->carr % 1000, scan 361 drivers/media/pci/saa7134/saa7134-tvaudio.c scan->name, value, left, right); scan 64 drivers/media/rc/keymaps/rc-adstech-dvb-t-pci.c .scan = adstech_dvb_t_pci, scan 35 drivers/media/rc/keymaps/rc-alink-dtu-m.c .scan = alink_dtu_m, scan 60 drivers/media/rc/keymaps/rc-anysee.c .scan = anysee, scan 55 drivers/media/rc/keymaps/rc-apac-viewcomp.c .scan = apac_viewcomp, scan 43 drivers/media/rc/keymaps/rc-astrometa-t2hybrid.c .scan = t2hybrid, scan 66 drivers/media/rc/keymaps/rc-asus-pc39.c .scan = asus_pc39, scan 65 drivers/media/rc/keymaps/rc-asus-ps3-100.c .scan = asus_ps3_100, scan 44 drivers/media/rc/keymaps/rc-ati-tv-wonder-hd-600.c .scan = ati_tv_wonder_hd_600, scan 104 drivers/media/rc/keymaps/rc-ati-x10.c .scan = ati_x10, scan 50 drivers/media/rc/keymaps/rc-avermedia-a16d.c .scan = avermedia_a16d, scan 72 drivers/media/rc/keymaps/rc-avermedia-cardbus.c .scan = avermedia_cardbus, scan 53 drivers/media/rc/keymaps/rc-avermedia-dvbt.c .scan = avermedia_dvbt, scan 123 drivers/media/rc/keymaps/rc-avermedia-m135a.c .scan = avermedia_m135a, scan 71 drivers/media/rc/keymaps/rc-avermedia-m733a-rm-k6.c .scan = avermedia_m733a_rm_k6, scan 46 drivers/media/rc/keymaps/rc-avermedia-rm-ks.c .scan = avermedia_rm_ks, scan 61 drivers/media/rc/keymaps/rc-avermedia.c .scan = avermedia, scan 60 drivers/media/rc/keymaps/rc-avertv-303.c .scan = avertv_303, scan 69 drivers/media/rc/keymaps/rc-azurewave-ad-tu700.c .scan = azurewave_ad_tu700, scan 83 drivers/media/rc/keymaps/rc-behold-columbus.c .scan = behold_columbus, scan 116 drivers/media/rc/keymaps/rc-behold.c .scan = behold, scan 68 drivers/media/rc/keymaps/rc-budget-ci-old.c .scan = budget_ci_old, scan 157 drivers/media/rc/keymaps/rc-cec.c .scan = cec, scan 59 drivers/media/rc/keymaps/rc-cinergy-1400.c .scan = cinergy_1400, scan 53 drivers/media/rc/keymaps/rc-cinergy.c .scan = cinergy, scan 51 drivers/media/rc/keymaps/rc-d680-dmb.c .scan = rc_map_d680_dmb_table, scan 57 drivers/media/rc/keymaps/rc-delock-61959.c .scan = delock_61959, scan 99 drivers/media/rc/keymaps/rc-dib0700-nec.c .scan = dib0700_nec_table, scan 210 drivers/media/rc/keymaps/rc-dib0700-rc5.c .scan = dib0700_rc5_table, scan 65 drivers/media/rc/keymaps/rc-digitalnow-tinytwin.c .scan = digitalnow_tinytwin, scan 49 drivers/media/rc/keymaps/rc-digittrade.c .scan = digittrade, scan 51 drivers/media/rc/keymaps/rc-dm1105-nec.c .scan = dm1105_nec, scan 53 drivers/media/rc/keymaps/rc-dntv-live-dvb-t.c .scan = dntv_live_dvb_t, scan 72 drivers/media/rc/keymaps/rc-dntv-live-dvbt-pro.c .scan = dntv_live_dvbt_pro, scan 34 drivers/media/rc/keymaps/rc-dtt200u.c .scan = dtt200u_table, scan 52 drivers/media/rc/keymaps/rc-dvbsky.c .scan = rc5_dvbsky, scan 61 drivers/media/rc/keymaps/rc-dvico-mce.c .scan = rc_map_dvico_mce_table, scan 52 drivers/media/rc/keymaps/rc-dvico-portable.c .scan = rc_map_dvico_portable_table, scan 44 drivers/media/rc/keymaps/rc-em-terratec.c .scan = em_terratec, scan 56 drivers/media/rc/keymaps/rc-encore-enltv-fm53.c .scan = encore_enltv_fm53, scan 87 drivers/media/rc/keymaps/rc-encore-enltv.c .scan = encore_enltv, scan 65 drivers/media/rc/keymaps/rc-encore-enltv2.c .scan = encore_enltv2, scan 36 drivers/media/rc/keymaps/rc-evga-indtube.c .scan = evga_indtube, scan 71 drivers/media/rc/keymaps/rc-eztv.c .scan = eztv, scan 52 drivers/media/rc/keymaps/rc-flydvb.c .scan = flydvb, scan 45 drivers/media/rc/keymaps/rc-flyvideo.c .scan = flyvideo, scan 73 drivers/media/rc/keymaps/rc-fusionhdtv-mce.c .scan = fusionhdtv_mce, scan 56 drivers/media/rc/keymaps/rc-gadmei-rm008z.c .scan = gadmei_rm008z, scan 28 drivers/media/rc/keymaps/rc-geekbox.c .scan = geekbox, scan 59 drivers/media/rc/keymaps/rc-genius-tvgo-a11mce.c .scan = genius_tvgo_a11mce, scan 54 drivers/media/rc/keymaps/rc-gotview7135.c .scan = gotview7135, scan 268 drivers/media/rc/keymaps/rc-hauppauge.c .scan = rc5_hauppauge_new, scan 45 drivers/media/rc/keymaps/rc-hisi-poplar.c .scan = hisi_poplar_keymap, scan 57 drivers/media/rc/keymaps/rc-hisi-tv-demo.c .scan = hisi_tv_demo_keymap, scan 117 drivers/media/rc/keymaps/rc-imon-mce.c .scan = imon_mce, scan 131 drivers/media/rc/keymaps/rc-imon-pad.c .scan = imon_pad, scan 61 drivers/media/rc/keymaps/rc-imon-rsc.c .scan = imon_rsc, scan 63 drivers/media/rc/keymaps/rc-iodata-bctv7e.c .scan = iodata_bctv7e, scan 70 drivers/media/rc/keymaps/rc-it913x-v1.c .scan = it913x_v1_rc, scan 69 drivers/media/rc/keymaps/rc-it913x-v2.c .scan = it913x_v2_rc, scan 62 drivers/media/rc/keymaps/rc-kaiomy.c .scan = kaiomy, scan 33 drivers/media/rc/keymaps/rc-khadas.c .scan = khadas, scan 58 drivers/media/rc/keymaps/rc-kworld-315u.c .scan = kworld_315u, scan 77 drivers/media/rc/keymaps/rc-kworld-pc150u.c .scan = kworld_pc150u, scan 78 drivers/media/rc/keymaps/rc-kworld-plus-tv-analog.c .scan = kworld_plus_tv_analog, scan 66 drivers/media/rc/keymaps/rc-leadtek-y04g0051.c .scan = leadtek_y04g0051, scan 85 drivers/media/rc/keymaps/rc-lme2510.c .scan = lme2510_rc, scan 109 drivers/media/rc/keymaps/rc-manli.c .scan = manli, scan 88 drivers/media/rc/keymaps/rc-medion-x10-digitainer.c .scan = medion_x10_digitainer, scan 73 drivers/media/rc/keymaps/rc-medion-x10-or2x.c .scan = medion_x10_or2x, scan 83 drivers/media/rc/keymaps/rc-medion-x10.c .scan = medion_x10, scan 34 drivers/media/rc/keymaps/rc-msi-digivox-ii.c .scan = msi_digivox_ii, scan 52 drivers/media/rc/keymaps/rc-msi-digivox-iii.c .scan = msi_digivox_iii, scan 98 drivers/media/rc/keymaps/rc-msi-tvanywhere-plus.c .scan = msi_tvanywhere_plus, scan 44 drivers/media/rc/keymaps/rc-msi-tvanywhere.c .scan = msi_tvanywhere, scan 71 drivers/media/rc/keymaps/rc-nebula.c .scan = nebula, scan 132 drivers/media/rc/keymaps/rc-nec-terratec-cinergy-xs.c .scan = nec_terratec_cinergy_xs, scan 60 drivers/media/rc/keymaps/rc-norwood.c .scan = norwood, scan 55 drivers/media/rc/keymaps/rc-npgtech.c .scan = npgtech, scan 33 drivers/media/rc/keymaps/rc-odroid.c .scan = odroid, scan 55 drivers/media/rc/keymaps/rc-pctv-sedna.c .scan = pctv_sedna, scan 69 drivers/media/rc/keymaps/rc-pinnacle-color.c .scan = pinnacle_color, scan 64 drivers/media/rc/keymaps/rc-pinnacle-grey.c .scan = pinnacle_grey, scan 45 drivers/media/rc/keymaps/rc-pinnacle-pctv-hd.c .scan = pinnacle_pctv_hd, scan 52 drivers/media/rc/keymaps/rc-pixelview-002t.c .scan = pixelview_002t, scan 58 drivers/media/rc/keymaps/rc-pixelview-mk12.c .scan = pixelview_mk12, scan 58 drivers/media/rc/keymaps/rc-pixelview-new.c .scan = pixelview_new, scan 57 drivers/media/rc/keymaps/rc-pixelview.c .scan = pixelview, scan 56 drivers/media/rc/keymaps/rc-powercolor-real-angel.c .scan = powercolor_real_angel, scan 44 drivers/media/rc/keymaps/rc-proteus-2309.c .scan = proteus_2309, scan 56 drivers/media/rc/keymaps/rc-purpletv.c .scan = purpletv, scan 53 drivers/media/rc/keymaps/rc-pv951.c .scan = pv951, scan 95 drivers/media/rc/keymaps/rc-rc6-mce.c .scan = rc6_mce, scan 53 drivers/media/rc/keymaps/rc-real-audio-220-32-keys.c .scan = real_audio_220_32_keys, scan 52 drivers/media/rc/keymaps/rc-reddo.c .scan = reddo, scan 73 drivers/media/rc/keymaps/rc-snapstream-firefly.c .scan = snapstream_firefly, scan 56 drivers/media/rc/keymaps/rc-streamzap.c .scan = streamzap, scan 50 drivers/media/rc/keymaps/rc-su3000.c .scan = su3000, scan 68 drivers/media/rc/keymaps/rc-tango.c .scan = tango_table, scan 56 drivers/media/rc/keymaps/rc-tanix-tx3mini.c .scan = tanix_tx3mini, scan 47 drivers/media/rc/keymaps/rc-tanix-tx5max.c .scan = tanix_tx5max, scan 50 drivers/media/rc/keymaps/rc-tbs-nec.c .scan = tbs_nec, scan 52 drivers/media/rc/keymaps/rc-technisat-ts35.c .scan = technisat_ts35, scan 69 drivers/media/rc/keymaps/rc-technisat-usb2.c .scan = technisat_usb2, scan 64 drivers/media/rc/keymaps/rc-terratec-cinergy-c-pci.c .scan = terratec_cinergy_c_pci, scan 62 drivers/media/rc/keymaps/rc-terratec-cinergy-s2-hd.c .scan = terratec_cinergy_s2_hd, scan 67 drivers/media/rc/keymaps/rc-terratec-cinergy-xs.c .scan = terratec_cinergy_xs, scan 39 drivers/media/rc/keymaps/rc-terratec-slim-2.c .scan = terratec_slim_2, scan 46 drivers/media/rc/keymaps/rc-terratec-slim.c .scan = terratec_slim, scan 63 drivers/media/rc/keymaps/rc-tevii-nec.c .scan = tevii_nec, scan 74 drivers/media/rc/keymaps/rc-tivo.c .scan = tivo, scan 52 drivers/media/rc/keymaps/rc-total-media-in-hand-02.c .scan = total_media_in_hand_02, scan 52 drivers/media/rc/keymaps/rc-total-media-in-hand.c .scan = total_media_in_hand, scan 47 drivers/media/rc/keymaps/rc-trekstor.c .scan = trekstor, scan 57 drivers/media/rc/keymaps/rc-tt-1500.c .scan = tt_1500, scan 74 drivers/media/rc/keymaps/rc-twinhan-dtv-cab-ci.c .scan = twinhan_dtv_cab_ci, scan 68 drivers/media/rc/keymaps/rc-twinhan1027.c .scan = twinhan_vp1027, scan 68 drivers/media/rc/keymaps/rc-videomate-m1f.c .scan = videomate_k100, scan 60 drivers/media/rc/keymaps/rc-videomate-s350.c .scan = videomate_s350, scan 62 drivers/media/rc/keymaps/rc-videomate-tv-pvr.c .scan = videomate_tv_pvr, scan 62 drivers/media/rc/keymaps/rc-videostrong-kii-pro.c .scan = kii_pro, scan 32 drivers/media/rc/keymaps/rc-wetek-hub.c .scan = wetek_hub, scan 72 drivers/media/rc/keymaps/rc-wetek-play2.c .scan = wetek_play2, scan 57 drivers/media/rc/keymaps/rc-winfast-usbii-deluxe.c .scan = winfast_usbii_deluxe, scan 77 drivers/media/rc/keymaps/rc-winfast.c .scan = winfast, scan 62 drivers/media/rc/keymaps/rc-x96max.c .scan = x96max, scan 43 drivers/media/rc/keymaps/rc-xbox-dvd.c .scan = xbox_dvd, scan 55 drivers/media/rc/keymaps/rc-zx-irdec.c .scan = zx_irdec_table, scan 255 drivers/media/rc/lirc_dev.c struct lirc_scancode scan; scan 257 drivers/media/rc/lirc_dev.c if (n != sizeof(scan)) { scan 262 drivers/media/rc/lirc_dev.c if (copy_from_user(&scan, buf, sizeof(scan))) { scan 267 drivers/media/rc/lirc_dev.c if (scan.flags || scan.keycode || scan.timestamp) { scan 278 drivers/media/rc/lirc_dev.c if (scan.scancode > U32_MAX || scan 279 drivers/media/rc/lirc_dev.c !rc_validate_scancode(scan.rc_proto, scan.scancode)) { scan 290 drivers/media/rc/lirc_dev.c ret = ir_raw_encode_scancode(scan.rc_proto, scan.scancode, scan 308 drivers/media/rc/lirc_dev.c int carrier = ir_raw_encode_carrier(scan.rc_proto); scan 159 drivers/media/rc/rc-main.c .scan = empty, scan 188 drivers/media/rc/rc-main.c rc_map->scan = kmalloc(rc_map->alloc, GFP_KERNEL); scan 189 drivers/media/rc/rc-main.c if (!rc_map->scan) { scan 212 drivers/media/rc/rc-main.c kfree(rc_map->scan); scan 213 drivers/media/rc/rc-main.c rc_map->scan = NULL; scan 232 drivers/media/rc/rc-main.c struct rc_map_table *oldscan = rc_map->scan; scan 257 drivers/media/rc/rc-main.c memcpy(newscan, rc_map->scan, rc_map->len * sizeof(struct rc_map_table)); scan 258 drivers/media/rc/rc-main.c rc_map->scan = newscan; scan 283 drivers/media/rc/rc-main.c int old_keycode = rc_map->scan[index].keycode; scan 289 drivers/media/rc/rc-main.c index, rc_map->scan[index].scancode); scan 291 drivers/media/rc/rc-main.c memmove(&rc_map->scan[index], &rc_map->scan[index+ 1], scan 297 drivers/media/rc/rc-main.c rc_map->scan[index].scancode, new_keycode); scan 298 drivers/media/rc/rc-main.c rc_map->scan[index].keycode = new_keycode; scan 307 drivers/media/rc/rc-main.c if (rc_map->scan[i].keycode == old_keycode) { scan 355 drivers/media/rc/rc-main.c if (rc_map->scan[i].scancode == scancode) scan 359 drivers/media/rc/rc-main.c if (rc_map->scan[i].scancode >= scancode) scan 371 drivers/media/rc/rc-main.c memmove(&rc_map->scan[i + 1], &rc_map->scan[i], scan 373 drivers/media/rc/rc-main.c rc_map->scan[i].scancode = scancode; scan 374 drivers/media/rc/rc-main.c rc_map->scan[i].keycode = KEY_RESERVED; scan 451 drivers/media/rc/rc-main.c from->scan[i].scancode, false); scan 458 drivers/media/rc/rc-main.c from->scan[i].keycode); scan 494 drivers/media/rc/rc-main.c res = bsearch(&scancode, rc_map->scan, rc_map->len, scan 499 drivers/media/rc/rc-main.c return res - rc_map->scan; scan 535 drivers/media/rc/rc-main.c entry = &rc_map->scan[index]; scan 584 drivers/media/rc/rc-main.c rc_map->scan[index].keycode : KEY_RESERVED; scan 1747 drivers/media/rc/rc-main.c if (!rc_map || !rc_map->scan || rc_map->size == 0) scan 92 drivers/misc/mic/bus/mic_bus.c if (drv->scan) scan 93 drivers/misc/mic/bus/mic_bus.c drv->scan(dev); scan 394 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c struct gelic_eurus_scan_info *scan) scan 402 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c pr_debug("%s: <- sec=%16x\n", __func__, scan->security); scan 403 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c switch (be16_to_cpu(scan->security) & GELIC_EURUS_SCAN_SEC_MASK) { scan 415 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c switch (be16_to_cpu(scan->security) & GELIC_EURUS_SCAN_SEC_WPA_MASK) { scan 569 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c struct gelic_eurus_scan_info *scan = network->hwinfo; scan 580 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c memcpy(iwe.u.ap_addr.sa_data, &scan->bssid[2], ETH_ALEN); scan 586 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.data.length = strnlen(scan->essid, 32); scan 587 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c ev = iwe_stream_add_point(info, ev, stop, &iwe, scan->essid); scan 591 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.freq.m = be16_to_cpu(scan->channel); scan 608 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c ((scan->ext_rate[j] & 0x7f) < (scan->rate[i] & 0x7f))) scan 609 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c rate = scan->ext_rate[j++] & 0x7f; scan 611 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c rate = scan->rate[i++] & 0x7f; scan 617 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.bitrate.value = (scan->ext_rate[j++] & 0x7f) * 500000; scan 627 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c if (be16_to_cpu(scan->capability) & WLAN_CAPABILITY_PRIVACY) scan 632 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c ev = iwe_stream_add_point(info, ev, stop, &iwe, scan->essid); scan 636 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c if (be16_to_cpu(scan->capability) & scan 638 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c if (be16_to_cpu(scan->capability) & WLAN_CAPABILITY_ESS) scan 649 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.qual.level = be16_to_cpu(scan->rssi); scan 650 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c iwe.u.qual.qual = be16_to_cpu(scan->rssi); scan 656 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c if (be16_to_cpu(scan->size) <= sizeof(*scan)) { scan 658 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c len = gelic_wl_synthesize_ie(buf, scan); scan 669 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c data_len = be16_to_cpu(scan->size) - sizeof(*scan); scan 671 drivers/net/ethernet/toshiba/ps3_gelic_wireless.c gelic_wl_parse_ie(scan->elements, data_len, &ie_info); scan 2200 drivers/net/wireless/ath/ath10k/core.c complete(&ar->scan.started); scan 2201 drivers/net/wireless/ath/ath10k/core.c complete(&ar->scan.completed); scan 2202 drivers/net/wireless/ath/ath10k/core.c complete(&ar->scan.on_channel); scan 3170 drivers/net/wireless/ath/ath10k/core.c init_completion(&ar->scan.started); scan 3171 drivers/net/wireless/ath/ath10k/core.c init_completion(&ar->scan.completed); scan 3172 drivers/net/wireless/ath/ath10k/core.c init_completion(&ar->scan.on_channel); scan 3184 drivers/net/wireless/ath/ath10k/core.c INIT_DELAYED_WORK(&ar->scan.timeout, ath10k_scan_timeout_work); scan 1038 drivers/net/wireless/ath/ath10k/core.h } scan; scan 1131 drivers/net/wireless/ath/ath10k/htt_tx.c return ar->scan.vdev_id; scan 1401 drivers/net/wireless/ath/ath10k/htt_tx.c freq = ar->scan.roc_freq; scan 1601 drivers/net/wireless/ath/ath10k/htt_tx.c freq = ar->scan.roc_freq; scan 3813 drivers/net/wireless/ath/ath10k/mac.c vdev_id = ar->scan.vdev_id; scan 4172 drivers/net/wireless/ath/ath10k/mac.c switch (ar->scan.state) { scan 4177 drivers/net/wireless/ath/ath10k/mac.c if (!ar->scan.is_roc) { scan 4179 drivers/net/wireless/ath/ath10k/mac.c .aborted = (ar->scan.state == scan 4184 drivers/net/wireless/ath/ath10k/mac.c } else if (ar->scan.roc_notify) { scan 4189 drivers/net/wireless/ath/ath10k/mac.c ar->scan.state = ATH10K_SCAN_IDLE; scan 4191 drivers/net/wireless/ath/ath10k/mac.c ar->scan.roc_freq = 0; scan 4193 drivers/net/wireless/ath/ath10k/mac.c cancel_delayed_work(&ar->scan.timeout); scan 4194 drivers/net/wireless/ath/ath10k/mac.c complete(&ar->scan.completed); scan 4223 drivers/net/wireless/ath/ath10k/mac.c ret = wait_for_completion_timeout(&ar->scan.completed, 3 * HZ); scan 4240 drivers/net/wireless/ath/ath10k/mac.c if (ar->scan.state != ATH10K_SCAN_IDLE) scan 4255 drivers/net/wireless/ath/ath10k/mac.c switch (ar->scan.state) { scan 4264 drivers/net/wireless/ath/ath10k/mac.c ath10k_scan_state_str(ar->scan.state), scan 4265 drivers/net/wireless/ath/ath10k/mac.c ar->scan.state); scan 4268 drivers/net/wireless/ath/ath10k/mac.c ar->scan.state = ATH10K_SCAN_ABORTING; scan 4285 drivers/net/wireless/ath/ath10k/mac.c scan.timeout.work); scan 4303 drivers/net/wireless/ath/ath10k/mac.c ret = wait_for_completion_timeout(&ar->scan.started, 1 * HZ); scan 4317 drivers/net/wireless/ath/ath10k/mac.c if (ar->scan.state == ATH10K_SCAN_IDLE) { scan 4971 drivers/net/wireless/ath/ath10k/mac.c cancel_delayed_work_sync(&ar->scan.timeout); scan 5967 drivers/net/wireless/ath/ath10k/mac.c switch (ar->scan.state) { scan 5969 drivers/net/wireless/ath/ath10k/mac.c reinit_completion(&ar->scan.started); scan 5970 drivers/net/wireless/ath/ath10k/mac.c reinit_completion(&ar->scan.completed); scan 5971 drivers/net/wireless/ath/ath10k/mac.c ar->scan.state = ATH10K_SCAN_STARTING; scan 5972 drivers/net/wireless/ath/ath10k/mac.c ar->scan.is_roc = false; scan 5973 drivers/net/wireless/ath/ath10k/mac.c ar->scan.vdev_id = arvif->vdev_id; scan 6039 drivers/net/wireless/ath/ath10k/mac.c ar->scan.state = ATH10K_SCAN_IDLE; scan 6043 drivers/net/wireless/ath/ath10k/mac.c ieee80211_queue_delayed_work(ar->hw, &ar->scan.timeout, scan 6060 drivers/net/wireless/ath/ath10k/mac.c cancel_delayed_work_sync(&ar->scan.timeout); scan 6908 drivers/net/wireless/ath/ath10k/mac.c switch (ar->scan.state) { scan 6910 drivers/net/wireless/ath/ath10k/mac.c reinit_completion(&ar->scan.started); scan 6911 drivers/net/wireless/ath/ath10k/mac.c reinit_completion(&ar->scan.completed); scan 6912 drivers/net/wireless/ath/ath10k/mac.c reinit_completion(&ar->scan.on_channel); scan 6913 drivers/net/wireless/ath/ath10k/mac.c ar->scan.state = ATH10K_SCAN_STARTING; scan 6914 drivers/net/wireless/ath/ath10k/mac.c ar->scan.is_roc = true; scan 6915 drivers/net/wireless/ath/ath10k/mac.c ar->scan.vdev_id = arvif->vdev_id; scan 6916 drivers/net/wireless/ath/ath10k/mac.c ar->scan.roc_freq = chan->center_freq; scan 6917 drivers/net/wireless/ath/ath10k/mac.c ar->scan.roc_notify = true; scan 6950 drivers/net/wireless/ath/ath10k/mac.c ar->scan.state = ATH10K_SCAN_IDLE; scan 6955 drivers/net/wireless/ath/ath10k/mac.c ret = wait_for_completion_timeout(&ar->scan.on_channel, 3 * HZ); scan 6967 drivers/net/wireless/ath/ath10k/mac.c ieee80211_queue_delayed_work(ar->hw, &ar->scan.timeout, scan 6984 drivers/net/wireless/ath/ath10k/mac.c ar->scan.roc_notify = false; scan 6991 drivers/net/wireless/ath/ath10k/mac.c cancel_delayed_work_sync(&ar->scan.timeout); scan 7138 drivers/net/wireless/ath/ath10k/mac.c if (ar->scan.state != ATH10K_SCAN_IDLE) { scan 1969 drivers/net/wireless/ath/ath10k/wmi.c switch (ar->scan.state) { scan 1974 drivers/net/wireless/ath/ath10k/wmi.c ath10k_scan_state_str(ar->scan.state), scan 1975 drivers/net/wireless/ath/ath10k/wmi.c ar->scan.state); scan 1978 drivers/net/wireless/ath/ath10k/wmi.c ar->scan.state = ATH10K_SCAN_RUNNING; scan 1980 drivers/net/wireless/ath/ath10k/wmi.c if (ar->scan.is_roc) scan 1983 drivers/net/wireless/ath/ath10k/wmi.c complete(&ar->scan.started); scan 1992 drivers/net/wireless/ath/ath10k/wmi.c switch (ar->scan.state) { scan 1997 drivers/net/wireless/ath/ath10k/wmi.c ath10k_scan_state_str(ar->scan.state), scan 1998 drivers/net/wireless/ath/ath10k/wmi.c ar->scan.state); scan 2001 drivers/net/wireless/ath/ath10k/wmi.c complete(&ar->scan.started); scan 2011 drivers/net/wireless/ath/ath10k/wmi.c switch (ar->scan.state) { scan 2023 drivers/net/wireless/ath/ath10k/wmi.c ath10k_scan_state_str(ar->scan.state), scan 2024 drivers/net/wireless/ath/ath10k/wmi.c ar->scan.state); scan 2037 drivers/net/wireless/ath/ath10k/wmi.c switch (ar->scan.state) { scan 2041 drivers/net/wireless/ath/ath10k/wmi.c ath10k_scan_state_str(ar->scan.state), scan 2042 drivers/net/wireless/ath/ath10k/wmi.c ar->scan.state); scan 2055 drivers/net/wireless/ath/ath10k/wmi.c switch (ar->scan.state) { scan 2059 drivers/net/wireless/ath/ath10k/wmi.c ath10k_scan_state_str(ar->scan.state), scan 2060 drivers/net/wireless/ath/ath10k/wmi.c ar->scan.state); scan 2066 drivers/net/wireless/ath/ath10k/wmi.c if (ar->scan.is_roc && ar->scan.roc_freq == freq) scan 2067 drivers/net/wireless/ath/ath10k/wmi.c complete(&ar->scan.on_channel); scan 2163 drivers/net/wireless/ath/ath10k/wmi.c ath10k_scan_state_str(ar->scan.state), ar->scan.state); scan 2726 drivers/net/wireless/ath/ath10k/wmi.c switch (ar->scan.state) { scan 3437 drivers/net/wireless/ath/ath6kl/cfg80211.c .scan = ath6kl_cfg80211_scan, scan 150 drivers/net/wireless/ath/ath9k/ani.c bool scan) scan 167 drivers/net/wireless/ath/ath9k/ani.c if (!scan) scan 230 drivers/net/wireless/ath/ath9k/ani.c bool scan) scan 250 drivers/net/wireless/ath/ath9k/ani.c if (!scan) scan 313 drivers/net/wireless/ath/ath9k/antenna.c antcomb->scan = false; scan 441 drivers/net/wireless/ath/ath9k/antenna.c if (!(antcomb->scan) && scan 451 drivers/net/wireless/ath/ath9k/antenna.c if (!(antcomb->scan) && scan 458 drivers/net/wireless/ath/ath9k/antenna.c if (!(antcomb->scan) && scan 468 drivers/net/wireless/ath/ath9k/antenna.c if (!(antcomb->scan) && scan 500 drivers/net/wireless/ath/ath9k/antenna.c if (!antcomb->scan && (alt_ratio > antcomb->ant_ratio)) scan 509 drivers/net/wireless/ath/ath9k/antenna.c if (!antcomb->scan && (alt_ratio > antcomb->ant_ratio)) scan 515 drivers/net/wireless/ath/ath9k/antenna.c if (!antcomb->scan && (alt_ratio > antcomb->ant_ratio)) scan 524 drivers/net/wireless/ath/ath9k/antenna.c if (!antcomb->scan && (alt_ratio > antcomb->ant_ratio)) scan 598 drivers/net/wireless/ath/ath9k/antenna.c antcomb->scan = true; scan 606 drivers/net/wireless/ath/ath9k/antenna.c antcomb->scan = true; scan 613 drivers/net/wireless/ath/ath9k/antenna.c antcomb->scan = true; scan 619 drivers/net/wireless/ath/ath9k/antenna.c antcomb->scan = false; scan 704 drivers/net/wireless/ath/ath9k/antenna.c if (!antcomb->scan || !antcomb->alt_good) scan 796 drivers/net/wireless/ath/ath9k/antenna.c antcomb->scan = true; scan 800 drivers/net/wireless/ath/ath9k/antenna.c if (!antcomb->scan) { scan 808 drivers/net/wireless/ath/ath9k/antenna.c if (!antcomb->scan && scan 913 drivers/net/wireless/ath/ath9k/ath9k.h bool scan; scan 370 drivers/net/wireless/ath/carl9170/fw.c int scan = 0, found = 0; scan 377 drivers/net/wireless/ath/carl9170/fw.c while (scan < len - sizeof(struct carl9170fw_desc_head)) { scan 378 drivers/net/wireless/ath/carl9170/fw.c if (fw_data[scan++] == otus_magic[found]) scan 383 drivers/net/wireless/ath/carl9170/fw.c if (scan >= len) scan 393 drivers/net/wireless/ath/carl9170/fw.c return (void *)&fw_data[scan - found]; scan 2596 drivers/net/wireless/ath/wil6210/cfg80211.c .scan = wil_cfg80211_scan, scan 1160 drivers/net/wireless/atmel/at76c50x-usb.c struct at76_req_scan scan; scan 1163 drivers/net/wireless/atmel/at76c50x-usb.c memset(&scan, 0, sizeof(struct at76_req_scan)); scan 1164 drivers/net/wireless/atmel/at76c50x-usb.c eth_broadcast_addr(scan.bssid); scan 1166 drivers/net/wireless/atmel/at76c50x-usb.c scan.channel = priv->channel; scan 1167 drivers/net/wireless/atmel/at76c50x-usb.c scan.scan_type = SCAN_TYPE_PASSIVE; scan 1168 drivers/net/wireless/atmel/at76c50x-usb.c scan.international_scan = 0; scan 1169 drivers/net/wireless/atmel/at76c50x-usb.c scan.min_channel_time = cpu_to_le16(priv->scan_min_time); scan 1170 drivers/net/wireless/atmel/at76c50x-usb.c scan.max_channel_time = cpu_to_le16(priv->scan_max_time); scan 1171 drivers/net/wireless/atmel/at76c50x-usb.c scan.probe_delay = cpu_to_le16(0); scan 1173 drivers/net/wireless/atmel/at76c50x-usb.c ret = at76_set_card_command(priv->udev, CMD_SCAN, &scan, sizeof(scan)); scan 1960 drivers/net/wireless/atmel/at76c50x-usb.c struct at76_req_scan scan; scan 1973 drivers/net/wireless/atmel/at76c50x-usb.c memset(&scan, 0, sizeof(struct at76_req_scan)); scan 1974 drivers/net/wireless/atmel/at76c50x-usb.c eth_broadcast_addr(scan.bssid); scan 1977 drivers/net/wireless/atmel/at76c50x-usb.c scan.scan_type = SCAN_TYPE_ACTIVE; scan 1981 drivers/net/wireless/atmel/at76c50x-usb.c scan.scan_type = SCAN_TYPE_PASSIVE; scan 1985 drivers/net/wireless/atmel/at76c50x-usb.c memcpy(scan.essid, ssid, len); scan 1986 drivers/net/wireless/atmel/at76c50x-usb.c scan.essid_size = len; scan 1989 drivers/net/wireless/atmel/at76c50x-usb.c scan.min_channel_time = cpu_to_le16(priv->scan_min_time); scan 1990 drivers/net/wireless/atmel/at76c50x-usb.c scan.max_channel_time = cpu_to_le16(priv->scan_max_time); scan 1991 drivers/net/wireless/atmel/at76c50x-usb.c scan.probe_delay = cpu_to_le16(priv->scan_min_time * 1000); scan 1992 drivers/net/wireless/atmel/at76c50x-usb.c scan.international_scan = 0; scan 1995 drivers/net/wireless/atmel/at76c50x-usb.c ret = at76_set_card_command(priv->udev, CMD_SCAN, &scan, sizeof(scan)); scan 5242 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c .scan = brcmf_cfg80211_scan, scan 6155 drivers/net/wireless/intel/ipw2x00/ipw2200.c struct ipw_scan_request_ext *scan, scan 6171 drivers/net/wireless/intel/ipw2x00/ipw2200.c scan->channels_list[channel_index] = geo->a[i].channel; scan 6172 drivers/net/wireless/intel/ipw2x00/ipw2200.c ipw_set_scan_type(scan, channel_index, scan 6180 drivers/net/wireless/intel/ipw2x00/ipw2200.c scan->channels_list[start] = (u8) (IPW_A_MODE << 6) | scan 6220 drivers/net/wireless/intel/ipw2x00/ipw2200.c scan->channels_list[channel_index] = channel; scan 6223 drivers/net/wireless/intel/ipw2x00/ipw2200.c ipw_set_scan_type(scan, channel_index, scan 6236 drivers/net/wireless/intel/ipw2x00/ipw2200.c scan->channels_list[channel_index] = scan 6238 drivers/net/wireless/intel/ipw2x00/ipw2200.c ipw_set_scan_type(scan, channel_index, scan 6248 drivers/net/wireless/intel/ipw2x00/ipw2200.c scan->channels_list[start] = (u8) (IPW_B_MODE << 6) | scan 6270 drivers/net/wireless/intel/ipw2x00/ipw2200.c struct ipw_scan_request_ext scan; scan 6307 drivers/net/wireless/intel/ipw2x00/ipw2200.c memset(&scan, 0, sizeof(scan)); scan 6308 drivers/net/wireless/intel/ipw2x00/ipw2200.c scan.full_scan_index = cpu_to_le32(libipw_get_scans(priv->ieee)); scan 6313 drivers/net/wireless/intel/ipw2x00/ipw2200.c scan.dwell_time[IPW_SCAN_PASSIVE_FULL_DWELL_SCAN] = scan 6315 drivers/net/wireless/intel/ipw2x00/ipw2200.c ipw_add_scan_channels(priv, &scan, scan_type); scan 6321 drivers/net/wireless/intel/ipw2x00/ipw2200.c scan.dwell_time[IPW_SCAN_ACTIVE_BROADCAST_SCAN] = scan 6324 drivers/net/wireless/intel/ipw2x00/ipw2200.c scan.dwell_time[IPW_SCAN_ACTIVE_BROADCAST_SCAN] = scan 6327 drivers/net/wireless/intel/ipw2x00/ipw2200.c scan.dwell_time[IPW_SCAN_ACTIVE_BROADCAST_AND_DIRECT_SCAN] = scan 6330 drivers/net/wireless/intel/ipw2x00/ipw2200.c scan.dwell_time[IPW_SCAN_PASSIVE_FULL_DWELL_SCAN] = scan 6332 drivers/net/wireless/intel/ipw2x00/ipw2200.c scan.dwell_time[IPW_SCAN_ACTIVE_DIRECT_SCAN] = cpu_to_le16(20); scan 6356 drivers/net/wireless/intel/ipw2x00/ipw2200.c scan.channels_list[0] = band; scan 6357 drivers/net/wireless/intel/ipw2x00/ipw2200.c scan.channels_list[1] = channel; scan 6358 drivers/net/wireless/intel/ipw2x00/ipw2200.c ipw_set_scan_type(&scan, 1, IPW_SCAN_PASSIVE_FULL_DWELL_SCAN); scan 6368 drivers/net/wireless/intel/ipw2x00/ipw2200.c scan.dwell_time[IPW_SCAN_PASSIVE_FULL_DWELL_SCAN] = scan 6388 drivers/net/wireless/intel/ipw2x00/ipw2200.c && (le32_to_cpu(scan.full_scan_index) % 2))) { scan 6400 drivers/net/wireless/intel/ipw2x00/ipw2200.c ipw_add_scan_channels(priv, &scan, scan_type); scan 6406 drivers/net/wireless/intel/ipw2x00/ipw2200.c err = ipw_send_scan_request_ext(priv, &scan); scan 846 drivers/net/wireless/intel/ipw2x00/ipw2200.h static inline u8 ipw_get_scan_type(struct ipw_scan_request_ext *scan, u8 index) scan 849 drivers/net/wireless/intel/ipw2x00/ipw2200.h return scan->scan_type[index / 2] & 0x0F; scan 851 drivers/net/wireless/intel/ipw2x00/ipw2200.h return (scan->scan_type[index / 2] & 0xF0) >> 4; scan 854 drivers/net/wireless/intel/ipw2x00/ipw2200.h static inline void ipw_set_scan_type(struct ipw_scan_request_ext *scan, scan 858 drivers/net/wireless/intel/ipw2x00/ipw2200.h scan->scan_type[index / 2] = scan 859 drivers/net/wireless/intel/ipw2x00/ipw2200.h (scan->scan_type[index / 2] & 0xF0) | (scan_type & 0x0F); scan 861 drivers/net/wireless/intel/ipw2x00/ipw2200.h scan->scan_type[index / 2] = scan 862 drivers/net/wireless/intel/ipw2x00/ipw2200.h (scan->scan_type[index / 2] & 0x0F) | scan 2513 drivers/net/wireless/intel/iwlegacy/3945-mac.c struct il3945_scan_cmd *scan; scan 2531 drivers/net/wireless/intel/iwlegacy/3945-mac.c scan = il->scan_cmd; scan 2532 drivers/net/wireless/intel/iwlegacy/3945-mac.c memset(scan, 0, sizeof(struct il3945_scan_cmd) + IL_MAX_SCAN_SIZE); scan 2534 drivers/net/wireless/intel/iwlegacy/3945-mac.c scan->quiet_plcp_th = IL_PLCP_QUIET_THRESH; scan 2535 drivers/net/wireless/intel/iwlegacy/3945-mac.c scan->quiet_time = IL_ACTIVE_QUIET_TIME; scan 2547 drivers/net/wireless/intel/iwlegacy/3945-mac.c scan->suspend_time = 0; scan 2548 drivers/net/wireless/intel/iwlegacy/3945-mac.c scan->max_out_time = cpu_to_le32(200 * 1024); scan 2562 drivers/net/wireless/intel/iwlegacy/3945-mac.c scan->suspend_time = cpu_to_le32(scan_suspend_time); scan 2574 drivers/net/wireless/intel/iwlegacy/3945-mac.c scan->direct_scan[p].id = WLAN_EID_SSID; scan 2575 drivers/net/wireless/intel/iwlegacy/3945-mac.c scan->direct_scan[p].len = scan 2577 drivers/net/wireless/intel/iwlegacy/3945-mac.c memcpy(scan->direct_scan[p].ssid, scan 2589 drivers/net/wireless/intel/iwlegacy/3945-mac.c scan->tx_cmd.tx_flags = TX_CMD_FLG_SEQ_CTL_MSK; scan 2590 drivers/net/wireless/intel/iwlegacy/3945-mac.c scan->tx_cmd.sta_id = il->hw_params.bcast_id; scan 2591 drivers/net/wireless/intel/iwlegacy/3945-mac.c scan->tx_cmd.stop_time.life_time = TX_CMD_LIFE_TIME_INFINITE; scan 2597 drivers/net/wireless/intel/iwlegacy/3945-mac.c scan->flags = RXON_FLG_BAND_24G_MSK | RXON_FLG_AUTO_DETECT_MSK; scan 2598 drivers/net/wireless/intel/iwlegacy/3945-mac.c scan->tx_cmd.rate = RATE_1M_PLCP; scan 2602 drivers/net/wireless/intel/iwlegacy/3945-mac.c scan->tx_cmd.rate = RATE_6M_PLCP; scan 2615 drivers/net/wireless/intel/iwlegacy/3945-mac.c scan->good_CRC_th = scan 2619 drivers/net/wireless/intel/iwlegacy/3945-mac.c il_fill_probe_req(il, (struct ieee80211_mgmt *)scan->data, scan 2622 drivers/net/wireless/intel/iwlegacy/3945-mac.c IL_MAX_SCAN_SIZE - sizeof(*scan)); scan 2623 drivers/net/wireless/intel/iwlegacy/3945-mac.c scan->tx_cmd.len = cpu_to_le16(len); scan 2626 drivers/net/wireless/intel/iwlegacy/3945-mac.c scan->flags |= il3945_get_antenna_flags(il); scan 2628 drivers/net/wireless/intel/iwlegacy/3945-mac.c scan->channel_count = scan 2630 drivers/net/wireless/intel/iwlegacy/3945-mac.c (void *)&scan->data[len], vif); scan 2631 drivers/net/wireless/intel/iwlegacy/3945-mac.c if (scan->channel_count == 0) { scan 2632 drivers/net/wireless/intel/iwlegacy/3945-mac.c D_SCAN("channel count %d\n", scan->channel_count); scan 2637 drivers/net/wireless/intel/iwlegacy/3945-mac.c le16_to_cpu(scan->tx_cmd.len) + scan 2638 drivers/net/wireless/intel/iwlegacy/3945-mac.c scan->channel_count * sizeof(struct il3945_scan_channel); scan 2639 drivers/net/wireless/intel/iwlegacy/3945-mac.c cmd.data = scan; scan 2640 drivers/net/wireless/intel/iwlegacy/3945-mac.c scan->len = cpu_to_le16(cmd.len); scan 855 drivers/net/wireless/intel/iwlegacy/4965-mac.c struct il_scan_cmd *scan; scan 880 drivers/net/wireless/intel/iwlegacy/4965-mac.c scan = il->scan_cmd; scan 881 drivers/net/wireless/intel/iwlegacy/4965-mac.c memset(scan, 0, sizeof(struct il_scan_cmd) + IL_MAX_SCAN_SIZE); scan 883 drivers/net/wireless/intel/iwlegacy/4965-mac.c scan->quiet_plcp_th = IL_PLCP_QUIET_THRESH; scan 884 drivers/net/wireless/intel/iwlegacy/4965-mac.c scan->quiet_time = IL_ACTIVE_QUIET_TIME; scan 895 drivers/net/wireless/intel/iwlegacy/4965-mac.c scan->suspend_time = 0; scan 896 drivers/net/wireless/intel/iwlegacy/4965-mac.c scan->max_out_time = cpu_to_le32(200 * 1024); scan 903 drivers/net/wireless/intel/iwlegacy/4965-mac.c scan->suspend_time = cpu_to_le32(scan_suspend_time); scan 915 drivers/net/wireless/intel/iwlegacy/4965-mac.c scan->direct_scan[p].id = WLAN_EID_SSID; scan 916 drivers/net/wireless/intel/iwlegacy/4965-mac.c scan->direct_scan[p].len = scan 918 drivers/net/wireless/intel/iwlegacy/4965-mac.c memcpy(scan->direct_scan[p].ssid, scan 928 drivers/net/wireless/intel/iwlegacy/4965-mac.c scan->tx_cmd.tx_flags = TX_CMD_FLG_SEQ_CTL_MSK; scan 929 drivers/net/wireless/intel/iwlegacy/4965-mac.c scan->tx_cmd.sta_id = il->hw_params.bcast_id; scan 930 drivers/net/wireless/intel/iwlegacy/4965-mac.c scan->tx_cmd.stop_time.life_time = TX_CMD_LIFE_TIME_INFINITE; scan 934 drivers/net/wireless/intel/iwlegacy/4965-mac.c scan->flags = RXON_FLG_BAND_24G_MSK | RXON_FLG_AUTO_DETECT_MSK; scan 970 drivers/net/wireless/intel/iwlegacy/4965-mac.c scan->good_CRC_th = scan 980 drivers/net/wireless/intel/iwlegacy/4965-mac.c scan->tx_cmd.rate_n_flags = cpu_to_le32(rate | rate_flags); scan 1001 drivers/net/wireless/intel/iwlegacy/4965-mac.c scan->rx_chain = cpu_to_le16(rx_chain); scan 1004 drivers/net/wireless/intel/iwlegacy/4965-mac.c il_fill_probe_req(il, (struct ieee80211_mgmt *)scan->data, scan 1007 drivers/net/wireless/intel/iwlegacy/4965-mac.c IL_MAX_SCAN_SIZE - sizeof(*scan)); scan 1008 drivers/net/wireless/intel/iwlegacy/4965-mac.c scan->tx_cmd.len = cpu_to_le16(cmd_len); scan 1010 drivers/net/wireless/intel/iwlegacy/4965-mac.c scan->filter_flags |= scan 1013 drivers/net/wireless/intel/iwlegacy/4965-mac.c scan->channel_count = scan 1015 drivers/net/wireless/intel/iwlegacy/4965-mac.c (void *)&scan->data[cmd_len]); scan 1016 drivers/net/wireless/intel/iwlegacy/4965-mac.c if (scan->channel_count == 0) { scan 1017 drivers/net/wireless/intel/iwlegacy/4965-mac.c D_SCAN("channel count %d\n", scan->channel_count); scan 1022 drivers/net/wireless/intel/iwlegacy/4965-mac.c le16_to_cpu(scan->tx_cmd.len) + scan 1023 drivers/net/wireless/intel/iwlegacy/4965-mac.c scan->channel_count * sizeof(struct il_scan_channel); scan 1024 drivers/net/wireless/intel/iwlegacy/4965-mac.c cmd.data = scan; scan 1025 drivers/net/wireless/intel/iwlegacy/4965-mac.c scan->len = cpu_to_le16(cmd.len); scan 621 drivers/net/wireless/intel/iwlwifi/dvm/scan.c struct iwl_scan_cmd *scan; scan 659 drivers/net/wireless/intel/iwlwifi/dvm/scan.c scan = priv->scan_cmd; scan 660 drivers/net/wireless/intel/iwlwifi/dvm/scan.c memset(scan, 0, scan_cmd_size); scan 662 drivers/net/wireless/intel/iwlwifi/dvm/scan.c scan->quiet_plcp_th = IWL_PLCP_QUIET_THRESH; scan 663 drivers/net/wireless/intel/iwlwifi/dvm/scan.c scan->quiet_time = IWL_ACTIVE_QUIET_TIME; scan 681 drivers/net/wireless/intel/iwlwifi/dvm/scan.c scan->suspend_time = 0; scan 682 drivers/net/wireless/intel/iwlwifi/dvm/scan.c scan->max_out_time = cpu_to_le32(200 * 1024); scan 689 drivers/net/wireless/intel/iwlwifi/dvm/scan.c scan->suspend_time = cpu_to_le32(scan_suspend_time); scan 702 drivers/net/wireless/intel/iwlwifi/dvm/scan.c scan->quiet_time = cpu_to_le16(IWL_RADIO_RESET_DWELL_TIME); scan 720 drivers/net/wireless/intel/iwlwifi/dvm/scan.c scan->direct_scan[p].id = WLAN_EID_SSID; scan 721 drivers/net/wireless/intel/iwlwifi/dvm/scan.c scan->direct_scan[p].len = scan 723 drivers/net/wireless/intel/iwlwifi/dvm/scan.c memcpy(scan->direct_scan[p].ssid, scan 735 drivers/net/wireless/intel/iwlwifi/dvm/scan.c scan->tx_cmd.tx_flags = TX_CMD_FLG_SEQ_CTL_MSK; scan 736 drivers/net/wireless/intel/iwlwifi/dvm/scan.c scan->tx_cmd.sta_id = ctx->bcast_sta_id; scan 737 drivers/net/wireless/intel/iwlwifi/dvm/scan.c scan->tx_cmd.stop_time.life_time = TX_CMD_LIFE_TIME_INFINITE; scan 741 drivers/net/wireless/intel/iwlwifi/dvm/scan.c scan->flags = RXON_FLG_BAND_24G_MSK | RXON_FLG_AUTO_DETECT_MSK; scan 759 drivers/net/wireless/intel/iwlwifi/dvm/scan.c scan->tx_cmd.tx_flags |= TX_CMD_FLG_IGNORE_BT; scan 791 drivers/net/wireless/intel/iwlwifi/dvm/scan.c scan->good_CRC_th = is_active ? IWL_GOOD_CRC_TH_DEFAULT : scan 794 drivers/net/wireless/intel/iwlwifi/dvm/scan.c scan->good_CRC_th = is_active ? IWL_GOOD_CRC_TH_DEFAULT : scan 810 drivers/net/wireless/intel/iwlwifi/dvm/scan.c scan->tx_cmd.rate_n_flags = iwl_hw_set_rate_n_flags(rate, rate_flags); scan 842 drivers/net/wireless/intel/iwlwifi/dvm/scan.c scan->rx_chain = cpu_to_le16(rx_chain); scan 846 drivers/net/wireless/intel/iwlwifi/dvm/scan.c (struct ieee80211_mgmt *)scan->data, scan 851 drivers/net/wireless/intel/iwlwifi/dvm/scan.c scan_cmd_size - sizeof(*scan)); scan 856 drivers/net/wireless/intel/iwlwifi/dvm/scan.c (struct ieee80211_mgmt *)scan->data, scan 859 drivers/net/wireless/intel/iwlwifi/dvm/scan.c scan_cmd_size - sizeof(*scan)); scan 864 drivers/net/wireless/intel/iwlwifi/dvm/scan.c scan->tx_cmd.len = cpu_to_le16(cmd_len); scan 866 drivers/net/wireless/intel/iwlwifi/dvm/scan.c scan->filter_flags |= (RXON_FILTER_ACCEPT_GRP_MSK | scan 871 drivers/net/wireless/intel/iwlwifi/dvm/scan.c scan->channel_count = scan 873 drivers/net/wireless/intel/iwlwifi/dvm/scan.c (void *)&scan->data[cmd_len]); scan 876 drivers/net/wireless/intel/iwlwifi/dvm/scan.c scan->channel_count = scan 879 drivers/net/wireless/intel/iwlwifi/dvm/scan.c (void *)&scan->data[cmd_len]); scan 883 drivers/net/wireless/intel/iwlwifi/dvm/scan.c if (scan->channel_count == 0) { scan 884 drivers/net/wireless/intel/iwlwifi/dvm/scan.c IWL_DEBUG_SCAN(priv, "channel count %d\n", scan->channel_count); scan 888 drivers/net/wireless/intel/iwlwifi/dvm/scan.c cmd.len[0] += le16_to_cpu(scan->tx_cmd.len) + scan 889 drivers/net/wireless/intel/iwlwifi/dvm/scan.c scan->channel_count * sizeof(struct iwl_scan_channel); scan 890 drivers/net/wireless/intel/iwlwifi/dvm/scan.c cmd.data[0] = scan; scan 892 drivers/net/wireless/intel/iwlwifi/dvm/scan.c scan->len = cpu_to_le16(cmd.len[0]); scan 1777 drivers/net/wireless/intersil/hostap/hostap_ioctl.c struct hfa384x_hostscan_result *scan, scan 1795 drivers/net/wireless/intersil/hostap/hostap_ioctl.c ssid = scan->ssid; scan 1796 drivers/net/wireless/intersil/hostap/hostap_ioctl.c ssid_len = le16_to_cpu(scan->ssid_len); scan 1797 drivers/net/wireless/intersil/hostap/hostap_ioctl.c bssid = scan->bssid; scan 1824 drivers/net/wireless/intersil/hostap/hostap_ioctl.c capabilities = le16_to_cpu(scan->capability); scan 1838 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (scan) { scan 1839 drivers/net/wireless/intersil/hostap/hostap_ioctl.c chan = le16_to_cpu(scan->chid); scan 1853 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (scan) { scan 1857 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.qual.level = le16_to_cpu(scan->sl); scan 1858 drivers/net/wireless/intersil/hostap/hostap_ioctl.c iwe.u.qual.noise = le16_to_cpu(scan->anl); scan 1861 drivers/net/wireless/intersil/hostap/hostap_ioctl.c HFA384X_LEVEL_TO_dBm(le16_to_cpu(scan->sl)); scan 1863 drivers/net/wireless/intersil/hostap/hostap_ioctl.c HFA384X_LEVEL_TO_dBm(le16_to_cpu(scan->anl)); scan 1883 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (scan) { scan 1887 drivers/net/wireless/intersil/hostap/hostap_ioctl.c pos = scan->sup_rates; scan 1888 drivers/net/wireless/intersil/hostap/hostap_ioctl.c for (i = 0; i < sizeof(scan->sup_rates); i++) { scan 1904 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (buf && scan) { scan 1907 drivers/net/wireless/intersil/hostap/hostap_ioctl.c sprintf(buf, "bcn_int=%d", le16_to_cpu(scan->beacon_interval)); scan 1914 drivers/net/wireless/intersil/hostap/hostap_ioctl.c sprintf(buf, "resp_rate=%d", le16_to_cpu(scan->rate)); scan 1923 drivers/net/wireless/intersil/hostap/hostap_ioctl.c sprintf(buf, "atim=%d", le16_to_cpu(scan->atim)); scan 1957 drivers/net/wireless/intersil/hostap/hostap_ioctl.c struct hfa384x_hostscan_result *scan; scan 1974 drivers/net/wireless/intersil/hostap/hostap_ioctl.c scan = &local->last_scan_results[entry]; scan 1982 drivers/net/wireless/intersil/hostap/hostap_ioctl.c if (ether_addr_equal(bss->bssid, scan->bssid)) { scan 1985 drivers/net/wireless/intersil/hostap/hostap_ioctl.c local, info, scan, bss, current_ev, scan 1992 drivers/net/wireless/intersil/hostap/hostap_ioctl.c local, info, scan, NULL, current_ev, end_buf); scan 289 drivers/net/wireless/intersil/orinoco/cfg.c .scan = orinoco_scan, scan 2020 drivers/net/wireless/marvell/libertas/cfg.c .scan = lbs_cfg_scan, scan 4179 drivers/net/wireless/marvell/mwifiex/cfg80211.c .scan = mwifiex_cfg80211_scan, scan 2323 drivers/net/wireless/marvell/mwifiex/fw.h struct host_cmd_ds_802_11_scan scan; scan 1606 drivers/net/wireless/marvell/mwifiex/scan.c struct host_cmd_ds_802_11_scan *scan_cmd = &cmd->params.scan; scan 937 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c bool scan = test_bit(MT76_SCANNING, &dev->mt76.state); scan 1006 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c if (scan) scan 16 drivers/net/wireless/mediatek/mt76/mt76x2/mcu.c u8 bw_index, bool scan) scan 20 drivers/net/wireless/mediatek/mt76/mt76x2/mcu.c u8 scan; scan 30 drivers/net/wireless/mediatek/mt76/mt76x2/mcu.c .scan = scan, scan 57 drivers/net/wireless/mediatek/mt76/mt76x2/mt76x2.h u8 bw_index, bool scan); scan 121 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c bool scan = test_bit(MT76_SCANNING, &dev->mt76.state); scan 200 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c ret = mt76x2_mcu_set_channel(dev, channel, bw, bw_index, scan); scan 233 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c if (scan) scan 85 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c bool scan = test_bit(MT76_SCANNING, &dev->mt76.state); scan 137 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c ret = mt76x2_mcu_set_channel(dev, channel, bw, bw_index, scan); scan 170 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c if (scan) scan 984 drivers/net/wireless/quantenna/qtnfmac/cfg80211.c .scan = qtnf_scan, scan 1752 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c bool scan = false, link = false, roam = false; scan 1760 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c btcoexist->btc_get(btcoexist, BTC_GET_BL_WIFI_SCAN, &scan); scan 1764 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c if (!scan && !link && !roam) scan 2684 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c bool roam = false, scan = false, link = false, wifi_under_5g = false; scan 2728 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c btcoexist->btc_get(btcoexist, BTC_GET_BL_WIFI_SCAN, &scan); scan 2732 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8192e2ant.c "Wifi link/ roam/ scan", link, roam, scan); scan 2036 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c bool scan = false, link = false, roam = false; scan 2051 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c btcoexist->btc_get(btcoexist, BTC_GET_BL_WIFI_SCAN, &scan); scan 2055 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (scan || link || roam) { scan 2056 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (scan) scan 2284 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c bool scan = false, link = false, roam = false; scan 2289 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c btcoexist->btc_get(btcoexist, BTC_GET_BL_WIFI_SCAN, &scan); scan 2293 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (scan || link || roam) { scan 2294 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c if (scan) scan 2465 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c bool roam = false, scan = false; scan 2518 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c btcoexist->btc_get(btcoexist, BTC_GET_BL_WIFI_SCAN, &scan); scan 2522 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b1ant.c "Wifi link/ roam/ scan", link, roam, scan); scan 1571 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c bool scan = false, link = false, roam = false; scan 1578 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c btcoexist->btc_get(btcoexist, BTC_GET_BL_WIFI_SCAN, &scan); scan 1587 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c } else if (scan || link || roam) { scan 2746 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c bool scan = false, link = false, roam = false; scan 2751 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c btcoexist->btc_get(btcoexist, BTC_GET_BL_WIFI_SCAN, &scan); scan 2755 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (!scan && !link && !roam) scan 3353 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c bool scan = false, link = false, roam = false; scan 3379 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c btcoexist->btc_get(btcoexist, BTC_GET_BL_WIFI_SCAN, &scan); scan 3383 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c if (scan || link || roam) { scan 3647 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c bool roam = false, scan = false; scan 3697 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c btcoexist->btc_get(btcoexist, BTC_GET_BL_WIFI_SCAN, &scan); scan 3701 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8723b2ant.c "Wifi link/ roam/ scan", link, roam, scan); scan 1742 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c bool scan = false, link = false, roam = false; scan 1758 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c btcoexist->btc_get(btcoexist, BTC_GET_BL_WIFI_SCAN, &scan); scan 1761 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c if (scan || link || roam) { scan 1762 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c if (scan) scan 2002 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c bool scan = false, link = false, roam = false; scan 2007 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c btcoexist->btc_get(btcoexist, BTC_GET_BL_WIFI_SCAN, &scan); scan 2011 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c if (scan || link || roam) { scan 2012 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c if (scan) scan 2118 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c bool roam = false, scan = false, link = false, wifi_under_5g = false; scan 2175 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c btcoexist->btc_get(btcoexist, BTC_GET_BL_WIFI_SCAN, &scan); scan 2179 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a1ant.c link, roam, scan); scan 1454 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c bool scan = false, link = false, roam = false; scan 1468 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c btcoexist->btc_get(btcoexist, BTC_GET_BL_WIFI_SCAN, &scan); scan 1474 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (scan || link || roam) { scan 2592 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c bool scan = false, link = false, roam = false; scan 2598 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c btcoexist->btc_get(btcoexist, BTC_GET_BL_WIFI_SCAN, &scan); scan 2602 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (!scan && !link && !roam) { scan 3389 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c bool scan = false, link = false, roam = false; scan 3421 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c btcoexist->btc_get(btcoexist, BTC_GET_BL_WIFI_SCAN, &scan); scan 3425 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c if (scan || link || roam) { scan 3645 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c bool roam = false, scan = false, link = false, wifi_under_5g = false; scan 3691 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c btcoexist->btc_get(btcoexist, BTC_GET_BL_WIFI_SCAN, &scan); scan 3695 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtc8821a2ant.c link, roam, scan); scan 823 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c bool scan = false, link = false, roam = false, wifi_busy = false; scan 857 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c btcoexist->btc_get(btcoexist, BTC_GET_BL_WIFI_SCAN, &scan); scan 862 drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c link, roam, scan); scan 380 drivers/net/wireless/realtek/rtw88/coex.c bool scan = false, link = false; scan 386 drivers/net/wireless/realtek/rtw88/coex.c scan = rtw_flag_check(rtwdev, RTW_FLAG_SCANNING); scan 395 drivers/net/wireless/realtek/rtw88/coex.c if (scan || link || reason == COEX_RSN_2GCONSTART || scan 530 drivers/net/wireless/rndis_wlan.c .scan = rndis_scan, scan 205 drivers/net/wireless/st/cw1200/cw1200.h struct cw1200_scan scan; scan 284 drivers/net/wireless/st/cw1200/debug.c atomic_read(&priv->scan.in_progress) ? "active" : "idle"); scan 350 drivers/net/wireless/st/cw1200/main.c sema_init(&priv->scan.lock, 1); scan 351 drivers/net/wireless/st/cw1200/main.c INIT_WORK(&priv->scan.work, cw1200_scan_work); scan 352 drivers/net/wireless/st/cw1200/main.c INIT_DELAYED_WORK(&priv->scan.probe_work, cw1200_probe_work); scan 353 drivers/net/wireless/st/cw1200/main.c INIT_DELAYED_WORK(&priv->scan.timeout, cw1200_scan_timeout); scan 190 drivers/net/wireless/st/cw1200/pm.c if (down_trylock(&priv->scan.lock)) scan 233 drivers/net/wireless/st/cw1200/pm.c cw1200_suspend_work(&priv->scan.probe_work); scan 285 drivers/net/wireless/st/cw1200/pm.c cw1200_resume_work(priv, &priv->scan.probe_work, scan 296 drivers/net/wireless/st/cw1200/pm.c up(&priv->scan.lock); scan 318 drivers/net/wireless/st/cw1200/pm.c up(&priv->scan.lock); scan 342 drivers/net/wireless/st/cw1200/pm.c cw1200_resume_work(priv, &priv->scan.probe_work, scan 17 drivers/net/wireless/st/cw1200/scan.c static int cw1200_scan_start(struct cw1200_common *priv, struct wsm_scan *scan) scan 31 drivers/net/wireless/st/cw1200/scan.c scan->type, scan->num_channels, scan->flags); scan 33 drivers/net/wireless/st/cw1200/scan.c for (i = 0; i < scan->num_channels; ++i) scan 34 drivers/net/wireless/st/cw1200/scan.c tmo += scan->ch[i].max_chan_time + 10; scan 37 drivers/net/wireless/st/cw1200/scan.c atomic_set(&priv->scan.in_progress, 1); scan 40 drivers/net/wireless/st/cw1200/scan.c queue_delayed_work(priv->workqueue, &priv->scan.timeout, scan 42 drivers/net/wireless/st/cw1200/scan.c ret = wsm_scan(priv, scan); scan 44 drivers/net/wireless/st/cw1200/scan.c atomic_set(&priv->scan.in_progress, 0); scan 45 drivers/net/wireless/st/cw1200/scan.c cancel_delayed_work_sync(&priv->scan.timeout); scan 79 drivers/net/wireless/st/cw1200/scan.c down(&priv->scan.lock); scan 86 drivers/net/wireless/st/cw1200/scan.c up(&priv->scan.lock); scan 101 drivers/net/wireless/st/cw1200/scan.c up(&priv->scan.lock); scan 107 drivers/net/wireless/st/cw1200/scan.c BUG_ON(priv->scan.req); scan 108 drivers/net/wireless/st/cw1200/scan.c priv->scan.req = req; scan 109 drivers/net/wireless/st/cw1200/scan.c priv->scan.n_ssids = 0; scan 110 drivers/net/wireless/st/cw1200/scan.c priv->scan.status = 0; scan 111 drivers/net/wireless/st/cw1200/scan.c priv->scan.begin = &req->channels[0]; scan 112 drivers/net/wireless/st/cw1200/scan.c priv->scan.curr = priv->scan.begin; scan 113 drivers/net/wireless/st/cw1200/scan.c priv->scan.end = &req->channels[req->n_channels]; scan 114 drivers/net/wireless/st/cw1200/scan.c priv->scan.output_power = priv->output_power; scan 117 drivers/net/wireless/st/cw1200/scan.c struct wsm_ssid *dst = &priv->scan.ssids[priv->scan.n_ssids]; scan 120 drivers/net/wireless/st/cw1200/scan.c ++priv->scan.n_ssids; scan 126 drivers/net/wireless/st/cw1200/scan.c queue_work(priv->workqueue, &priv->scan.work); scan 133 drivers/net/wireless/st/cw1200/scan.c scan.work); scan 135 drivers/net/wireless/st/cw1200/scan.c struct wsm_scan scan = { scan 139 drivers/net/wireless/st/cw1200/scan.c bool first_run = (priv->scan.begin == priv->scan.curr && scan 140 drivers/net/wireless/st/cw1200/scan.c priv->scan.begin != priv->scan.end); scan 168 drivers/net/wireless/st/cw1200/scan.c if (!priv->scan.req || (priv->scan.curr == priv->scan.end)) { scan 170 drivers/net/wireless/st/cw1200/scan.c .aborted = priv->scan.status ? 1 : 0, scan 173 drivers/net/wireless/st/cw1200/scan.c if (priv->scan.output_power != priv->output_power) scan 179 drivers/net/wireless/st/cw1200/scan.c if (priv->scan.status < 0) scan 182 drivers/net/wireless/st/cw1200/scan.c priv->scan.status); scan 183 drivers/net/wireless/st/cw1200/scan.c else if (priv->scan.req) scan 190 drivers/net/wireless/st/cw1200/scan.c priv->scan.req = NULL; scan 195 drivers/net/wireless/st/cw1200/scan.c up(&priv->scan.lock); scan 198 drivers/net/wireless/st/cw1200/scan.c struct ieee80211_channel *first = *priv->scan.curr; scan 199 drivers/net/wireless/st/cw1200/scan.c for (it = priv->scan.curr + 1, i = 1; scan 200 drivers/net/wireless/st/cw1200/scan.c it != priv->scan.end && i < WSM_SCAN_MAX_NUM_OF_CHANNELS; scan 211 drivers/net/wireless/st/cw1200/scan.c scan.band = first->band; scan 213 drivers/net/wireless/st/cw1200/scan.c if (priv->scan.req->no_cck) scan 214 drivers/net/wireless/st/cw1200/scan.c scan.max_tx_rate = WSM_TRANSMIT_RATE_6; scan 216 drivers/net/wireless/st/cw1200/scan.c scan.max_tx_rate = WSM_TRANSMIT_RATE_1; scan 217 drivers/net/wireless/st/cw1200/scan.c scan.num_probes = scan 219 drivers/net/wireless/st/cw1200/scan.c scan.num_ssids = priv->scan.n_ssids; scan 220 drivers/net/wireless/st/cw1200/scan.c scan.ssids = &priv->scan.ssids[0]; scan 221 drivers/net/wireless/st/cw1200/scan.c scan.num_channels = it - priv->scan.curr; scan 223 drivers/net/wireless/st/cw1200/scan.c scan.probe_delay = 100; scan 229 drivers/net/wireless/st/cw1200/scan.c scan.type = WSM_SCAN_TYPE_BACKGROUND; scan 230 drivers/net/wireless/st/cw1200/scan.c scan.flags = WSM_SCAN_FLAG_FORCE_BACKGROUND; scan 232 drivers/net/wireless/st/cw1200/scan.c scan.ch = kcalloc(it - priv->scan.curr, scan 235 drivers/net/wireless/st/cw1200/scan.c if (!scan.ch) { scan 236 drivers/net/wireless/st/cw1200/scan.c priv->scan.status = -ENOMEM; scan 239 drivers/net/wireless/st/cw1200/scan.c for (i = 0; i < scan.num_channels; ++i) { scan 240 drivers/net/wireless/st/cw1200/scan.c scan.ch[i].number = priv->scan.curr[i]->hw_value; scan 241 drivers/net/wireless/st/cw1200/scan.c if (priv->scan.curr[i]->flags & IEEE80211_CHAN_NO_IR) { scan 242 drivers/net/wireless/st/cw1200/scan.c scan.ch[i].min_chan_time = 50; scan 243 drivers/net/wireless/st/cw1200/scan.c scan.ch[i].max_chan_time = 100; scan 245 drivers/net/wireless/st/cw1200/scan.c scan.ch[i].min_chan_time = 10; scan 246 drivers/net/wireless/st/cw1200/scan.c scan.ch[i].max_chan_time = 25; scan 250 drivers/net/wireless/st/cw1200/scan.c priv->scan.output_power != first->max_power) { scan 251 drivers/net/wireless/st/cw1200/scan.c priv->scan.output_power = first->max_power; scan 253 drivers/net/wireless/st/cw1200/scan.c priv->scan.output_power * 10); scan 255 drivers/net/wireless/st/cw1200/scan.c priv->scan.status = cw1200_scan_start(priv, &scan); scan 256 drivers/net/wireless/st/cw1200/scan.c kfree(scan.ch); scan 257 drivers/net/wireless/st/cw1200/scan.c if (priv->scan.status) scan 259 drivers/net/wireless/st/cw1200/scan.c priv->scan.curr = it; scan 265 drivers/net/wireless/st/cw1200/scan.c priv->scan.curr = priv->scan.end; scan 267 drivers/net/wireless/st/cw1200/scan.c queue_work(priv->workqueue, &priv->scan.work); scan 293 drivers/net/wireless/st/cw1200/scan.c if (priv->scan.direct_probe) { scan 296 drivers/net/wireless/st/cw1200/scan.c priv->scan.direct_probe = 0; scan 297 drivers/net/wireless/st/cw1200/scan.c up(&priv->scan.lock); scan 300 drivers/net/wireless/st/cw1200/scan.c cw1200_scan_work(&priv->scan.work); scan 310 drivers/net/wireless/st/cw1200/scan.c if (cancel_delayed_work_sync(&priv->scan.timeout) > 0) { scan 311 drivers/net/wireless/st/cw1200/scan.c priv->scan.status = -EIO; scan 312 drivers/net/wireless/st/cw1200/scan.c queue_delayed_work(priv->workqueue, &priv->scan.timeout, 0); scan 324 drivers/net/wireless/st/cw1200/scan.c if (cancel_delayed_work_sync(&priv->scan.timeout) > 0) { scan 325 drivers/net/wireless/st/cw1200/scan.c priv->scan.status = 1; scan 326 drivers/net/wireless/st/cw1200/scan.c queue_delayed_work(priv->workqueue, &priv->scan.timeout, 0); scan 341 drivers/net/wireless/st/cw1200/scan.c container_of(work, struct cw1200_common, scan.timeout.work); scan 342 drivers/net/wireless/st/cw1200/scan.c if (atomic_xchg(&priv->scan.in_progress, 0)) { scan 343 drivers/net/wireless/st/cw1200/scan.c if (priv->scan.status > 0) { scan 344 drivers/net/wireless/st/cw1200/scan.c priv->scan.status = 0; scan 345 drivers/net/wireless/st/cw1200/scan.c } else if (!priv->scan.status) { scan 348 drivers/net/wireless/st/cw1200/scan.c priv->scan.status = -ETIMEDOUT; scan 349 drivers/net/wireless/st/cw1200/scan.c priv->scan.curr = priv->scan.end; scan 359 drivers/net/wireless/st/cw1200/scan.c container_of(work, struct cw1200_common, scan.probe_work.work); scan 374 drivers/net/wireless/st/cw1200/scan.c struct wsm_scan scan = { scan 389 drivers/net/wireless/st/cw1200/scan.c if (down_trylock(&priv->scan.lock)) { scan 392 drivers/net/wireless/st/cw1200/scan.c queue_delayed_work(priv->workqueue, &priv->scan.probe_work, scan 401 drivers/net/wireless/st/cw1200/scan.c up(&priv->scan.lock); scan 407 drivers/net/wireless/st/cw1200/scan.c scan.max_tx_rate = wsm->max_tx_rate; scan 408 drivers/net/wireless/st/cw1200/scan.c scan.band = (priv->channel->band == NL80211_BAND_5GHZ) ? scan 412 drivers/net/wireless/st/cw1200/scan.c scan.type = WSM_SCAN_TYPE_BACKGROUND; scan 413 drivers/net/wireless/st/cw1200/scan.c scan.flags = WSM_SCAN_FLAG_FORCE_BACKGROUND; scan 434 drivers/net/wireless/st/cw1200/scan.c scan.num_ssids = 1; scan 447 drivers/net/wireless/st/cw1200/scan.c priv->scan.direct_probe = 1; scan 450 drivers/net/wireless/st/cw1200/scan.c ret = cw1200_scan_start(priv, &scan); scan 460 drivers/net/wireless/st/cw1200/scan.c priv->scan.direct_probe = 0; scan 461 drivers/net/wireless/st/cw1200/scan.c up(&priv->scan.lock); scan 101 drivers/net/wireless/st/cw1200/sta.c while (down_trylock(&priv->scan.lock)) { scan 103 drivers/net/wireless/st/cw1200/sta.c priv->scan.req = NULL; scan 106 drivers/net/wireless/st/cw1200/sta.c up(&priv->scan.lock); scan 108 drivers/net/wireless/st/cw1200/sta.c cancel_delayed_work_sync(&priv->scan.probe_work); scan 109 drivers/net/wireless/st/cw1200/sta.c cancel_delayed_work_sync(&priv->scan.timeout); scan 332 drivers/net/wireless/st/cw1200/sta.c down(&priv->scan.lock); scan 435 drivers/net/wireless/st/cw1200/sta.c up(&priv->scan.lock); scan 587 drivers/net/wireless/st/cw1200/sta.c down(&priv->scan.lock); scan 605 drivers/net/wireless/st/cw1200/sta.c up(&priv->scan.lock); scan 982 drivers/net/wireless/st/cw1200/sta.c if (!down_trylock(&priv->scan.lock)) { scan 984 drivers/net/wireless/st/cw1200/sta.c up(&priv->scan.lock); scan 1243 drivers/net/wireless/st/cw1200/sta.c if (atomic_read(&priv->scan.in_progress)) { scan 1387 drivers/net/wireless/st/cw1200/sta.c if (atomic_read(&priv->scan.in_progress)) { scan 1550 drivers/net/wireless/st/cw1200/wsm.c &priv->scan.probe_work, 0) <= 0) scan 256 drivers/net/wireless/ti/wl12xx/main.c .scan = { scan 18 drivers/net/wireless/ti/wl12xx/scan.c struct conf_scan_settings *c = &wl->conf.scan; scan 27 drivers/net/wireless/ti/wl12xx/scan.c if (!test_bit(i, wl->scan.scanned_ch) && scan 69 drivers/net/wireless/ti/wl12xx/scan.c set_bit(i, wl->scan.scanned_ch); scan 91 drivers/net/wireless/ti/wl12xx/scan.c if (!passive && wl->scan.req->n_ssids == 0) scan 101 drivers/net/wireless/ti/wl12xx/scan.c if (wl->conf.scan.split_scan_timeout) scan 120 drivers/net/wireless/ti/wl12xx/scan.c cmd->params.n_ch = wl1271_get_scan_channels(wl, wl->scan.req, scan 129 drivers/net/wireless/ti/wl12xx/scan.c cmd->params.n_probe_reqs = wl->conf.scan.num_probe_reqs; scan 138 drivers/net/wireless/ti/wl12xx/scan.c if (wl->scan.ssid_len) { scan 139 drivers/net/wireless/ti/wl12xx/scan.c cmd->params.ssid_len = wl->scan.ssid_len; scan 140 drivers/net/wireless/ti/wl12xx/scan.c memcpy(cmd->params.ssid, wl->scan.ssid, wl->scan.ssid_len); scan 147 drivers/net/wireless/ti/wl12xx/scan.c wl->scan.ssid, wl->scan.ssid_len, scan 148 drivers/net/wireless/ti/wl12xx/scan.c wl->scan.req->ie, scan 149 drivers/net/wireless/ti/wl12xx/scan.c wl->scan.req->ie_len, NULL, 0, false); scan 155 drivers/net/wireless/ti/wl12xx/scan.c trigger->timeout = cpu_to_le32(wl->conf.scan.split_scan_timeout); scan 182 drivers/net/wireless/ti/wl12xx/scan.c if (WARN_ON(wl->scan.state == WL1271_SCAN_STATE_IDLE)) scan 210 drivers/net/wireless/ti/wl12xx/scan.c switch (wl->scan.state) { scan 217 drivers/net/wireless/ti/wl12xx/scan.c if (wl->scan.req->no_cck) { scan 225 drivers/net/wireless/ti/wl12xx/scan.c wl->scan.state = WL1271_SCAN_STATE_2GHZ_PASSIVE; scan 234 drivers/net/wireless/ti/wl12xx/scan.c if (wl->scan.req->no_cck) { scan 243 drivers/net/wireless/ti/wl12xx/scan.c wl->scan.state = WL1271_SCAN_STATE_5GHZ_ACTIVE; scan 245 drivers/net/wireless/ti/wl12xx/scan.c wl->scan.state = WL1271_SCAN_STATE_DONE; scan 256 drivers/net/wireless/ti/wl12xx/scan.c wl->scan.state = WL1271_SCAN_STATE_5GHZ_PASSIVE; scan 267 drivers/net/wireless/ti/wl12xx/scan.c wl->scan.state = WL1271_SCAN_STATE_DONE; scan 274 drivers/net/wireless/ti/wl12xx/scan.c wl->scan.failed = false; scan 397 drivers/net/wireless/ti/wl18xx/main.c .scan = { scan 64 drivers/net/wireless/ti/wl18xx/scan.c cmd->n_probe_reqs = wl->conf.scan.num_probe_reqs; scan 148 drivers/net/wireless/ti/wl18xx/scan.c wl->scan.failed = false; scan 1138 drivers/net/wireless/ti/wlcore/conf.h struct conf_scan_settings scan; scan 398 drivers/net/wireless/ti/wlcore/debugfs.c wl->conf.scan.split_scan_timeout / 1000); scan 420 drivers/net/wireless/ti/wlcore/debugfs.c wl->conf.scan.split_scan_timeout = value * 1000; scan 281 drivers/net/wireless/ti/wlcore/main.c if (wl->scan.state != WL1271_SCAN_STATE_IDLE) { scan 2659 drivers/net/wireless/ti/wlcore/main.c if (wl->scan.state != WL1271_SCAN_STATE_IDLE && scan 2671 drivers/net/wireless/ti/wlcore/main.c wl->scan.state = WL1271_SCAN_STATE_IDLE; scan 2672 drivers/net/wireless/ti/wlcore/main.c memset(wl->scan.scanned_ch, 0, sizeof(wl->scan.scanned_ch)); scan 2674 drivers/net/wireless/ti/wlcore/main.c wl->scan.req = NULL; scan 3745 drivers/net/wireless/ti/wlcore/main.c if (wl->scan.state == WL1271_SCAN_STATE_IDLE) scan 3754 drivers/net/wireless/ti/wlcore/main.c if (wl->scan.state != WL1271_SCAN_STATE_DONE) { scan 3766 drivers/net/wireless/ti/wlcore/main.c wl->scan.state = WL1271_SCAN_STATE_IDLE; scan 3767 drivers/net/wireless/ti/wlcore/main.c memset(wl->scan.scanned_ch, 0, sizeof(wl->scan.scanned_ch)); scan 3769 drivers/net/wireless/ti/wlcore/main.c wl->scan.req = NULL; scan 40 drivers/net/wireless/ti/wlcore/scan.c if (wl->scan.state == WL1271_SCAN_STATE_IDLE) scan 51 drivers/net/wireless/ti/wlcore/scan.c wl->scan.state = WL1271_SCAN_STATE_IDLE; scan 52 drivers/net/wireless/ti/wlcore/scan.c memset(wl->scan.scanned_ch, 0, sizeof(wl->scan.scanned_ch)); scan 53 drivers/net/wireless/ti/wlcore/scan.c wl->scan.req = NULL; scan 67 drivers/net/wireless/ti/wlcore/scan.c if (wl->scan.failed) { scan 144 drivers/net/wireless/ti/wlcore/scan.c struct conf_scan_settings *c = &wl->conf.scan; scan 344 drivers/net/wireless/ti/wlcore/scan.c if (wl->scan.state != WL1271_SCAN_STATE_IDLE) scan 347 drivers/net/wireless/ti/wlcore/scan.c wl->scan.state = WL1271_SCAN_STATE_2GHZ_ACTIVE; scan 350 drivers/net/wireless/ti/wlcore/scan.c wl->scan.ssid_len = ssid_len; scan 351 drivers/net/wireless/ti/wlcore/scan.c memcpy(wl->scan.ssid, ssid, ssid_len); scan 353 drivers/net/wireless/ti/wlcore/scan.c wl->scan.ssid_len = 0; scan 357 drivers/net/wireless/ti/wlcore/scan.c wl->scan.req = req; scan 358 drivers/net/wireless/ti/wlcore/scan.c memset(wl->scan.scanned_ch, 0, sizeof(wl->scan.scanned_ch)); scan 361 drivers/net/wireless/ti/wlcore/scan.c wl->scan.failed = true; scan 327 drivers/net/wireless/ti/wlcore/wlcore.h struct wl1271_scan scan; scan 334 drivers/net/wireless/virt_wifi.c .scan = virt_wifi_scan, scan 470 drivers/pci/hotplug/pnv_php.c goto scan; scan 500 drivers/pci/hotplug/pnv_php.c goto scan; scan 507 drivers/pci/hotplug/pnv_php.c scan: scan 364 drivers/pcmcia/tcic.c u_int mask, scan; scan 457 drivers/pcmcia/tcic.c scan = (mask & (mask-1)); scan 458 drivers/pcmcia/tcic.c if (((scan & (scan-1)) == 0) && (poll_interval == 0)) scan 1123 drivers/rapidio/rio-scan.c static bool scan; scan 1124 drivers/rapidio/rio-scan.c module_param(scan, bool, 0); scan 1125 drivers/rapidio/rio-scan.c MODULE_PARM_DESC(scan, "Start RapidIO network enumeration/discovery " scan 1146 drivers/rapidio/rio-scan.c if (scan) scan 312 drivers/rapidio/rio-sysfs.c static BUS_ATTR_WO(scan); scan 1968 drivers/rapidio/rio.c struct rio_scan_node *scan; scan 1984 drivers/rapidio/rio.c list_for_each_entry(scan, &rio_scans, node) { scan 1985 drivers/rapidio/rio.c if (scan->mport_id == mport_id) { scan 1994 drivers/rapidio/rio.c scan = kzalloc(sizeof(*scan), GFP_KERNEL); scan 1995 drivers/rapidio/rio.c if (!scan) { scan 2000 drivers/rapidio/rio.c scan->mport_id = mport_id; scan 2001 drivers/rapidio/rio.c scan->ops = scan_ops; scan 2020 drivers/rapidio/rio.c list_add_tail(&scan->node, &rio_scans); scan 2043 drivers/rapidio/rio.c struct rio_scan_node *scan; scan 2057 drivers/rapidio/rio.c list_for_each_entry(scan, &rio_scans, node) { scan 2058 drivers/rapidio/rio.c if (scan->mport_id == mport_id) { scan 2059 drivers/rapidio/rio.c list_del(&scan->node); scan 2060 drivers/rapidio/rio.c kfree(scan); scan 2244 drivers/rapidio/rio.c struct rio_scan_node *scan = NULL; scan 2253 drivers/rapidio/rio.c list_for_each_entry(scan, &rio_scans, node) { scan 2254 drivers/rapidio/rio.c if (port->id == scan->mport_id || scan 2255 drivers/rapidio/rio.c scan->mport_id == RIO_MPORT_ANY) { scan 2256 drivers/rapidio/rio.c port->nscan = scan->ops; scan 2257 drivers/rapidio/rio.c if (port->id == scan->mport_id) scan 1492 drivers/scsi/megaraid/megaraid_mbox.c char scan[] = "scanning"; scan 1791 drivers/scsi/megaraid/megaraid_mbox.c ss = rdev->fast_load ? skip : scan; scan 2960 drivers/scsi/qla2xxx/qla_attr.c vfree(vha->scan.l); scan 4524 drivers/scsi/qla2xxx/qla_def.h struct fab_scan scan; scan 3578 drivers/scsi/qla2xxx/qla_gs.c vha->scan.scan_retry++; scan 3579 drivers/scsi/qla2xxx/qla_gs.c if (vha->scan.scan_retry < MAX_SCAN_RETRIES) { scan 3588 drivers/scsi/qla2xxx/qla_gs.c vha->scan.scan_retry = 0; scan 3597 drivers/scsi/qla2xxx/qla_gs.c rp = &vha->scan.l[i]; scan 3606 drivers/scsi/qla2xxx/qla_gs.c trp = &vha->scan.l[k]; scan 3712 drivers/scsi/qla2xxx/qla_gs.c vha->scan.scan_flags &= ~SF_SCANNING; scan 3794 drivers/scsi/qla2xxx/qla_gs.c rp = &vha->scan.l[j]; scan 3801 drivers/scsi/qla2xxx/qla_gs.c rp = &vha->scan.l[k]; scan 3815 drivers/scsi/qla2xxx/qla_gs.c rp = &vha->scan.l[k]; scan 3830 drivers/scsi/qla2xxx/qla_gs.c rp = &vha->scan.l[k]; scan 3845 drivers/scsi/qla2xxx/qla_gs.c rp = &vha->scan.l[k]; scan 3890 drivers/scsi/qla2xxx/qla_gs.c vha->scan.scan_flags &= ~SF_SCANNING; scan 3891 drivers/scsi/qla2xxx/qla_gs.c vha->scan.scan_retry++; scan 3894 drivers/scsi/qla2xxx/qla_gs.c if (vha->scan.scan_retry < MAX_SCAN_RETRIES) { scan 3912 drivers/scsi/qla2xxx/qla_gs.c vha->scan.scan_flags &= ~SF_SCANNING; scan 3957 drivers/scsi/qla2xxx/qla_gs.c vha->scan.scan_flags &= ~SF_SCANNING; scan 3968 drivers/scsi/qla2xxx/qla_gs.c vha->scan.scan_flags &= ~SF_SCANNING; scan 4035 drivers/scsi/qla2xxx/qla_gs.c vha->scan.scan_flags &= ~SF_SCANNING; scan 4036 drivers/scsi/qla2xxx/qla_gs.c if (vha->scan.scan_flags == 0) { scan 4039 drivers/scsi/qla2xxx/qla_gs.c vha->scan.scan_flags |= SF_QUEUED; scan 4040 drivers/scsi/qla2xxx/qla_gs.c schedule_delayed_work(&vha->scan.scan_work, 5); scan 4071 drivers/scsi/qla2xxx/qla_gs.c if (vha->scan.scan_flags & SF_SCANNING) { scan 4076 drivers/scsi/qla2xxx/qla_gs.c vha->scan.scan_flags |= SF_SCANNING; scan 4089 drivers/scsi/qla2xxx/qla_gs.c vha->scan.scan_flags &= ~SF_SCANNING; scan 4103 drivers/scsi/qla2xxx/qla_gs.c vha->scan.scan_flags &= ~SF_SCANNING; scan 4123 drivers/scsi/qla2xxx/qla_gs.c vha->scan.scan_flags &= ~SF_SCANNING; scan 4136 drivers/scsi/qla2xxx/qla_gs.c "%s scan list size %d\n", __func__, vha->scan.size); scan 4138 drivers/scsi/qla2xxx/qla_gs.c memset(vha->scan.l, 0, vha->scan.size); scan 4198 drivers/scsi/qla2xxx/qla_gs.c vha->scan.scan_flags &= ~SF_SCANNING; scan 4199 drivers/scsi/qla2xxx/qla_gs.c if (vha->scan.scan_flags == 0) { scan 4202 drivers/scsi/qla2xxx/qla_gs.c vha->scan.scan_flags |= SF_QUEUED; scan 4203 drivers/scsi/qla2xxx/qla_gs.c schedule_delayed_work(&vha->scan.scan_work, 5); scan 4216 drivers/scsi/qla2xxx/qla_gs.c scan); scan 4225 drivers/scsi/qla2xxx/qla_gs.c vha->scan.scan_flags &= ~SF_QUEUED; scan 1705 drivers/scsi/qla2xxx/qla_init.c if (vha->scan.scan_flags == 0) { scan 1707 drivers/scsi/qla2xxx/qla_init.c vha->scan.scan_flags |= SF_QUEUED; scan 1708 drivers/scsi/qla2xxx/qla_init.c schedule_delayed_work(&vha->scan.scan_work, 5); scan 5081 drivers/scsi/qla2xxx/qla_init.c vha->scan.scan_retry++; scan 5084 drivers/scsi/qla2xxx/qla_init.c if (vha->scan.scan_retry < MAX_SCAN_RETRIES) { scan 5108 drivers/scsi/qla2xxx/qla_init.c vha->scan.scan_retry++; scan 5111 drivers/scsi/qla2xxx/qla_init.c if (vha->scan.scan_retry < MAX_SCAN_RETRIES) { scan 5116 drivers/scsi/qla2xxx/qla_init.c vha->scan.scan_retry = 0; scan 1075 drivers/scsi/qla2xxx/qla_isr.c vha->scan.scan_retry = 0; scan 3735 drivers/scsi/qla2xxx/qla_os.c vfree(base_vha->scan.l); scan 4832 drivers/scsi/qla2xxx/qla_os.c vha->scan.size = ha->max_fibre_devices * sizeof(struct fab_scan_rp); scan 4833 drivers/scsi/qla2xxx/qla_os.c vha->scan.l = vmalloc(vha->scan.size); scan 4834 drivers/scsi/qla2xxx/qla_os.c if (!vha->scan.l) { scan 4843 drivers/scsi/qla2xxx/qla_os.c INIT_DELAYED_WORK(&vha->scan.scan_work, qla_scan_work_fn); scan 102 drivers/scsi/scsi_scan.c module_param_string(scan, scsi_scan_type, sizeof(scsi_scan_type), scan 104 drivers/scsi/scsi_scan.c MODULE_PARM_DESC(scan, "sync, async, manual, or none. " scan 195 drivers/scsi/scsi_sysfs.c static DEVICE_ATTR(scan, S_IWUSR, NULL, store_scan); scan 3385 drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c .scan = cfg80211_rtw_scan, scan 120 drivers/staging/uwb/scan.c DEVICE_ATTR(scan, S_IRUGO | S_IWUSR, uwb_rc_scan_show, uwb_rc_scan_store); scan 1757 drivers/staging/wilc1000/wilc_wfi_cfgoperations.c .scan = scan, scan 661 drivers/staging/wlan-ng/cfg80211.c .scan = prism2_scan, scan 1009 drivers/usb/gadget/legacy/inode.c scan: scan 1068 drivers/usb/gadget/legacy/inode.c goto scan; scan 256 drivers/virtio/virtio.c if (drv->scan) scan 257 drivers/virtio/virtio.c drv->scan(dev); scan 559 fs/gfs2/dir.c unsigned int len, gfs2_dscan_t scan, scan 579 fs/gfs2/dir.c ret = scan(dent, name, opaque); scan 812 fs/gfs2/dir.c gfs2_dscan_t scan, scan 836 fs/gfs2/dir.c scan, name, NULL); scan 855 fs/gfs2/dir.c dent = gfs2_dirent_scan(inode, bh->b_data, bh->b_size, scan, name, NULL); scan 797 fs/proc/proc_sysctl.c if (!scan(h, entry, &pos, file, ctx)) { scan 1554 fs/xfs/xfs_icache.c int scan = 0; scan 1569 fs/xfs/xfs_icache.c scan = 1; scan 1578 fs/xfs/xfs_icache.c scan = 1; scan 1582 fs/xfs/xfs_icache.c if (scan) scan 1585 fs/xfs/xfs_icache.c return scan; scan 504 include/drm/drm_mm.h void drm_mm_scan_init_with_range(struct drm_mm_scan *scan, scan 529 include/drm/drm_mm.h static inline void drm_mm_scan_init(struct drm_mm_scan *scan, scan 536 include/drm/drm_mm.h drm_mm_scan_init_with_range(scan, mm, scan 541 include/drm/drm_mm.h bool drm_mm_scan_add_block(struct drm_mm_scan *scan, scan 543 include/drm/drm_mm.h bool drm_mm_scan_remove_block(struct drm_mm_scan *scan, scan 545 include/drm/drm_mm.h struct drm_mm_node *drm_mm_scan_color_evict(struct drm_mm_scan *scan); scan 58 include/linux/mic_bus.h void (*scan)(struct mbus_device *dev); scan 3302 include/linux/platform_data/cros_ec_commands.h uint8_t scan[0]; /* keyscan data */ scan 174 include/linux/virtio.h void (*scan)(struct virtio_device *dev); scan 109 include/media/rc-map.h struct rc_map_table *scan; scan 3729 include/net/cfg80211.h int (*scan)(struct wiphy *wiphy, scan 1131 kernel/sched/fair.c unsigned int scan, floor; scan 1138 kernel/sched/fair.c scan = sysctl_numa_balancing_scan_period_min / task_nr_scan_windows(p); scan 1139 kernel/sched/fair.c return max_t(unsigned int, floor, scan); scan 560 lib/zlib_deflate/deflate.c register Byte *scan = s->window + s->strstart; /* current string */ scan 578 lib/zlib_deflate/deflate.c register ush scan_start = *(ush*)scan; scan 579 lib/zlib_deflate/deflate.c register ush scan_end = *(ush*)(scan+best_len-1); scan 582 lib/zlib_deflate/deflate.c register Byte scan_end1 = scan[best_len-1]; scan 583 lib/zlib_deflate/deflate.c register Byte scan_end = scan[best_len]; scan 625 lib/zlib_deflate/deflate.c Assert(scan[2] == match[2], "scan[2]?"); scan 626 lib/zlib_deflate/deflate.c scan++, match++; scan 628 lib/zlib_deflate/deflate.c } while (*(ush*)(scan+=2) == *(ush*)(match+=2) && scan 629 lib/zlib_deflate/deflate.c *(ush*)(scan+=2) == *(ush*)(match+=2) && scan 630 lib/zlib_deflate/deflate.c *(ush*)(scan+=2) == *(ush*)(match+=2) && scan 631 lib/zlib_deflate/deflate.c *(ush*)(scan+=2) == *(ush*)(match+=2) && scan 632 lib/zlib_deflate/deflate.c scan < strend); scan 636 lib/zlib_deflate/deflate.c Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan"); scan 637 lib/zlib_deflate/deflate.c if (*scan == *match) scan++; scan 639 lib/zlib_deflate/deflate.c len = (MAX_MATCH - 1) - (int)(strend-scan); scan 640 lib/zlib_deflate/deflate.c scan = strend - (MAX_MATCH-1); scan 646 lib/zlib_deflate/deflate.c *match != *scan || scan 647 lib/zlib_deflate/deflate.c *++match != scan[1]) continue; scan 655 lib/zlib_deflate/deflate.c scan += 2, match++; scan 656 lib/zlib_deflate/deflate.c Assert(*scan == *match, "match[2]?"); scan 662 lib/zlib_deflate/deflate.c } while (*++scan == *++match && *++scan == *++match && scan 663 lib/zlib_deflate/deflate.c *++scan == *++match && *++scan == *++match && scan 664 lib/zlib_deflate/deflate.c *++scan == *++match && *++scan == *++match && scan 665 lib/zlib_deflate/deflate.c *++scan == *++match && *++scan == *++match && scan 666 lib/zlib_deflate/deflate.c scan < strend); scan 668 lib/zlib_deflate/deflate.c Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan"); scan 670 lib/zlib_deflate/deflate.c len = MAX_MATCH - (int)(strend - scan); scan 671 lib/zlib_deflate/deflate.c scan = strend - MAX_MATCH; scan 680 lib/zlib_deflate/deflate.c scan_end = *(ush*)(scan+best_len-1); scan 682 lib/zlib_deflate/deflate.c scan_end1 = scan[best_len-1]; scan 683 lib/zlib_deflate/deflate.c scan_end = scan[best_len]; scan 70 mm/memfd.c int error, scan; scan 75 mm/memfd.c for (scan = 0; scan <= LAST_SCAN; scan++) { scan 81 mm/memfd.c if (!scan) scan 83 mm/memfd.c else if (schedule_timeout_killable((HZ << scan) / 200)) scan 84 mm/memfd.c scan = LAST_SCAN; scan 99 mm/memfd.c if (scan == LAST_SCAN) scan 765 mm/swapfile.c goto scan; scan 815 mm/swapfile.c goto scan; scan 836 mm/swapfile.c goto scan; /* check next one */ scan 842 mm/swapfile.c goto scan; scan 890 mm/swapfile.c scan: scan 1693 mm/vmscan.c unsigned long scan, total_scan, nr_pages; scan 1698 mm/vmscan.c scan = 0; scan 1699 mm/vmscan.c while (scan < nr_to_scan && !list_empty(src)) { scan 1726 mm/vmscan.c scan += nr_pages; scan 2461 mm/vmscan.c unsigned long scan; scan 2503 mm/vmscan.c scan = lruvec_size - lruvec_size * protection / scan 2511 mm/vmscan.c scan = max(scan, SWAP_CLUSTER_MAX); scan 2513 mm/vmscan.c scan = lruvec_size; scan 2516 mm/vmscan.c scan >>= sc->priority; scan 2522 mm/vmscan.c if (!scan && !mem_cgroup_online(memcg)) scan 2523 mm/vmscan.c scan = min(lruvec_size, SWAP_CLUSTER_MAX); scan 2537 mm/vmscan.c scan = mem_cgroup_online(memcg) ? scan 2538 mm/vmscan.c div64_u64(scan * fraction[file], denominator) : scan 2539 mm/vmscan.c DIV64_U64_ROUND_UP(scan * fraction[file], scan 2547 mm/vmscan.c scan = 0; scan 2556 mm/vmscan.c nr[lru] = scan; scan 960 net/bluetooth/hci_core.c __u8 scan = opt; scan 962 net/bluetooth/hci_core.c BT_DBG("%s %x", req->hdev->name, scan); scan 965 net/bluetooth/hci_core.c hci_req_add(req, HCI_OP_WRITE_SCAN_ENABLE, 1, &scan); scan 1903 net/bluetooth/hci_core.c static void hci_update_scan_state(struct hci_dev *hdev, u8 scan) scan 1907 net/bluetooth/hci_core.c BT_DBG("%s scan 0x%02x", hdev->name, scan); scan 1909 net/bluetooth/hci_core.c if ((scan & SCAN_PAGE)) scan 1916 net/bluetooth/hci_core.c if ((scan & SCAN_INQUIRY)) { scan 2007 net/bluetooth/hci_request.c u8 scan; scan 2020 net/bluetooth/hci_request.c scan = SCAN_PAGE; scan 2022 net/bluetooth/hci_request.c scan = SCAN_DISABLED; scan 2025 net/bluetooth/hci_request.c scan |= SCAN_INQUIRY; scan 2027 net/bluetooth/hci_request.c if (test_bit(HCI_PSCAN, &hdev->flags) == !!(scan & SCAN_PAGE) && scan 2028 net/bluetooth/hci_request.c test_bit(HCI_ISCAN, &hdev->flags) == !!(scan & SCAN_INQUIRY)) scan 2031 net/bluetooth/hci_request.c hci_req_add(req, HCI_OP_WRITE_SCAN_ENABLE, 1, &scan); scan 1132 net/bluetooth/mgmt.c u8 scan = 0x00; scan 1133 net/bluetooth/mgmt.c hci_req_add(&req, HCI_OP_WRITE_SCAN_ENABLE, 1, &scan); scan 4007 net/mac80211/cfg.c .scan = ieee80211_scan, scan 1042 net/wireless/core.c struct cfg80211_internal_bss *scan, *tmp; scan 1049 net/wireless/core.c list_for_each_entry_safe(scan, tmp, &rdev->bss_list, list) scan 1050 net/wireless/core.c cfg80211_put_bss(&rdev->wiphy, &scan->pub); scan 7516 net/wireless/nl80211.c if (!rdev->ops->scan) scan 8746 net/wireless/nl80211.c struct cfg80211_internal_bss *scan; scan 8772 net/wireless/nl80211.c list_for_each_entry(scan, &rdev->bss_list, list) { scan 8777 net/wireless/nl80211.c rdev, wdev, scan) < 0) { scan 426 net/wireless/rdev-ops.h ret = rdev->ops->scan(&rdev->wiphy, request); scan 535 tools/perf/arch/arm/util/cs-etm.c int scan; scan 544 tools/perf/arch/arm/util/cs-etm.c scan = perf_pmu__scan_file(cs_etm_pmu, path, "%x", &val); scan 547 tools/perf/arch/arm/util/cs-etm.c if (scan == 1) scan 556 tools/perf/arch/arm/util/cs-etm.c int scan; scan 562 tools/perf/arch/arm/util/cs-etm.c scan = perf_pmu__scan_file(pmu, pmu_path, "%x", &val); scan 563 tools/perf/arch/arm/util/cs-etm.c if (scan != 1) scan 66 tools/power/cpupower/utils/cpufreq-set.c const char *scan; scan 74 tools/power/cpupower/utils/cpufreq-set.c for (scan = str; isdigit(*scan) || *scan == '.'; scan++) { scan 75 tools/power/cpupower/utils/cpufreq-set.c if (*scan == '.' && match_count == 0) scan 77 tools/power/cpupower/utils/cpufreq-set.c else if (*scan == '.' && match_count == 1) scan 81 tools/power/cpupower/utils/cpufreq-set.c if (*scan) { scan 85 tools/power/cpupower/utils/cpufreq-set.c scan[i] && tolower(scan[i]) == unit->str_unit[i]; scan 88 tools/power/cpupower/utils/cpufreq-set.c if (scan[i])