/linux-4.1.27/drivers/gpio/ |
D | gpio-msic.c | 167 struct msic_gpio *mg = irq_data_get_irq_chip_data(data); in msic_irq_type() local 168 u32 gpio = data->irq - mg->irq_base; in msic_irq_type() 170 if (gpio >= mg->chip.ngpio) in msic_irq_type() 174 mg->trig_change_mask |= (1 << gpio); in msic_irq_type() 175 mg->trig_type = type; in msic_irq_type() 182 struct msic_gpio *mg = container_of(chip, struct msic_gpio, chip); in msic_gpio_to_irq() local 183 return mg->irq_base + offset; in msic_gpio_to_irq() 188 struct msic_gpio *mg = irq_data_get_irq_chip_data(data); in msic_bus_lock() local 189 mutex_lock(&mg->buslock); in msic_bus_lock() 194 struct msic_gpio *mg = irq_data_get_irq_chip_data(data); in msic_bus_sync_unlock() local [all …]
|
/linux-4.1.27/tools/perf/tests/ |
D | thread-mg-share.c | 15 struct map_groups *mg; in test__thread_mg_share() local 45 mg = leader->mg; in test__thread_mg_share() 46 TEST_ASSERT_VAL("wrong refcnt", mg->refcnt == 4); in test__thread_mg_share() 49 TEST_ASSERT_VAL("map groups don't match", mg == t1->mg); in test__thread_mg_share() 50 TEST_ASSERT_VAL("map groups don't match", mg == t2->mg); in test__thread_mg_share() 51 TEST_ASSERT_VAL("map groups don't match", mg == t3->mg); in test__thread_mg_share() 61 other_mg = other->mg; in test__thread_mg_share() 64 TEST_ASSERT_VAL("map groups don't match", other_mg == other_leader->mg); in test__thread_mg_share() 68 TEST_ASSERT_VAL("wrong refcnt", mg->refcnt == 3); in test__thread_mg_share() 71 TEST_ASSERT_VAL("wrong refcnt", mg->refcnt == 2); in test__thread_mg_share() [all …]
|
D | Build | 27 perf-y += thread-mg-share.o
|
D | code-reading.c | 171 ret_len = dso__data_read_offset(al.map->dso, thread->mg->machine, in read_object_code()
|
/linux-4.1.27/drivers/md/ |
D | dm-cache-target.c | 336 struct dm_cache_migration *mg; member 361 struct dm_cache_migration *mg; in alloc_migration() local 363 mg = mempool_alloc(cache->migration_pool, GFP_NOWAIT); in alloc_migration() 364 if (mg) { in alloc_migration() 365 mg->cache = cache; in alloc_migration() 366 atomic_inc(&mg->cache->nr_allocated_migrations); in alloc_migration() 369 return mg; in alloc_migration() 372 static void free_migration(struct dm_cache_migration *mg) in free_migration() argument 374 if (atomic_dec_and_test(&mg->cache->nr_allocated_migrations)) in free_migration() 375 wake_up(&mg->cache->migration_wait); in free_migration() [all …]
|
/linux-4.1.27/tools/perf/util/ |
D | map.h | 68 void map_groups__delete(struct map_groups *mg); 69 bool map_groups__empty(struct map_groups *mg); 71 static inline struct map_groups *map_groups__get(struct map_groups *mg) in map_groups__get() argument 73 ++mg->refcnt; in map_groups__get() 74 return mg; in map_groups__get() 77 void map_groups__put(struct map_groups *mg); 160 size_t __map_groups__fprintf_maps(struct map_groups *mg, enum map_type type, 167 void map_groups__init(struct map_groups *mg, struct machine *machine); 168 void map_groups__exit(struct map_groups *mg); 169 int map_groups__clone(struct map_groups *mg, [all …]
|
D | map.c | 416 void map_groups__init(struct map_groups *mg, struct machine *machine) in map_groups__init() argument 420 mg->maps[i] = RB_ROOT; in map_groups__init() 421 INIT_LIST_HEAD(&mg->removed_maps[i]); in map_groups__init() 423 mg->machine = machine; in map_groups__init() 424 mg->refcnt = 1; in map_groups__init() 450 void map_groups__exit(struct map_groups *mg) in map_groups__exit() argument 455 maps__delete(&mg->maps[i]); in map_groups__exit() 456 maps__delete_removed(&mg->removed_maps[i]); in map_groups__exit() 460 bool map_groups__empty(struct map_groups *mg) in map_groups__empty() argument 465 if (maps__first(&mg->maps[i])) in map_groups__empty() [all …]
|
D | thread.c | 19 thread->mg = map_groups__new(machine); in thread__init_map_groups() 23 thread->mg = map_groups__get(leader->mg); in thread__init_map_groups() 26 return thread->mg ? 0 : -1; in thread__init_map_groups() 72 if (thread->mg) { in thread__delete() 73 map_groups__put(thread->mg); in thread__delete() 74 thread->mg = NULL; in thread__delete() 172 map_groups__fprintf(thread->mg, fp); in thread__fprintf() 177 map_groups__fixup_overlappings(thread->mg, map, stderr); in thread__insert_map() 178 map_groups__insert(thread->mg, map); in thread__insert_map() 192 if (map_groups__clone(thread->mg, parent->mg, i) < 0) in thread__clone_map_groups()
|
D | machine.c | 310 if (!leader->mg) in machine__update_thread_pid() 311 leader->mg = map_groups__new(machine); in machine__update_thread_pid() 313 if (!leader->mg) in machine__update_thread_pid() 316 if (th->mg == leader->mg) in machine__update_thread_pid() 319 if (th->mg) { in machine__update_thread_pid() 325 if (!map_groups__empty(th->mg)) in machine__update_thread_pid() 328 map_groups__delete(th->mg); in machine__update_thread_pid() 331 th->mg = map_groups__get(leader->mg); in machine__update_thread_pid() 826 static void map_groups__fixup_end(struct map_groups *mg) in map_groups__fixup_end() argument 830 __map_groups__fixup_end(mg, i); in map_groups__fixup_end() [all …]
|
D | event.c | 796 struct map_groups *mg = thread->mg; in thread__find_addr_map() local 797 struct machine *machine = mg->machine; in thread__find_addr_map() 813 mg = &machine->kmaps; in thread__find_addr_map() 819 mg = &machine->kmaps; in thread__find_addr_map() 839 al->map = map_groups__find(mg, type, al->addr); in thread__find_addr_map() 851 mg != &machine->kmaps && in thread__find_addr_map() 853 mg = &machine->kmaps; in thread__find_addr_map() 875 thread->mg->machine->symbol_filter); in thread__find_addr_location()
|
D | thread.h | 19 struct map_groups *mg; member
|
D | thread-stack.c | 140 if (thread->mg && thread->mg->machine) in thread_stack__new() 141 ts->kernel_start = machine__kernel_start(thread->mg->machine); in thread_stack__new()
|
D | unwind-libdw.c | 174 .machine = thread->mg->machine, in unwind__get_entries()
|
D | vdso.c | 146 map = map_groups__first(thread->mg, MAP__FUNCTION); in machine__thread_dso_type()
|
D | symbol.h | 279 void __map_groups__fixup_end(struct map_groups *mg, enum map_type type);
|
D | symbol.c | 200 void __map_groups__fixup_end(struct map_groups *mg, enum map_type type) in __map_groups__fixup_end() argument 203 struct rb_node *nd, *prevnd = rb_first(&mg->maps[type]); in __map_groups__fixup_end() 1505 struct map *map_groups__find_by_name(struct map_groups *mg, in map_groups__find_by_name() argument 1510 for (nd = rb_first(&mg->maps[type]); nd; nd = rb_next(nd)) { in map_groups__find_by_name()
|
D | unwind-libunwind.c | 637 .machine = thread->mg->machine, in unwind__get_entries()
|
/linux-4.1.27/net/mac80211/ |
D | rc80211_minstrel_ht_debugfs.c | 21 const struct mcs_group *mg; in minstrel_ht_stats_dump() local 30 mg = &minstrel_mcs_groups[i]; in minstrel_ht_stats_dump() 31 gflags = mg->flags; in minstrel_ht_stats_dump() 51 p += sprintf(p, "%d ", mg->streams); in minstrel_ht_stats_dump() 55 p += sprintf(p, "%d ", mg->streams); in minstrel_ht_stats_dump() 69 p += sprintf(p, " MCS%-2u", (mg->streams - 1) * 8 + j); in minstrel_ht_stats_dump() 71 p += sprintf(p, " MCS%-1u/%1u", j, mg->streams); in minstrel_ht_stats_dump() 81 tx_time = DIV_ROUND_CLOSEST(mg->duration[j], 1000); in minstrel_ht_stats_dump() 169 const struct mcs_group *mg; in minstrel_ht_stats_csv_dump() local 178 mg = &minstrel_mcs_groups[i]; in minstrel_ht_stats_csv_dump() [all …]
|
D | rc80211_minstrel_ht.c | 393 struct minstrel_mcs_group_data *mg; in minstrel_ht_set_best_prob_rate() local 402 mg = &mi->groups[index / MCS_GROUP_RATES]; in minstrel_ht_set_best_prob_rate() 403 mrs = &mg->rates[index % MCS_GROUP_RATES]; in minstrel_ht_set_best_prob_rate() 423 max_gpr_group = mg->max_group_prob_rate / MCS_GROUP_RATES; in minstrel_ht_set_best_prob_rate() 424 max_gpr_idx = mg->max_group_prob_rate % MCS_GROUP_RATES; in minstrel_ht_set_best_prob_rate() 430 mg->max_group_prob_rate = index; in minstrel_ht_set_best_prob_rate() 434 if (mrs->prob_ewma > mg->rates[mg->max_group_prob_rate].prob_ewma) in minstrel_ht_set_best_prob_rate() 435 mg->max_group_prob_rate = index; in minstrel_ht_set_best_prob_rate() 480 struct minstrel_mcs_group_data *mg; in minstrel_ht_prob_rate_reduce_streams() local 487 mg = &mi->groups[group]; in minstrel_ht_prob_rate_reduce_streams() [all …]
|
/linux-4.1.27/Documentation/input/ |
D | cma3000_d0x.txt | 101 2000: 2000 mg or 2G Range 102 8000: 8000 mg or 8G Range 105 X: X * 71mg (8G Range) 106 X: X * 18mg (2G Range) 114 X: (X >> 2) * 18mg (2G Range) 115 X: (X & 0x0F) * 71 mg (8G Range)
|
/linux-4.1.27/tools/perf/arch/arm/tests/ |
D | dwarf-unwind.c | 27 map = map_groups__find(thread->mg, MAP__VARIABLE, (u64) sp); in sample_ustack()
|
/linux-4.1.27/tools/perf/arch/x86/tests/ |
D | dwarf-unwind.c | 27 map = map_groups__find(thread->mg, MAP__VARIABLE, (u64) sp); in sample_ustack()
|
/linux-4.1.27/drivers/media/usb/usbvision/ |
D | usbvision.h | 192 #define YUV_TO_RGB_BY_THE_BOOK(my, mu, mv, mr, mg, mb) { \ argument 202 mg = LIMIT_RGB(mm_g); \
|
/linux-4.1.27/arch/mips/include/asm/txx9/ |
D | tx3927.h | 87 endian_def_b4(ml, mg, ip, il);
|
/linux-4.1.27/Documentation/misc-devices/ |
D | lis3lv02d | 25 to mg values (1/1000th of earth gravity).
|
/linux-4.1.27/tools/perf/ui/stdio/ |
D | hist.c | 478 __map_groups__fprintf_maps(h->thread->mg, in hists__fprintf()
|
/linux-4.1.27/arch/mips/include/asm/octeon/ |
D | cvmx-pci-defs.h | 528 uint32_t mg:8; member 534 uint32_t mg:8;
|
/linux-4.1.27/Documentation/filesystems/ |
D | proc.txt | 476 mg - mergable advise flag
|