···4444/**4545 * mv88e6xxx_g2_scratch_gpio_get_bit - get a bit4646 * @chip: chip private data4747- * @nr: bit index4747+ * @base_reg: base of scratch bits4848+ * @offset: index of bit within the register4849 * @set: is bit set?4950 */5051static int mv88e6xxx_g2_scratch_get_bit(struct mv88e6xxx_chip *chip,···6968/**7069 * mv88e6xxx_g2_scratch_gpio_set_bit - set (or clear) a bit7170 * @chip: chip private data7272- * @nr: bit index7373- * @set: set if true, clear if false7171+ * @base_reg: base of scratch bits7272+ * @offset: index of bit within the register7373+ * @set: should this bit be set?7474 *7575 * Helper function for dealing with the direction and data registers.7676 */···167165 * mv88e6352_g2_scratch_gpio_set_dir - set direction of gpio pin168166 * @chip: chip private data169167 * @pin: gpio index168168+ * @input: should the gpio be an input, or an output?170169 */171170static int mv88e6352_g2_scratch_gpio_set_dir(struct mv88e6xxx_chip *chip,172171 unsigned int pin, bool input)