Searched refs:new_gpio_chip (Results 1 - 1 of 1) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/dream/
H A Dgeneric_gpio.c36 int register_gpio_chip(struct gpio_chip *new_gpio_chip) argument
44 new_gpio_chip->state = kzalloc((new_gpio_chip->end + 1 - new_gpio_chip->start) * sizeof(new_gpio_chip->state[0]), GFP_KERNEL);
45 if (new_gpio_chip->state == NULL) {
51 chip_array_start_index = GPIO_NUM_TO_CHIP_INDEX(new_gpio_chip->start);
52 chip_array_end_index = GPIO_NUM_TO_CHIP_INDEX(new_gpio_chip->end);
71 if (gpio_chip->start > new_gpio_chip->end) {
72 list_add_tail(&new_gpio_chip
[all...]

Completed in 32 milliseconds