Lines Matching full:claim
21 * @our_gpio: GPIO descriptor we'll use to claim.
22 * @their_gpio: GPIO descriptor that the other side will use to claim.
24 * @wait_retry_us: we'll attempt another claim after this many microseconds.
38 * i2c_arbitrator_select - claim the I2C bus
47 /* Start a round of trying to claim the bus */ in i2c_arbitrator_select()
50 /* Indicate that we want to claim the bus */ in i2c_arbitrator_select()
73 /* Give up, release our claim */ in i2c_arbitrator_select()
76 dev_err(muxc->dev, "Could not claim bus, timeout\n"); in i2c_arbitrator_select()
125 arb->our_gpio = devm_gpiod_get(dev, "our-claim", GPIOD_OUT_LOW); in i2c_arbitrator_probe()
127 dev_err(dev, "could not get \"our-claim\" GPIO (%ld)\n", in i2c_arbitrator_probe()
132 arb->their_gpio = devm_gpiod_get(dev, "their-claim", GPIOD_IN); in i2c_arbitrator_probe()
134 dev_err(dev, "could not get \"their-claim\" GPIO (%ld)\n", in i2c_arbitrator_probe()
140 dummy = devm_gpiod_get_index(dev, "their-claim", 1, GPIOD_IN); in i2c_arbitrator_probe()