Lines Matching defs:mlxbf_i2c_resource
393 struct mlxbf_i2c_resource {
396 struct mutex *lock; /* Mutex to protect mlxbf_i2c_resource. */
403 struct mlxbf_i2c_resource *shared_res[MLXBF_I2C_SHARED_RES_MAX];
406 u64 (*calculate_freq)(struct mlxbf_i2c_resource *corepll_res);
416 struct mlxbf_i2c_resource *smbus;
417 struct mlxbf_i2c_resource *timer;
418 struct mlxbf_i2c_resource *mst;
419 struct mlxbf_i2c_resource *slv;
420 struct mlxbf_i2c_resource *mst_cause;
421 struct mlxbf_i2c_resource *slv_cause;
422 struct mlxbf_i2c_resource *coalesce;
458 static struct mlxbf_i2c_resource mlxbf_i2c_coalesce_res[] = {
467 static struct mlxbf_i2c_resource mlxbf_i2c_corepll_res[] = {
485 static struct mlxbf_i2c_resource mlxbf_i2c_gpio_res[] = {
1052 static struct mlxbf_i2c_resource *
1056 struct mlxbf_i2c_resource *res;
1069 struct mlxbf_i2c_resource **res,
1072 struct mlxbf_i2c_resource *tmp_res;
1078 tmp_res = devm_kzalloc(dev, sizeof(struct mlxbf_i2c_resource),
1283 struct mlxbf_i2c_resource *gpio_res;
1321 struct mlxbf_i2c_resource *gpio_res;
1347 struct mlxbf_i2c_resource *corepll_res;
1386 struct mlxbf_i2c_resource *corepll_res;
1411 struct mlxbf_i2c_resource *gpio_res;
1465 static u64 mlxbf_i2c_calculate_freq_from_tyu(struct mlxbf_i2c_resource *corepll_res)
1495 static u64 mlxbf_i2c_calculate_freq_from_yu(struct mlxbf_i2c_resource *corepll_res)
1530 struct mlxbf_i2c_resource *corepll_res;
1688 struct mlxbf_i2c_resource *coalesce_res;
1741 struct mlxbf_i2c_resource *coalesce_res;
2306 priv->timer = devm_kzalloc(dev, sizeof(struct mlxbf_i2c_resource), GFP_KERNEL);
2310 priv->mst = devm_kzalloc(dev, sizeof(struct mlxbf_i2c_resource), GFP_KERNEL);
2314 priv->slv = devm_kzalloc(dev, sizeof(struct mlxbf_i2c_resource), GFP_KERNEL);