Lines Matching refs:mlxbf_i2c_resource
367 struct mlxbf_i2c_resource { struct
423 struct mlxbf_i2c_resource *shared_res[MLXBF_I2C_SHARED_RES_MAX];
426 u64 (*calculate_freq)(struct mlxbf_i2c_resource *corepll_res);
432 struct mlxbf_i2c_resource *smbus;
433 struct mlxbf_i2c_resource *mst_cause;
434 struct mlxbf_i2c_resource *slv_cause;
435 struct mlxbf_i2c_resource *coalesce;
442 static struct mlxbf_i2c_resource mlxbf_i2c_coalesce_res[] = {
451 static struct mlxbf_i2c_resource mlxbf_i2c_corepll_res[] = {
464 static struct mlxbf_i2c_resource mlxbf_i2c_gpio_res[] = {
997 static struct mlxbf_i2c_resource *
1001 struct mlxbf_i2c_resource *res; in mlxbf_i2c_get_shared_resource()
1014 struct mlxbf_i2c_resource **res, in mlxbf_i2c_init_resource()
1017 struct mlxbf_i2c_resource *tmp_res; in mlxbf_i2c_init_resource()
1023 tmp_res = devm_kzalloc(dev, sizeof(struct mlxbf_i2c_resource), in mlxbf_i2c_init_resource()
1234 struct mlxbf_i2c_resource *gpio_res; in mlxbf_i2c_get_gpio()
1272 struct mlxbf_i2c_resource *gpio_res; in mlxbf_i2c_release_gpio()
1298 struct mlxbf_i2c_resource *corepll_res; in mlxbf_i2c_get_corepll()
1337 struct mlxbf_i2c_resource *corepll_res; in mlxbf_i2c_release_corepll()
1362 struct mlxbf_i2c_resource *gpio_res; in mlxbf_i2c_init_master()
1416 static u64 mlxbf_calculate_freq_from_tyu(struct mlxbf_i2c_resource *corepll_res) in mlxbf_calculate_freq_from_tyu()
1451 static u64 mlxbf_calculate_freq_from_yu(struct mlxbf_i2c_resource *corepll_res) in mlxbf_calculate_freq_from_yu()
1491 struct mlxbf_i2c_resource *corepll_res; in mlxbf_i2c_calculate_corepll_freq()
1685 struct mlxbf_i2c_resource *coalesce_res; in mlxbf_i2c_init_coalesce()
1738 struct mlxbf_i2c_resource *coalesce_res; in mlxbf_i2c_release_coalesce()