Searched refs:max_adapters (Results 1 – 5 of 5) sorted by relevance
/linux/include/linux/ |
H A D | i2c-mux.h | 31 int max_adapters; member 36 struct device *dev, int max_adapters,
|
H A D | i2c-atr.h | 56 * @chan_id: Index of the new adapter (0 .. max_adapters-1). This value is 82 * @max_adapters: Maximum number of child adapters 93 const struct i2c_atr_ops *ops, int max_adapters, 130 * @chan_id: Index of the adapter to be removed (0 .. max_adapters-1)
|
/linux/drivers/i2c/ |
H A D | i2c-atr.c | 108 * @max_adapters: Maximum number of adapters this I2C ATR can have 125 int max_adapters; member 132 struct i2c_adapter *adapter[] __counted_by(max_adapters); 614 for (chan_id = 0; chan_id < atr->max_adapters; ++chan_id) { in i2c_atr_bus_notifier_call() 619 if (chan_id == atr->max_adapters) in i2c_atr_bus_notifier_call() 715 const struct i2c_atr_ops *ops, int max_adapters, in i2c_atr_new() argument 721 if (max_adapters > ATR_MAX_ADAPTERS) in i2c_atr_new() 727 atr = kzalloc(struct_size(atr, adapter, max_adapters), GFP_KERNEL); in i2c_atr_new() 737 atr->max_adapters = max_adapters; in i2c_atr_new() [all...] |
H A D | i2c-mux.c | 227 struct device *dev, int max_adapters, in i2c_mux_alloc() argument 235 mux_size = struct_size(muxc, adapter, max_adapters); in i2c_mux_alloc() 240 muxc->priv = &muxc->adapter[max_adapters]; in i2c_mux_alloc() 252 muxc->max_adapters = max_adapters; in i2c_mux_alloc() 278 if (muxc->num_adapters >= muxc->max_adapters) { in i2c_mux_add_adapter()
|
/linux/drivers/s390/crypto/ |
H A D | zcrypt_api.c | 1365 static void zcrypt_status_mask(char status[], size_t max_adapters) in zcrypt_status_mask() argument 1371 memset(status, 0, max_adapters); in zcrypt_status_mask() 1377 card >= max_adapters) in zcrypt_status_mask() 1385 static void zcrypt_qdepth_mask(char qdepth[], size_t max_adapters) in zcrypt_qdepth_mask() argument 1391 memset(qdepth, 0, max_adapters); in zcrypt_qdepth_mask() 1398 card >= max_adapters) in zcrypt_qdepth_mask() 1411 static void zcrypt_perdev_reqcnt(u32 reqcnt[], size_t max_adapters) in zcrypt_perdev_reqcnt() argument 1418 memset(reqcnt, 0, sizeof(int) * max_adapters); in zcrypt_perdev_reqcnt() 1425 card >= max_adapters) in zcrypt_perdev_reqcnt()
|