Searched refs:num_id (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.4/drivers/s390/cio/ |
| D | idset.c | 15 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 …]
|
| /Linux-v5.4/include/linux/regulator/ |
| D | consumer.h | 202 int num_id); 204 const char * const *id, int num_id); 216 int num_id); 219 int num_id); 360 int num_id) in regulator_bulk_register_supply_alias() argument 367 int num_id) in regulator_bulk_unregister_supply_alias() argument 388 int num_id) in devm_regulator_bulk_register_supply_alias() argument 394 struct device *dev, const char *const *id, int num_id) in devm_regulator_bulk_unregister_supply_alias() argument
|
| /Linux-v5.4/drivers/regulator/ |
| D | devres.c | 347 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()
|
| D | core.c | 2166 int num_id) in regulator_bulk_register_supply_alias() argument 2171 for (i = 0; i < num_id; ++i) { in regulator_bulk_register_supply_alias() 2204 int num_id) in regulator_bulk_unregister_supply_alias() argument 2208 for (i = 0; i < num_id; ++i) in regulator_bulk_unregister_supply_alias()
|