Home
last modified time | relevance | path

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

/linux-5.19.10/include/linux/
Di2c-mux.h31 int max_adapters; member
36 struct device *dev, int max_adapters,
/linux-5.19.10/drivers/i2c/
Di2c-mux.c240 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/
Dzcrypt_api.c1373 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()