Searched refs:mg (Results 1 – 3 of 3) sorted by relevance
/drivers/gpio/ |
D | gpio-msic.c | 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->buslock); in msic_bus_lock() 180 struct msic_gpio *mg = irq_data_get_irq_chip_data(data); in msic_bus_sync_unlock() local [all …]
|
/drivers/md/ |
D | dm-cache-target.c | 555 struct dm_cache_migration *mg; in alloc_migration() local 557 mg = mempool_alloc(&cache->migration_pool, GFP_NOIO); in alloc_migration() 559 memset(mg, 0, sizeof(*mg)); in alloc_migration() 561 mg->cache = cache; in alloc_migration() 564 return mg; in alloc_migration() 567 static void free_migration(struct dm_cache_migration *mg) in free_migration() argument 569 struct cache *cache = mg->cache; in free_migration() 574 mempool_free(mg, &cache->migration_pool); in free_migration() 1163 static void quiesce(struct dm_cache_migration *mg, in quiesce() argument 1166 init_continuation(&mg->k, continuation); in quiesce() [all …]
|
/drivers/media/usb/usbvision/ |
D | usbvision.h | 179 #define YUV_TO_RGB_BY_THE_BOOK(my, mu, mv, mr, mg, mb) { \ argument 189 mg = LIMIT_RGB(mm_g); \
|