Lines Matching full:claim
31 * @our_gpio: GPIO we'll use to claim.
34 * @their_gpio: GPIO that the other side will use to claim.
38 * @wait_retry_us: we'll attempt another claim after this many microseconds.
54 * i2c_arbitrator_select - claim the I2C bus
63 /* Start a round of trying to claim the bus */ in i2c_arbitrator_select()
66 /* Indicate that we want to claim the bus */ in i2c_arbitrator_select()
89 /* Give up, release our claim */ in i2c_arbitrator_select()
92 dev_err(muxc->dev, "Could not claim bus, timeout\n"); in i2c_arbitrator_select()
142 ret = of_get_named_gpio_flags(np, "our-claim-gpio", 0, &gpio_flags); in i2c_arbitrator_probe()
145 dev_err(dev, "Error getting our-claim-gpio\n"); in i2c_arbitrator_probe()
153 "our-claim-gpio"); in i2c_arbitrator_probe()
156 dev_err(dev, "Error requesting our-claim-gpio\n"); in i2c_arbitrator_probe()
160 ret = of_get_named_gpio_flags(np, "their-claim-gpios", 0, &gpio_flags); in i2c_arbitrator_probe()
163 dev_err(dev, "Error getting their-claim-gpio\n"); in i2c_arbitrator_probe()
169 "their-claim-gpio"); in i2c_arbitrator_probe()
172 dev_err(dev, "Error requesting their-claim-gpio\n"); in i2c_arbitrator_probe()
177 if (gpio_is_valid(of_get_named_gpio(np, "their-claim-gpios", 1))) { in i2c_arbitrator_probe()