Home
last modified time | relevance | path

Searched refs:mg (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.10/drivers/gpio/
Dgpio-msic.c153 struct msic_gpio *mg = irq_data_get_irq_chip_data(data); in msic_irq_type() local
154 u32 gpio = data->irq - mg->irq_base; in msic_irq_type()
156 if (gpio >= mg->chip.ngpio) in msic_irq_type()
160 mg->trig_change_mask |= (1 << gpio); in msic_irq_type()
161 mg->trig_type = type; in msic_irq_type()
168 struct msic_gpio *mg = gpiochip_get_data(chip); in msic_gpio_to_irq() local
169 return mg->irq_base + offset; in msic_gpio_to_irq()
174 struct msic_gpio *mg = irq_data_get_irq_chip_data(data); in msic_bus_lock() local
175 mutex_lock(&mg->buslock); in msic_bus_lock()
180 struct msic_gpio *mg = irq_data_get_irq_chip_data(data); in msic_bus_sync_unlock() local
[all …]
/Linux-v5.10/drivers/md/
Ddm-cache-target.c546 struct dm_cache_migration *mg; in alloc_migration() local
548 mg = mempool_alloc(&cache->migration_pool, GFP_NOIO); in alloc_migration()
550 memset(mg, 0, sizeof(*mg)); in alloc_migration()
552 mg->cache = cache; in alloc_migration()
555 return mg; in alloc_migration()
558 static void free_migration(struct dm_cache_migration *mg) in free_migration() argument
560 struct cache *cache = mg->cache; in free_migration()
565 mempool_free(mg, &cache->migration_pool); in free_migration()
1137 static void quiesce(struct dm_cache_migration *mg, in quiesce() argument
1140 init_continuation(&mg->k, continuation); in quiesce()
[all …]
/Linux-v5.10/net/mac80211/
Drc80211_minstrel_ht_debugfs.c34 const struct mcs_group *mg; in minstrel_ht_stats_dump() local
43 mg = &minstrel_mcs_groups[i]; in minstrel_ht_stats_dump()
44 gflags = mg->flags; in minstrel_ht_stats_dump()
65 p += sprintf(p, "%d ", mg->streams); in minstrel_ht_stats_dump()
69 p += sprintf(p, "%d ", mg->streams); in minstrel_ht_stats_dump()
83 p += sprintf(p, " MCS%-2u", (mg->streams - 1) * 8 + j); in minstrel_ht_stats_dump()
85 p += sprintf(p, " MCS%-1u/%1u", j, mg->streams); in minstrel_ht_stats_dump()
95 duration = mg->duration[j]; in minstrel_ht_stats_dump()
96 duration <<= mg->shift; in minstrel_ht_stats_dump()
181 const struct mcs_group *mg; in minstrel_ht_stats_csv_dump() local
[all …]
Drc80211_minstrel_ht.c422 struct minstrel_mcs_group_data *mg; in minstrel_ht_set_best_prob_rate() local
431 mg = &mi->groups[index / MCS_GROUP_RATES]; in minstrel_ht_set_best_prob_rate()
432 mrs = &mg->rates[index % MCS_GROUP_RATES]; in minstrel_ht_set_best_prob_rate()
446 max_gpr_group = mg->max_group_prob_rate / MCS_GROUP_RATES; in minstrel_ht_set_best_prob_rate()
447 max_gpr_idx = mg->max_group_prob_rate % MCS_GROUP_RATES; in minstrel_ht_set_best_prob_rate()
460 mg->max_group_prob_rate = index; in minstrel_ht_set_best_prob_rate()
465 mg->max_group_prob_rate = index; in minstrel_ht_set_best_prob_rate()
510 struct minstrel_mcs_group_data *mg; in minstrel_ht_prob_rate_reduce_streams() local
517 mg = &mi->groups[group]; in minstrel_ht_prob_rate_reduce_streams()
521 tmp_idx = mg->max_group_prob_rate % MCS_GROUP_RATES; in minstrel_ht_prob_rate_reduce_streams()
[all …]
/Linux-v5.10/Documentation/input/devices/
Dcma3000_d0x.rst122 2000: 2000 mg or 2G Range
123 8000: 8000 mg or 8G Range
127 X: X * 71mg (8G Range)
128 X: X * 18mg (2G Range)
138 X: (X >> 2) * 18mg (2G Range)
139 X: (X & 0x0F) * 71 mg (8G Range)
/Linux-v5.10/tools/perf/util/
Dmetricgroup.c533 char *mg = strdup(g); in metricgroup__print() local
535 if (!mg) in metricgroup__print()
537 omg = mg; in metricgroup__print()
538 while ((g = strsep(&mg, ";")) != NULL) { in metricgroup__print()
/Linux-v5.10/arch/mips/include/asm/txx9/
Dtx3927.h87 endian_def_b4(ml, mg, ip, il);
/Linux-v5.10/Documentation/misc-devices/
Dlis3lv02d.rst26 to mg values (1/1000th of earth gravity).
/Linux-v5.10/arch/mips/include/asm/octeon/
Dcvmx-pci-defs.h422 uint32_t mg:8; member
428 uint32_t mg:8;
/Linux-v5.10/arch/s390/tools/
Dopcodes.txt810 e384 mg RXY_RRRD
/Linux-v5.10/Documentation/filesystems/
Dproc.rst547 mg mergable advise flag