Home
last modified time | relevance | path

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

/drivers/s390/cio/
Didset.c15 int num_id; member
19 static inline unsigned long bitmap_size(int num_ssid, int num_id) in bitmap_size() argument
21 return BITS_TO_LONGS(num_ssid * num_id) * sizeof(unsigned long); in bitmap_size()
24 static struct idset *idset_new(int num_ssid, int num_id) in idset_new() argument
28 set = vmalloc(sizeof(struct idset) + bitmap_size(num_ssid, num_id)); in idset_new()
31 set->num_id = num_id; in idset_new()
32 memset(set->bitmap, 0, bitmap_size(num_ssid, num_id)); in idset_new()
44 memset(set->bitmap, 0xff, bitmap_size(set->num_ssid, set->num_id)); in idset_fill()
49 set_bit(ssid * set->num_id + id, set->bitmap); in idset_add()
54 clear_bit(ssid * set->num_id + id, set->bitmap); in idset_del()
[all …]
/drivers/regulator/
Ddevres.c347 int num_id) in devm_regulator_bulk_register_supply_alias() argument
352 for (i = 0; i < num_id; ++i) { in devm_regulator_bulk_register_supply_alias()
389 int num_id) in devm_regulator_bulk_unregister_supply_alias() argument
393 for (i = 0; i < num_id; ++i) in devm_regulator_bulk_unregister_supply_alias()
Dcore.c2172 int num_id) in regulator_bulk_register_supply_alias() argument
2177 for (i = 0; i < num_id; ++i) { in regulator_bulk_register_supply_alias()
2210 int num_id) in regulator_bulk_unregister_supply_alias() argument
2214 for (i = 0; i < num_id; ++i) in regulator_bulk_unregister_supply_alias()