Searched refs:gpio_res (Results 1 – 2 of 2) sorted by relevance
1283 struct mlxbf_i2c_resource *gpio_res; in mlxbf_i2c_get_gpio() local1288 gpio_res = mlxbf_i2c_get_shared_resource(priv, MLXBF_I2C_GPIO_RES); in mlxbf_i2c_get_gpio()1289 if (!gpio_res) in mlxbf_i2c_get_gpio()1297 lockdep_assert_held(gpio_res->lock); in mlxbf_i2c_get_gpio()1300 if (gpio_res->io) in mlxbf_i2c_get_gpio()1303 params = gpio_res->params; in mlxbf_i2c_get_gpio()1309 gpio_res->io = devm_ioremap(dev, params->start, size); in mlxbf_i2c_get_gpio()1310 if (!gpio_res->io) { in mlxbf_i2c_get_gpio()1321 struct mlxbf_i2c_resource *gpio_res; in mlxbf_i2c_release_gpio() local1325 gpio_res = mlxbf_i2c_get_shared_resource(priv, MLXBF_I2C_GPIO_RES); in mlxbf_i2c_release_gpio()[all …]
99 __u8 gpio_res; member