Lines Matching defs:mode
4 * mode and when in input mode will contain the value at the input. The config
36 * @config_reg: register to set the mode for the gpio pin bank
37 * @out_drive_reg: register to set the output drive mode for the gpio pin bank
88 * msp71xx_set_gpio_mode() - declare the mode for a gpio
91 * @mode: desired configuration for the gpio (see datasheet)
93 * It will set the gpio pin config to the @mode value passed in.
96 unsigned offset, int mode)
107 cfg |= (mode << bit_offset);
116 * msp71xx_direction_output() - declare the direction mode for a gpio
121 * This call will set the mode for the @gpio to output. It will set the
133 * msp71xx_direction_input() - declare the direction mode for a gpio
137 * This call will set the mode for the @gpio to input.
149 * This call will set the output drive mode for the @gpio to output.
194 * @config_reg: register to set the mode for the gpio pin bank