/kernel/linux/linux-5.10/drivers/gpio/ |
H A D | gpio-msic.c | 147 * This is called from genirq with mg->buslock locked and 153 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 in msic_bus_lock() 180 struct msic_gpio *mg = irq_data_get_irq_chip_data(data); msic_bus_sync_unlock() local 224 struct msic_gpio *mg = irq_data_get_irq_handler_data(data); msic_gpio_irq_handler() local 246 struct msic_gpio *mg; platform_msic_gpio_probe() local [all...] |
/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-cache-target.c | 546 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 1152 struct dm_cache_migration *mg = container_of(context, struct dm_cache_migration, k); copy_complete() local 1160 copy(struct dm_cache_migration *mg, bool promote) copy() argument 1190 struct dm_cache_migration *mg = bio->bi_private; overwrite_endio() local 1202 overwrite(struct dm_cache_migration *mg, void (*continuation)(struct work_struct *)) overwrite() argument 1234 mg_complete(struct dm_cache_migration *mg, bool success) mg_complete() argument 1297 struct dm_cache_migration *mg = ws_to_mg(ws); mg_success() local 1304 struct dm_cache_migration *mg = ws_to_mg(ws); mg_update_metadata() local 1365 struct dm_cache_migration *mg = ws_to_mg(ws); mg_update_metadata_after_copy() local 1379 struct dm_cache_migration *mg = ws_to_mg(ws); mg_upgrade_lock() local 1406 struct dm_cache_migration *mg = ws_to_mg(ws); mg_full_copy() local 1423 struct dm_cache_migration *mg = ws_to_mg(ws); mg_copy() local 1456 mg_lock_writes(struct dm_cache_migration *mg) mg_lock_writes() argument 1493 struct dm_cache_migration *mg; mg_start() local 1515 invalidate_complete(struct dm_cache_migration *mg, bool success) invalidate_complete() argument 1535 struct dm_cache_migration *mg = ws_to_mg(ws); invalidate_completed() local 1565 struct dm_cache_migration *mg = ws_to_mg(ws); invalidate_remove() local 1581 invalidate_lock(struct dm_cache_migration *mg) invalidate_lock() argument 1620 struct dm_cache_migration *mg; invalidate_start() local [all...] |
/kernel/linux/linux-6.6/drivers/md/ |
H A D | dm-cache-target.c | 477 struct dm_cache_migration *mg; in alloc_migration() local 479 mg = mempool_alloc(&cache->migration_pool, GFP_NOIO); in alloc_migration() 481 memset(mg, 0, sizeof(*mg)); in alloc_migration() 483 mg->cache = cache; in alloc_migration() 486 return mg; in alloc_migration() 489 static void free_migration(struct dm_cache_migration *mg) in free_migration() argument 491 struct cache *cache = mg->cache; in free_migration() 496 mempool_free(mg, &cache->migration_pool); in free_migration() 1071 static void quiesce(struct dm_cache_migration *mg, in quiesce() argument 1087 struct dm_cache_migration *mg = container_of(context, struct dm_cache_migration, k); copy_complete() local 1095 copy(struct dm_cache_migration *mg, bool promote) copy() argument 1125 struct dm_cache_migration *mg = bio->bi_private; overwrite_endio() local 1137 overwrite(struct dm_cache_migration *mg, void (*continuation)(struct work_struct *)) overwrite() argument 1169 mg_complete(struct dm_cache_migration *mg, bool success) mg_complete() argument 1232 struct dm_cache_migration *mg = ws_to_mg(ws); mg_success() local 1240 struct dm_cache_migration *mg = ws_to_mg(ws); mg_update_metadata() local 1301 struct dm_cache_migration *mg = ws_to_mg(ws); mg_update_metadata_after_copy() local 1315 struct dm_cache_migration *mg = ws_to_mg(ws); mg_upgrade_lock() local 1342 struct dm_cache_migration *mg = ws_to_mg(ws); mg_full_copy() local 1359 struct dm_cache_migration *mg = ws_to_mg(ws); mg_copy() local 1393 mg_lock_writes(struct dm_cache_migration *mg) mg_lock_writes() argument 1430 struct dm_cache_migration *mg; mg_start() local 1454 invalidate_complete(struct dm_cache_migration *mg, bool success) invalidate_complete() argument 1474 struct dm_cache_migration *mg = ws_to_mg(ws); invalidate_completed() local 1507 struct dm_cache_migration *mg = ws_to_mg(ws); invalidate_remove() local 1523 invalidate_lock(struct dm_cache_migration *mg) invalidate_lock() argument 1562 struct dm_cache_migration *mg; invalidate_start() local [all...] |
/kernel/linux/linux-5.10/net/mac80211/ |
H A D | rc80211_minstrel_ht_debugfs.c | 34 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...] |
H A D | rc80211_minstrel_ht.c | 422 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 in minstrel_ht_prob_rate_reduce_streams() 674 struct minstrel_mcs_group_data *mg; minstrel_ht_update_stats() local 819 struct minstrel_mcs_group_data *mg; minstrel_set_next_sample_idx() local 1198 struct minstrel_mcs_group_data *mg; minstrel_get_sample_rate() local [all...] |
/kernel/linux/linux-6.6/net/mac80211/ |
H A D | rc80211_minstrel_ht_debugfs.c | 50 const struct mcs_group *mg; in minstrel_ht_stats_dump() local 59 mg = &minstrel_mcs_groups[i]; in minstrel_ht_stats_dump() 60 gflags = mg->flags; in minstrel_ht_stats_dump() 80 p += sprintf(p, "%d ", mg->streams); in minstrel_ht_stats_dump() 84 p += sprintf(p, "%d ", mg->streams); in minstrel_ht_stats_dump() 102 p += sprintf(p, " MCS%-2u", (mg->streams - 1) * 8 + j); in minstrel_ht_stats_dump() 104 p += sprintf(p, " MCS%-1u/%1u", j, mg->streams); in minstrel_ht_stats_dump() 119 duration = mg->duration[j]; in minstrel_ht_stats_dump() 120 duration <<= mg->shift; in minstrel_ht_stats_dump() 196 const struct mcs_group *mg; in minstrel_ht_stats_csv_dump() local [all...] |
H A D | rc80211_minstrel_ht.c | 576 struct minstrel_mcs_group_data *mg; in minstrel_ht_set_best_prob_rate() local 586 mg = &mi->groups[cur_group]; in minstrel_ht_set_best_prob_rate() 587 mrs = &mg->rates[cur_idx]; in minstrel_ht_set_best_prob_rate() 609 max_gpr_group = MI_RATE_GROUP(mg->max_group_prob_rate); in minstrel_ht_set_best_prob_rate() 610 max_gpr_idx = MI_RATE_IDX(mg->max_group_prob_rate); in minstrel_ht_set_best_prob_rate() 623 mg->max_group_prob_rate = index; in minstrel_ht_set_best_prob_rate() 628 mg->max_group_prob_rate = index; in minstrel_ht_set_best_prob_rate() 673 struct minstrel_mcs_group_data *mg; in minstrel_ht_prob_rate_reduce_streams() local 683 mg = &mi->groups[group]; in minstrel_ht_prob_rate_reduce_streams() 687 tmp_idx = MI_RATE_IDX(mg in minstrel_ht_prob_rate_reduce_streams() 906 struct minstrel_mcs_group_data *mg = &mi->groups[group]; minstrel_ht_next_group_sample_rate() local 1061 struct minstrel_mcs_group_data *mg; minstrel_ht_update_stats() local [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/irdma/ |
H A D | uda.c | 191 * @mg: Multcast group info 194 struct irdma_mcast_grp_ctx_entry_info *mg) in irdma_sc_add_mcast_grp() 203 if (irdma_compare_mgs(&ctx->mg_ctx_info[idx], mg)) { in irdma_sc_add_mcast_grp() 216 ctx->mg_ctx_info[free_entry_idx] = *mg; in irdma_sc_add_mcast_grp() 229 * @mg: Multcast group info 235 struct irdma_mcast_grp_ctx_entry_info *mg) in irdma_sc_del_mcast_grp() 244 if (irdma_compare_mgs(mg, &ctx->mg_ctx_info[idx])) { in irdma_sc_del_mcast_grp() 193 irdma_sc_add_mcast_grp(struct irdma_mcast_grp_info *ctx, struct irdma_mcast_grp_ctx_entry_info *mg) irdma_sc_add_mcast_grp() argument 234 irdma_sc_del_mcast_grp(struct irdma_mcast_grp_info *ctx, struct irdma_mcast_grp_ctx_entry_info *mg) irdma_sc_del_mcast_grp() argument
|
H A D | uda.h | 36 struct irdma_mcast_grp_ctx_entry_info *mg); 38 struct irdma_mcast_grp_ctx_entry_info *mg);
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | intel_ddi_buf_trans.c | 594 { .mg = { 0x18, 0x00, 0x00 } }, /* 0 0 */ 595 { .mg = { 0x1D, 0x00, 0x05 } }, /* 0 1 */ 596 { .mg = { 0x24, 0x00, 0x0C } }, /* 0 2 */ 597 { .mg = { 0x2B, 0x00, 0x14 } }, /* 0 3 */ 598 { .mg = { 0x21, 0x00, 0x00 } }, /* 1 0 */ 599 { .mg = { 0x2B, 0x00, 0x08 } }, /* 1 1 */ 600 { .mg = { 0x30, 0x00, 0x0F } }, /* 1 2 */ 601 { .mg = { 0x31, 0x00, 0x03 } }, /* 2 0 */ 602 { .mg = { 0x34, 0x00, 0x0B } }, /* 2 1 */ 603 { .mg [all...] |
H A D | intel_ddi_buf_trans.h | 58 struct icl_mg_phy_ddi_buf_trans mg; member
|
H A D | intel_ddi.c | 1252 CRI_TXDEEMPH_OVERRIDE_17_12(trans->entries[level].mg.cri_txdeemph_override_17_12)); in icl_mg_phy_set_signal_levels() 1258 CRI_TXDEEMPH_OVERRIDE_17_12(trans->entries[level].mg.cri_txdeemph_override_17_12)); in icl_mg_phy_set_signal_levels() 1270 CRI_TXDEEMPH_OVERRIDE_11_6(trans->entries[level].mg.cri_txdeemph_override_11_6) | in icl_mg_phy_set_signal_levels() 1271 CRI_TXDEEMPH_OVERRIDE_5_0(trans->entries[level].mg.cri_txdeemph_override_5_0) | in icl_mg_phy_set_signal_levels() 1279 CRI_TXDEEMPH_OVERRIDE_11_6(trans->entries[level].mg.cri_txdeemph_override_11_6) | in icl_mg_phy_set_signal_levels() 1280 CRI_TXDEEMPH_OVERRIDE_5_0(trans->entries[level].mg.cri_txdeemph_override_5_0) | in icl_mg_phy_set_signal_levels()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | metricgroup.c | 533 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()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | metricgroup.c | 456 char *omg, *mg; in metricgroup__add_to_mep_groups() local 458 mg = strdup(pm->metric_group ?: "No_group"); in metricgroup__add_to_mep_groups() 459 if (!mg) in metricgroup__add_to_mep_groups() 461 omg = mg; in metricgroup__add_to_mep_groups() 462 while ((g = strsep(&mg, ";")) != NULL) { in metricgroup__add_to_mep_groups()
|
/kernel/linux/linux-5.10/arch/mips/include/asm/txx9/ |
H A D | tx3927.h | 87 endian_def_b4(ml, mg, ip, il);
|
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/ |
H A D | cvmx-pci-defs.h | 422 uint32_t mg:8; member 428 uint32_t mg:8;
|
/kernel/linux/linux-6.6/arch/mips/include/asm/octeon/ |
H A D | cvmx-pci-defs.h | 422 uint32_t mg:8; member 428 uint32_t mg:8;
|