Searched refs:pin_number (Results 1 – 4 of 4) sorted by relevance
/linux-2.6.39/drivers/staging/cx25821/ |
D | cx25821-gpio.c | 27 int pin_number, int pin_logic_value) in cx25821_set_gpiopin_direction() argument 29 int bit = pin_number; in cx25821_set_gpiopin_direction() 35 if (pin_number >= 47) in cx25821_set_gpiopin_direction() 38 if (pin_number > 31) { in cx25821_set_gpiopin_direction() 39 bit = pin_number - 31; in cx25821_set_gpiopin_direction() 55 int pin_number, int pin_logic_value) in cx25821_set_gpiopin_logicvalue() argument 57 int bit = pin_number; in cx25821_set_gpiopin_logicvalue() 62 if (pin_number >= 47) in cx25821_set_gpiopin_logicvalue() 66 cx25821_set_gpiopin_direction(dev, pin_number, 0); in cx25821_set_gpiopin_logicvalue() 68 if (pin_number > 31) { in cx25821_set_gpiopin_logicvalue() [all …]
|
D | cx25821.h | 538 int pin_number, int pin_logic_value);
|
/linux-2.6.39/drivers/media/video/cx231xx/ |
D | cx231xx-avcore.c | 2707 int pin_number, int pin_value) in cx231xx_set_gpio_direction() argument 2713 if (pin_number >= 32) in cx231xx_set_gpio_direction() 2718 value = dev->gpio_dir & (~(1 << pin_number)); /* clear */ in cx231xx_set_gpio_direction() 2720 value = dev->gpio_dir | (1 << pin_number); in cx231xx_set_gpio_direction() 2741 int cx231xx_set_gpio_value(struct cx231xx *dev, int pin_number, int pin_value) in cx231xx_set_gpio_value() argument 2747 if (pin_number >= 32) in cx231xx_set_gpio_value() 2751 if ((dev->gpio_dir & (1 << pin_number)) == 0x00) { in cx231xx_set_gpio_value() 2753 value = dev->gpio_dir | (1 << pin_number); in cx231xx_set_gpio_value() 2761 value = dev->gpio_val & (~(1 << pin_number)); in cx231xx_set_gpio_value() 2763 value = dev->gpio_val | (1 << pin_number); in cx231xx_set_gpio_value()
|
D | cx231xx.h | 869 int cx231xx_set_gpio_value(struct cx231xx *dev, int pin_number, int pin_value); 870 int cx231xx_set_gpio_direction(struct cx231xx *dev, int pin_number,
|