/device/soc/rockchip/common/vendor/drivers/gpio/ |
H A D | gpio-rockchip.c | 135 static void rockchip_gpio_set(struct gpio_chip *gc, unsigned int offset, int value) in rockchip_gpio_set() argument 137 struct rockchip_pin_bank *bank = gpiochip_get_data(gc); in rockchip_gpio_set() 145 static int rockchip_gpio_get(struct gpio_chip *gc, unsigned int offset) in rockchip_gpio_get() argument 147 struct rockchip_pin_bank *bank = gpiochip_get_data(gc); in rockchip_gpio_get() 177 static int rockchip_gpio_direction_input(struct gpio_chip *gc, unsigned int offset) in rockchip_gpio_direction_input() argument 179 return rockchip_gpio_set_direction(gc, offset, true); in rockchip_gpio_direction_input() 182 static int rockchip_gpio_direction_output(struct gpio_chip *gc, unsigned int offset, int value) in rockchip_gpio_direction_output() argument 184 rockchip_gpio_set(gc, offset, value); in rockchip_gpio_direction_output() 186 return rockchip_gpio_set_direction(gc, offset, false); in rockchip_gpio_direction_output() 189 static int rockchip_gpio_set_debounce(struct gpio_chip *gc, unsigne argument 253 rockchip_gpio_set_config(struct gpio_chip *gc, unsigned int offset, unsigned long config) rockchip_gpio_set_config() argument 287 rockchip_gpio_to_irq(struct gpio_chip *gc, unsigned int offset) rockchip_gpio_to_irq() argument 375 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); rockchip_irq_set_type() local 458 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); rockchip_irq_suspend() local 467 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); rockchip_irq_resume() local 476 struct irq_chip_generic *gc; rockchip_interrupts_register() local 529 struct gpio_chip *gc; rockchip_gpiolib_register() local [all...] |
/device/soc/rockchip/common/sdk_linux/drivers/gpio/ |
H A D | gpio-rockchip.c | 135 static void rockchip_gpio_set(struct gpio_chip *gc, unsigned int offset, int value) in rockchip_gpio_set() argument 137 struct rockchip_pin_bank *bank = gpiochip_get_data(gc); in rockchip_gpio_set() 145 static int rockchip_gpio_get(struct gpio_chip *gc, unsigned int offset) in rockchip_gpio_get() argument 147 struct rockchip_pin_bank *bank = gpiochip_get_data(gc); in rockchip_gpio_get() 177 static int rockchip_gpio_direction_input(struct gpio_chip *gc, unsigned int offset) in rockchip_gpio_direction_input() argument 179 return rockchip_gpio_set_direction(gc, offset, true); in rockchip_gpio_direction_input() 182 static int rockchip_gpio_direction_output(struct gpio_chip *gc, unsigned int offset, int value) in rockchip_gpio_direction_output() argument 184 rockchip_gpio_set(gc, offset, value); in rockchip_gpio_direction_output() 186 return rockchip_gpio_set_direction(gc, offset, false); in rockchip_gpio_direction_output() 189 static int rockchip_gpio_set_debounce(struct gpio_chip *gc, unsigne argument 256 rockchip_gpio_set_config(struct gpio_chip *gc, unsigned int offset, unsigned long config) rockchip_gpio_set_config() argument 290 rockchip_gpio_to_irq(struct gpio_chip *gc, unsigned int offset) rockchip_gpio_to_irq() argument 378 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); rockchip_irq_set_type() local 461 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); rockchip_irq_suspend() local 470 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); rockchip_irq_resume() local 479 struct irq_chip_generic *gc; rockchip_interrupts_register() local 532 struct gpio_chip *gc; rockchip_gpiolib_register() local [all...] |
H A D | gpiolib-of.h | 11 int of_gpiochip_add(struct gpio_chip *gc); 12 void of_gpiochip_remove(struct gpio_chip *gc); 14 bool of_gpio_need_valid_mask(const struct gpio_chip *gc); 15 void of_gpio_dev_init(struct gpio_chip *gc, struct gpio_device *gdev); 22 static inline int of_gpiochip_add(struct gpio_chip *gc) in of_gpiochip_add() argument 26 static inline void of_gpiochip_remove(struct gpio_chip *gc) in of_gpiochip_remove() argument 33 static inline bool of_gpio_need_valid_mask(const struct gpio_chip *gc) in of_gpio_need_valid_mask() argument 37 static inline void of_gpio_dev_init(struct gpio_chip *gc, struct gpio_device *gdev) in of_gpio_dev_init() argument
|
H A D | gpiolib-of.c | 119 * @gc: the target gpio_chip 123 bool of_gpio_need_valid_mask(const struct gpio_chip *gc) in of_gpio_need_valid_mask() argument 126 struct device_node *np = gc->of_node; in of_gpio_need_valid_mask() 805 * @gc: pointer to the gpio_chip structure 813 static int of_gpio_simple_xlate(struct gpio_chip *gc, const struct of_phandle_args *gpiospec, u32 *flags) in of_gpio_simple_xlate() argument 821 if (gc->of_gpio_n_cells < 2) { in of_gpio_simple_xlate() 826 if (WARN_ON(gpiospec->args_count < gc->of_gpio_n_cells)) { in of_gpio_simple_xlate() 830 if (gpiospec->args[0] >= gc->ngpio) { in of_gpio_simple_xlate() 864 struct gpio_chip *gc = &mm_gc->gc; in of_mm_gpiochip_add_data() local 902 struct gpio_chip *gc = &mm_gc->gc; of_mm_gpiochip_remove() local 1062 of_gpio_dev_init(struct gpio_chip *gc, struct gpio_device *gdev) of_gpio_dev_init() argument [all...] |
/device/soc/rockchip/rk3588/kernel/drivers/gpio/ |
H A D | gpio-rockchip.c | 165 static void rockchip_gpio_set(struct gpio_chip *gc, unsigned int offset, in rockchip_gpio_set() argument 168 struct rockchip_pin_bank *bank = gpiochip_get_data(gc); in rockchip_gpio_set() 176 static int rockchip_gpio_get(struct gpio_chip *gc, unsigned int offset) in rockchip_gpio_get() argument 178 struct rockchip_pin_bank *bank = gpiochip_get_data(gc); in rockchip_gpio_get() 188 static int rockchip_gpio_set_debounce(struct gpio_chip *gc, in rockchip_gpio_set_debounce() argument 192 struct rockchip_pin_bank *bank = gpiochip_get_data(gc); in rockchip_gpio_set_debounce() 249 static int rockchip_gpio_direction_input(struct gpio_chip *gc, in rockchip_gpio_direction_input() argument 252 return rockchip_gpio_set_direction(gc, offset, true); in rockchip_gpio_direction_input() 255 static int rockchip_gpio_direction_output(struct gpio_chip *gc, in rockchip_gpio_direction_output() argument 258 rockchip_gpio_set(gc, offse in rockchip_gpio_direction_output() 268 rockchip_gpio_set_config(struct gpio_chip *gc, unsigned int offset, unsigned long config) rockchip_gpio_set_config() argument 303 rockchip_gpio_to_irq(struct gpio_chip *gc, unsigned int offset) rockchip_gpio_to_irq() argument 394 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); rockchip_irq_set_type() local 477 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); rockchip_irq_suspend() local 486 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); rockchip_irq_resume() local 505 struct irq_chip_generic *gc; rockchip_interrupts_register() local 566 struct gpio_chip *gc; rockchip_gpiolib_register() local [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/loaderboot/ |
H A D | module_config.mk | 41 BOOT_LINK_FLAGS = -nostdlib -nostartfiles -static --gc-sections
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/ |
H A D | module_config.mk | 56 BOOT_LINK_FLAGS = -nostdlib -nostartfiles -static --gc-sections
|
/device/soc/rockchip/common/sdk_linux/ |
H A D | Makefile | 902 LDFLAGS_vmlinux += --gc-sections
|