Lines Matching defs:cpld_devs
132 * @cpld_devs: I2C devices for cpld;
152 struct mlxreg_hotplug_device *cpld_devs;
1091 nvsw_sn2201->cpld_devs->nr);
1103 nvsw_sn2201->cpld_devs->adapter = i2c_get_adapter(nvsw_sn2201->cpld_devs->nr);
1104 if (!nvsw_sn2201->cpld_devs->adapter) {
1107 nvsw_sn2201->cpld_devs->nr);
1112 nvsw_sn2201->cpld_devs->client = i2c_new_dummy_device(nvsw_sn2201->cpld_devs->adapter,
1114 if (IS_ERR(nvsw_sn2201->cpld_devs->client)) {
1115 err = PTR_ERR(nvsw_sn2201->cpld_devs->client);
1117 nvsw_sn2201->cpld_devs->brdinfo->type, nvsw_sn2201->cpld_devs->nr,
1118 nvsw_sn2201->cpld_devs->brdinfo->addr);
1122 regmap = devm_regmap_init_i2c(nvsw_sn2201->cpld_devs->client, &nvsw_sn2201_regmap_conf);
1164 i2c_put_adapter(nvsw_sn2201->cpld_devs->adapter);
1165 nvsw_sn2201->cpld_devs->adapter = NULL;
1213 nvsw_sn2201->cpld_devs = nvsw_sn2201_cpld_brdinfo;
1232 i2c_put_adapter(nvsw_sn2201->cpld_devs->adapter);
1233 nvsw_sn2201->cpld_devs->adapter = NULL;