Path: blob/master/arch/arm/mach-pxa/include/mach/irda.h
10820 views
#ifndef ASMARM_ARCH_IRDA_H1#define ASMARM_ARCH_IRDA_H23/* board specific transceiver capabilities */45#define IR_OFF 16#define IR_SIRMODE 27#define IR_FIRMODE 489struct pxaficp_platform_data {10int transceiver_cap;11void (*transceiver_mode)(struct device *dev, int mode);12int (*startup)(struct device *dev);13void (*shutdown)(struct device *dev);14int gpio_pwdown; /* powerdown GPIO for the IrDA chip */15bool gpio_pwdown_inverted; /* gpio_pwdown is inverted */16};1718extern void pxa_set_ficp_info(struct pxaficp_platform_data *info);1920#if defined(CONFIG_PXA25x) || defined(CONFIG_PXA27x)21void pxa2xx_transceiver_mode(struct device *dev, int mode);22#endif2324#endif252627