Linux Kernel
3.7.1
|
Go to the source code of this file.
Functions | |
void | jmr3927_prom_init (void) |
void | jmr3927_irq_setup (void) |
int | jmr3927_pci_map_irq (const struct pci_dev *dev, u8 slot, u8 pin) |
#define jmr3927_dipsw1 | ( | ) | (gpio_get_value(11) == 0) |
#define jmr3927_dipsw2 | ( | ) | (gpio_get_value(10) == 0) |
#define jmr3927_dipsw3 | ( | ) | ((jmr3927_ioc_reg_in(JMR3927_IOC_DIPSW_ADDR) & 2) == 0) |
#define jmr3927_dipsw4 | ( | ) | ((jmr3927_ioc_reg_in(JMR3927_IOC_DIPSW_ADDR) & 1) == 0) |
#define JMR3927_FLASH_BASE (JMR3927_ROM0_BASE) |
#define JMR3927_IOC_BASE (KSEG1 + JMR3927_ROMCE2) |
#define JMR3927_IOC_BREV_ADDR (JMR3927_IOC_BASE + 0x00040000) |
#define JMR3927_IOC_DIPSW_ADDR (JMR3927_IOC_BASE + 0x00030000) |
#define JMR3927_IOC_DTR_ADDR (JMR3927_IOC_BASE + 0x00050000) |
#define JMR3927_IOC_INTF_INT6 (1 << JMR3927_IOC_INTB_INT6) |
#define JMR3927_IOC_INTF_INT7 (1 << JMR3927_IOC_INTB_INT7) |
#define JMR3927_IOC_INTF_MODEM (1 << JMR3927_IOC_INTB_MODEM) |
#define JMR3927_IOC_INTF_PCIB (1 << JMR3927_IOC_INTB_PCIB) |
#define JMR3927_IOC_INTF_PCIC (1 << JMR3927_IOC_INTB_PCIC) |
#define JMR3927_IOC_INTF_PCID (1 << JMR3927_IOC_INTB_PCID) |
#define JMR3927_IOC_INTF_SOFT (1 << JMR3927_IOC_INTB_SOFT) |
#define JMR3927_IOC_INTM_ADDR (JMR3927_IOC_BASE + 0x000a0000) |
#define JMR3927_IOC_INTP_ADDR (JMR3927_IOC_BASE + 0x000b0000) |
#define JMR3927_IOC_INTS1_ADDR (JMR3927_IOC_BASE + 0x00080000) |
#define JMR3927_IOC_INTS2_ADDR (JMR3927_IOC_BASE + 0x00090000) |
#define JMR3927_IOC_LED_ADDR (JMR3927_IOC_BASE + 0x00020000) |
#define JMR3927_IOC_NVRAMB_ADDR (JMR3927_IOC_BASE + 0x00010000) |
#define JMR3927_IOC_RESET_ADDR (JMR3927_IOC_BASE + 0x000f0000) |
#define JMR3927_IOC_REV_ADDR (JMR3927_IOC_BASE + 0x00000000) |
#define JMR3927_IRQ_END (JMR3927_IRQ_IOC + JMR3927_NR_IRQ_IOC) |
#define JMR3927_IRQ_ETHER0 JMR3927_IRQ_IRC_INT3 |
#define JMR3927_IRQ_IOC (JMR3927_IRQ_IRC + JMR3927_NR_IRQ_IRC) |
#define JMR3927_IRQ_IOC_INT6 (JMR3927_IRQ_IOC + JMR3927_IOC_INTB_INT6) |
#define JMR3927_IRQ_IOC_INT7 (JMR3927_IRQ_IOC + JMR3927_IOC_INTB_INT7) |
#define JMR3927_IRQ_IOC_MODEM (JMR3927_IRQ_IOC + JMR3927_IOC_INTB_MODEM) |
#define JMR3927_IRQ_IOC_PCIA (JMR3927_IRQ_IOC + JMR3927_IOC_INTB_PCIA) |
#define JMR3927_IRQ_IOC_PCIB (JMR3927_IRQ_IOC + JMR3927_IOC_INTB_PCIB) |
#define JMR3927_IRQ_IOC_PCIC (JMR3927_IRQ_IOC + JMR3927_IOC_INTB_PCIC) |
#define JMR3927_IRQ_IOC_PCID (JMR3927_IRQ_IOC + JMR3927_IOC_INTB_PCID) |
#define JMR3927_IRQ_IOC_SOFT (JMR3927_IRQ_IOC + JMR3927_IOC_INTB_SOFT) |
#define JMR3927_IRQ_IOCINT JMR3927_IRQ_IRC_INT1 |
#define JMR3927_IRQ_IRC TXX9_IRQ_BASE |
#define JMR3927_IRQ_IRC_DMA (JMR3927_IRQ_IRC + TX3927_IR_DMA) |
#define JMR3927_IRQ_IRC_INT0 (JMR3927_IRQ_IRC + TX3927_IR_INT0) |
#define JMR3927_IRQ_IRC_INT1 (JMR3927_IRQ_IRC + TX3927_IR_INT1) |
#define JMR3927_IRQ_IRC_INT2 (JMR3927_IRQ_IRC + TX3927_IR_INT2) |
#define JMR3927_IRQ_IRC_INT3 (JMR3927_IRQ_IRC + TX3927_IR_INT3) |
#define JMR3927_IRQ_IRC_INT4 (JMR3927_IRQ_IRC + TX3927_IR_INT4) |
#define JMR3927_IRQ_IRC_INT5 (JMR3927_IRQ_IRC + TX3927_IR_INT5) |
#define JMR3927_IRQ_IRC_PCI (JMR3927_IRQ_IRC + TX3927_IR_PCI) |
#define JMR3927_IRQ_IRC_PIO (JMR3927_IRQ_IRC + TX3927_IR_PIO) |
#define JMR3927_IRQ_IRC_SIO | ( | ch | ) | (JMR3927_IRQ_IRC + TX3927_IR_SIO(ch)) |
#define JMR3927_IRQ_IRC_SIO0 (JMR3927_IRQ_IRC + TX3927_IR_SIO0) |
#define JMR3927_IRQ_IRC_SIO1 (JMR3927_IRQ_IRC + TX3927_IR_SIO1) |
#define JMR3927_IRQ_IRC_TMR | ( | ch | ) | (JMR3927_IRQ_IRC + TX3927_IR_TMR(ch)) |
#define jmr3927_led_and_set | ( | n | ) | jmr3927_ioc_reg_out((~(n)) & jmr3927_ioc_reg_in(JMR3927_IOC_LED_ADDR), JMR3927_IOC_LED_ADDR) |
#define jmr3927_led_set | ( | n | ) | jmr3927_ioc_reg_out(~(n), JMR3927_IOC_LED_ADDR) |
#define JMR3927_PCIIO_BASE (KSEG1 + JMR3927_PCIIO) |
#define JMR3927_PCIMEM_BASE (KSEG1 + JMR3927_PCIMEM) |
#define JMR3927_ROM0_BASE (KSEG1 + JMR3927_ROMCE0) |
#define JMR3927_ROM1_BASE (KSEG1 + JMR3927_ROMCE1) |
Definition at line 34 of file fixup-jmr3927.c.