Home
last modified time | relevance | path

Searched defs:pin (Results 1 – 25 of 218) sorted by relevance

123456789

/arch/mips/include/asm/mach-pnx833x/
Dgpio.h56 static inline void pnx833x_gpio_select_input(unsigned int pin) in pnx833x_gpio_select_input()
63 static inline void pnx833x_gpio_select_output(unsigned int pin) in pnx833x_gpio_select_output()
72 static inline void pnx833x_gpio_select_function_io(unsigned int pin) in pnx833x_gpio_select_function_io()
79 static inline void pnx833x_gpio_select_function_alt(unsigned int pin) in pnx833x_gpio_select_function_alt()
88 static inline int pnx833x_gpio_read(unsigned int pin) in pnx833x_gpio_read()
97 static inline void pnx833x_gpio_write(unsigned int val, unsigned int pin) in pnx833x_gpio_write()
119 static inline void pnx833x_gpio_setup_irq(int when, unsigned int pin) in pnx833x_gpio_setup_irq()
156 static inline void pnx833x_gpio_enable_irq(unsigned int pin) in pnx833x_gpio_enable_irq()
160 static inline void pnx833x_gpio_disable_irq(unsigned int pin) in pnx833x_gpio_disable_irq()
166 static inline void pnx833x_gpio_clear_irq(unsigned int pin) in pnx833x_gpio_clear_irq()
/arch/arm/plat-orion/
Dgpio.c87 __set_direction(struct orion_gpio_chip *ochip, unsigned pin, int input) in __set_direction()
99 static void __set_level(struct orion_gpio_chip *ochip, unsigned pin, int high) in __set_level()
112 __set_blinking(struct orion_gpio_chip *ochip, unsigned pin, int blink) in __set_blinking()
125 orion_gpio_is_valid(struct orion_gpio_chip *ochip, unsigned pin, int mode) in orion_gpio_is_valid()
146 static int orion_gpio_request(struct gpio_chip *chip, unsigned pin) in orion_gpio_request()
158 static int orion_gpio_direction_input(struct gpio_chip *chip, unsigned pin) in orion_gpio_direction_input()
174 static int orion_gpio_get(struct gpio_chip *chip, unsigned pin) in orion_gpio_get()
190 orion_gpio_direction_output(struct gpio_chip *chip, unsigned pin, int value) in orion_gpio_direction_output()
208 static void orion_gpio_set(struct gpio_chip *chip, unsigned pin, int value) in orion_gpio_set()
219 static int orion_gpio_to_irq(struct gpio_chip *chip, unsigned pin) in orion_gpio_to_irq()
[all …]
/arch/arm/mach-pnx4008/
Dgpio.c119 int pnx4008_gpio_register_pin(unsigned short pin) in pnx4008_gpio_register_pin()
161 int pnx4008_gpio_unregister_pin(unsigned short pin) in pnx4008_gpio_unregister_pin()
199 unsigned long pnx4008_gpio_read_pin(unsigned short pin) in pnx4008_gpio_read_pin()
227 int pnx4008_gpio_write_pin(unsigned short pin, int output) in pnx4008_gpio_write_pin()
254 int pnx4008_gpio_set_pin_direction(unsigned short pin, int output) in pnx4008_gpio_set_pin_direction()
270 int pnx4008_gpio_read_pin_direction(unsigned short pin) in pnx4008_gpio_read_pin_direction()
287 int pnx4008_gpio_set_pin_mux(unsigned short pin, int output) in pnx4008_gpio_set_pin_mux()
311 int pnx4008_gpio_read_pin_mux(unsigned short pin) in pnx4008_gpio_read_pin_mux()
/arch/arm/plat-mxc/
Diomux-v1.c60 unsigned int port, unsigned int pin, int on) in imx_iomuxv1_set_puen()
68 unsigned int port, unsigned int pin, int out) in imx_iomuxv1_set_ddir()
76 unsigned int port, unsigned int pin, int af) in imx_iomuxv1_set_gpr()
84 unsigned int port, unsigned int pin, int inuse) in imx_iomuxv1_set_gius()
92 unsigned int port, unsigned int pin, unsigned int ocr) in imx_iomuxv1_set_ocr()
103 unsigned int port, unsigned int pin, unsigned int aout) in imx_iomuxv1_set_iconfa()
114 unsigned int port, unsigned int pin, unsigned int bout) in imx_iomuxv1_set_iconfb()
126 unsigned int pin = gpio_mode & GPIO_PIN_MASK; in mxc_gpio_mode() local
/arch/arm/mach-mmp/include/mach/
Dmfp.h28 #define MFP_CFG(pin, af) \ argument
31 #define MFP_CFG_DRV(pin, af, drv) \ argument
/arch/arm/mach-dove/
Dirq.c41 int pin = irq_to_pmu(d->irq); in pmu_irq_mask() local
51 int pin = irq_to_pmu(d->irq); in pmu_irq_unmask() local
61 int pin = irq_to_pmu(d->irq); in pmu_irq_ack() local
/arch/arm/mach-at91/
Dgpio.c88 static inline void __iomem *pin_to_controller(unsigned pin) in pin_to_controller()
97 static inline unsigned pin_to_mask(unsigned pin) in pin_to_mask()
141 int __init_or_module at91_set_GPIO_periph(unsigned pin, int use_pullup) in at91_set_GPIO_periph()
159 int __init_or_module at91_set_A_periph(unsigned pin, int use_pullup) in at91_set_A_periph()
186 int __init_or_module at91_set_B_periph(unsigned pin, int use_pullup) in at91_set_B_periph()
213 int __init_or_module at91_set_C_periph(unsigned pin, int use_pullup) in at91_set_C_periph()
234 int __init_or_module at91_set_D_periph(unsigned pin, int use_pullup) in at91_set_D_periph()
256 int __init_or_module at91_set_gpio_input(unsigned pin, int use_pullup) in at91_set_gpio_input()
277 int __init_or_module at91_set_gpio_output(unsigned pin, int value) in at91_set_gpio_output()
298 int __init_or_module at91_set_deglitch(unsigned pin, int is_on) in at91_set_deglitch()
[all …]
/arch/mips/powertv/pci/
Dfixup-powertv.c7 int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) in pcibios_map_irq()
33 int asic_pcie_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) in asic_pcie_map_irq()
/arch/sh/drivers/pci/
Dfixups-cayman.c8 int __init pcibios_map_platform_irq(const struct pci_dev *dev, u8 slot, u8 pin) in pcibios_map_platform_irq()
33 int pin; in pcibios_map_platform_irq() member
/arch/arm/mach-integrator/
Dpci.c73 int pin = *pinp; in integrator_swizzle() local
98 static int __init integrator_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) in integrator_map_irq()
/arch/mips/pci/
Dpci-bcm47xx.c31 int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) in pcibios_map_irq()
40 u8 slot, pin; in bcm47xx_pcibios_plat_dev_init_ssb() local
/arch/mips/pnx833x/common/
Dinterrupts.c114 int pin; in pic_dispatch() local
193 int pin = d->irq - PNX833X_GPIO_IRQ_BASE; in pnx833x_enable_gpio_irq() local
202 int pin = d->irq - PNX833X_GPIO_IRQ_BASE; in pnx833x_disable_gpio_irq() local
211 int pin = d->irq - PNX833X_GPIO_IRQ_BASE; in pnx833x_set_type_gpio_irq() local
/arch/arm/mach-orion5x/
Drd88f5182-setup.c108 int pin; in rd88f5182_dbgled_init() local
142 int pin; in rd88f5182_pci_preinit() local
175 u8 pin) in rd88f5182_pci_map_irq()
/arch/arm/plat-s3c24xx/
Dpm.c90 static void s3c_pm_check_resume_pin(unsigned int pin, unsigned int irqoffs) in s3c_pm_check_resume_pin()
121 int pin; in s3c_pm_configure_extint() local
/arch/powerpc/sysdev/qe_lib/
Dqe_io.c53 void __par_io_config_pin(struct qe_pio_regs __iomem *par_io, u8 pin, int dir, in __par_io_config_pin()
118 int par_io_config_pin(u8 port, u8 pin, int dir, int open_drain, in par_io_config_pin()
130 int par_io_data_set(u8 port, u8 pin, u8 val) in par_io_data_set()
/arch/powerpc/platforms/8xx/
Dadder875.c26 int port, pin, flags; member
73 const struct cpm_pin *pin = &adder875_pins[i]; in init_ioports() local
Dmpc86xads_setup.c32 int port, pin, flags; member
78 struct cpm_pin *pin = &mpc866ads_pins[i]; in init_ioports() local
/arch/arm/mach-imx/
Diomux-imx31.c71 void mxc_iomux_set_pad(enum iomux_pins pin, u32 config) in mxc_iomux_set_pad()
99 int mxc_iomux_alloc_pin(unsigned int pin, const char *label) in mxc_iomux_alloc_pin()
141 void mxc_iomux_release_pin(unsigned int pin) in mxc_iomux_release_pin()
/arch/cris/arch-v32/mach-a3/
Dio.c101 unsigned int port, unsigned int pin) in crisv32_io_get()
120 int pin; in crisv32_io_get_name() local
/arch/powerpc/platforms/82xx/
Dkm82xx.c48 int port, pin, flags; member
138 const struct cpm_pin *pin = &km82xx_pins[i]; in init_ioports() local
Dpq2fads.c48 int port, pin, flags; member
102 struct cpm_pin *pin = &pq2fads_pins[i]; in init_ioports() local
/arch/alpha/kernel/
Dsys_miata.c153 miata_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) in miata_map_irq()
202 int slot, pin = *pinp; in miata_swizzle() local
Dsys_ruffian.c121 ruffian_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) in ruffian_map_irq()
145 int slot, pin = *pinp; in ruffian_swizzle() local
Dsys_takara.c159 takara_map_irq_srm(const struct pci_dev *dev, u8 slot, u8 pin) in takara_map_irq_srm()
190 takara_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) in takara_map_irq()
217 int pin = *pinp; in takara_swizzle() local
/arch/arm/mach-bcmring/csp/chipc/
DchipcHw_str.c57 const char *chipcHw_getGpioPinFunctionStr(int pin) in chipcHw_getGpioPinFunctionStr()

123456789