Searched refs:max_adapters (Results 1 – 3 of 3) sorted by relevance
/linux-5.19.10/include/linux/ |
D | i2c-mux.h | 31 int max_adapters; member 36 struct device *dev, int max_adapters,
|
/linux-5.19.10/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()
|
/linux-5.19.10/drivers/s390/crypto/ |
D | zcrypt_api.c | 1373 static void zcrypt_status_mask(char status[], size_t max_adapters) in zcrypt_status_mask() argument 1379 memset(status, 0, max_adapters); in zcrypt_status_mask() 1385 card >= max_adapters) in zcrypt_status_mask() 1393 static void zcrypt_qdepth_mask(char qdepth[], size_t max_adapters) in zcrypt_qdepth_mask() argument 1399 memset(qdepth, 0, max_adapters); in zcrypt_qdepth_mask() 1406 card >= max_adapters) in zcrypt_qdepth_mask() 1419 static void zcrypt_perdev_reqcnt(u32 reqcnt[], size_t max_adapters) in zcrypt_perdev_reqcnt() argument 1426 memset(reqcnt, 0, sizeof(int) * max_adapters); in zcrypt_perdev_reqcnt() 1433 card >= max_adapters) in zcrypt_perdev_reqcnt()
|