Lines Matching defs:chip
20 * need to extend or change depending on the hardware and the s3c chip
36 void (*save)(struct s3c_gpio_chip *chip);
37 void (*resume)(struct s3c_gpio_chip *chip);
44 * @chip: The chip structure to be exported via gpiolib.
57 * Each chip has its own lock to avoid any contention between different
62 struct gpio_chip chip;
74 return container_of(gpc, struct s3c_gpio_chip, chip);
78 * @chip: The chip to register
80 * This is a wrapper to gpiochip_add() that takes our specific gpio chip
85 extern void s3c_gpiolib_add(struct s3c_gpio_chip *chip);
100 * @chip: The gpio chip that is being configured.
113 extern void samsung_gpiolib_add_4bit_chips(struct s3c_gpio_chip *chip,
115 extern void samsung_gpiolib_add_4bit2_chips(struct s3c_gpio_chip *chip,
118 extern void samsung_gpiolib_add_4bit(struct s3c_gpio_chip *chip);
119 extern void samsung_gpiolib_add_4bit2(struct s3c_gpio_chip *chip);
127 static inline struct s3c_gpio_chip *s3c_gpiolib_getchip(unsigned int chip)
129 return (chip < S3C_GPIO_END) ? s3c_gpios[chip] : NULL;
136 static inline void s3c_gpiolib_track(struct s3c_gpio_chip *chip) { }