Searched refs:fpga_read_reg (Results 1 – 9 of 9) sorted by relevance
/linux-3.4.99/arch/sh/boards/mach-sdk7786/ |
D | setup.c | 119 tmp = fpga_read_reg(SBCR); in sdk7786_i2c_setup() 142 return fpga_read_reg(MODSWR); in sdk7786_mode_pins() 161 fpga_write_reg(fpga_read_reg(PCIECR) | PCIECR_CLKEN, PCIECR); in sdk7786_pcie_clk_enable() 167 fpga_write_reg(fpga_read_reg(PCIECR) & ~PCIECR_CLKEN, PCIECR); in sdk7786_pcie_clk_disable() 223 fpga_write_reg(fpga_read_reg(PWRCR) | PWRCR_PDWNREQ, PWRCR); in sdk7786_power_off() 230 while ((fpga_read_reg(PWRCR) & PWRCR_PDWNACK) == 0) in sdk7786_power_off() 242 pr_info("\tPCB revision:\t%d\n", fpga_read_reg(PCBRR) & 0xf); in sdk7786_setup()
|
D | irq.c | 35 fpga_write_reg(fpga_read_reg(INTMSR) | 0x0303, INTMSR); in sdk7786_init_irq() 42 tmp = fpga_read_reg(INTAMR); in sdk7786_init_irq()
|
D | fpga.c | 65 version = fpga_read_reg(FPGAVR); in sdk7786_fpga_init() 66 date = fpga_read_reg(FPGADR); in sdk7786_fpga_init()
|
D | gpio.c | 33 return !!(fpga_read_reg(USRGPIR) & (1 << gpio)); in usrgpir_gpio_get()
|
D | sram.c | 30 data = fpga_read_reg(LCLASR); in fpga_sram_init()
|
D | nmi.c | 76 tmp = fpga_read_reg(NMISR); in sdk7786_nmi_init()
|
/linux-3.4.99/drivers/misc/carma/ |
D | carma-fpga.c | 458 static u32 fpga_read_reg(struct fpga_device *priv, unsigned int fpga, in fpga_read_reg() function 488 version = fpga_read_reg(priv, i, MMAP_REG_VERSION); in data_calculate_bufsize() 489 conf1 = fpga_read_reg(priv, i, MMAP_REG_CORL_CONF1); in data_calculate_bufsize() 490 conf2 = fpga_read_reg(priv, i, MMAP_REG_CORL_CONF2); in data_calculate_bufsize() 562 fpga_read_reg(priv, 0, MMAP_REG_STATUS); in data_enable_interrupts() 563 fpga_read_reg(priv, 1, MMAP_REG_STATUS); in data_enable_interrupts() 564 fpga_read_reg(priv, 2, MMAP_REG_STATUS); in data_enable_interrupts() 565 fpga_read_reg(priv, 3, MMAP_REG_STATUS); in data_enable_interrupts() 702 status = fpga_read_reg(priv, i, MMAP_REG_STATUS); in data_irq()
|
/linux-3.4.99/arch/sh/drivers/pci/ |
D | fixups-sdk7786.c | 40 u16 data = fpga_read_reg(PCIECR); in sdk7786_pci_init()
|
/linux-3.4.99/arch/sh/include/mach-sdk7786/mach/ |
D | fpga.h | 145 static inline u16 fpga_read_reg(unsigned int reg) in fpga_read_reg() function
|