Searched refs:max_adapters (Results 1 – 2 of 2) sorted by relevance
/drivers/i2c/ |
D | i2c-mux.c | 240 struct device *dev, int max_adapters, in i2c_mux_alloc() argument 247 muxc = devm_kzalloc(dev, struct_size(muxc, adapter, max_adapters) in i2c_mux_alloc() 252 muxc->priv = &muxc->adapter[max_adapters]; in i2c_mux_alloc() 264 muxc->max_adapters = max_adapters; in i2c_mux_alloc() 291 if (muxc->num_adapters >= muxc->max_adapters) { in i2c_mux_add_adapter()
|
/drivers/s390/crypto/ |
D | zcrypt_api.c | 1293 static void zcrypt_status_mask(char status[], size_t max_adapters) in zcrypt_status_mask() argument 1299 memset(status, 0, max_adapters); in zcrypt_status_mask() 1305 || card >= max_adapters) in zcrypt_status_mask() 1313 static void zcrypt_qdepth_mask(char qdepth[], size_t max_adapters) in zcrypt_qdepth_mask() argument 1319 memset(qdepth, 0, max_adapters); in zcrypt_qdepth_mask() 1326 || card >= max_adapters) in zcrypt_qdepth_mask() 1339 static void zcrypt_perdev_reqcnt(u32 reqcnt[], size_t max_adapters) in zcrypt_perdev_reqcnt() argument 1346 memset(reqcnt, 0, sizeof(int) * max_adapters); in zcrypt_perdev_reqcnt() 1353 || card >= max_adapters) in zcrypt_perdev_reqcnt()
|