Searched refs:maps (Results 1 - 200 of 723) sorted by relevance

1234

/linux-4.4.14/tools/perf/util/
H A Dfind-vdso-map.c3 FILE *maps; find_vdso_map() local
7 maps = fopen("/proc/self/maps", "r"); find_vdso_map()
8 if (!maps) { find_vdso_map()
9 fprintf(stderr, "vdso: cannot open maps\n"); find_vdso_map()
13 while (!found && fgets(line, sizeof(line), maps)) { find_vdso_map()
28 fclose(maps); find_vdso_map()
H A Dmap.c19 static void __maps__insert(struct maps *maps, struct map *map);
460 static void maps__init(struct maps *maps) maps__init() argument
462 maps->entries = RB_ROOT; maps__init()
463 pthread_rwlock_init(&maps->lock, NULL); maps__init()
470 maps__init(&mg->maps[i]); map_groups__init()
476 static void __maps__purge(struct maps *maps) __maps__purge() argument
478 struct rb_root *root = &maps->entries; __maps__purge()
490 static void maps__exit(struct maps *maps) maps__exit() argument
492 pthread_rwlock_wrlock(&maps->lock); maps__exit()
493 __maps__purge(maps); maps__exit()
494 pthread_rwlock_unlock(&maps->lock); maps__exit()
502 maps__exit(&mg->maps[i]); map_groups__exit()
510 if (maps__first(&mg->maps[i])) map_groups__empty()
556 struct symbol *maps__find_symbol_by_name(struct maps *maps, const char *name, maps__find_symbol_by_name() argument
562 pthread_rwlock_rdlock(&maps->lock); maps__find_symbol_by_name()
564 for (nd = rb_first(&maps->entries); nd; nd = rb_next(nd)) { maps__find_symbol_by_name()
578 pthread_rwlock_unlock(&maps->lock); maps__find_symbol_by_name()
588 struct symbol *sym = maps__find_symbol_by_name(&mg->maps[type], name, mapp, filter); map_groups__find_symbol_by_name()
610 static size_t maps__fprintf(struct maps *maps, FILE *fp) maps__fprintf() argument
615 pthread_rwlock_rdlock(&maps->lock); maps__fprintf()
617 for (nd = rb_first(&maps->entries); nd; nd = rb_next(nd)) { maps__fprintf()
627 pthread_rwlock_unlock(&maps->lock); maps__fprintf()
636 return printed += maps__fprintf(&mg->maps[type], fp); __map_groups__fprintf_maps()
649 __maps__insert(&mg->maps[map->type], map); __map_groups__insert()
653 static int maps__fixup_overlappings(struct maps *maps, struct map *map, FILE *fp) maps__fixup_overlappings() argument
659 pthread_rwlock_wrlock(&maps->lock); maps__fixup_overlappings()
661 root = &maps->entries; maps__fixup_overlappings()
672 fputs("overlapping maps:\n", fp); maps__fixup_overlappings()
679 * Now check if we need to create new maps for areas not maps__fixup_overlappings()
718 pthread_rwlock_unlock(&maps->lock); maps__fixup_overlappings()
725 return maps__fixup_overlappings(&mg->maps[map->type], map, fp); map_groups__fixup_overlappings()
729 * XXX This should not really _copy_ te maps, but refcount them.
736 struct maps *maps = &parent->maps[type]; map_groups__clone() local
738 pthread_rwlock_rdlock(&maps->lock); map_groups__clone()
740 for (map = maps__first(maps); map; map = map__next(map)) { map_groups__clone()
749 pthread_rwlock_unlock(&maps->lock); map_groups__clone()
753 static void __maps__insert(struct maps *maps, struct map *map) __maps__insert() argument
755 struct rb_node **p = &maps->entries.rb_node; __maps__insert()
770 rb_insert_color(&map->rb_node, &maps->entries); __maps__insert()
774 void maps__insert(struct maps *maps, struct map *map) maps__insert() argument
776 pthread_rwlock_wrlock(&maps->lock); maps__insert()
777 __maps__insert(maps, map); maps__insert()
778 pthread_rwlock_unlock(&maps->lock); maps__insert()
781 static void __maps__remove(struct maps *maps, struct map *map) __maps__remove() argument
783 rb_erase_init(&map->rb_node, &maps->entries); __maps__remove()
787 void maps__remove(struct maps *maps, struct map *map) maps__remove() argument
789 pthread_rwlock_wrlock(&maps->lock); maps__remove()
790 __maps__remove(maps, map); maps__remove()
791 pthread_rwlock_unlock(&maps->lock); maps__remove()
794 struct map *maps__find(struct maps *maps, u64 ip) maps__find() argument
799 pthread_rwlock_rdlock(&maps->lock); maps__find()
801 p = &maps->entries.rb_node; maps__find()
815 pthread_rwlock_unlock(&maps->lock); maps__find()
819 struct map *maps__first(struct maps *maps) maps__first() argument
821 struct rb_node *first = rb_first(&maps->entries); maps__first()
H A Dmap.h62 struct maps { struct
68 struct maps maps[MAP__NR_TYPES]; member in struct:map_groups
188 void maps__insert(struct maps *maps, struct map *map);
189 void maps__remove(struct maps *maps, struct map *map);
190 struct map *maps__find(struct maps *maps, u64 addr);
191 struct map *maps__first(struct maps *maps);
193 struct symbol *maps__find_symbol_by_name(struct maps *maps, const char *name,
201 int maps__set_kallsyms_ref_reloc_sym(struct map **maps, const char *symbol_name,
206 maps__insert(&mg->maps[map->type], map); map_groups__insert()
212 maps__remove(&mg->maps[map->type], map); map_groups__remove()
218 return maps__find(&mg->maps[type], addr); map_groups__find()
224 return maps__first(&mg->maps[type]); map_groups__first()
H A Dsymbol.c205 struct maps *maps = &mg->maps[type]; __map_groups__fixup_end() local
208 pthread_rwlock_wrlock(&maps->lock); __map_groups__fixup_end()
210 curr = maps__first(maps); __map_groups__fixup_end()
226 pthread_rwlock_unlock(&maps->lock); __map_groups__fixup_end()
632 * map__split_kallsyms, when we have split the maps per module map__process_kallsym_symbol()
700 * Split the symbols into maps, making sure there are no overlaps, i.e. the
701 * kernel range is broken in several maps, named [kernel].N, as we don't have
1094 struct list_head maps; member in struct:kcore_mapfn_data
1109 list_add(&map->node, &md->maps); kcore_mapfn()
1145 INIT_LIST_HEAD(&md.maps); dso__load_kcore()
1154 /* Read new maps into temporary lists */ dso__load_kcore()
1161 if (list_empty(&md.maps)) { dso__load_kcore()
1166 /* Remove old maps */ dso__load_kcore()
1178 list_for_each_entry(new_map, &md.maps, node) { dso__load_kcore()
1187 replacement_map = list_entry(md.maps.next, struct map, node); dso__load_kcore()
1189 /* Add new maps */ dso__load_kcore()
1190 while (!list_empty(&md.maps)) { dso__load_kcore()
1191 new_map = list_entry(md.maps.next, struct map, node); dso__load_kcore()
1199 /* Ensure maps are correctly ordered */ dso__load_kcore()
1231 while (!list_empty(&md.maps)) { dso__load_kcore()
1232 map = list_entry(md.maps.next, struct map, node); dso__load_kcore()
1556 struct maps *maps = &mg->maps[type]; map_groups__find_by_name() local
1559 pthread_rwlock_rdlock(&maps->lock); map_groups__find_by_name()
1561 for (map = maps__first(maps); map; map = map__next(map)) { map_groups__find_by_name()
1569 pthread_rwlock_unlock(&maps->lock); map_groups__find_by_name()
1711 /* If module maps match go with /proc/kallsyms */ dso__find_kallsyms()
H A Devent.c237 snprintf(filename, sizeof(filename), "%s/proc/%d/maps", perf_event__synthesize_mmap_events()
284 * Anon maps don't have the execname. perf_event__synthesize_mmap_events()
359 struct maps *maps = &kmaps->maps[MAP__FUNCTION]; perf_event__synthesize_modules() local
371 * kernel uses 0 for user space maps, see kernel/perf_event.c perf_event__synthesize_modules()
379 for (pos = maps__first(maps); pos; pos = map__next(pos)) { perf_event__synthesize_modules()
472 /* process the parent's maps too */ __event__synthesize_thread()
676 * kernel uses PERF_RECORD_MISC_USER for user space maps, perf_event__synthesize_kernel_mmap()
948 * If this is outside of all known maps, and is a negative thread__find_addr_map()
965 * Kernel maps might be changed when loading symbols so loading thread__find_addr_map()
966 * must be done prior to using kernel maps. thread__find_addr_map()
1004 * Have we already created the kernel maps for this machine? perf_event__preprocess_sample()
H A Dthread.c200 /* But this one is new process, copy maps. */ thread__clone_map_groups()
H A Dmachine.c341 * tid. Consequently there never should be any maps on a thread machine__update_thread_pid()
345 pr_err("Discarding thread maps for %d:%d\n", machine__update_thread_pid()
781 * ref_reloc_sym is shared among all maps, so free just machine__destroy_kernel_maps()
1077 pr_debug("Problems setting modules path maps, continuing anyway...\n"); machine__create_modules()
1096 pr_debug("Problems creating module maps, " machine__create_kernel_maps()
1099 pr_debug("Problems creating module maps for guest %d, " machine__create_kernel_maps()
1104 * Now that we have all the maps created, just set the ->end of them: machine__create_kernel_maps()
1155 /* If we have maps from kcore then we do not need or want any others */ machine__process_kernel_mmap_event()
H A Dsymbol-elf.c745 * @kmap: kernel maps and relocation reference symbol
747 * This function returns %true if we are dealing with the kernel maps and the
759 * @kmap: kernel maps and relocation reference symbol
811 * have the wrong values for the dso maps, so remove them. dso__load_sym()
863 * kernel maps correctly. dso__load_sym()
973 * kallsyms and identity maps. Overwrite it to elf_symtab__for_each_symbol()
984 /* Ensure maps are correctly ordered */ elf_symtab__for_each_symbol()
1100 * maps here, for things like vsyscall sections.
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
H A Dsw.c326 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL,
327 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN,
328 .maps[SYS_CLK] = REG_SYS_CLKR,
329 .maps[MAC_RCR_AM] = AM,
330 .maps[MAC_RCR_AB] = AB,
331 .maps[MAC_RCR_ACRC32] = ACRC32,
332 .maps[MAC_RCR_ACF] = ACF,
333 .maps[MAC_RCR_AAP] = AAP,
334 .maps[MAC_HIMR] = REG_HIMR,
335 .maps[MAC_HIMRE] = REG_HIMRE,
337 .maps[EFUSE_ACCESS] = REG_EFUSE_ACCESS,
339 .maps[EFUSE_TEST] = REG_EFUSE_TEST,
340 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
341 .maps[EFUSE_CLK] = 0,
342 .maps[EFUSE_CLK_CTRL] = REG_EFUSE_CTRL,
343 .maps[EFUSE_PWC_EV12V] = PWC_EV12V,
344 .maps[EFUSE_FEN_ELDR] = FEN_ELDR,
345 .maps[EFUSE_LOADER_CLK_EN] = LOADER_CLK_EN,
346 .maps[EFUSE_ANA8M] = ANA8M,
347 .maps[EFUSE_HWSET_MAX_SIZE] = HWSET_MAX_SIZE,
348 .maps[EFUSE_MAX_SECTION_MAP] = EFUSE_MAX_SECTION,
349 .maps[EFUSE_REAL_CONTENT_SIZE] = EFUSE_REAL_CONTENT_LEN,
350 .maps[EFUSE_OOB_PROTECT_BYTES_LEN] = EFUSE_OOB_PROTECT_BYTES,
352 .maps[RWCAM] = REG_CAMCMD,
353 .maps[WCAMI] = REG_CAMWRITE,
354 .maps[RCAMO] = REG_CAMREAD,
355 .maps[CAMDBG] = REG_CAMDBG,
356 .maps[SECR] = REG_SECCFG,
357 .maps[SEC_CAM_NONE] = CAM_NONE,
358 .maps[SEC_CAM_WEP40] = CAM_WEP40,
359 .maps[SEC_CAM_TKIP] = CAM_TKIP,
360 .maps[SEC_CAM_AES] = CAM_AES,
361 .maps[SEC_CAM_WEP104] = CAM_WEP104,
363 .maps[RTL_IMR_BCNDMAINT6] = IMR_BCNDMAINT6,
364 .maps[RTL_IMR_BCNDMAINT5] = IMR_BCNDMAINT5,
365 .maps[RTL_IMR_BCNDMAINT4] = IMR_BCNDMAINT4,
366 .maps[RTL_IMR_BCNDMAINT3] = IMR_BCNDMAINT3,
367 .maps[RTL_IMR_BCNDMAINT2] = IMR_BCNDMAINT2,
368 .maps[RTL_IMR_BCNDMAINT1] = IMR_BCNDMAINT1,
369 /* .maps[RTL_IMR_BCNDOK8] = IMR_BCNDOK8, */ /*need check*/
370 .maps[RTL_IMR_BCNDOK7] = IMR_BCNDOK7,
371 .maps[RTL_IMR_BCNDOK6] = IMR_BCNDOK6,
372 .maps[RTL_IMR_BCNDOK5] = IMR_BCNDOK5,
373 .maps[RTL_IMR_BCNDOK4] = IMR_BCNDOK4,
374 .maps[RTL_IMR_BCNDOK3] = IMR_BCNDOK3,
375 .maps[RTL_IMR_BCNDOK2] = IMR_BCNDOK2,
376 .maps[RTL_IMR_BCNDOK1] = IMR_BCNDOK1,
377 /* .maps[RTL_IMR_TIMEOUT2] = IMR_TIMEOUT2,*/
378 /* .maps[RTL_IMR_TIMEOUT1] = IMR_TIMEOUT1,*/
380 .maps[RTL_IMR_TXFOVW] = IMR_TXFOVW,
381 .maps[RTL_IMR_PSTIMEOUT] = IMR_PSTIMEOUT,
382 .maps[RTL_IMR_BCNINT] = IMR_BCNDMAINT0,
383 .maps[RTL_IMR_RXFOVW] = IMR_RXFOVW,
384 .maps[RTL_IMR_RDU] = IMR_RDU,
385 .maps[RTL_IMR_ATIMEND] = IMR_ATIMEND,
386 .maps[RTL_IMR_BDOK] = IMR_BCNDOK0,
387 .maps[RTL_IMR_MGNTDOK] = IMR_MGNTDOK,
388 .maps[RTL_IMR_TBDER] = IMR_TBDER,
389 .maps[RTL_IMR_HIGHDOK] = IMR_HIGHDOK,
390 .maps[RTL_IMR_TBDOK] = IMR_TBDOK,
391 .maps[RTL_IMR_BKDOK] = IMR_BKDOK,
392 .maps[RTL_IMR_BEDOK] = IMR_BEDOK,
393 .maps[RTL_IMR_VIDOK] = IMR_VIDOK,
394 .maps[RTL_IMR_VODOK] = IMR_VODOK,
395 .maps[RTL_IMR_ROK] = IMR_ROK,
396 .maps[RTL_IBSS_INT_MASKS] = (IMR_BCNDMAINT0 | IMR_TBDOK | IMR_TBDER),
398 .maps[RTL_RC_CCK_RATE1M] = DESC_RATE1M,
399 .maps[RTL_RC_CCK_RATE2M] = DESC_RATE2M,
400 .maps[RTL_RC_CCK_RATE5_5M] = DESC_RATE5_5M,
401 .maps[RTL_RC_CCK_RATE11M] = DESC_RATE11M,
402 .maps[RTL_RC_OFDM_RATE6M] = DESC_RATE6M,
403 .maps[RTL_RC_OFDM_RATE9M] = DESC_RATE9M,
404 .maps[RTL_RC_OFDM_RATE12M] = DESC_RATE12M,
405 .maps[RTL_RC_OFDM_RATE18M] = DESC_RATE18M,
406 .maps[RTL_RC_OFDM_RATE24M] = DESC_RATE24M,
407 .maps[RTL_RC_OFDM_RATE36M] = DESC_RATE36M,
408 .maps[RTL_RC_OFDM_RATE48M] = DESC_RATE48M,
409 .maps[RTL_RC_OFDM_RATE54M] = DESC_RATE54M,
411 .maps[RTL_RC_HT_RATEMCS7] = DESC_RATEMCS7,
412 .maps[RTL_RC_HT_RATEMCS15] = DESC_RATEMCS15,
415 .maps[RTL_RC_VHT_RATE_1SS_MCS7] = DESC_RATEVHT1SS_MCS7,
416 .maps[RTL_RC_VHT_RATE_1SS_MCS8] = DESC_RATEVHT1SS_MCS8,
417 .maps[RTL_RC_VHT_RATE_1SS_MCS9] = DESC_RATEVHT1SS_MCS9,
418 .maps[RTL_RC_VHT_RATE_2SS_MCS7] = DESC_RATEVHT2SS_MCS7,
419 .maps[RTL_RC_VHT_RATE_2SS_MCS8] = DESC_RATEVHT2SS_MCS8,
420 .maps[RTL_RC_VHT_RATE_2SS_MCS9] = DESC_RATEVHT2SS_MCS9,
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
H A Dsw.c291 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL,
292 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN,
293 .maps[SYS_CLK] = REG_SYS_CLKR,
294 .maps[MAC_RCR_AM] = AM,
295 .maps[MAC_RCR_AB] = AB,
296 .maps[MAC_RCR_ACRC32] = ACRC32,
297 .maps[MAC_RCR_ACF] = ACF,
298 .maps[MAC_RCR_AAP] = AAP,
299 .maps[MAC_HIMR] = REG_HIMR,
300 .maps[MAC_HIMRE] = REG_HIMRE,
301 .maps[MAC_HSISR] = REG_HSISR,
303 .maps[EFUSE_ACCESS] = REG_EFUSE_ACCESS,
305 .maps[EFUSE_TEST] = REG_EFUSE_TEST,
306 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
307 .maps[EFUSE_CLK] = 0,
308 .maps[EFUSE_CLK_CTRL] = REG_EFUSE_CTRL,
309 .maps[EFUSE_PWC_EV12V] = PWC_EV12V,
310 .maps[EFUSE_FEN_ELDR] = FEN_ELDR,
311 .maps[EFUSE_LOADER_CLK_EN] = LOADER_CLK_EN,
312 .maps[EFUSE_ANA8M] = ANA8M,
313 .maps[EFUSE_HWSET_MAX_SIZE] = HWSET_MAX_SIZE,
314 .maps[EFUSE_MAX_SECTION_MAP] = EFUSE_MAX_SECTION,
315 .maps[EFUSE_REAL_CONTENT_SIZE] = EFUSE_REAL_CONTENT_LEN,
316 .maps[EFUSE_OOB_PROTECT_BYTES_LEN] = EFUSE_OOB_PROTECT_BYTES,
318 .maps[RWCAM] = REG_CAMCMD,
319 .maps[WCAMI] = REG_CAMWRITE,
320 .maps[RCAMO] = REG_CAMREAD,
321 .maps[CAMDBG] = REG_CAMDBG,
322 .maps[SECR] = REG_SECCFG,
323 .maps[SEC_CAM_NONE] = CAM_NONE,
324 .maps[SEC_CAM_WEP40] = CAM_WEP40,
325 .maps[SEC_CAM_TKIP] = CAM_TKIP,
326 .maps[SEC_CAM_AES] = CAM_AES,
327 .maps[SEC_CAM_WEP104] = CAM_WEP104,
329 .maps[RTL_IMR_BCNDMAINT6] = IMR_BCNDMAINT6,
330 .maps[RTL_IMR_BCNDMAINT5] = IMR_BCNDMAINT5,
331 .maps[RTL_IMR_BCNDMAINT4] = IMR_BCNDMAINT4,
332 .maps[RTL_IMR_BCNDMAINT3] = IMR_BCNDMAINT3,
333 .maps[RTL_IMR_BCNDMAINT2] = IMR_BCNDMAINT2,
334 .maps[RTL_IMR_BCNDMAINT1] = IMR_BCNDMAINT1,
335 /* .maps[RTL_IMR_BCNDOK8] = IMR_BCNDOK8, */ /*need check*/
336 .maps[RTL_IMR_BCNDOK7] = IMR_BCNDOK7,
337 .maps[RTL_IMR_BCNDOK6] = IMR_BCNDOK6,
338 .maps[RTL_IMR_BCNDOK5] = IMR_BCNDOK5,
339 .maps[RTL_IMR_BCNDOK4] = IMR_BCNDOK4,
340 .maps[RTL_IMR_BCNDOK3] = IMR_BCNDOK3,
341 .maps[RTL_IMR_BCNDOK2] = IMR_BCNDOK2,
342 .maps[RTL_IMR_BCNDOK1] = IMR_BCNDOK1,
343 /* .maps[RTL_IMR_TIMEOUT2] = IMR_TIMEOUT2,*/
344 /* .maps[RTL_IMR_TIMEOUT1] = IMR_TIMEOUT1,*/
346 .maps[RTL_IMR_TXFOVW] = IMR_TXFOVW,
347 .maps[RTL_IMR_PSTIMEOUT] = IMR_PSTIMEOUT,
348 .maps[RTL_IMR_BCNINT] = IMR_BCNDMAINT0,
349 .maps[RTL_IMR_RXFOVW] = IMR_RXFOVW,
350 .maps[RTL_IMR_RDU] = IMR_RDU,
351 .maps[RTL_IMR_ATIMEND] = IMR_ATIMEND,
352 .maps[RTL_IMR_BDOK] = IMR_BCNDOK0,
353 .maps[RTL_IMR_MGNTDOK] = IMR_MGNTDOK,
354 .maps[RTL_IMR_TBDER] = IMR_TBDER,
355 .maps[RTL_IMR_HIGHDOK] = IMR_HIGHDOK,
356 .maps[RTL_IMR_TBDOK] = IMR_TBDOK,
357 .maps[RTL_IMR_BKDOK] = IMR_BKDOK,
358 .maps[RTL_IMR_BEDOK] = IMR_BEDOK,
359 .maps[RTL_IMR_VIDOK] = IMR_VIDOK,
360 .maps[RTL_IMR_VODOK] = IMR_VODOK,
361 .maps[RTL_IMR_ROK] = IMR_ROK,
362 .maps[RTL_IMR_HSISR_IND] = IMR_HSISR_IND_ON_INT,
363 .maps[RTL_IBSS_INT_MASKS] = (IMR_BCNDMAINT0 | IMR_TBDOK | IMR_TBDER),
365 .maps[RTL_RC_CCK_RATE1M] = DESC92C_RATE1M,
366 .maps[RTL_RC_CCK_RATE2M] = DESC92C_RATE2M,
367 .maps[RTL_RC_CCK_RATE5_5M] = DESC92C_RATE5_5M,
368 .maps[RTL_RC_CCK_RATE11M] = DESC92C_RATE11M,
369 .maps[RTL_RC_OFDM_RATE6M] = DESC92C_RATE6M,
370 .maps[RTL_RC_OFDM_RATE9M] = DESC92C_RATE9M,
371 .maps[RTL_RC_OFDM_RATE12M] = DESC92C_RATE12M,
372 .maps[RTL_RC_OFDM_RATE18M] = DESC92C_RATE18M,
373 .maps[RTL_RC_OFDM_RATE24M] = DESC92C_RATE24M,
374 .maps[RTL_RC_OFDM_RATE36M] = DESC92C_RATE36M,
375 .maps[RTL_RC_OFDM_RATE48M] = DESC92C_RATE48M,
376 .maps[RTL_RC_OFDM_RATE54M] = DESC92C_RATE54M,
378 .maps[RTL_RC_HT_RATEMCS7] = DESC92C_RATEMCS7,
379 .maps[RTL_RC_HT_RATEMCS15] = DESC92C_RATEMCS15,
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
H A Dsw.c286 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL,
287 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN,
288 .maps[SYS_CLK] = REG_SYS_CLKR,
289 .maps[MAC_RCR_AM] = AM,
290 .maps[MAC_RCR_AB] = AB,
291 .maps[MAC_RCR_ACRC32] = ACRC32,
292 .maps[MAC_RCR_ACF] = ACF,
293 .maps[MAC_RCR_AAP] = AAP,
294 .maps[MAC_HIMR] = REG_HIMR,
295 .maps[MAC_HIMRE] = REG_HIMRE,
296 .maps[MAC_HSISR] = REG_HSISR,
298 .maps[EFUSE_ACCESS] = REG_EFUSE_ACCESS,
300 .maps[EFUSE_TEST] = REG_EFUSE_TEST,
301 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
302 .maps[EFUSE_CLK] = 0,
303 .maps[EFUSE_CLK_CTRL] = REG_EFUSE_CTRL,
304 .maps[EFUSE_PWC_EV12V] = PWC_EV12V,
305 .maps[EFUSE_FEN_ELDR] = FEN_ELDR,
306 .maps[EFUSE_LOADER_CLK_EN] = LOADER_CLK_EN,
307 .maps[EFUSE_ANA8M] = ANA8M,
308 .maps[EFUSE_HWSET_MAX_SIZE] = HWSET_MAX_SIZE,
309 .maps[EFUSE_MAX_SECTION_MAP] = EFUSE_MAX_SECTION,
310 .maps[EFUSE_REAL_CONTENT_SIZE] = EFUSE_REAL_CONTENT_LEN,
311 .maps[EFUSE_OOB_PROTECT_BYTES_LEN] = EFUSE_OOB_PROTECT_BYTES,
313 .maps[RWCAM] = REG_CAMCMD,
314 .maps[WCAMI] = REG_CAMWRITE,
315 .maps[RCAMO] = REG_CAMREAD,
316 .maps[CAMDBG] = REG_CAMDBG,
317 .maps[SECR] = REG_SECCFG,
318 .maps[SEC_CAM_NONE] = CAM_NONE,
319 .maps[SEC_CAM_WEP40] = CAM_WEP40,
320 .maps[SEC_CAM_TKIP] = CAM_TKIP,
321 .maps[SEC_CAM_AES] = CAM_AES,
322 .maps[SEC_CAM_WEP104] = CAM_WEP104,
324 .maps[RTL_IMR_BCNDMAINT6] = IMR_BCNDMAINT6,
325 .maps[RTL_IMR_BCNDMAINT5] = IMR_BCNDMAINT5,
326 .maps[RTL_IMR_BCNDMAINT4] = IMR_BCNDMAINT4,
327 .maps[RTL_IMR_BCNDMAINT3] = IMR_BCNDMAINT3,
328 .maps[RTL_IMR_BCNDMAINT2] = IMR_BCNDMAINT2,
329 .maps[RTL_IMR_BCNDMAINT1] = IMR_BCNDMAINT1,
330 /* .maps[RTL_IMR_BCNDOK8] = IMR_BCNDOK8, */ /*need check*/
331 .maps[RTL_IMR_BCNDOK7] = IMR_BCNDOK7,
332 .maps[RTL_IMR_BCNDOK6] = IMR_BCNDOK6,
333 .maps[RTL_IMR_BCNDOK5] = IMR_BCNDOK5,
334 .maps[RTL_IMR_BCNDOK4] = IMR_BCNDOK4,
335 .maps[RTL_IMR_BCNDOK3] = IMR_BCNDOK3,
336 .maps[RTL_IMR_BCNDOK2] = IMR_BCNDOK2,
337 .maps[RTL_IMR_BCNDOK1] = IMR_BCNDOK1,
338 /* .maps[RTL_IMR_TIMEOUT2] = IMR_TIMEOUT2,*/
339 /* .maps[RTL_IMR_TIMEOUT1] = IMR_TIMEOUT1,*/
341 .maps[RTL_IMR_TXFOVW] = IMR_TXFOVW,
342 .maps[RTL_IMR_PSTIMEOUT] = IMR_PSTIMEOUT,
343 .maps[RTL_IMR_BCNINT] = IMR_BCNDMAINT0,
344 .maps[RTL_IMR_RXFOVW] = IMR_RXFOVW,
345 .maps[RTL_IMR_RDU] = IMR_RDU,
346 .maps[RTL_IMR_ATIMEND] = IMR_ATIMEND,
347 .maps[RTL_IMR_BDOK] = IMR_BCNDOK0,
348 .maps[RTL_IMR_MGNTDOK] = IMR_MGNTDOK,
349 .maps[RTL_IMR_TBDER] = IMR_TBDER,
350 .maps[RTL_IMR_HIGHDOK] = IMR_HIGHDOK,
351 .maps[RTL_IMR_TBDOK] = IMR_TBDOK,
352 .maps[RTL_IMR_BKDOK] = IMR_BKDOK,
353 .maps[RTL_IMR_BEDOK] = IMR_BEDOK,
354 .maps[RTL_IMR_VIDOK] = IMR_VIDOK,
355 .maps[RTL_IMR_VODOK] = IMR_VODOK,
356 .maps[RTL_IMR_ROK] = IMR_ROK,
357 .maps[RTL_IMR_HSISR_IND] = IMR_HSISR_IND_ON_INT,
358 .maps[RTL_IBSS_INT_MASKS] = (IMR_BCNDMAINT0 | IMR_TBDOK | IMR_TBDER),
360 .maps[RTL_RC_CCK_RATE1M] = DESC92C_RATE1M,
361 .maps[RTL_RC_CCK_RATE2M] = DESC92C_RATE2M,
362 .maps[RTL_RC_CCK_RATE5_5M] = DESC92C_RATE5_5M,
363 .maps[RTL_RC_CCK_RATE11M] = DESC92C_RATE11M,
364 .maps[RTL_RC_OFDM_RATE6M] = DESC92C_RATE6M,
365 .maps[RTL_RC_OFDM_RATE9M] = DESC92C_RATE9M,
366 .maps[RTL_RC_OFDM_RATE12M] = DESC92C_RATE12M,
367 .maps[RTL_RC_OFDM_RATE18M] = DESC92C_RATE18M,
368 .maps[RTL_RC_OFDM_RATE24M] = DESC92C_RATE24M,
369 .maps[RTL_RC_OFDM_RATE36M] = DESC92C_RATE36M,
370 .maps[RTL_RC_OFDM_RATE48M] = DESC92C_RATE48M,
371 .maps[RTL_RC_OFDM_RATE54M] = DESC92C_RATE54M,
373 .maps[RTL_RC_HT_RATEMCS7] = DESC92C_RATEMCS7,
374 .maps[RTL_RC_HT_RATEMCS15] = DESC92C_RATEMCS15,
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
H A Dsw.c317 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL,
318 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN,
319 .maps[SYS_CLK] = SYS_CLKR,
320 .maps[MAC_RCR_AM] = RCR_AM,
321 .maps[MAC_RCR_AB] = RCR_AB,
322 .maps[MAC_RCR_ACRC32] = RCR_ACRC32,
323 .maps[MAC_RCR_ACF] = RCR_ACF,
324 .maps[MAC_RCR_AAP] = RCR_AAP,
325 .maps[MAC_HIMR] = INTA_MASK,
326 .maps[MAC_HIMRE] = INTA_MASK + 4,
328 .maps[EFUSE_TEST] = REG_EFUSE_TEST,
329 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
330 .maps[EFUSE_CLK] = REG_EFUSE_CLK,
331 .maps[EFUSE_CLK_CTRL] = REG_EFUSE_CTRL,
332 .maps[EFUSE_PWC_EV12V] = 0, /* nouse for 8192se */
333 .maps[EFUSE_FEN_ELDR] = 0, /* nouse for 8192se */
334 .maps[EFUSE_LOADER_CLK_EN] = 0,/* nouse for 8192se */
335 .maps[EFUSE_ANA8M] = EFUSE_ANA8M,
336 .maps[EFUSE_HWSET_MAX_SIZE] = HWSET_MAX_SIZE_92S,
337 .maps[EFUSE_MAX_SECTION_MAP] = EFUSE_MAX_SECTION,
338 .maps[EFUSE_REAL_CONTENT_SIZE] = EFUSE_REAL_CONTENT_LEN,
339 .maps[EFUSE_OOB_PROTECT_BYTES_LEN] = EFUSE_OOB_PROTECT_BYTES,
341 .maps[RWCAM] = REG_RWCAM,
342 .maps[WCAMI] = REG_WCAMI,
343 .maps[RCAMO] = REG_RCAMO,
344 .maps[CAMDBG] = REG_CAMDBG,
345 .maps[SECR] = REG_SECR,
346 .maps[SEC_CAM_NONE] = CAM_NONE,
347 .maps[SEC_CAM_WEP40] = CAM_WEP40,
348 .maps[SEC_CAM_TKIP] = CAM_TKIP,
349 .maps[SEC_CAM_AES] = CAM_AES,
350 .maps[SEC_CAM_WEP104] = CAM_WEP104,
352 .maps[RTL_IMR_BCNDMAINT6] = IMR_BCNDMAINT6,
353 .maps[RTL_IMR_BCNDMAINT5] = IMR_BCNDMAINT5,
354 .maps[RTL_IMR_BCNDMAINT4] = IMR_BCNDMAINT4,
355 .maps[RTL_IMR_BCNDMAINT3] = IMR_BCNDMAINT3,
356 .maps[RTL_IMR_BCNDMAINT2] = IMR_BCNDMAINT2,
357 .maps[RTL_IMR_BCNDMAINT1] = IMR_BCNDMAINT1,
358 .maps[RTL_IMR_BCNDOK8] = IMR_BCNDOK8,
359 .maps[RTL_IMR_BCNDOK7] = IMR_BCNDOK7,
360 .maps[RTL_IMR_BCNDOK6] = IMR_BCNDOK6,
361 .maps[RTL_IMR_BCNDOK5] = IMR_BCNDOK5,
362 .maps[RTL_IMR_BCNDOK4] = IMR_BCNDOK4,
363 .maps[RTL_IMR_BCNDOK3] = IMR_BCNDOK3,
364 .maps[RTL_IMR_BCNDOK2] = IMR_BCNDOK2,
365 .maps[RTL_IMR_BCNDOK1] = IMR_BCNDOK1,
366 .maps[RTL_IMR_TIMEOUT2] = IMR_TIMEOUT2,
367 .maps[RTL_IMR_TIMEOUT1] = IMR_TIMEOUT1,
369 .maps[RTL_IMR_TXFOVW] = IMR_TXFOVW,
370 .maps[RTL_IMR_PSTIMEOUT] = IMR_PSTIMEOUT,
371 .maps[RTL_IMR_BCNINT] = IMR_BCNINT,
372 .maps[RTL_IMR_RXFOVW] = IMR_RXFOVW,
373 .maps[RTL_IMR_RDU] = IMR_RDU,
374 .maps[RTL_IMR_ATIMEND] = IMR_ATIMEND,
375 .maps[RTL_IMR_BDOK] = IMR_BDOK,
376 .maps[RTL_IMR_MGNTDOK] = IMR_MGNTDOK,
377 .maps[RTL_IMR_TBDER] = IMR_TBDER,
378 .maps[RTL_IMR_HIGHDOK] = IMR_HIGHDOK,
379 .maps[RTL_IMR_COMDOK] = IMR_COMDOK,
380 .maps[RTL_IMR_TBDOK] = IMR_TBDOK,
381 .maps[RTL_IMR_BKDOK] = IMR_BKDOK,
382 .maps[RTL_IMR_BEDOK] = IMR_BEDOK,
383 .maps[RTL_IMR_VIDOK] = IMR_VIDOK,
384 .maps[RTL_IMR_VODOK] = IMR_VODOK,
385 .maps[RTL_IMR_ROK] = IMR_ROK,
386 .maps[RTL_IBSS_INT_MASKS] = (IMR_BCNINT | IMR_TBDOK | IMR_TBDER),
388 .maps[RTL_RC_CCK_RATE1M] = DESC_RATE1M,
389 .maps[RTL_RC_CCK_RATE2M] = DESC_RATE2M,
390 .maps[RTL_RC_CCK_RATE5_5M] = DESC_RATE5_5M,
391 .maps[RTL_RC_CCK_RATE11M] = DESC_RATE11M,
392 .maps[RTL_RC_OFDM_RATE6M] = DESC_RATE6M,
393 .maps[RTL_RC_OFDM_RATE9M] = DESC_RATE9M,
394 .maps[RTL_RC_OFDM_RATE12M] = DESC_RATE12M,
395 .maps[RTL_RC_OFDM_RATE18M] = DESC_RATE18M,
396 .maps[RTL_RC_OFDM_RATE24M] = DESC_RATE24M,
397 .maps[RTL_RC_OFDM_RATE36M] = DESC_RATE36M,
398 .maps[RTL_RC_OFDM_RATE48M] = DESC_RATE48M,
399 .maps[RTL_RC_OFDM_RATE54M] = DESC_RATE54M,
401 .maps[RTL_RC_HT_RATEMCS7] = DESC_RATEMCS7,
402 .maps[RTL_RC_HT_RATEMCS15] = DESC_RATEMCS15,
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
H A Dsw.c286 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL,
287 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN,
288 .maps[SYS_CLK] = REG_SYS_CLKR,
289 .maps[MAC_RCR_AM] = AM,
290 .maps[MAC_RCR_AB] = AB,
291 .maps[MAC_RCR_ACRC32] = ACRC32,
292 .maps[MAC_RCR_ACF] = ACF,
293 .maps[MAC_RCR_AAP] = AAP,
294 .maps[MAC_HIMR] = REG_HIMR,
295 .maps[MAC_HIMRE] = REG_HIMRE,
296 .maps[EFUSE_TEST] = REG_EFUSE_TEST,
297 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
298 .maps[EFUSE_CLK] = 0,
299 .maps[EFUSE_CLK_CTRL] = REG_EFUSE_CTRL,
300 .maps[EFUSE_PWC_EV12V] = PWC_EV12V,
301 .maps[EFUSE_FEN_ELDR] = FEN_ELDR,
302 .maps[EFUSE_LOADER_CLK_EN] = LOADER_CLK_EN,
303 .maps[EFUSE_ANA8M] = ANA8M,
304 .maps[EFUSE_HWSET_MAX_SIZE] = HWSET_MAX_SIZE,
305 .maps[EFUSE_MAX_SECTION_MAP] = EFUSE_MAX_SECTION,
306 .maps[EFUSE_REAL_CONTENT_SIZE] = EFUSE_REAL_CONTENT_LEN,
307 .maps[EFUSE_OOB_PROTECT_BYTES_LEN] = EFUSE_OOB_PROTECT_BYTES,
309 .maps[RWCAM] = REG_CAMCMD,
310 .maps[WCAMI] = REG_CAMWRITE,
311 .maps[RCAMO] = REG_CAMREAD,
312 .maps[CAMDBG] = REG_CAMDBG,
313 .maps[SECR] = REG_SECCFG,
314 .maps[SEC_CAM_NONE] = CAM_NONE,
315 .maps[SEC_CAM_WEP40] = CAM_WEP40,
316 .maps[SEC_CAM_TKIP] = CAM_TKIP,
317 .maps[SEC_CAM_AES] = CAM_AES,
318 .maps[SEC_CAM_WEP104] = CAM_WEP104,
320 .maps[RTL_IMR_BCNDMAINT6] = IMR_BCNDMAINT6,
321 .maps[RTL_IMR_BCNDMAINT5] = IMR_BCNDMAINT5,
322 .maps[RTL_IMR_BCNDMAINT4] = IMR_BCNDMAINT4,
323 .maps[RTL_IMR_BCNDMAINT3] = IMR_BCNDMAINT3,
324 .maps[RTL_IMR_BCNDMAINT2] = IMR_BCNDMAINT2,
325 .maps[RTL_IMR_BCNDMAINT1] = IMR_BCNDMAINT1,
326 .maps[RTL_IMR_BCNDOK8] = IMR_BCNDOK8,
327 .maps[RTL_IMR_BCNDOK7] = IMR_BCNDOK7,
328 .maps[RTL_IMR_BCNDOK6] = IMR_BCNDOK6,
329 .maps[RTL_IMR_BCNDOK5] = IMR_BCNDOK5,
330 .maps[RTL_IMR_BCNDOK4] = IMR_BCNDOK4,
331 .maps[RTL_IMR_BCNDOK3] = IMR_BCNDOK3,
332 .maps[RTL_IMR_BCNDOK2] = IMR_BCNDOK2,
333 .maps[RTL_IMR_BCNDOK1] = IMR_BCNDOK1,
334 .maps[RTL_IMR_TIMEOUT2] = IMR_TIMEOUT2,
335 .maps[RTL_IMR_TIMEOUT1] = IMR_TIMEOUT1,
337 .maps[RTL_IMR_TXFOVW] = PHIMR_TXFOVW,
338 .maps[RTL_IMR_PSTIMEOUT] = PHIMR_PSTIMEOUT,
339 .maps[RTL_IMR_BCNINT] = PHIMR_BCNDMAINT0,
340 .maps[RTL_IMR_RXFOVW] = PHIMR_RXFOVW,
341 .maps[RTL_IMR_RDU] = PHIMR_RDU,
342 .maps[RTL_IMR_ATIMEND] = PHIMR_ATIMEND_E,
343 .maps[RTL_IMR_BDOK] = PHIMR_BCNDOK0,
344 .maps[RTL_IMR_MGNTDOK] = PHIMR_MGNTDOK,
345 .maps[RTL_IMR_TBDER] = PHIMR_TXBCNERR,
346 .maps[RTL_IMR_HIGHDOK] = PHIMR_HIGHDOK,
347 .maps[RTL_IMR_TBDOK] = PHIMR_TXBCNOK,
348 .maps[RTL_IMR_BKDOK] = PHIMR_BKDOK,
349 .maps[RTL_IMR_BEDOK] = PHIMR_BEDOK,
350 .maps[RTL_IMR_VIDOK] = PHIMR_VIDOK,
351 .maps[RTL_IMR_VODOK] = PHIMR_VODOK,
352 .maps[RTL_IMR_ROK] = PHIMR_ROK,
353 .maps[RTL_IBSS_INT_MASKS] =
355 .maps[RTL_IMR_C2HCMD] = PHIMR_C2HCMD,
358 .maps[RTL_RC_CCK_RATE1M] = DESC92C_RATE1M,
359 .maps[RTL_RC_CCK_RATE2M] = DESC92C_RATE2M,
360 .maps[RTL_RC_CCK_RATE5_5M] = DESC92C_RATE5_5M,
361 .maps[RTL_RC_CCK_RATE11M] = DESC92C_RATE11M,
362 .maps[RTL_RC_OFDM_RATE6M] = DESC92C_RATE6M,
363 .maps[RTL_RC_OFDM_RATE9M] = DESC92C_RATE9M,
364 .maps[RTL_RC_OFDM_RATE12M] = DESC92C_RATE12M,
365 .maps[RTL_RC_OFDM_RATE18M] = DESC92C_RATE18M,
366 .maps[RTL_RC_OFDM_RATE24M] = DESC92C_RATE24M,
367 .maps[RTL_RC_OFDM_RATE36M] = DESC92C_RATE36M,
368 .maps[RTL_RC_OFDM_RATE48M] = DESC92C_RATE48M,
369 .maps[RTL_RC_OFDM_RATE54M] = DESC92C_RATE54M,
371 .maps[RTL_RC_HT_RATEMCS7] = DESC92C_RATEMCS7,
372 .maps[RTL_RC_HT_RATEMCS15] = DESC92C_RATEMCS15,
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
H A Dsw.c269 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL,
270 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN,
271 .maps[SYS_CLK] = REG_SYS_CLKR,
272 .maps[MAC_RCR_AM] = AM,
273 .maps[MAC_RCR_AB] = AB,
274 .maps[MAC_RCR_ACRC32] = ACRC32,
275 .maps[MAC_RCR_ACF] = ACF,
276 .maps[MAC_RCR_AAP] = AAP,
277 .maps[MAC_HIMR] = REG_HIMR,
278 .maps[MAC_HIMRE] = REG_HIMRE,
280 .maps[EFUSE_TEST] = REG_EFUSE_TEST,
281 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
282 .maps[EFUSE_CLK] = 0,
283 .maps[EFUSE_CLK_CTRL] = REG_EFUSE_CTRL,
284 .maps[EFUSE_PWC_EV12V] = PWC_EV12V,
285 .maps[EFUSE_FEN_ELDR] = FEN_ELDR,
286 .maps[EFUSE_LOADER_CLK_EN] = LOADER_CLK_EN,
287 .maps[EFUSE_ANA8M] = EFUSE_ANA8M,
288 .maps[EFUSE_HWSET_MAX_SIZE] = HWSET_MAX_SIZE,
289 .maps[EFUSE_MAX_SECTION_MAP] = EFUSE_MAX_SECTION,
290 .maps[EFUSE_REAL_CONTENT_SIZE] = EFUSE_REAL_CONTENT_LEN,
291 .maps[EFUSE_OOB_PROTECT_BYTES_LEN] = EFUSE_OOB_PROTECT_BYTES,
293 .maps[RWCAM] = REG_CAMCMD,
294 .maps[WCAMI] = REG_CAMWRITE,
295 .maps[RCAMO] = REG_CAMREAD,
296 .maps[CAMDBG] = REG_CAMDBG,
297 .maps[SECR] = REG_SECCFG,
298 .maps[SEC_CAM_NONE] = CAM_NONE,
299 .maps[SEC_CAM_WEP40] = CAM_WEP40,
300 .maps[SEC_CAM_TKIP] = CAM_TKIP,
301 .maps[SEC_CAM_AES] = CAM_AES,
302 .maps[SEC_CAM_WEP104] = CAM_WEP104,
304 .maps[RTL_IMR_BCNDMAINT6] = IMR_BCNDMAINT6,
305 .maps[RTL_IMR_BCNDMAINT5] = IMR_BCNDMAINT5,
306 .maps[RTL_IMR_BCNDMAINT4] = IMR_BCNDMAINT4,
307 .maps[RTL_IMR_BCNDMAINT3] = IMR_BCNDMAINT3,
308 .maps[RTL_IMR_BCNDMAINT2] = IMR_BCNDMAINT2,
309 .maps[RTL_IMR_BCNDMAINT1] = IMR_BCNDMAINT1,
310 .maps[RTL_IMR_BCNDOK8] = IMR_BCNDOK8,
311 .maps[RTL_IMR_BCNDOK7] = IMR_BCNDOK7,
312 .maps[RTL_IMR_BCNDOK6] = IMR_BCNDOK6,
313 .maps[RTL_IMR_BCNDOK5] = IMR_BCNDOK5,
314 .maps[RTL_IMR_BCNDOK4] = IMR_BCNDOK4,
315 .maps[RTL_IMR_BCNDOK3] = IMR_BCNDOK3,
316 .maps[RTL_IMR_BCNDOK2] = IMR_BCNDOK2,
317 .maps[RTL_IMR_BCNDOK1] = IMR_BCNDOK1,
318 .maps[RTL_IMR_TIMEOUT2] = IMR_TIMEOUT2,
319 .maps[RTL_IMR_TIMEOUT1] = IMR_TIMEOUT1,
321 .maps[RTL_IMR_TXFOVW] = IMR_TXFOVW,
322 .maps[RTL_IMR_PSTIMEOUT] = IMR_PSTIMEOUT,
323 .maps[RTL_IMR_BCNINT] = IMR_BCNINT,
324 .maps[RTL_IMR_RXFOVW] = IMR_RXFOVW,
325 .maps[RTL_IMR_RDU] = IMR_RDU,
326 .maps[RTL_IMR_ATIMEND] = IMR_ATIMEND,
327 .maps[RTL_IMR_BDOK] = IMR_BDOK,
328 .maps[RTL_IMR_MGNTDOK] = IMR_MGNTDOK,
329 .maps[RTL_IMR_TBDER] = IMR_TBDER,
330 .maps[RTL_IMR_HIGHDOK] = IMR_HIGHDOK,
331 .maps[RTL_IMR_TBDOK] = IMR_TBDOK,
332 .maps[RTL_IMR_BKDOK] = IMR_BKDOK,
333 .maps[RTL_IMR_BEDOK] = IMR_BEDOK,
334 .maps[RTL_IMR_VIDOK] = IMR_VIDOK,
335 .maps[RTL_IMR_VODOK] = IMR_VODOK,
336 .maps[RTL_IMR_ROK] = IMR_ROK,
337 .maps[RTL_IBSS_INT_MASKS] = (IMR_BCNINT | IMR_TBDOK | IMR_TBDER),
339 .maps[RTL_RC_CCK_RATE1M] = DESC_RATE1M,
340 .maps[RTL_RC_CCK_RATE2M] = DESC_RATE2M,
341 .maps[RTL_RC_CCK_RATE5_5M] = DESC_RATE5_5M,
342 .maps[RTL_RC_CCK_RATE11M] = DESC_RATE11M,
343 .maps[RTL_RC_OFDM_RATE6M] = DESC_RATE6M,
344 .maps[RTL_RC_OFDM_RATE9M] = DESC_RATE9M,
345 .maps[RTL_RC_OFDM_RATE12M] = DESC_RATE12M,
346 .maps[RTL_RC_OFDM_RATE18M] = DESC_RATE18M,
347 .maps[RTL_RC_OFDM_RATE24M] = DESC_RATE24M,
348 .maps[RTL_RC_OFDM_RATE36M] = DESC_RATE36M,
349 .maps[RTL_RC_OFDM_RATE48M] = DESC_RATE48M,
350 .maps[RTL_RC_OFDM_RATE54M] = DESC_RATE54M,
352 .maps[RTL_RC_HT_RATEMCS7] = DESC_RATEMCS7,
353 .maps[RTL_RC_HT_RATEMCS15] = DESC_RATEMCS15,
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
H A Dsw.c273 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL,
274 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN,
275 .maps[SYS_CLK] = REG_SYS_CLKR,
276 .maps[MAC_RCR_AM] = AM,
277 .maps[MAC_RCR_AB] = AB,
278 .maps[MAC_RCR_ACRC32] = ACRC32,
279 .maps[MAC_RCR_ACF] = ACF,
280 .maps[MAC_RCR_AAP] = AAP,
281 .maps[MAC_HIMR] = REG_HIMR,
282 .maps[MAC_HIMRE] = REG_HIMRE,
284 .maps[EFUSE_ACCESS] = REG_EFUSE_ACCESS,
286 .maps[EFUSE_TEST] = REG_EFUSE_TEST,
287 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
288 .maps[EFUSE_CLK] = 0,
289 .maps[EFUSE_CLK_CTRL] = REG_EFUSE_CTRL,
290 .maps[EFUSE_PWC_EV12V] = PWC_EV12V,
291 .maps[EFUSE_FEN_ELDR] = FEN_ELDR,
292 .maps[EFUSE_LOADER_CLK_EN] = LOADER_CLK_EN,
293 .maps[EFUSE_ANA8M] = ANA8M,
294 .maps[EFUSE_HWSET_MAX_SIZE] = HWSET_MAX_SIZE,
295 .maps[EFUSE_MAX_SECTION_MAP] = EFUSE_MAX_SECTION,
296 .maps[EFUSE_REAL_CONTENT_SIZE] = EFUSE_REAL_CONTENT_LEN,
297 .maps[EFUSE_OOB_PROTECT_BYTES_LEN] = EFUSE_OOB_PROTECT_BYTES,
299 .maps[RWCAM] = REG_CAMCMD,
300 .maps[WCAMI] = REG_CAMWRITE,
301 .maps[RCAMO] = REG_CAMREAD,
302 .maps[CAMDBG] = REG_CAMDBG,
303 .maps[SECR] = REG_SECCFG,
304 .maps[SEC_CAM_NONE] = CAM_NONE,
305 .maps[SEC_CAM_WEP40] = CAM_WEP40,
306 .maps[SEC_CAM_TKIP] = CAM_TKIP,
307 .maps[SEC_CAM_AES] = CAM_AES,
308 .maps[SEC_CAM_WEP104] = CAM_WEP104,
310 .maps[RTL_IMR_BCNDMAINT6] = IMR_BCNDMAINT6,
311 .maps[RTL_IMR_BCNDMAINT5] = IMR_BCNDMAINT5,
312 .maps[RTL_IMR_BCNDMAINT4] = IMR_BCNDMAINT4,
313 .maps[RTL_IMR_BCNDMAINT3] = IMR_BCNDMAINT3,
314 .maps[RTL_IMR_BCNDMAINT2] = IMR_BCNDMAINT2,
315 .maps[RTL_IMR_BCNDMAINT1] = IMR_BCNDMAINT1,
316 .maps[RTL_IMR_BCNDOK7] = IMR_BCNDOK7,
317 .maps[RTL_IMR_BCNDOK6] = IMR_BCNDOK6,
318 .maps[RTL_IMR_BCNDOK5] = IMR_BCNDOK5,
319 .maps[RTL_IMR_BCNDOK4] = IMR_BCNDOK4,
320 .maps[RTL_IMR_BCNDOK3] = IMR_BCNDOK3,
321 .maps[RTL_IMR_BCNDOK2] = IMR_BCNDOK2,
322 .maps[RTL_IMR_BCNDOK1] = IMR_BCNDOK1,
324 .maps[RTL_IMR_TXFOVW] = IMR_TXFOVW,
325 .maps[RTL_IMR_PSTIMEOUT] = IMR_PSTIMEOUT,
326 .maps[RTL_IMR_BCNINT] = IMR_BCNDMAINT0,
327 .maps[RTL_IMR_RXFOVW] = IMR_RXFOVW,
328 .maps[RTL_IMR_RDU] = IMR_RDU,
329 .maps[RTL_IMR_ATIMEND] = IMR_ATIMEND,
330 .maps[RTL_IMR_BDOK] = IMR_BCNDOK0,
331 .maps[RTL_IMR_MGNTDOK] = IMR_MGNTDOK,
332 .maps[RTL_IMR_TBDER] = IMR_TBDER,
333 .maps[RTL_IMR_HIGHDOK] = IMR_HIGHDOK,
334 .maps[RTL_IMR_TBDOK] = IMR_TBDOK,
335 .maps[RTL_IMR_BKDOK] = IMR_BKDOK,
336 .maps[RTL_IMR_BEDOK] = IMR_BEDOK,
337 .maps[RTL_IMR_VIDOK] = IMR_VIDOK,
338 .maps[RTL_IMR_VODOK] = IMR_VODOK,
339 .maps[RTL_IMR_ROK] = IMR_ROK,
340 .maps[RTL_IBSS_INT_MASKS] = (IMR_BCNDMAINT0 | IMR_TBDOK | IMR_TBDER),
342 .maps[RTL_RC_CCK_RATE1M] = DESC92C_RATE1M,
343 .maps[RTL_RC_CCK_RATE2M] = DESC92C_RATE2M,
344 .maps[RTL_RC_CCK_RATE5_5M] = DESC92C_RATE5_5M,
345 .maps[RTL_RC_CCK_RATE11M] = DESC92C_RATE11M,
346 .maps[RTL_RC_OFDM_RATE6M] = DESC92C_RATE6M,
347 .maps[RTL_RC_OFDM_RATE9M] = DESC92C_RATE9M,
348 .maps[RTL_RC_OFDM_RATE12M] = DESC92C_RATE12M,
349 .maps[RTL_RC_OFDM_RATE18M] = DESC92C_RATE18M,
350 .maps[RTL_RC_OFDM_RATE24M] = DESC92C_RATE24M,
351 .maps[RTL_RC_OFDM_RATE36M] = DESC92C_RATE36M,
352 .maps[RTL_RC_OFDM_RATE48M] = DESC92C_RATE48M,
353 .maps[RTL_RC_OFDM_RATE54M] = DESC92C_RATE54M,
355 .maps[RTL_RC_HT_RATEMCS7] = DESC92C_RATEMCS7,
356 .maps[RTL_RC_HT_RATEMCS15] = DESC92C_RATEMCS15,
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
H A Dsw.c195 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL,
196 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN,
197 .maps[SYS_CLK] = REG_SYS_CLKR,
198 .maps[MAC_RCR_AM] = AM,
199 .maps[MAC_RCR_AB] = AB,
200 .maps[MAC_RCR_ACRC32] = ACRC32,
201 .maps[MAC_RCR_ACF] = ACF,
202 .maps[MAC_RCR_AAP] = AAP,
204 .maps[EFUSE_TEST] = REG_EFUSE_TEST,
205 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
206 .maps[EFUSE_CLK] = 0,
207 .maps[EFUSE_CLK_CTRL] = REG_EFUSE_CTRL,
208 .maps[EFUSE_PWC_EV12V] = PWC_EV12V,
209 .maps[EFUSE_FEN_ELDR] = FEN_ELDR,
210 .maps[EFUSE_LOADER_CLK_EN] = LOADER_CLK_EN,
211 .maps[EFUSE_ANA8M] = EFUSE_ANA8M,
212 .maps[EFUSE_HWSET_MAX_SIZE] = HWSET_MAX_SIZE,
213 .maps[EFUSE_MAX_SECTION_MAP] = EFUSE_MAX_SECTION,
214 .maps[EFUSE_REAL_CONTENT_SIZE] = EFUSE_REAL_CONTENT_LEN,
216 .maps[RWCAM] = REG_CAMCMD,
217 .maps[WCAMI] = REG_CAMWRITE,
218 .maps[RCAMO] = REG_CAMREAD,
219 .maps[CAMDBG] = REG_CAMDBG,
220 .maps[SECR] = REG_SECCFG,
221 .maps[SEC_CAM_NONE] = CAM_NONE,
222 .maps[SEC_CAM_WEP40] = CAM_WEP40,
223 .maps[SEC_CAM_TKIP] = CAM_TKIP,
224 .maps[SEC_CAM_AES] = CAM_AES,
225 .maps[SEC_CAM_WEP104] = CAM_WEP104,
227 .maps[RTL_IMR_BCNDMAINT6] = IMR_BCNDMAINT6,
228 .maps[RTL_IMR_BCNDMAINT5] = IMR_BCNDMAINT5,
229 .maps[RTL_IMR_BCNDMAINT4] = IMR_BCNDMAINT4,
230 .maps[RTL_IMR_BCNDMAINT3] = IMR_BCNDMAINT3,
231 .maps[RTL_IMR_BCNDMAINT2] = IMR_BCNDMAINT2,
232 .maps[RTL_IMR_BCNDMAINT1] = IMR_BCNDMAINT1,
233 .maps[RTL_IMR_BCNDOK8] = IMR_BCNDOK8,
234 .maps[RTL_IMR_BCNDOK7] = IMR_BCNDOK7,
235 .maps[RTL_IMR_BCNDOK6] = IMR_BCNDOK6,
236 .maps[RTL_IMR_BCNDOK5] = IMR_BCNDOK5,
237 .maps[RTL_IMR_BCNDOK4] = IMR_BCNDOK4,
238 .maps[RTL_IMR_BCNDOK3] = IMR_BCNDOK3,
239 .maps[RTL_IMR_BCNDOK2] = IMR_BCNDOK2,
240 .maps[RTL_IMR_BCNDOK1] = IMR_BCNDOK1,
241 .maps[RTL_IMR_TIMEOUT2] = IMR_TIMEOUT2,
242 .maps[RTL_IMR_TIMEOUT1] = IMR_TIMEOUT1,
244 .maps[RTL_IMR_TXFOVW] = IMR_TXFOVW,
245 .maps[RTL_IMR_PSTIMEOUT] = IMR_PSTIMEOUT,
246 .maps[RTL_IMR_BCNINT] = IMR_BCNINT,
247 .maps[RTL_IMR_RXFOVW] = IMR_RXFOVW,
248 .maps[RTL_IMR_RDU] = IMR_RDU,
249 .maps[RTL_IMR_ATIMEND] = IMR_ATIMEND,
250 .maps[RTL_IMR_BDOK] = IMR_BDOK,
251 .maps[RTL_IMR_MGNTDOK] = IMR_MGNTDOK,
252 .maps[RTL_IMR_TBDER] = IMR_TBDER,
253 .maps[RTL_IMR_HIGHDOK] = IMR_HIGHDOK,
254 .maps[RTL_IMR_TBDOK] = IMR_TBDOK,
255 .maps[RTL_IMR_BKDOK] = IMR_BKDOK,
256 .maps[RTL_IMR_BEDOK] = IMR_BEDOK,
257 .maps[RTL_IMR_VIDOK] = IMR_VIDOK,
258 .maps[RTL_IMR_VODOK] = IMR_VODOK,
259 .maps[RTL_IMR_ROK] = IMR_ROK,
260 .maps[RTL_IBSS_INT_MASKS] = (IMR_BCNINT | IMR_TBDOK | IMR_TBDER),
262 .maps[RTL_RC_CCK_RATE1M] = DESC_RATE1M,
263 .maps[RTL_RC_CCK_RATE2M] = DESC_RATE2M,
264 .maps[RTL_RC_CCK_RATE5_5M] = DESC_RATE5_5M,
265 .maps[RTL_RC_CCK_RATE11M] = DESC_RATE11M,
266 .maps[RTL_RC_OFDM_RATE6M] = DESC_RATE6M,
267 .maps[RTL_RC_OFDM_RATE9M] = DESC_RATE9M,
268 .maps[RTL_RC_OFDM_RATE12M] = DESC_RATE12M,
269 .maps[RTL_RC_OFDM_RATE18M] = DESC_RATE18M,
270 .maps[RTL_RC_OFDM_RATE24M] = DESC_RATE24M,
271 .maps[RTL_RC_OFDM_RATE36M] = DESC_RATE36M,
272 .maps[RTL_RC_OFDM_RATE48M] = DESC_RATE48M,
273 .maps[RTL_RC_OFDM_RATE54M] = DESC_RATE54M,
274 .maps[RTL_RC_HT_RATEMCS7] = DESC_RATEMCS7,
275 .maps[RTL_RC_HT_RATEMCS15] = DESC_RATEMCS15,
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
H A Dsw.c273 .maps[SYS_ISO_CTRL] = REG_SYS_ISO_CTRL,
274 .maps[SYS_FUNC_EN] = REG_SYS_FUNC_EN,
275 .maps[SYS_CLK] = REG_SYS_CLKR,
276 .maps[MAC_RCR_AM] = RCR_AM,
277 .maps[MAC_RCR_AB] = RCR_AB,
278 .maps[MAC_RCR_ACRC32] = RCR_ACRC32,
279 .maps[MAC_RCR_ACF] = RCR_ACF,
280 .maps[MAC_RCR_AAP] = RCR_AAP,
282 .maps[EFUSE_TEST] = REG_EFUSE_TEST,
283 .maps[EFUSE_CTRL] = REG_EFUSE_CTRL,
284 .maps[EFUSE_CLK] = 0, /* just for 92se */
285 .maps[EFUSE_CLK_CTRL] = REG_EFUSE_CTRL,
286 .maps[EFUSE_PWC_EV12V] = PWC_EV12V,
287 .maps[EFUSE_FEN_ELDR] = FEN_ELDR,
288 .maps[EFUSE_LOADER_CLK_EN] = LOADER_CLK_EN,
289 .maps[EFUSE_ANA8M] = 0, /* just for 92se */
290 .maps[EFUSE_HWSET_MAX_SIZE] = HWSET_MAX_SIZE,
291 .maps[EFUSE_MAX_SECTION_MAP] = EFUSE_MAX_SECTION,
292 .maps[EFUSE_REAL_CONTENT_SIZE] = EFUSE_REAL_CONTENT_LEN,
294 .maps[RWCAM] = REG_CAMCMD,
295 .maps[WCAMI] = REG_CAMWRITE,
296 .maps[RCAMO] = REG_CAMREAD,
297 .maps[CAMDBG] = REG_CAMDBG,
298 .maps[SECR] = REG_SECCFG,
299 .maps[SEC_CAM_NONE] = CAM_NONE,
300 .maps[SEC_CAM_WEP40] = CAM_WEP40,
301 .maps[SEC_CAM_TKIP] = CAM_TKIP,
302 .maps[SEC_CAM_AES] = CAM_AES,
303 .maps[SEC_CAM_WEP104] = CAM_WEP104,
305 .maps[RTL_IMR_BCNDMAINT6] = IMR_BCNDMAINT6,
306 .maps[RTL_IMR_BCNDMAINT5] = IMR_BCNDMAINT5,
307 .maps[RTL_IMR_BCNDMAINT4] = IMR_BCNDMAINT4,
308 .maps[RTL_IMR_BCNDMAINT3] = IMR_BCNDMAINT3,
309 .maps[RTL_IMR_BCNDMAINT2] = IMR_BCNDMAINT2,
310 .maps[RTL_IMR_BCNDMAINT1] = IMR_BCNDMAINT1,
311 .maps[RTL_IMR_BCNDOK8] = IMR_BCNDOK8,
312 .maps[RTL_IMR_BCNDOK7] = IMR_BCNDOK7,
313 .maps[RTL_IMR_BCNDOK6] = IMR_BCNDOK6,
314 .maps[RTL_IMR_BCNDOK5] = IMR_BCNDOK5,
315 .maps[RTL_IMR_BCNDOK4] = IMR_BCNDOK4,
316 .maps[RTL_IMR_BCNDOK3] = IMR_BCNDOK3,
317 .maps[RTL_IMR_BCNDOK2] = IMR_BCNDOK2,
318 .maps[RTL_IMR_BCNDOK1] = IMR_BCNDOK1,
319 .maps[RTL_IMR_TIMEOUT2] = IMR_TIMEOUT2,
320 .maps[RTL_IMR_TIMEOUT1] = IMR_TIMEOUT1,
322 .maps[RTL_IMR_TXFOVW] = IMR_TXFOVW,
323 .maps[RTL_IMR_PSTIMEOUT] = IMR_PSTIMEOUT,
324 .maps[RTL_IMR_BCNINT] = IMR_BCNINT,
325 .maps[RTL_IMR_RXFOVW] = IMR_RXFOVW,
326 .maps[RTL_IMR_RDU] = IMR_RDU,
327 .maps[RTL_IMR_ATIMEND] = IMR_ATIMEND,
328 .maps[RTL_IMR_BDOK] = IMR_BDOK,
329 .maps[RTL_IMR_MGNTDOK] = IMR_MGNTDOK,
330 .maps[RTL_IMR_TBDER] = IMR_TBDER,
331 .maps[RTL_IMR_HIGHDOK] = IMR_HIGHDOK,
332 .maps[RTL_IMR_TBDOK] = IMR_TBDOK,
333 .maps[RTL_IMR_BKDOK] = IMR_BKDOK,
334 .maps[RTL_IMR_BEDOK] = IMR_BEDOK,
335 .maps[RTL_IMR_VIDOK] = IMR_VIDOK,
336 .maps[RTL_IMR_VODOK] = IMR_VODOK,
337 .maps[RTL_IMR_ROK] = IMR_ROK,
338 .maps[RTL_IBSS_INT_MASKS] = (IMR_BCNINT | IMR_TBDOK | IMR_TBDER),
340 .maps[RTL_RC_CCK_RATE1M] = DESC_RATE1M,
341 .maps[RTL_RC_CCK_RATE2M] = DESC_RATE2M,
342 .maps[RTL_RC_CCK_RATE5_5M] = DESC_RATE5_5M,
343 .maps[RTL_RC_CCK_RATE11M] = DESC_RATE11M,
344 .maps[RTL_RC_OFDM_RATE6M] = DESC_RATE6M,
345 .maps[RTL_RC_OFDM_RATE9M] = DESC_RATE9M,
346 .maps[RTL_RC_OFDM_RATE12M] = DESC_RATE12M,
347 .maps[RTL_RC_OFDM_RATE18M] = DESC_RATE18M,
348 .maps[RTL_RC_OFDM_RATE24M] = DESC_RATE24M,
349 .maps[RTL_RC_OFDM_RATE36M] = DESC_RATE36M,
350 .maps[RTL_RC_OFDM_RATE48M] = DESC_RATE48M,
351 .maps[RTL_RC_OFDM_RATE54M] = DESC_RATE54M,
353 .maps[RTL_RC_HT_RATEMCS7] = DESC_RATEMCS7,
354 .maps[RTL_RC_HT_RATEMCS15] = DESC_RATEMCS15,
/linux-4.4.14/arch/s390/oprofile/
H A Dop_counter.h12 /* `enabled' maps to the hwsampler_file variable. */
13 /* `count' maps to the oprofile_hw_interval variable. */
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/
H A Dcam.c61 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[WCAMI], rtl_cam_program_entry()
63 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[RWCAM], rtl_cam_program_entry()
68 rtlpriv->cfg->maps[WCAMI], target_content); rtl_cam_program_entry()
73 rtlpriv->cfg->maps[RWCAM], target_command); rtl_cam_program_entry()
82 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[WCAMI], rtl_cam_program_entry()
84 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[RWCAM], rtl_cam_program_entry()
101 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[WCAMI], rtl_cam_program_entry()
103 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[RWCAM], rtl_cam_program_entry()
162 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[WCAMI], 0); rtl_cam_delete_one_entry()
163 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[RWCAM], ul_command); rtl_cam_delete_one_entry()
181 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[RWCAM], ul_command); rtl_cam_reset_all_entry()
191 u32 ul_enc_algo = rtlpriv->cfg->maps[SEC_CAM_AES]; rtl_cam_mark_invalid()
195 ul_enc_algo = rtlpriv->cfg->maps[SEC_CAM_WEP40]; rtl_cam_mark_invalid()
198 ul_enc_algo = rtlpriv->cfg->maps[SEC_CAM_WEP104]; rtl_cam_mark_invalid()
201 ul_enc_algo = rtlpriv->cfg->maps[SEC_CAM_TKIP]; rtl_cam_mark_invalid()
204 ul_enc_algo = rtlpriv->cfg->maps[SEC_CAM_AES]; rtl_cam_mark_invalid()
207 ul_enc_algo = rtlpriv->cfg->maps[SEC_CAM_AES]; rtl_cam_mark_invalid()
216 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[WCAMI], ul_content); rtl_cam_mark_invalid()
217 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[RWCAM], ul_command); rtl_cam_mark_invalid()
232 u32 ul_encalgo = rtlpriv->cfg->maps[SEC_CAM_AES]; rtl_cam_empty_entry()
237 ul_encalgo = rtlpriv->cfg->maps[SEC_CAM_WEP40]; rtl_cam_empty_entry()
240 ul_encalgo = rtlpriv->cfg->maps[SEC_CAM_WEP104]; rtl_cam_empty_entry()
243 ul_encalgo = rtlpriv->cfg->maps[SEC_CAM_TKIP]; rtl_cam_empty_entry()
246 ul_encalgo = rtlpriv->cfg->maps[SEC_CAM_AES]; rtl_cam_empty_entry()
249 ul_encalgo = rtlpriv->cfg->maps[SEC_CAM_AES]; rtl_cam_empty_entry()
266 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[WCAMI], ul_content); rtl_cam_empty_entry()
267 rtl_write_dword(rtlpriv, rtlpriv->cfg->maps[RWCAM], ul_command); rtl_cam_empty_entry()
H A Defuse.c83 bytetemp = rtl_read_byte(rtlpriv, rtlpriv->cfg->maps[SYS_FUNC_EN] + 1); efuse_initialize()
85 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[SYS_FUNC_EN] + 1, temp); efuse_initialize()
87 bytetemp = rtl_read_byte(rtlpriv, rtlpriv->cfg->maps[SYS_ISO_CTRL] + 1); efuse_initialize()
89 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[SYS_ISO_CTRL] + 1, temp); efuse_initialize()
91 bytetemp = rtl_read_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_TEST] + 3); efuse_initialize()
93 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_TEST] + 3, temp); efuse_initialize()
97 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 3, 0x72); efuse_initialize()
109 rtlpriv->cfg->maps[EFUSE_REAL_CONTENT_SIZE]; efuse_read_1byte()
113 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 1, efuse_read_1byte()
116 rtlpriv->cfg->maps[EFUSE_CTRL] + 2); efuse_read_1byte()
118 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 2, efuse_read_1byte()
122 rtlpriv->cfg->maps[EFUSE_CTRL] + 3); efuse_read_1byte()
124 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 3, efuse_read_1byte()
128 rtlpriv->cfg->maps[EFUSE_CTRL] + 3); efuse_read_1byte()
132 maps[EFUSE_CTRL] + 3); efuse_read_1byte()
139 data = rtl_read_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL]); efuse_read_1byte()
154 rtlpriv->cfg->maps[EFUSE_REAL_CONTENT_SIZE]; efuse_write_1byte()
160 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL], value); efuse_write_1byte()
163 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 1, efuse_write_1byte()
166 rtlpriv->cfg->maps[EFUSE_CTRL] + 2); efuse_write_1byte()
170 rtlpriv->cfg->maps[EFUSE_CTRL] + 2, temp); efuse_write_1byte()
173 rtlpriv->cfg->maps[EFUSE_CTRL] + 3); efuse_write_1byte()
176 rtlpriv->cfg->maps[EFUSE_CTRL] + 3, temp); efuse_write_1byte()
179 rtlpriv->cfg->maps[EFUSE_CTRL] + 3); efuse_write_1byte()
184 maps[EFUSE_CTRL] + 3); efuse_write_1byte()
202 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 1, read_efuse_byte()
204 readbyte = rtl_read_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 2); read_efuse_byte()
205 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 2, read_efuse_byte()
208 readbyte = rtl_read_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 3); read_efuse_byte()
209 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 3, read_efuse_byte()
213 value32 = rtl_read_dword(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL]); read_efuse_byte()
216 rtlpriv->cfg->maps[EFUSE_CTRL]); read_efuse_byte()
221 value32 = rtl_read_dword(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL]); read_efuse_byte()
239 rtlpriv->cfg->maps[EFUSE_MAX_SECTION_MAP]; read_efuse()
241 rtlpriv->cfg->maps[EFUSE_REAL_CONTENT_SIZE]; read_efuse()
246 if ((_offset + _size_byte) > rtlpriv->cfg->maps[EFUSE_HWSET_MAX_SIZE]) { read_efuse()
254 efuse_tbl = kzalloc(rtlpriv->cfg->maps[EFUSE_HWSET_MAX_SIZE] * read_efuse()
409 (EFUSE_MAX_SIZE - rtlpriv->cfg->maps[EFUSE_OOB_PROTECT_BYTES_LEN])) efuse_shadow_update_chk()
458 rtlpriv->cfg->maps[EFUSE_HWSET_MAX_SIZE]); efuse_shadow_update()
512 rtlpriv->cfg->maps[EFUSE_HWSET_MAX_SIZE]); efuse_shadow_update()
525 0xFF, rtlpriv->cfg->maps[EFUSE_HWSET_MAX_SIZE]); rtl_efuse_shadow_map_update()
531 rtlpriv->cfg->maps[EFUSE_HWSET_MAX_SIZE]); rtl_efuse_shadow_map_update()
620 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 1, efuse_one_byte_read()
622 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 2, efuse_one_byte_read()
625 rtlpriv->cfg->maps[EFUSE_CTRL] + 2) & efuse_one_byte_read()
628 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 3, 0x72); efuse_one_byte_read()
631 rtlpriv->cfg->maps[EFUSE_CTRL] + 3)) efuse_one_byte_read()
637 *data = rtl_read_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL]); efuse_one_byte_read()
656 rtlpriv->cfg->maps[EFUSE_CTRL] + 1, (u8) (addr & 0xff)); efuse_one_byte_write()
657 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 2, efuse_one_byte_write()
659 rtlpriv->cfg->maps[EFUSE_CTRL] + efuse_one_byte_write()
662 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL], data); efuse_one_byte_write()
663 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 3, 0xF2); efuse_one_byte_write()
666 rtlpriv->cfg->maps[EFUSE_CTRL] + 3)) efuse_one_byte_write()
680 read_efuse(hw, 0, rtlpriv->cfg->maps[EFUSE_HWSET_MAX_SIZE], efuse); efuse_read_all_map()
956 rtlpriv->cfg->maps[EFUSE_OOB_PROTECT_BYTES_LEN])) { efuse_pg_packet_write()
973 rtlpriv->cfg->maps[EFUSE_OOB_PROTECT_BYTES_LEN]))) { efuse_pg_packet_write()
1031 rtlpriv->cfg->maps[EFUSE_OOB_PROTECT_BYTES_LEN])) { efuse_pg_packet_write()
1135 rtlpriv->cfg->maps[EFUSE_ACCESS], 0x69); efuse_power_switch()
1139 rtlpriv->cfg->maps[SYS_ISO_CTRL]); efuse_power_switch()
1140 if (!(tmpV16 & rtlpriv->cfg->maps[EFUSE_PWC_EV12V])) { efuse_power_switch()
1141 tmpV16 |= rtlpriv->cfg->maps[EFUSE_PWC_EV12V]; efuse_power_switch()
1143 rtlpriv->cfg->maps[SYS_ISO_CTRL], efuse_power_switch()
1148 rtlpriv->cfg->maps[SYS_FUNC_EN]); efuse_power_switch()
1149 if (!(tmpV16 & rtlpriv->cfg->maps[EFUSE_FEN_ELDR])) { efuse_power_switch()
1150 tmpV16 |= rtlpriv->cfg->maps[EFUSE_FEN_ELDR]; efuse_power_switch()
1152 rtlpriv->cfg->maps[SYS_FUNC_EN], tmpV16); efuse_power_switch()
1155 tmpV16 = rtl_read_word(rtlpriv, rtlpriv->cfg->maps[SYS_CLK]); efuse_power_switch()
1156 if ((!(tmpV16 & rtlpriv->cfg->maps[EFUSE_LOADER_CLK_EN])) || efuse_power_switch()
1157 (!(tmpV16 & rtlpriv->cfg->maps[EFUSE_ANA8M]))) { efuse_power_switch()
1158 tmpV16 |= (rtlpriv->cfg->maps[EFUSE_LOADER_CLK_EN] | efuse_power_switch()
1159 rtlpriv->cfg->maps[EFUSE_ANA8M]); efuse_power_switch()
1161 rtlpriv->cfg->maps[SYS_CLK], tmpV16); efuse_power_switch()
1168 rtlpriv->cfg->maps[EFUSE_TEST] + efuse_power_switch()
1180 rtlpriv->cfg->maps[EFUSE_TEST] + 3, efuse_power_switch()
1185 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CLK], efuse_power_switch()
1192 rtlpriv->cfg->maps[EFUSE_ACCESS], 0); efuse_power_switch()
1196 rtlpriv->cfg->maps[EFUSE_TEST] + efuse_power_switch()
1199 rtlpriv->cfg->maps[EFUSE_TEST] + 3, efuse_power_switch()
1204 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CLK], efuse_power_switch()
H A Dpci.c762 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[MAC_HSISR], _rtl_pci_hs_interrupt()
763 rtl_read_byte(rtlpriv, rtlpriv->cfg->maps[MAC_HSISR]) | _rtl_pci_hs_interrupt()
974 if (inta & rtlpriv->cfg->maps[RTL_IMR_TBDOK]) { _rtl_pci_interrupt()
979 if (unlikely(inta & rtlpriv->cfg->maps[RTL_IMR_TBDER])) { _rtl_pci_interrupt()
984 if (inta & rtlpriv->cfg->maps[RTL_IMR_BDOK]) { _rtl_pci_interrupt()
988 if (inta & rtlpriv->cfg->maps[RTL_IMR_BCNINT]) { _rtl_pci_interrupt()
995 if (unlikely(intb & rtlpriv->cfg->maps[RTL_IMR_TXFOVW])) _rtl_pci_interrupt()
998 if (inta & rtlpriv->cfg->maps[RTL_IMR_MGNTDOK]) { _rtl_pci_interrupt()
1004 if (inta & rtlpriv->cfg->maps[RTL_IMR_HIGHDOK]) { _rtl_pci_interrupt()
1010 if (inta & rtlpriv->cfg->maps[RTL_IMR_BKDOK]) { _rtl_pci_interrupt()
1018 if (inta & rtlpriv->cfg->maps[RTL_IMR_BEDOK]) { _rtl_pci_interrupt()
1026 if (inta & rtlpriv->cfg->maps[RTL_IMR_VIDOK]) { _rtl_pci_interrupt()
1034 if (inta & rtlpriv->cfg->maps[RTL_IMR_VODOK]) { _rtl_pci_interrupt()
1043 if (inta & rtlpriv->cfg->maps[RTL_IMR_COMDOK]) { _rtl_pci_interrupt()
1053 if (inta & rtlpriv->cfg->maps[RTL_IMR_ROK]) { _rtl_pci_interrupt()
1058 if (unlikely(inta & rtlpriv->cfg->maps[RTL_IMR_RDU])) { _rtl_pci_interrupt()
1064 if (unlikely(intb & rtlpriv->cfg->maps[RTL_IMR_RXFOVW])) { _rtl_pci_interrupt()
1071 if (inta & rtlpriv->cfg->maps[RTL_IMR_C2HCMD]) { _rtl_pci_interrupt()
1082 * because maps[RTL_IMR_HSISR_IND] & maps[MAC_HSISR] _rtl_pci_interrupt()
1087 if (unlikely(inta & rtlpriv->cfg->maps[RTL_IMR_HSISR_IND])) { _rtl_pci_interrupt()
H A Dbase.c606 if (tcb_desc->hw_rate == rtlpriv->cfg->maps[RTL_RC_CCK_RATE1M]) _rtl_qurey_shortpreamble_mode()
683 tcb_desc->rts_rate = rtlpriv->cfg->maps[RTL_RC_OFDM_RATE24M]; _rtl_query_protection_mode()
687 tcb_desc->rts_rate = rtlpriv->cfg->maps[RTL_RC_OFDM_RATE24M]; _rtl_query_protection_mode()
711 rtlpriv->cfg->maps[RTL_RC_CCK_RATE2M]; _rtl_txrate_selectmode()
784 if (tcb_desc->hw_rate <= rtlpriv->cfg->maps[RTL_RC_OFDM_RATE54M]) _rtl_query_bandwidth_mode()
802 rtlpriv->cfg->maps[RTL_RC_HT_RATEMCS15]) _rtl_query_bandwidth_mode()
821 rtlpriv->cfg->maps[RTL_RC_VHT_RATE_2SS_MCS7]; _rtl_get_vht_highest_n_rate()
825 rtlpriv->cfg->maps[RTL_RC_VHT_RATE_2SS_MCS9]; _rtl_get_vht_highest_n_rate()
828 rtlpriv->cfg->maps[RTL_RC_VHT_RATE_2SS_MCS9]; _rtl_get_vht_highest_n_rate()
833 rtlpriv->cfg->maps[RTL_RC_VHT_RATE_1SS_MCS7]; _rtl_get_vht_highest_n_rate()
837 rtlpriv->cfg->maps[RTL_RC_VHT_RATE_1SS_MCS9]; _rtl_get_vht_highest_n_rate()
840 rtlpriv->cfg->maps[RTL_RC_VHT_RATE_1SS_MCS9]; _rtl_get_vht_highest_n_rate()
855 hw_rate = rtlpriv->cfg->maps[RTL_RC_HT_RATEMCS15]; _rtl_get_highest_n_rate()
857 hw_rate = rtlpriv->cfg->maps[RTL_RC_HT_RATEMCS7]; _rtl_get_highest_n_rate()
1143 rtlpriv->cfg->maps[RTL_RC_CCK_RATE11M]; rtl_get_tcb_desc()
1146 rtlpriv->cfg->maps[RTL_RC_OFDM_RATE54M]; rtl_get_tcb_desc()
H A Dcore.c263 rtlpriv->cfg->maps[RTL_IBSS_INT_MASKS]); rtl_op_add_interface()
349 rtlpriv->cfg->maps[RTL_IBSS_INT_MASKS]); rtl_op_remove_interface()
820 mac->rx_conf |= rtlpriv->cfg->maps[MAC_RCR_AM] | rtl_op_configure_filter()
821 rtlpriv->cfg->maps[MAC_RCR_AB]; rtl_op_configure_filter()
825 mac->rx_conf &= ~(rtlpriv->cfg->maps[MAC_RCR_AM] | rtl_op_configure_filter()
826 rtlpriv->cfg->maps[MAC_RCR_AB]); rtl_op_configure_filter()
835 mac->rx_conf |= rtlpriv->cfg->maps[MAC_RCR_ACRC32]; rtl_op_configure_filter()
839 mac->rx_conf &= ~rtlpriv->cfg->maps[MAC_RCR_ACRC32]; rtl_op_configure_filter()
866 mac->rx_conf |= rtlpriv->cfg->maps[MAC_RCR_ACF]; rtl_op_configure_filter()
871 mac->rx_conf &= ~rtlpriv->cfg->maps[MAC_RCR_ACF]; rtl_op_configure_filter()
881 mac->rx_conf |= rtlpriv->cfg->maps[MAC_RCR_AAP]; rtl_op_configure_filter()
885 mac->rx_conf &= ~rtlpriv->cfg->maps[MAC_RCR_AAP]; rtl_op_configure_filter()
1051 rtlpriv->cfg->maps rtl_op_bss_info_changed()
1067 rtlpriv->cfg->maps rtl_op_bss_info_changed()
/linux-4.4.14/samples/bpf/
H A Dbpf_load.h12 * . parses 'maps' section and creates maps via BPF syscall
14 * . parses elf relocations for BPF maps and adjusts BPF_LD_IMM64 insns by
H A Dtrace_output_kern.c6 struct bpf_map_def SEC("maps") my_map = {
H A Dtracex6_kern.c6 struct bpf_map_def SEC("maps") my_map = {
H A Dsockex1_kern.c7 struct bpf_map_def SEC("maps") my_map = {
H A Dbpf_load.c151 static int load_maps(struct bpf_map_def *maps, int len) load_maps() argument
157 map_fd[i] = bpf_create_map(maps[i].type, load_maps()
158 maps[i].key_size, load_maps()
159 maps[i].value_size, load_maps()
160 maps[i].max_entries); load_maps()
164 if (maps[i].type == BPF_MAP_TYPE_PROG_ARRAY) load_maps()
272 } else if (strcmp(shname, "maps") == 0) { load_bpf_file()
308 /* load programs that don't use maps */ load_bpf_file()
H A Dlathist_kern.c21 struct bpf_map_def SEC("maps") my_map = {
64 struct bpf_map_def SEC("maps") my_lat = {
H A Dtracex3_kern.c13 struct bpf_map_def SEC("maps") my_map = {
44 struct bpf_map_def SEC("maps") lat_map = {
H A Dtracex4_kern.c17 struct bpf_map_def SEC("maps") my_map = {
H A Dtracex2_kern.c13 struct bpf_map_def SEC("maps") my_map = {
72 struct bpf_map_def SEC("maps") my_hist_map = {
H A Dtracex5_kern.c15 struct bpf_map_def SEC("maps") progs = {
H A Dsock_example.c89 /* maps, programs, raw sockets will auto cleanup on process exit */ test_sock()
H A Dsockex3_kern.c21 struct bpf_map_def SEC("maps") jmp_table = {
94 struct bpf_map_def SEC("maps") percpu_map = {
115 struct bpf_map_def SEC("maps") hash_map = {
H A Dbpf_helpers.h4 /* helper macro to place programs, maps, license in
H A Dsockex2_kern.c191 struct bpf_map_def SEC("maps") hash_map = {
/linux-4.4.14/security/selinux/ss/
H A Debitmap.h35 unsigned long maps[EBITMAP_UNIT_NUMS]; member in struct:ebitmap_node
52 ofs = find_first_bit((*n)->maps, EBITMAP_SIZE); ebitmap_start_positive()
70 ofs = find_next_bit((*n)->maps, EBITMAP_SIZE, bit - (*n)->startbit + 1); ebitmap_next_positive()
75 ofs = find_first_bit((*n)->maps, EBITMAP_SIZE); ebitmap_next_positive()
94 if ((n->maps[index] & (EBITMAP_BIT << ofs))) ebitmap_node_get_bit()
106 n->maps[index] |= (EBITMAP_BIT << ofs); ebitmap_node_set_bit()
116 n->maps[index] &= ~(EBITMAP_BIT << ofs); ebitmap_node_clr_bit()
H A Debitmap.c38 !memcmp(n1->maps, n2->maps, EBITMAP_SIZE / 8)) { ebitmap_cmp()
63 memcpy(new->maps, n->maps, EBITMAP_SIZE / 8); ebitmap_cpy()
109 e_map = e_iter->maps[iter]; ebitmap_netlbl_export()
178 e_iter->maps[idx] = bitmap; ebitmap_netlbl_import()
214 for (i = EBITMAP_UNIT_NUMS - 1; (i >= 0) && !n2->maps[i]; ) ebitmap_contains()
218 __fls(n2->maps[i]); ebitmap_contains()
224 if ((n1->maps[i] & n2->maps[i]) != n2->maps[i]) ebitmap_contains()
271 s = find_first_bit(n->maps, EBITMAP_SIZE); ebitmap_set_bit()
430 n->maps[index++] = map & (-1UL); ebitmap_read()
/linux-4.4.14/arch/arm/kernel/
H A Dmodule.c330 struct mod_unwind_map maps[ARM_SEC_MAX]; module_finalize() local
333 memset(maps, 0, sizeof(maps)); module_finalize()
342 maps[ARM_SEC_INIT].unw_sec = s; module_finalize()
344 maps[ARM_SEC_CORE].unw_sec = s; module_finalize()
346 maps[ARM_SEC_EXIT].unw_sec = s; module_finalize()
348 maps[ARM_SEC_UNLIKELY].unw_sec = s; module_finalize()
350 maps[ARM_SEC_HOT].unw_sec = s; module_finalize()
352 maps[ARM_SEC_INIT].txt_sec = s; module_finalize()
354 maps[ARM_SEC_CORE].txt_sec = s; module_finalize()
356 maps[ARM_SEC_EXIT].txt_sec = s; module_finalize()
358 maps[ARM_SEC_UNLIKELY].txt_sec = s; module_finalize()
360 maps[ARM_SEC_HOT].txt_sec = s; module_finalize()
364 if (maps[i].unw_sec && maps[i].txt_sec) module_finalize()
366 unwind_table_add(maps[i].unw_sec->sh_addr, module_finalize()
367 maps[i].unw_sec->sh_size, module_finalize()
368 maps[i].txt_sec->sh_addr, module_finalize()
369 maps[i].txt_sec->sh_size); module_finalize()
/linux-4.4.14/fs/xfs/
H A Dxfs_pnfs.h8 int xfs_fs_commit_blocks(struct inode *inode, struct iomap *maps, int nr_maps,
H A Dxfs_pnfs.c244 * Make sure the blocks described by maps are stable on disk. This includes
256 struct iomap *maps, xfs_fs_commit_blocks()
280 start = maps[i].offset; xfs_fs_commit_blocks()
284 end = start + maps[i].length; xfs_fs_commit_blocks()
254 xfs_fs_commit_blocks( struct inode *inode, struct iomap *maps, int nr_maps, struct iattr *iattr) xfs_fs_commit_blocks() argument
/linux-4.4.14/arch/sparc/include/asm/
H A Dhvtramp.h19 struct hvtramp_mapping maps[1]; member in struct:hvtramp_descr
/linux-4.4.14/arch/m68k/include/asm/
H A Dmachw.h17 * head.S maps the videomem to VIDEOMEMBASE
H A Dtlbflush.h131 /* erase all of the userspace pmeg maps, we've clobbered them flush_tlb_all()
/linux-4.4.14/drivers/firmware/efi/
H A DMakefile6 # ARM64 maps efi runtime services in userspace addresses
/linux-4.4.14/tools/perf/tests/
H A Dvmlinux-kallsyms.c29 struct maps *maps = &vmlinux.kmaps.maps[type]; test__vmlinux_matches_kallsyms() local
44 * Create the kernel maps for kallsyms and the DSO where we will then test__vmlinux_matches_kallsyms()
45 * load /proc/kallsyms. Also create the modules maps from /proc/modules test__vmlinux_matches_kallsyms()
56 * Load and split /proc/kallsyms into multiple maps, one per module. test__vmlinux_matches_kallsyms()
188 for (map = maps__first(maps); map; map = map__next(map)) { test__vmlinux_matches_kallsyms()
208 for (map = maps__first(maps); map; map = map__next(map)) { test__vmlinux_matches_kallsyms()
232 maps = &kallsyms.kmaps.maps[type]; test__vmlinux_matches_kallsyms()
234 for (map = maps__first(maps); map; map = map__next(map)) { test__vmlinux_matches_kallsyms()
H A Dbpf-script-example.c27 struct bpf_map_def SEC("maps") flip_table = {
H A Dtask-exit.c58 * Create maps of threads and cpus to monitor. In this case test__task_exit()
67 pr_debug("Not enough memory to create thread/cpu maps\n"); test__task_exit()
H A Dmmap-thread-lookup.c175 TEST_ASSERT_VAL("failed to synthesize maps", !err); mmap_events()
219 * We test we can find all memory maps via:
H A Dsw-clock.c59 pr_debug("Not enough memory to create thread/cpu maps\n"); __test__sw_clock_freq()
H A Dbpf.c88 pr_debug("Not enough memory to create thread/cpu maps\n"); do_test()
H A Dperf-record.c70 * Create maps of threads and cpus to monitor. In this case test__PERF_RECORD()
77 pr_debug("Not enough memory to create thread/cpu maps\n"); test__PERF_RECORD()
H A Dcode-reading.c239 pr_debug("Too many kcore maps - skipping\n"); read_object_code()
250 * The kernel maps are inaccurate - assume objdump is right in read_object_code()
/linux-4.4.14/drivers/pinctrl/vt8500/
H A Dpinctrl-wmt.c219 struct pinctrl_map **maps) wmt_pctl_dt_node_to_map_func()
222 struct pinctrl_map *map = *maps; wmt_pctl_dt_node_to_map_func()
238 (*maps)++; wmt_pctl_dt_node_to_map_func()
246 struct pinctrl_map **maps) wmt_pctl_dt_node_to_map_pull()
250 struct pinctrl_map *map = *maps; wmt_pctl_dt_node_to_map_pull()
286 (*maps)++; wmt_pctl_dt_node_to_map_pull()
292 struct pinctrl_map *maps, wmt_pctl_dt_free_map()
298 if (maps[i].type == PIN_MAP_TYPE_CONFIGS_PIN) wmt_pctl_dt_free_map()
299 kfree(maps[i].data.configs.configs); wmt_pctl_dt_free_map()
301 kfree(maps); wmt_pctl_dt_free_map()
309 struct pinctrl_map *maps, *cur_map; wmt_pctl_dt_node_to_map() local
356 cur_map = maps = kzalloc(num_pins * maps_per_pin * sizeof(*maps), wmt_pctl_dt_node_to_map()
358 if (!maps) wmt_pctl_dt_node_to_map()
396 *map = maps; wmt_pctl_dt_node_to_map()
401 * The fail path removes any maps that have been allocated. The fail path is wmt_pctl_dt_node_to_map()
402 * only called from code after maps has been kzalloc'd. It is also safe to wmt_pctl_dt_node_to_map()
404 * failed before all the mappings were read as all maps are allocated at once, wmt_pctl_dt_node_to_map()
409 wmt_pctl_dt_free_map(pctldev, maps, num_pins * maps_per_pin); wmt_pctl_dt_node_to_map()
216 wmt_pctl_dt_node_to_map_func(struct wmt_pinctrl_data *data, struct device_node *np, u32 pin, u32 fnum, struct pinctrl_map **maps) wmt_pctl_dt_node_to_map_func() argument
243 wmt_pctl_dt_node_to_map_pull(struct wmt_pinctrl_data *data, struct device_node *np, u32 pin, u32 pull, struct pinctrl_map **maps) wmt_pctl_dt_node_to_map_pull() argument
291 wmt_pctl_dt_free_map(struct pinctrl_dev *pctldev, struct pinctrl_map *maps, unsigned num_maps) wmt_pctl_dt_free_map() argument
/linux-4.4.14/drivers/mtd/
H A DMakefile33 obj-y += chips/ lpddr/ maps/ devices/ nand/ onenand/ tests/
/linux-4.4.14/arch/metag/include/asm/
H A Dmmu.h27 * that maps that address.
33 * that maps that address. Returns 0 if the address is not mapped.
/linux-4.4.14/drivers/mtd/maps/
H A Dmap_funcs.c2 * Out-of-line map I/O functions for simple maps when CONFIG_COMPLEX_MAPPINGS
H A Damd76xrom.c34 struct list_head maps; member in struct:amd76xrom_window
65 .maps = LIST_HEAD_INIT(amd76xrom_window.maps),
81 list_for_each_entry_safe(map, scratch, &window->maps, list) { amd76xrom_cleanup()
276 list_add(&map->list, &window->maps); amd76xrom_init_one()
284 if (list_empty(&window->maps)) { amd76xrom_init_one()
H A Dck804xrom.c38 struct list_head maps; member in struct:ck804xrom_window
78 .maps = LIST_HEAD_INIT(ck804xrom_window.maps),
93 list_for_each_entry_safe(map, scratch, &window->maps, list) { ck804xrom_cleanup()
305 list_add(&map->list, &window->maps); ck804xrom_init_one()
314 if (list_empty(&window->maps)) { ck804xrom_init_one()
H A Dichxrom.c39 struct list_head maps; member in struct:ichxrom_window
53 .maps = LIST_HEAD_INIT(ichxrom_window.maps),
67 list_for_each_entry_safe(map, scratch, &window->maps, list) { ichxrom_cleanup()
301 list_add(&map->list, &window->maps); ichxrom_init_one()
310 if (list_empty(&window->maps)) { ichxrom_init_one()
H A Desb2rom.c100 struct list_head maps; member in struct:esb2rom_window
114 .maps = LIST_HEAD_INIT(esb2rom_window.maps),
128 list_for_each_entry_safe(map, scratch, &window->maps, list) { esb2rom_cleanup()
365 list_add(&map->list, &window->maps); esb2rom_init_one()
374 if (list_empty(&window->maps)) { esb2rom_init_one()
H A Dscx200_docflash.c1 /* linux/drivers/mtd/maps/scx200_docflash.c
222 compile-command: "make -k -C ../../.. SUBDIRS=drivers/mtd/maps modules"
H A Dbfin-async-flash.c2 * drivers/mtd/maps/bfin-async-flash.c
H A Dgpio-addr-flash.c2 * drivers/mtd/maps/gpio-addr-flash.c
/linux-4.4.14/drivers/media/tuners/
H A DMakefile5 tda18271-objs := tda18271-maps.o tda18271-common.o tda18271-fe.o
H A Dtda18271-maps.c2 tda18271-maps.c - driver for the Philips / NXP TDA18271 silicon tuner
1077 BUG_ON(!priv->maps); tda18271_lookup_pll_map()
1081 map = priv->maps->main_pll; tda18271_lookup_pll_map()
1085 map = priv->maps->cal_pll; tda18271_lookup_pll_map()
1128 BUG_ON(!priv->maps); tda18271_lookup_map()
1132 map = priv->maps->bp_filter; tda18271_lookup_map()
1136 map = priv->maps->rf_cal_kmco; tda18271_lookup_map()
1140 map = priv->maps->rf_band; tda18271_lookup_map()
1144 map = priv->maps->gain_taper; tda18271_lookup_map()
1148 map = priv->maps->rf_cal; tda18271_lookup_map()
1152 map = priv->maps->ir_measure; tda18271_lookup_map()
1156 map = priv->maps->rf_cal_dc_over_dt; tda18271_lookup_map()
1292 priv->maps = &tda18271c1_map_layout; tda18271_assign_map_layout()
1296 priv->maps = &tda18271c2_map_layout; tda18271_assign_map_layout()
/linux-4.4.14/include/video/
H A Dsa1100fb.h55 /* Overrides for the default RGB maps */
/linux-4.4.14/include/linux/mtd/
H A Dphysmap.h3 * drivers/mtd/maps/physmap.c mapping driver.
/linux-4.4.14/include/linux/netfilter/ipset/
H A Dpfxlen.h8 /* Prefixlen maps, by Jan Engelhardt */
/linux-4.4.14/arch/powerpc/include/asm/
H A Dpte-fsl-booke.h20 #define _PAGE_USER 0x00002 /* S: User page (maps to UR) */
H A Dbarrier.h30 * However, on CPUs that don't support lwsync, lwsync actually maps to a
/linux-4.4.14/arch/parisc/include/asm/
H A Dfixmap.h17 /* This is the kernel area for all maps (vmalloc, dma etc.) most
/linux-4.4.14/drivers/pinctrl/sh-pfc/
H A Dpinctrl.c110 struct pinctrl_map *maps = *map; sh_pfc_dt_subnode_to_map() local
192 maps = krealloc(maps, sizeof(*maps) * nmaps, GFP_KERNEL); sh_pfc_dt_subnode_to_map()
193 if (maps == NULL) { sh_pfc_dt_subnode_to_map()
198 *map = maps; sh_pfc_dt_subnode_to_map()
204 maps[idx].type = PIN_MAP_TYPE_MUX_GROUP; sh_pfc_dt_subnode_to_map()
205 maps[idx].data.mux.group = group; sh_pfc_dt_subnode_to_map()
206 maps[idx].data.mux.function = function; sh_pfc_dt_subnode_to_map()
211 ret = sh_pfc_map_add_config(&maps[idx], group, sh_pfc_dt_subnode_to_map()
227 ret = sh_pfc_map_add_config(&maps[idx], pin, sh_pfc_dt_subnode_to_map()
/linux-4.4.14/arch/sparc/kernel/
H A Dirq.h27 /* This maps direct to CPU specific interrupt registers */
34 /* This maps direct to global interrupt registers */
H A Dtrampoline_64.S157 /* Each TTE maps 4MB, convert index to offset. */
190 /* Each TTE maps 4MB, convert index to offset. */
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
H A Dp2p.h26 * @P2PAPI_BSSCFG_PRIMARY: maps to driver's primary bsscfg.
27 * @P2PAPI_BSSCFG_DEVICE: maps to driver's P2P device discovery bsscfg.
28 * @P2PAPI_BSSCFG_CONNECTION: maps to driver's P2P connection bsscfg.
32 P2PAPI_BSSCFG_PRIMARY, /* maps to driver's primary bsscfg */
33 P2PAPI_BSSCFG_DEVICE, /* maps to driver's P2P device discovery bsscfg */
34 P2PAPI_BSSCFG_CONNECTION, /* maps to driver's P2P connection bsscfg */
/linux-4.4.14/drivers/pinctrl/
H A Dcore.h163 * @maps: array of mapping table entries
164 * @num_maps: the number of entries in @maps
168 struct pinctrl_map const *maps; member in struct:pinctrl_maps
185 int pinctrl_register_map(struct pinctrl_map const *maps, unsigned num_maps,
197 for (_i_ = 0, _map_ = &_maps_node_->maps[_i_]; \
199 _i_++, _map_ = &_maps_node_->maps[_i_])
H A Dcore.c58 /* List of pinctrl maps (struct pinctrl_maps) */
822 /* Iterate over the pin control maps to locate the right ones */ for_each_maps()
1114 int pinctrl_register_map(struct pinctrl_map const *maps, unsigned num_maps, pinctrl_register_map() argument
1120 pr_debug("add %u pinctrl maps\n", num_maps); pinctrl_register_map()
1124 if (!maps[i].dev_name) { pinctrl_register_map()
1126 maps[i].name, i); pinctrl_register_map()
1130 if (!maps[i].name) { pinctrl_register_map()
1136 if (maps[i].type != PIN_MAP_TYPE_DUMMY_STATE && pinctrl_register_map()
1137 !maps[i].ctrl_dev_name) { pinctrl_register_map()
1139 maps[i].name, i); pinctrl_register_map()
1143 switch (maps[i].type) { pinctrl_register_map()
1147 ret = pinmux_validate_map(&maps[i], i); pinctrl_register_map()
1153 ret = pinconf_validate_map(&maps[i], i); pinctrl_register_map()
1159 maps[i].name, i); pinctrl_register_map()
1172 maps_node->maps = kmemdup(maps, sizeof(*maps) * num_maps, pinctrl_register_map()
1174 if (!maps_node->maps) { pinctrl_register_map()
1180 maps_node->maps = maps; pinctrl_register_map()
1192 * @maps: the pincontrol mappings table to register. This should probably be
1195 * @num_maps: the number of maps in the mapping table
1197 int pinctrl_register_mappings(struct pinctrl_map const *maps, pinctrl_register_mappings() argument
1200 return pinctrl_register_map(maps, num_maps, true); pinctrl_register_mappings()
1209 if (maps_node->maps == map) { pinctrl_unregister_map()
1500 seq_puts(s, "Pinctrl maps:\n"); pinctrl_maps_show()
1537 seq_puts(s, "Requested pin control handlers their pinmux maps:\n"); pinctrl_show()
1691 debugfs_create_file("pinctrl-maps", S_IFREG | S_IRUGO, pinctrl_init_debugfs()
H A Dpinctrl-tegra-xusb.c160 struct pinctrl_map **maps, tegra_xusb_padctl_parse_subnode()
208 err = pinctrl_utils_reserve_map(padctl->pinctrl, maps, reserved_maps, tegra_xusb_padctl_parse_subnode()
215 err = pinctrl_utils_add_map_mux(padctl->pinctrl, maps, tegra_xusb_padctl_parse_subnode()
224 maps, reserved_maps, num_maps, group, tegra_xusb_padctl_parse_subnode()
241 struct pinctrl_map **maps, tegra_xusb_padctl_dt_node_to_map()
250 *maps = NULL; tegra_xusb_padctl_dt_node_to_map()
253 err = tegra_xusb_padctl_parse_subnode(padctl, np, maps, for_each_child_of_node()
158 tegra_xusb_padctl_parse_subnode(struct tegra_xusb_padctl *padctl, struct device_node *np, struct pinctrl_map **maps, unsigned int *reserved_maps, unsigned int *num_maps) tegra_xusb_padctl_parse_subnode() argument
239 tegra_xusb_padctl_dt_node_to_map(struct pinctrl_dev *pinctrl, struct device_node *parent, struct pinctrl_map **maps, unsigned int *num_maps) tegra_xusb_padctl_dt_node_to_map() argument
/linux-4.4.14/drivers/xen/
H A Dgntdev.c64 /* maps with visible offsets in the file descriptor */
65 struct list_head maps; member in struct:gntdev_priv
66 /* maps that are not visible; will be freed on munmap.
69 /* lock protects maps and freeable_maps */
109 pr_debug("%s: maps list (priv %p)\n", __func__, priv); gntdev_print_maps()
110 list_for_each_entry(map, &priv->maps, next) gntdev_print_maps()
181 list_for_each_entry(map, &priv->maps, next) { gntdev_add_map()
188 list_add_tail(&add->next, &priv->maps); gntdev_add_map()
199 list_for_each_entry(map, &priv->maps, next) { gntdev_find_map_index()
476 list_for_each_entry(map, &priv->maps, next) { mn_invl_range_start()
500 list_for_each_entry(map, &priv->maps, next) { mn_release()
538 INIT_LIST_HEAD(&priv->maps); gntdev_open()
572 while (!list_empty(&priv->maps)) { gntdev_release()
573 map = list_entry(priv->maps.next, struct grant_map, next); gntdev_release()
716 list_for_each_entry(map, &priv->maps, next) { gntdev_ioctl_notify()
/linux-4.4.14/arch/ia64/include/asm/
H A Dkregs.h30 #define IA64_TR_KERNEL 0 /* itr0, dtr0: maps kernel image (code & data) */
31 #define IA64_TR_PALCODE 1 /* itr1: maps PALcode as required by EFI */
32 #define IA64_TR_CURRENT_STACK 1 /* dtr1: maps kernel's memory- & register-stacks */
/linux-4.4.14/kernel/power/
H A Dswap.c89 struct swap_map_page_list *maps; member in struct:swap_map_handle
939 while (handle->maps) { release_swap_reader()
940 if (handle->maps->map) release_swap_reader()
941 free_page((unsigned long)handle->maps->map); release_swap_reader()
942 tmp = handle->maps; release_swap_reader()
943 handle->maps = handle->maps->next; release_swap_reader()
962 last = handle->maps = NULL; get_swap_reader()
965 tmp = kmalloc(sizeof(*handle->maps), GFP_KERNEL); get_swap_reader()
971 if (!handle->maps) get_swap_reader()
972 handle->maps = tmp; get_swap_reader()
992 handle->cur = handle->maps->map; get_swap_reader()
1013 free_page((unsigned long)handle->maps->map); swap_read_page()
1014 tmp = handle->maps; swap_read_page()
1015 handle->maps = handle->maps->next; swap_read_page()
1017 if (!handle->maps) swap_read_page()
1020 handle->cur = handle->maps->map; swap_read_page()
/linux-4.4.14/drivers/staging/iio/magnetometer/
H A Dhmc5843.h38 * @regmap: hardware access register maps
/linux-4.4.14/drivers/irqchip/
H A Dirq-xtensa-pic.c25 * two cell bindings. First cell value maps directly to the hwirq number.
H A Dirq-xtensa-mx.c40 * two cell bindings. First cell value maps directly to the hwirq number.
/linux-4.4.14/drivers/pinctrl/bcm/
H A Dpinctrl-bcm2835.c645 struct pinctrl_map *maps, unsigned num_maps) bcm2835_pctl_dt_free_map()
650 if (maps[i].type == PIN_MAP_TYPE_CONFIGS_PIN) bcm2835_pctl_dt_free_map()
651 kfree(maps[i].data.configs.configs); bcm2835_pctl_dt_free_map()
653 kfree(maps); bcm2835_pctl_dt_free_map()
658 struct pinctrl_map **maps) bcm2835_pctl_dt_node_to_map_func()
660 struct pinctrl_map *map = *maps; bcm2835_pctl_dt_node_to_map_func()
671 (*maps)++; bcm2835_pctl_dt_node_to_map_func()
678 struct pinctrl_map **maps) bcm2835_pctl_dt_node_to_map_pull()
680 struct pinctrl_map *map = *maps; bcm2835_pctl_dt_node_to_map_pull()
698 (*maps)++; bcm2835_pctl_dt_node_to_map_pull()
710 struct pinctrl_map *maps, *cur_map; bcm2835_pctl_dt_node_to_map() local
754 cur_map = maps = kzalloc(num_pins * maps_per_pin * sizeof(*maps), bcm2835_pctl_dt_node_to_map()
756 if (!maps) bcm2835_pctl_dt_node_to_map()
792 *map = maps; bcm2835_pctl_dt_node_to_map()
798 kfree(maps); bcm2835_pctl_dt_node_to_map()
644 bcm2835_pctl_dt_free_map(struct pinctrl_dev *pctldev, struct pinctrl_map *maps, unsigned num_maps) bcm2835_pctl_dt_free_map() argument
656 bcm2835_pctl_dt_node_to_map_func(struct bcm2835_pinctrl *pc, struct device_node *np, u32 pin, u32 fnum, struct pinctrl_map **maps) bcm2835_pctl_dt_node_to_map_func() argument
676 bcm2835_pctl_dt_node_to_map_pull(struct bcm2835_pinctrl *pc, struct device_node *np, u32 pin, u32 pull, struct pinctrl_map **maps) bcm2835_pctl_dt_node_to_map_pull() argument
/linux-4.4.14/security/apparmor/
H A DMakefile35 # and build a second integer table (with the second sed cmd), that maps
/linux-4.4.14/include/xen/interface/io/
H A Dtpmif.h21 * 5. Backend maps grant and event channel, verifies feature-protocol-v2
/linux-4.4.14/arch/mips/include/asm/mach-malta/
H A Dspaces.h27 * words, the 0x80000000 virtual address maps to 0x80000000 physical address
/linux-4.4.14/arch/mips/include/asm/sn/
H A Dmapped_kernel.h14 * ld.script file (so that tlblo0 and tlblo1 maps the sections).
/linux-4.4.14/arch/sh/include/mach-common/mach/
H A Dsh7785lcr.h5 * This board has 2 physical memory maps.
/linux-4.4.14/arch/frv/mm/
H A Dhighmem.c47 * The first 4 primary maps are reserved for architecture code kmap_atomic()
/linux-4.4.14/arch/arm/mach-omap1/
H A Dfpga.h25 /* maps in the FPGA registers and the ETHR registers */
/linux-4.4.14/arch/arm/mach-clps711x/
H A Dcommon.c34 * This maps the generic CLPS711x registers
/linux-4.4.14/drivers/infiniband/hw/mthca/
H A Dmthca_mr.c586 mr->maps = 0; mthca_fmr_alloc()
680 if (fmr->maps) mthca_free_fmr()
710 if (fmr->maps >= fmr->attr.max_maps) mthca_check_fmr()
730 ++fmr->maps; mthca_tavor_map_phys_fmr()
770 ++fmr->maps; mthca_arbel_map_phys_fmr()
809 if (!fmr->maps) mthca_tavor_fmr_unmap()
812 fmr->maps = 0; mthca_tavor_fmr_unmap()
819 if (!fmr->maps) mthca_arbel_fmr_unmap()
822 fmr->maps = 0; mthca_arbel_fmr_unmap()
/linux-4.4.14/sound/usb/
H A Dstream.c110 /* kctl callbacks for usb-audio channel maps */ usb_chmap_ctl_info()
282 const unsigned int *maps; convert_chmap() local
292 maps = protocol == UAC_VERSION_2 ? uac2_maps : uac1_maps; convert_chmap()
297 for (; bits && *maps; maps++, bits >>= 1) convert_chmap()
299 chmap->map[c++] = *maps; convert_chmap()
306 for (; c < channels && *maps; maps++) convert_chmap()
307 chmap->map[c++] = *maps; convert_chmap()
/linux-4.4.14/tools/testing/selftests/vm/
H A Dmlock2-tests.c50 file = fopen("/proc/self/maps", "r"); get_vm_area()
61 printf("cannot parse /proc/self/maps\n"); get_vm_area()
68 printf("cannot parse /proc/self/maps\n"); get_vm_area()
655 printf("couldn't find mapping in /proc/self/maps\n"); test_vma_management()
678 printf("couldn't find mapping in /proc/self/maps\n"); test_vma_management()
697 printf("couldn't find mapping in /proc/self/maps\n"); test_vma_management()
/linux-4.4.14/include/linux/
H A Dcrc8.h51 * For lsb first direction x^7 maps to the lsb. So the polynomial is as below.
69 * For msb first direction x^7 maps to the msb. So the polynomial is as below.
H A Ddma-buf.h59 * @kmap_atomic: maps a page from the buffer into kernel address
64 * @kmap: maps a page from the buffer into kernel address space.
/linux-4.4.14/drivers/media/dvb-frontends/
H A Disl6405.h36 note that the bit maps are different */
/linux-4.4.14/fs/proc/
H A Dnommu.c130 proc_create("maps", S_IRUGO, NULL, &proc_nommu_region_list_operations); proc_nommu_init()
H A Dtask_nommu.c190 * Thread stack in /proc/PID/task/TID/maps or nommu_vma_show()
206 * display mapping lines for a particular process's /proc/pid/maps
/linux-4.4.14/arch/powerpc/platforms/embedded6xx/
H A Dstorcenter.c60 /* This also maps the I/O region and sets isa_io/mem_base */ storcenter_add_bridge()
H A Dlinkstation.c59 /* This also maps the I/O region and sets isa_io/mem_base */ linkstation_add_bridge()
H A Dmpc10x.h143 * For both maps, recommend putting the EUMB from 0xeff00000 to 0xefffffff.
/linux-4.4.14/arch/arm64/include/asm/
H A Dkernel-pgtable.h39 * map to pte level. The swapper also maps the FDT (see __create_page_tables
/linux-4.4.14/include/linux/sunrpc/
H A Dsvc_rdma.h97 * For an RDMA_WRITE, the 'sge' maps the RPC REPLY. For RDMA_READ, the
98 * 'sge' in the svc_rdma_req_map maps the server side RPC reply and the
99 * 'ch' field maps the read-list of the RPCRDMA header to the 'sge'
/linux-4.4.14/arch/powerpc/oprofile/cell/
H A Dvma_map.c15 * vma-to-fileOffset maps for both overlay and non-overlay SPU
172 pr_debug("SPU_PROF: Created non-overlay maps\n"); create_vma_map()
250 * arguments used above for non-overlay maps. The final two create_vma_map()
/linux-4.4.14/drivers/iio/
H A Dinkern.c30 int iio_map_array_register(struct iio_dev *indio_dev, struct iio_map *maps) iio_map_array_register() argument
35 if (maps == NULL) iio_map_array_register()
39 while (maps[i].consumer_dev_name != NULL) { iio_map_array_register()
45 mapi->map = &maps[i]; iio_map_array_register()
380 /* first count the matching maps */ iio_channel_get_all()
/linux-4.4.14/drivers/edac/
H A Damd64_edac.h60 * depends on which node the SysAddr maps to and whether the SysAddr
63 * determine which node a SysAddr maps to.
69 * the SysAddr maps to plus an offset due to memory hoisting. See
75 * base address for the node that the SysAddr maps to. See section
82 * with. The memory controller then maps the InputAddr to a csrow.
/linux-4.4.14/drivers/net/ethernet/emulex/benet/
H A Dbe_hw.h144 #define R2I_DLY_ENC_1 1 /* maps to 160us EQ delay */
145 #define R2I_DLY_ENC_2 2 /* maps to 96us EQ delay */
146 #define R2I_DLY_ENC_3 3 /* maps to 48us EQ delay */
/linux-4.4.14/drivers/dma/
H A Dste_dma40_ll.h369 * @lcsp02: Either maps to register lcsp0 if src or lcsp2 if dst.
370 * @lcsp13: Either maps to register lcsp1 if src or lcsp3 if dst.
403 * This struct maps to LCPA physical memory layout. Must map to
/linux-4.4.14/arch/arm/mm/
H A Dnommu.c166 * have separate instruction and data memory maps then return mpu_max_regions()
174 /* Check for separate d-side and i-side memory maps */ mpu_max_regions()
308 * maps, and sets up the zero page, bad page and bad page tables.
/linux-4.4.14/drivers/video/fbdev/geode/
H A Dvideo_cs5530.c24 * CS5530 PLL table. This maps pixclocks to the appropriate PLL register
/linux-4.4.14/drivers/scsi/bnx2i/
H A Dbnx2i_sysfs.c18 * bnx2i_dev_to_hba - maps dev pointer to adapter struct
H A Dbnx2i_init.c139 * bnx2i_find_hba_for_cnic - maps cnic device instance to bnx2i adapter instance
163 * This function maps adapter structure to pcidev structure and initiates
/linux-4.4.14/drivers/md/
H A Ddm-linear.c18 * Linear: maps a linear range of a device.
H A Ddm-thin-metadata.h110 * space maps). Userland can access the data structures for READ
/linux-4.4.14/drivers/mtd/chips/
H A Dmap_ram.c87 * - return the address to which the offset maps
H A Dmap_rom.c71 * - return the address to which the offset maps
/linux-4.4.14/drivers/of/
H A Dof_mtd.c15 * It maps 'enum nand_ecc_modes_t' found in include/linux/mtd/nand.h
/linux-4.4.14/drivers/acpi/acpica/
H A Dutuuid.c55 * buffer and the reverse. The table maps a UUID buffer index 0-15 to
/linux-4.4.14/drivers/atm/
H A Dzatm.h69 /*-------------------------------- maps */
/linux-4.4.14/arch/unicore32/kernel/
H A Dhibernate.c69 * This maps the physical memory to kernel virtual address space, a total
/linux-4.4.14/arch/x86/power/
H A Dhibernate_32.c77 * This maps the physical memory to kernel virtual address space, a total
/linux-4.4.14/fs/nfsd/
H A Dexport.h65 /* an "export key" (expkey) maps a filehandlefragement to an
/linux-4.4.14/fs/afs/
H A Dafs_vl.h58 * maps to "struct vldbentry" in vvl-spec.pdf
/linux-4.4.14/kernel/locking/
H A Dlockdep_internals.h52 * We use the per-lock dependency maps in two ways: we grow it by adding
/linux-4.4.14/fs/ocfs2/
H A Dheartbeat.c6 * Register ourselves with the heartbaet service, keep our node maps
/linux-4.4.14/include/linux/platform_data/
H A Dedma.h32 * The EDMA Channel Controller (CC) maps requests from channels into physical
/linux-4.4.14/arch/powerpc/sysdev/
H A Dmv64x60_pci.c158 /* This also maps the I/O region and sets isa_io/mem_base */ mv64x60_add_bridge()
/linux-4.4.14/arch/m68k/coldfire/
H A Dintc.c25 * that maps from irq to mask register. Not all interrupts will have
/linux-4.4.14/arch/arm64/kvm/
H A Dregmap.c131 mode = 0; /* SYS maps to USR */ vcpu_reg32()
/linux-4.4.14/arch/avr32/include/asm/
H A Dpage.h61 * The hardware maps the virtual addresses 0x80000000 -> 0x9fffffff
/linux-4.4.14/arch/arm/mach-mv78xx0/include/mach/
H A Dmv78xx0.h16 * Marvell MV78xx0 address maps.
/linux-4.4.14/drivers/staging/rdma/hfi1/
H A Dtrace.h160 unsigned long *maps, u16 count),
161 TP_ARGS(ctxt, subctxt, dir, maps, count),
167 __dynamic_array(unsigned long, maps, sizeof(*maps) * count)
174 memcpy(__get_dynamic_array(maps), maps,
175 sizeof(*maps) * count);
181 print_u64_array(p, __get_dynamic_array(maps),
/linux-4.4.14/drivers/iio/adc/
H A Dda9150-gpadc.c298 /* Default maps used by da9150-charger */
359 dev_err(dev, "Failed to register IIO maps: %d\n", ret); da9150_gpadc_probe()
H A Dlp8788_adc.c155 /* default maps used by iio consumer (lp8788-charger driver) */
/linux-4.4.14/drivers/power/
H A Dab8500_bmdata.c447 * This array maps the raw hex value to charger output current used by the
467 * This array maps the raw hex value to charger input current used by the
/linux-4.4.14/arch/tile/include/asm/
H A Dpci.h56 * The hypervisor maps the entirety of CPA-space as bus addresses, so pci_iounmap()
178 /* Table that maps the INTx numbers to Linux irq numbers. */ pci_iounmap()
H A Dpgtable_64.h108 * A given kernel pud_t maps to a kernel pmd_t table at a specific
H A Dtlbflush.h32 * properly, though since the hypervisor direct-maps VAs to TSB
/linux-4.4.14/fs/jfs/
H A Djfs_imap.h36 #define AMAPSIZE 512 /* bytes in the IAG allocation maps */
37 #define SMAPSIZE 16 /* bytes in the IAG summary maps */
/linux-4.4.14/fs/ecryptfs/
H A Dread_write.c64 * offset within the page, maps the page, and makes the call to write
251 * offset within the page, maps the page, and makes the call to read
/linux-4.4.14/fs/hpfs/
H A Dhpfs.h88 __le32 bitmaps; /* pointers to free space bit maps */
247 Bit order in the maps is little-endian. 0 means taken, 1 means free.
249 Bit map sectors are marked allocated in the bit maps, and so are sectors
255 The remaining bands have maps in their first (even) or last (odd) 4 sectors
385 __le32 file_secno; /* subtree maps sectors < this */
/linux-4.4.14/arch/arm64/mm/
H A Dmmu.c361 * us PUD_SIZE (with SECTION maps) or PMD_SIZE (without SECTION maps, map_mem()
381 * the section maps, if the first block doesn't end on section for_each_memblock()
384 * When section maps are not used, the pte page table for the for_each_memblock()
443 * maps and sets up the zero page.
/linux-4.4.14/fs/squashfs/
H A Dfile.c215 * to distribute these over the length of the file, entry[0] maps index x,
216 * entry[1] maps index x + skip, entry[2] maps index x + 2 * skip, and so on.
/linux-4.4.14/arch/powerpc/mm/
H A Dmmu_context_nohash.c20 * - The maps should be dynamically allocated to allow for processors
463 * Allocate the maps used by context management mmu_context_init()
476 "MMU: Allocated %zu bytes of context maps for %d contexts\n", mmu_context_init()
/linux-4.4.14/arch/m32r/kernel/
H A Dsmpboot.c93 /* which physical physical ID maps to which logical CPU number */
97 /* which logical CPU number maps to which physical ID */
597 /* Initialize all maps between cpu number and apicids */ init_cpu_to_physid()
/linux-4.4.14/drivers/staging/speakup/
H A Dkeyhelp.c91 * this is done so num pad and other extended keys maps are spoken before build_key_data()
/linux-4.4.14/drivers/scsi/
H A Dqlogicfas408.h89 /* The qlogic card uses two register maps - These macros select which one */
/linux-4.4.14/drivers/staging/comedi/drivers/
H A Dcomedi_8254.h64 /* counter maps zero to 0x10000 */
H A Dni_atmio.c54 (scan_begin_arg, etc.) maps to PFI0 - PFI9.
/linux-4.4.14/drivers/md/persistent-data/
H A Ddm-space-map.h33 * Space maps must never allocate a block from the previous
H A Ddm-transaction-manager.c285 * code, such as the space maps, keeps using the old data structures __shadow_block()
/linux-4.4.14/drivers/mtd/devices/
H A Dmtdram.c79 * - return the address to which the offset maps
/linux-4.4.14/drivers/input/misc/
H A Dyealink.h126 /* This table maps the LCD segments onto individual bit positions in the
/linux-4.4.14/drivers/media/rc/keymaps/
H A Drc-ati-x10.c63 * keycodes in default maps.
/linux-4.4.14/drivers/pcmcia/
H A Dsoc_common.h165 * When configuring memory maps, Card Services appears to adopt the policy
/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/
H A Docteon_main.h84 * \brief maps a PCI BAR
/linux-4.4.14/drivers/gpu/drm/msm/hdmi/
H A Dhdmi_audio.c28 /* maps MSM_HDMI_AUDIO_CHANNEL_n consts used by audio driver to # of channels: */
/linux-4.4.14/arch/x86/platform/efi/
H A Dearly_printk.c43 * early_efi_map maps efi framebuffer region [start, start + len -1]
/linux-4.4.14/drivers/char/
H A Duv_mmtimer.c140 * uv_mmtimer_mmap - maps the clock's registers into userspace
/linux-4.4.14/arch/arc/include/asm/
H A Dcmpxchg.h113 * xchg() maps directly to ARC EX instruction which guarantees atomicity.
/linux-4.4.14/arch/arc/mm/
H A Dhighmem.c21 * kmap() API provides sleep semantics hence refered to as "permanent maps"
/linux-4.4.14/net/sunrpc/xprtrdma/
H A Dfmr_ops.c25 * allocated for the RPC, but generates a fresh rkey then maps the
/linux-4.4.14/fs/befs/
H A Ddatastream.c388 block run maps a constant amount of file data. This means
391 maps a particular filesystem block.
397 indirect block maps the data block we are after.
405 the actual block run that maps the data block we are interested
/linux-4.4.14/kernel/bpf/
H A Dhelpers.c26 * if program is allowed to access maps, so check rcu_read_lock_held in
/linux-4.4.14/kernel/
H A Dsys_ni.c244 /* access BPF programs and maps */
/linux-4.4.14/include/linux/netfilter/
H A Dnf_conntrack_pptp.h38 * and therefore imposes a fixed limit on the number of maps */
/linux-4.4.14/arch/powerpc/platforms/amigaone/
H A Dsetup.c65 /* This also maps the I/O region and sets isa_io/mem_base */ amigaone_add_bridge()
/linux-4.4.14/arch/sh/drivers/pci/
H A Dfixups-se7751.c36 * up the BARS, maps the DRAM into the address space etc, etc.
/linux-4.4.14/arch/m68k/mac/
H A Doss.c160 * just maps the machspec interrupt numbers to the right OSS interrupt
/linux-4.4.14/arch/hexagon/include/asm/
H A Dcacheflush.h69 * only uses a single ASID for all user-mode maps, which should
/linux-4.4.14/arch/hexagon/kernel/
H A Ddma.c154 * hexagon_map_page() - maps an address for device DMA
/linux-4.4.14/arch/ia64/mm/
H A Ddiscontig.c318 * Once this space has been set aside, the bootmem maps are initialized. We
383 * Reserve the space used by the bootmem maps & per-node space in the boot
384 * allocator so that when we actually create the real mem maps we don't
554 * Initialize the boot memory maps in reverse order since that's
/linux-4.4.14/arch/ia64/sn/pci/pcibr/
H A Dpcibr_ate.c129 * internal maps or the external map RAM, as appropriate.
H A Dpcibr_dma.c204 * Wrapper routine for freeing DMA maps
205 * DMA mappings for Direct 64 and 32 do not have any DMA maps.
/linux-4.4.14/arch/arm/mach-pxa/include/mach/
H A Dhardware.h37 * kernel only maps the minimum needed range of this mapping.
/linux-4.4.14/arch/arm/include/asm/
H A Dcti.h80 * This function maps one trigger in of @trig_in to one trigger
/linux-4.4.14/arch/arm/mach-dove/include/mach/
H A Ddove.h15 * Marvell Dove address maps.
/linux-4.4.14/arch/arm/mach-imx/
H A Dhardware.h47 * Obviously this needs to be injective for each SoC. In general it maps the
/linux-4.4.14/tools/lib/bpf/
H A Dlibbpf.c480 pr_warning("malloc maps failed: %s\n", obj->path); bpf_object__init_maps()
486 pr_debug("maps in %s: %ld bytes\n", obj->path, (long)size); bpf_object__init_maps()
545 else if (strcmp(name, "maps") == 0) bpf_object__elf_collect()
676 pr_debug("don't need create maps for %s\n", bpf_object__create_maps()
/linux-4.4.14/tools/testing/selftests/powerpc/pmu/
H A Dlib.c185 f = fopen("/proc/self/maps", "r"); parse_proc_maps()
/linux-4.4.14/tools/testing/selftests/x86/
H A Dunwind_vdso.c176 printf("[OK]\tAT_SYSINFO maps to %s, loaded at 0x%p\n", main()
/linux-4.4.14/fs/btrfs/
H A Dbtrfs_inode.h266 * After a ranged fsync we might have left some extent maps btrfs_inode_in_log()
269 * will be called and process those extent maps. btrfs_inode_in_log()
/linux-4.4.14/arch/mips/kernel/
H A Dsmp.c74 /* representing cpus for which sibling maps can be computed */
77 /* representing cpus for which core maps can be computed */
/linux-4.4.14/arch/arm/mach-u300/
H A Dcore.c206 /* anonymous maps for chip power and EMIFs */
210 /* per-device maps for MMC/SD, SPI and UART */
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
H A Dmr.c993 if (fmr->maps >= fmr->max_maps) mlx4_check_fmr()
1009 ++fmr->maps; mlx4_map_phys_fmr()
1065 fmr->maps = 0; mlx4_fmr_alloc()
1113 if (!fmr->maps) mlx4_fmr_unmap()
1116 fmr->maps = 0; mlx4_fmr_unmap()
1141 if (fmr->maps) mlx4_fmr_free()
/linux-4.4.14/arch/powerpc/kernel/
H A Dsmp.c544 /* Wait until cpu puts itself in the online & active maps */ __cpu_up()
704 /* Update sibling maps */ start_secondary()
804 /* Update sibling maps */ __cpu_disable()
/linux-4.4.14/drivers/gpu/drm/
H A Ddrm_bufs.c47 * lower 32 bits of the map offset for maps of type drm_find_matching_map()
163 /* page-align _DRM_SHM maps. They are allocated here so there is no security drm_addmap_core()
187 /* Some drivers preinitialize some maps, without the X Server drm_addmap_core()
194 DRM_DEBUG("Matching maps of type %d with " drm_addmap_core()
228 DRM_DEBUG("Matching maps of type %d with " drm_addmap_core()
538 /* Register and framebuffer maps are permanent */ drm_legacy_rmmap_ioctl()
/linux-4.4.14/drivers/staging/unisys/visorinput/
H A Dvisorinput.c81 * This maps 1-byte scancodes to keycodes.
201 * This maps the <xx> in extended scancodes of the form "0xE0 <xx>" into
/linux-4.4.14/drivers/net/wireless/mwifiex/
H A Dcfp.c195 * This function maps an index in supported rates table into
249 /* This function maps an index in supported rates table into
/linux-4.4.14/arch/arc/plat-axs10x/
H A Daxs10x.c147 * of which maps to a corresponding 256MB aperture in Target slave memory map.
440 /* Memory maps already config in pre-bootloader */ axs103_early_init()
/linux-4.4.14/mm/
H A Dmadvise.c271 * pages in anonymous maps after committing to backing store the data
457 * -EBADF - map exists, but area maps something that isn't a file.
/linux-4.4.14/sound/hda/ext/
H A Dhdac_ext_stream.c223 * snd_hdac_ext_link_set_stream_id - maps stream id to link output
235 * snd_hdac_ext_link_clear_stream_id - maps stream id to link output
/linux-4.4.14/sound/pci/emu10k1/
H A Demu10k1_callback.c417 /* invalidate maps */ start_voice()
438 /* invalidate maps */ start_voice()
/linux-4.4.14/drivers/usb/host/
H A Dfhci-q.c28 /* maps the hardware error code to the USB error code */ status_to_error()
/linux-4.4.14/drivers/thermal/
H A Dof-thermal.c633 * It maps 'enum thermal_trip_type' found in include/linux/thermal.h
800 /* cooling-maps */
801 child = of_get_child_by_name(np, "cooling-maps");
803 /* cooling-maps not provided */

Completed in 7784 milliseconds

1234