/arch/arm/mach-at91/ |
H A D | gpio.c | 49 static int at91_gpiolib_request(struct gpio_chip *chip, unsigned offset); 51 static void at91_gpiolib_set(struct gpio_chip *chip, unsigned offset, int val); 52 static int at91_gpiolib_get(struct gpio_chip *chip, unsigned offset); 53 static int at91_gpiolib_get_direction(struct gpio_chip *chip, unsigned offset); 55 unsigned offset, int val); 57 unsigned offset); 58 static int at91_gpiolib_to_irq(struct gpio_chip *chip, unsigned offset); 757 int offset; local 764 for (offset = 0; offset < thi 795 at91_gpiolib_request(struct gpio_chip *chip, unsigned offset) argument 805 at91_gpiolib_get_direction(struct gpio_chip *chip, unsigned offset) argument 816 at91_gpiolib_direction_input(struct gpio_chip *chip, unsigned offset) argument 827 at91_gpiolib_direction_output(struct gpio_chip *chip, unsigned offset, int val) argument 839 at91_gpiolib_get(struct gpio_chip *chip, unsigned offset) argument 850 at91_gpiolib_set(struct gpio_chip *chip, unsigned offset, int val) argument 884 at91_gpiolib_to_irq(struct gpio_chip *chip, unsigned offset) argument [all...] |
H A D | board-afeb-9260v1.c | 105 .offset = 0, 110 .offset = MTDPART_OFS_NXTBLK, 115 .offset = MTDPART_OFS_NXTBLK,
|
/arch/arm/mach-davinci/ |
H A D | aemif.c | 47 static inline unsigned int davinci_aemif_readl(void __iomem *base, int offset) argument 49 return readl_relaxed(base + offset); 53 int offset, unsigned long value) 55 writel_relaxed(value, base + offset); 108 unsigned offset = A1CR_OFFSET + cs * 4; local 132 val = __raw_readl(base + offset); 135 __raw_writel(val, base + offset); 52 davinci_aemif_writel(void __iomem *base, int offset, unsigned long value) argument
|
/arch/arm/mach-ixp4xx/ |
H A D | ixdp425-setup.c | 67 .offset = 0, 71 .offset = MTDPART_OFS_APPEND, 80 int offset = (int)this->priv; local 89 offset = (ctrl & NAND_CLE) ? IXDP425_NAND_CMD_BYTE : 0; 90 offset |= (ctrl & NAND_ALE) ? IXDP425_NAND_ADDR_BYTE : 0; 91 this->priv = (void *)offset; 95 writeb(cmd, this->IO_ADDR_W + offset);
|
/arch/arm/mach-omap1/ |
H A D | irq.c | 67 static inline unsigned int irq_bank_readl(int bank, int offset) argument 69 return omap_readl(irq_banks[bank].base_reg + offset); 72 static inline void irq_bank_writel(unsigned long value, int bank, int offset) argument 74 omap_writel(value, irq_banks[bank].base_reg + offset); 134 unsigned long val, offset; local 140 offset = IRQ_ILR0_REG_OFFSET + IRQ_BIT(irq) * 0x4; 141 irq_bank_writel(val, bank, offset);
|
H A D | board-h2.c | 98 .offset = 0, 105 .offset = MTDPART_OFS_APPEND, 112 .offset = MTDPART_OFS_APPEND, 119 .offset = MTDPART_OFS_APPEND, 155 .offset = 0, 161 .offset = MTDPART_OFS_APPEND, 167 .offset = MTDPART_OFS_APPEND, 172 .offset = MTDPART_OFS_APPEND, 179 .offset = MTDPART_OFS_APPEND,
|
H A D | board-h3.c | 104 .offset = 0, 111 .offset = MTDPART_OFS_APPEND, 118 .offset = MTDPART_OFS_APPEND, 125 .offset = MTDPART_OFS_APPEND, 158 .offset = 0, 164 .offset = MTDPART_OFS_APPEND, 170 .offset = MTDPART_OFS_APPEND, 175 .offset = MTDPART_OFS_APPEND, 182 .offset = MTDPART_OFS_APPEND,
|
/arch/arm/mach-orion5x/ |
H A D | ts209-setup.c | 53 .offset = 0x00780000, 58 .offset = 0, 62 .offset = 0x00200000, 66 .offset = 0x00600000, 70 .offset = 0x00760000, 74 .offset = 0x00700000, 298 qnap_ts209_partitions[5].offset,
|
H A D | wnr854t-setup.c | 59 .offset = 0x00000000, 63 .offset = 0x00100000, 67 .offset = 0x00760000,
|
/arch/arm64/kernel/ |
H A D | ptrace.c | 372 int ret, idx = 0, offset, limit; local 387 offset = offsetof(struct user_hwdebug_state, pad); 388 ret = user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf, offset, 389 offset + PTRACE_HBP_PAD_SZ); 394 offset = offsetof(struct user_hwdebug_state, dbg_regs); 396 while (count && offset < limit) { 401 offset, offset + PTRACE_HBP_ADDR_SZ); 404 offset += PTRACE_HBP_ADDR_SZ; 410 offset, offse 433 int ret, idx = 0, offset, limit; local [all...] |
/arch/avr32/include/asm/ |
H A D | dma-mapping.h | 149 * @offset: offset into page for start of buffer 161 unsigned long offset, size_t size, 164 return dma_map_single(dev, page_address(page) + offset, 220 sg[i].dma_address = page_to_bus(sg_page(&sg[i])) + sg[i].offset; 283 unsigned long offset, size_t size, 287 dma_sync_single_for_cpu(dev, dma_handle, offset+size, direction); 292 unsigned long offset, size_t size, 296 dma_sync_single_for_device(dev, dma_handle, offset+size, direction); 160 dma_map_page(struct device *dev, struct page *page, unsigned long offset, size_t size, enum dma_data_direction direction) argument 282 dma_sync_single_range_for_cpu(struct device *dev, dma_addr_t dma_handle, unsigned long offset, size_t size, enum dma_data_direction direction) argument 291 dma_sync_single_range_for_device(struct device *dev, dma_addr_t dma_handle, unsigned long offset, size_t size, enum dma_data_direction direction) argument
|
/arch/metag/include/asm/ |
H A D | dma-mapping.h | 68 dma_map_page(struct device *dev, struct page *page, unsigned long offset, argument 72 dma_sync_for_device((void *)(page_to_phys(page) + offset), size, 74 return page_to_phys(page) + offset; 120 unsigned long offset, size_t size, 123 dma_sync_for_cpu(phys_to_virt(dma_handle)+offset, size, 129 unsigned long offset, size_t size, 132 dma_sync_for_device(phys_to_virt(dma_handle)+offset, size, 119 dma_sync_single_range_for_cpu(struct device *dev, dma_addr_t dma_handle, unsigned long offset, size_t size, enum dma_data_direction direction) argument 128 dma_sync_single_range_for_device(struct device *dev, dma_addr_t dma_handle, unsigned long offset, size_t size, enum dma_data_direction direction) argument
|
/arch/x86/kernel/ |
H A D | probe_roms.c | 120 unsigned short offset, vendor, device, list, rev; local 127 if (probe_kernel_address(rom + 0x18, offset) != 0) 130 if (probe_kernel_address(rom + offset + 0x4, vendor) != 0) 133 if (probe_kernel_address(rom + offset + 0x6, device) != 0) 141 if (probe_kernel_address(rom + offset + 0x8, list) == 0 && 142 probe_kernel_address(rom + offset + 0xc, rev) == 0 && 144 probe_list(pdev, vendor, rom + offset + list)) {
|
/arch/powerpc/sysdev/ |
H A D | ppc4xx_ocm.c | 88 unsigned long offset; local 95 offset = addr - ocm_reg->virt; 97 rh_free(ocm_reg->rh, offset); 314 unsigned long offset; local 337 offset = rh_alloc_align(ocm_reg->rh, size, align, NULL); 339 if (IS_ERR_VALUE(offset)) 345 rh_free(ocm_reg->rh, offset); 349 *phys = ocm_reg->phys + offset; 350 addr = ocm_reg->virt + offset;
|
/arch/score/lib/ |
H A D | checksum.S | 34 #define CSUM_BIGCHUNK(src, offset, sum) \ 35 lw r8, [src, offset + 0x00]; \ 36 lw r9, [src, offset + 0x04]; \ 37 lw r10, [src, offset + 0x08]; \ 38 lw r11, [src, offset + 0x0c]; \ 43 lw r8, [src, offset + 0x10]; \ 44 lw r9, [src, offset + 0x14]; \ 45 lw r10, [src, offset + 0x18]; \ 46 lw r11, [src, offset + 0x1c]; \
|
/arch/arm/mach-hisi/ |
H A D | platsmp.c | 60 u32 offset = 0; local 74 if (of_property_read_u32(np, "smp-offset", &offset) < 0) { 75 pr_err("failed to find smp-offset property\n"); 78 ctrl_base += offset;
|
/arch/arm/mach-omap2/ |
H A D | voltage.h | 42 * @voltsetup_reg: register offset of PRM_VOLTSETUP from PRM base 43 * @voltsetup_off_reg: register offset of PRM_VOLTSETUP_OFF from PRM base 83 u32 (*read) (u8 offset); 84 void (*write) (u32 val, u8 offset); 85 u32 (*rmw)(u32 mask, u32 bits, u8 offset);
|
/arch/c6x/include/asm/ |
H A D | dma-mapping.h | 52 unsigned long offset, size_t size, 57 handle = dma_map_single(dev, page_address(page) + offset, size, dir); 59 debug_dma_map_page(dev, page, offset, size, dir, handle, false); 51 dma_map_page(struct device *dev, struct page *page, unsigned long offset, size_t size, enum dma_data_direction dir) argument
|
/arch/c6x/kernel/ |
H A D | module.c | 56 Elf_Addr offset = 0; local 58 pr_debug("Applying relocate section %u to %u with offset 0x%x\n", 59 relsec, sechdrs[relsec].sh_info, offset); 64 + rel[i].r_offset - offset;
|
/arch/m68k/mac/ |
H A D | psc.c | 118 unsigned int offset = (unsigned int)irq_desc_get_handler_data(desc); local 119 int pIFR = pIFRbase + offset; 120 int pIER = pIERbase + offset;
|
/arch/mips/pci/ |
H A D | ops-tx4927.c | 98 static u8 icd_readb(int offset, struct tx4927_pcic_reg __iomem *pcicptr) argument 101 offset ^= 3; 103 return __raw_readb((void __iomem *)&pcicptr->g2pcfgdata + offset); 105 static u16 icd_readw(int offset, struct tx4927_pcic_reg __iomem *pcicptr) argument 108 offset ^= 2; 110 return __raw_readw((void __iomem *)&pcicptr->g2pcfgdata + offset); 116 static void icd_writeb(u8 val, int offset, argument 120 offset ^= 3; 122 __raw_writeb(val, (void __iomem *)&pcicptr->g2pcfgdata + offset); 124 static void icd_writew(u16 val, int offset, argument [all...] |
/arch/mips/sgi-ip27/ |
H A D | ip27-klnuma.c | 121 unsigned long offset; local 126 offset = PAGE_ALIGN((unsigned long)(&_end)) - loadbase; 128 return (TO_NODE(nasid, offset) >> PAGE_SHIFT);
|
/arch/sh/boards/mach-se/7343/ |
H A D | setup.c | 31 .offset = 0x00000000, 36 .offset = MTDPART_OFS_APPEND, 41 .offset = MTDPART_OFS_APPEND,
|
/arch/sh/mm/ |
H A D | ioremap_fixed.c | 52 unsigned long offset; local 58 offset = phys_addr & ~PAGE_MASK; 95 map->addr = (void __iomem *)(offset + map->fixmap_addr);
|
/arch/tile/kernel/ |
H A D | sys.c | 91 unsigned long, fd, off_t, offset) 93 if (offset & ((1 << PAGE_SHIFT) - 1)) 96 offset >> PAGE_SHIFT);
|