Lines Matching refs:set
43 * get/set operations for common cases, so that access to SOC-integrated
84 * Number of GPIOs to use for the fast path in set array
399 * When offset is set in the driver side we assume the driver internally
749 * set up the struct device.
1174 * @gc: the gpiochip to set the irqchip hierarchical handler to
1214 chip_err(gc, "skip set-up on hwirq %d\n",
1300 * We set handle_bad_irq because the .set_type() should
1301 * always be invoked and set the right type of handler.
1455 * This function will set up the mapping for a certain IRQ line on a
1488 * No set-up of the hardware will happen if IRQ_TYPE_NONE
1538 * @reserve: If set, only reserve an interrupt vector instead of assigning one
2083 * They're called even less than the "set direction" calls.
2353 * Drivers MUST set GPIO direction before making get/set calls. In
2440 * @desc: GPIO descriptor to set the debounce timeout
2443 * The function calls the certain GPIO driver to set debounce timeout
2456 * gpiod_direction_input - set the GPIO direction to input
2457 * @desc: GPIO to set to input
2518 * output-only, but if there is then not even a .set() operation it
2521 if (!gc->set && !gc->direction_output) {
2523 "%s: missing set() and direction_output() operations\n",
2540 * If we can't actively set the direction, we are some
2543 gc->set(gc, gpio_chip_hwgpio(desc), val);
2554 * gpiod_direction_output_raw - set the GPIO direction to output
2555 * @desc: GPIO to set to output
2572 * gpiod_direction_output - set the GPIO direction to output
2573 * @desc: GPIO to set to output
2593 /* GPIOs used for enabled IRQs shall not be set as output */
2597 "%s: tried to set a GPIO tied to an IRQ as output\n",
2635 * set the IS_OUT flag or otherwise we won't be able to set the line
2704 * @desc: descriptor of the GPIO for which to set the configuration
2724 * @desc: descriptor of the GPIO for which to set debounce time
2757 /* If the driver supports it, set the persistence state now */
2799 * When "set" operations are inlinable, they involve writing that mask to
2800 * one register to set a low value, or a different register to set it high.
2805 * IMPORTANT!!! The hot paths -- get/set value -- assume that callers
3062 * @desc: gpio descriptor whose state need to be set.
3063 * @value: Non-zero for setting it HIGH otherwise it will set to LOW.
3087 * @desc: gpio descriptor whose state need to be set.
3088 * @value: Non-zero for setting it HIGH otherwise it will set to LOW.
3116 gc->set(gc, gpio_chip_hwgpio(desc), value);
3120 * set multiple outputs on the same chip;
3122 * otherwise set the outputs sequentially;
3127 * defines the values the outputs specified by mask are to be set to
3137 /* set outputs if the corresponding mask bit is set */
3139 gc->set(gc, i, test_bit(i, bits));
3222 * open drain and open source outputs are set individually
3273 * gpiod_set_value_nocheck() - set a GPIO line value without checking
3274 * @desc: the descriptor to set the value on
3275 * @value: value to set
3377 * gpiod_set_consumer_name() - set the consumer name for the descriptor
3378 * @desc: gpio to set the consumer name on
3476 "%s: tried to flag a GPIO set as output for IRQ\n",
3485 * If the consumer has not set up a label (such as when the
3486 * IRQ is referenced from .to_irq()) we set up a label here
3843 * gpiod_add_hogs() - register a set of GPIO hogs from machine code