Home
last modified time | relevance | path

Searched refs:num_id (Results 1 – 3 of 3) sorted by relevance

/drivers/s390/cio/
Didset.c14 int num_id; member
18 static inline unsigned long bitmap_size(int num_ssid, int num_id) in bitmap_size() argument
20 return BITS_TO_LONGS(num_ssid * num_id) * sizeof(unsigned long); in bitmap_size()
23 static struct idset *idset_new(int num_ssid, int num_id) in idset_new() argument
27 set = vmalloc(sizeof(struct idset) + bitmap_size(num_ssid, num_id)); in idset_new()
30 set->num_id = num_id; in idset_new()
31 memset(set->bitmap, 0, bitmap_size(num_ssid, num_id)); in idset_new()
43 memset(set->bitmap, 0, bitmap_size(set->num_ssid, set->num_id)); in idset_clear()
48 memset(set->bitmap, 0xff, bitmap_size(set->num_ssid, set->num_id)); in idset_fill()
53 set_bit(ssid * set->num_id + id, set->bitmap); in idset_add()
[all …]
/drivers/regulator/
Ddevres.c366 int num_id) in devm_regulator_bulk_register_supply_alias() argument
371 for (i = 0; i < num_id; ++i) { in devm_regulator_bulk_register_supply_alias()
408 int num_id) in devm_regulator_bulk_unregister_supply_alias() argument
412 for (i = 0; i < num_id; ++i) in devm_regulator_bulk_unregister_supply_alias()
Dcore.c1620 int num_id) in regulator_bulk_register_supply_alias() argument
1625 for (i = 0; i < num_id; ++i) { in regulator_bulk_register_supply_alias()
1658 int num_id) in regulator_bulk_unregister_supply_alias() argument
1662 for (i = 0; i < num_id; ++i) in regulator_bulk_unregister_supply_alias()