Searched refs:pin_number (Results 1 – 12 of 12) sorted by relevance
/drivers/media/pci/cx25821/ |
D | cx25821-gpio.c | 14 int pin_number, int pin_logic_value) in cx25821_set_gpiopin_direction() argument 16 int bit = pin_number; in cx25821_set_gpiopin_direction() 22 if (pin_number >= 47) in cx25821_set_gpiopin_direction() 25 if (pin_number > 31) { in cx25821_set_gpiopin_direction() 26 bit = pin_number - 31; in cx25821_set_gpiopin_direction() 43 int pin_number, int pin_logic_value) in cx25821_set_gpiopin_logicvalue() argument 45 int bit = pin_number; in cx25821_set_gpiopin_logicvalue() 50 if (pin_number >= 47) in cx25821_set_gpiopin_logicvalue() 54 cx25821_set_gpiopin_direction(dev, pin_number, 0); in cx25821_set_gpiopin_logicvalue() 56 if (pin_number > 31) { in cx25821_set_gpiopin_logicvalue() [all …]
|
D | cx25821.h | 376 int pin_number, int pin_logic_value);
|
/drivers/pinctrl/nomadik/ |
D | pinctrl-abx500.h | 60 .pin_number = pin, \ 88 unsigned pin_number; member
|
D | pinctrl-abx500.c | 729 int i, pin_number; in abx500_find_pin_name() local 732 if (sscanf((char *)pin_name, "GPIO%d", &pin_number) == 1) in abx500_find_pin_name() 734 if (npct->soc->pins[i].number == pin_number) in abx500_find_pin_name()
|
D | pinctrl-nomadik.c | 1361 int i, pin_number; in nmk_find_pin_name() local 1364 if (sscanf((char *)pin_name, "GPIO%d", &pin_number) == 1) in nmk_find_pin_name() 1366 if (npct->soc->pins[i].number == pin_number) in nmk_find_pin_name()
|
/drivers/media/usb/cx231xx/ |
D | cx231xx-avcore.c | 2714 int pin_number, int pin_value) in cx231xx_set_gpio_direction() argument 2720 if (pin_number >= 32) in cx231xx_set_gpio_direction() 2725 value = dev->gpio_dir & (~(1 << pin_number)); /* clear */ in cx231xx_set_gpio_direction() 2727 value = dev->gpio_dir | (1 << pin_number); in cx231xx_set_gpio_direction() 2748 int cx231xx_set_gpio_value(struct cx231xx *dev, int pin_number, int pin_value) in cx231xx_set_gpio_value() argument 2754 if (pin_number >= 32) in cx231xx_set_gpio_value() 2758 if ((dev->gpio_dir & (1 << pin_number)) == 0x00) { in cx231xx_set_gpio_value() 2760 value = dev->gpio_dir | (1 << pin_number); in cx231xx_set_gpio_value() 2768 value = dev->gpio_val & (~(1 << pin_number)); in cx231xx_set_gpio_value() 2770 value = dev->gpio_val | (1 << pin_number); in cx231xx_set_gpio_value()
|
D | cx231xx.h | 838 int cx231xx_set_gpio_value(struct cx231xx *dev, int pin_number, int pin_value); 839 int cx231xx_set_gpio_direction(struct cx231xx *dev, int pin_number,
|
/drivers/usb/host/ |
D | max3421-hcd.c | 1653 max3421_gpout_set_value(struct usb_hcd *hcd, u8 pin_number, u8 value) in max3421_gpout_set_value() argument 1658 --pin_number; in max3421_gpout_set_value() 1659 if (pin_number >= MAX3421_GPOUT_COUNT) in max3421_gpout_set_value() 1662 mask = 1u << (pin_number % 4); in max3421_gpout_set_value() 1663 idx = pin_number / 4; in max3421_gpout_set_value()
|
/drivers/pinctrl/ |
D | pinctrl-thunderbay.c | 64 #define THUNDERBAY_PIN_DESC(pin_number, pin_name, ...) { \ argument 65 .number = pin_number, \
|
D | pinctrl-keembay.c | 70 #define KEEMBAY_PIN_DESC(pin_number, pin_name, ...) { \ argument 71 .number = pin_number, \
|
/drivers/pinctrl/stm32/ |
D | pinctrl-stm32.c | 1179 unsigned int pin_number) in stm32_pconf_get_pin_desc_by_pin_number() argument 1185 if (pins->pin.number == pin_number) in stm32_pconf_get_pin_desc_by_pin_number()
|
/drivers/pinctrl/nuvoton/ |
D | pinctrl-npcm7xx.c | 1413 int pin_number, int mode) in npcm7xx_setfunc() argument 1418 for (i = 0 ; i < pin_number ; i++) { in npcm7xx_setfunc()
|