Lines Matching refs:mlxbf_i2c_resource
393 struct mlxbf_i2c_resource { struct
403 struct mlxbf_i2c_resource *shared_res[MLXBF_I2C_SHARED_RES_MAX]; argument
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; in mlxbf_i2c_get_shared_resource()
1069 struct mlxbf_i2c_resource **res, in mlxbf_i2c_init_resource()
1072 struct mlxbf_i2c_resource *tmp_res; in mlxbf_i2c_init_resource()
1078 tmp_res = devm_kzalloc(dev, sizeof(struct mlxbf_i2c_resource), in mlxbf_i2c_init_resource()
1283 struct mlxbf_i2c_resource *gpio_res; in mlxbf_i2c_get_gpio()
1321 struct mlxbf_i2c_resource *gpio_res; in mlxbf_i2c_release_gpio()
1347 struct mlxbf_i2c_resource *corepll_res; in mlxbf_i2c_get_corepll()
1386 struct mlxbf_i2c_resource *corepll_res; in mlxbf_i2c_release_corepll()
1411 struct mlxbf_i2c_resource *gpio_res; in mlxbf_i2c_init_master()
1465 static u64 mlxbf_i2c_calculate_freq_from_tyu(struct mlxbf_i2c_resource *corepll_res) in mlxbf_i2c_calculate_freq_from_tyu()
1495 static u64 mlxbf_i2c_calculate_freq_from_yu(struct mlxbf_i2c_resource *corepll_res) in mlxbf_i2c_calculate_freq_from_yu()
1530 struct mlxbf_i2c_resource *corepll_res; in mlxbf_i2c_calculate_corepll_freq()
1688 struct mlxbf_i2c_resource *coalesce_res; in mlxbf_i2c_init_coalesce()
1741 struct mlxbf_i2c_resource *coalesce_res; in mlxbf_i2c_release_coalesce()
2306 priv->timer = devm_kzalloc(dev, sizeof(struct mlxbf_i2c_resource), GFP_KERNEL); in mlxbf_i2c_probe()
2310 priv->mst = devm_kzalloc(dev, sizeof(struct mlxbf_i2c_resource), GFP_KERNEL); in mlxbf_i2c_probe()
2314 priv->slv = devm_kzalloc(dev, sizeof(struct mlxbf_i2c_resource), GFP_KERNEL); in mlxbf_i2c_probe()