Home
last modified time | relevance | path

Searched refs:gpio_res (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/i2c/busses/
H A Di2c-mlxbf.c1251 struct mlxbf_i2c_resource *gpio_res; in mlxbf_i2c_get_gpio() local
1256 gpio_res = mlxbf_i2c_get_shared_resource(priv, MLXBF_I2C_GPIO_RES); in mlxbf_i2c_get_gpio()
1257 if (!gpio_res) in mlxbf_i2c_get_gpio()
1265 lockdep_assert_held(gpio_res->lock); in mlxbf_i2c_get_gpio()
1268 if (gpio_res->io) in mlxbf_i2c_get_gpio()
1271 params = gpio_res->params; in mlxbf_i2c_get_gpio()
1277 gpio_res->io = devm_ioremap(dev, params->start, size); in mlxbf_i2c_get_gpio()
1278 if (!gpio_res->io) { in mlxbf_i2c_get_gpio()
1289 struct mlxbf_i2c_resource *gpio_res; in mlxbf_i2c_release_gpio() local
1293 gpio_res = mlxbf_i2c_get_shared_resource(priv, MLXBF_I2C_GPIO_RES); in mlxbf_i2c_release_gpio()
[all …]