/linux-master/scripts/dtc/include-prefixes/dt-bindings/pinctrl/ |
H A D | omap.h | 55 * padconf registers instead of the offset from padconf base. 57 #define OMAP_IOPAD_OFFSET(pa, offset) (((pa) & 0xffff) - (offset)) 71 * Macros to allow using the offset from the padconf physical address 72 * instead of the offset from padconf base. 74 #define OMAP_PADCONF_OFFSET(offset, base_offset) ((offset) - (base_offset)) 76 #define OMAP4_IOPAD(offset, val) OMAP_PADCONF_OFFSET((offset), 0x0040) (val) 77 #define OMAP5_IOPAD(offset, va [all...] |
/linux-master/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-hdmi-audio.h | 18 void (*write)(struct dw_hdmi *hdmi, u8 val, int offset); 19 u8 (*read)(struct dw_hdmi *hdmi, int offset);
|
/linux-master/arch/csky/mm/ |
H A D | dma-mapping.c | 19 unsigned long offset = offset_in_page(paddr); local 25 if (offset + len > PAGE_SIZE) 26 len = PAGE_SIZE - offset; 31 fn((unsigned long)start + offset, 32 (unsigned long)start + offset + len); 36 fn((unsigned long)start + offset, 37 (unsigned long)start + offset + len); 39 offset = 0;
|
/linux-master/arch/sh/kernel/ |
H A D | crash_dump.c | 15 size_t csize, unsigned long offset) 23 csize = copy_to_iter(vaddr + offset, csize, iter); 14 copy_oldmem_page(struct iov_iter *iter, unsigned long pfn, size_t csize, unsigned long offset) argument
|
/linux-master/arch/riscv/kernel/ |
H A D | crash_dump.c | 13 size_t csize, unsigned long offset) 24 csize = copy_to_iter(vaddr + offset, csize, iter); 12 copy_oldmem_page(struct iov_iter *iter, unsigned long pfn, size_t csize, unsigned long offset) argument
|
/linux-master/arch/arm/kernel/ |
H A D | crash_dump.c | 20 size_t csize, unsigned long offset) 31 csize = copy_to_iter(vaddr + offset, csize, iter); 19 copy_oldmem_page(struct iov_iter *iter, unsigned long pfn, size_t csize, unsigned long offset) argument
|
H A D | fiq.c | 98 unsigned offset = FIQ_OFFSET; local 100 memcpy(base + offset, start, length); 102 flush_icache_range((unsigned long)base + offset, 103 (unsigned long)base + offset + length); 104 flush_icache_range(0xffff0000 + offset, 0xffff0000 + offset + length); 162 unsigned offset = FIQ_OFFSET; local 163 dfl_fiq_insn = *(unsigned long *)(0xffff0000 + offset);
|
/linux-master/drivers/clk/bcm/ |
H A D | clk-iproc.h | 92 unsigned int offset; member in struct:iproc_clk_reg_op 101 unsigned int offset; member in struct:iproc_asiu_gate 111 unsigned int offset; member in struct:iproc_pll_aon_pwr_ctrl 121 unsigned int offset; member in struct:iproc_pll_reset_ctrl 130 unsigned int offset; member in struct:iproc_pll_dig_filter_ctrl 143 unsigned int offset; member in struct:iproc_pll_sw_ctrl 174 unsigned int offset; member in struct:iproc_clk_enable_ctrl 194 unsigned int offset; member in struct:iproc_asiu_div
|
/linux-master/sound/core/ |
H A D | memalloc_local.h | 8 dma_addr_t (*get_addr)(struct snd_dma_buffer *dmab, size_t offset); 9 struct page *(*get_page)(struct snd_dma_buffer *dmab, size_t offset);
|
/linux-master/arch/loongarch/kernel/ |
H A D | crash_dump.c | 7 size_t csize, unsigned long offset) 18 csize = copy_to_iter(vaddr + offset, csize, iter); 6 copy_oldmem_page(struct iov_iter *iter, unsigned long pfn, size_t csize, unsigned long offset) argument
|
/linux-master/arch/loongarch/lib/ |
H A D | xor_simd.c | 19 #define LD(reg, base, offset) \ 20 "vld $vr" #reg ", %[" #base "], " #offset "\n\t" 21 #define ST(reg, base, offset) \ 22 "vst $vr" #reg ", %[" #base "], " #offset "\n\t" 62 #define LD(reg, base, offset) \ 63 "xvld $xr" #reg ", %[" #base "], " #offset "\n\t" 64 #define ST(reg, base, offset) \ 65 "xvst $xr" #reg ", %[" #base "], " #offset "\n\t"
|
/linux-master/drivers/usb/host/ |
H A D | xhci-ext-caps.h | 16 /* HCCPARAMS offset from PCI base address */ 21 /* Command and Status registers offset from the Operational Registers address */ 50 /* Add this offset, plus the value of xECP in HCCPARAMS to the base address */ 54 /* Add this offset, plus the value of xECP in HCCPARAMS to the base address */ 88 * @port_info: Port offset, count, and protocol-defined information. 112 * Find the offset of the extended capabilities with capability ID id. 120 * Returns the offset of the next matching extended capability structure. 129 u32 offset; local 131 offset = start; 136 offset [all...] |
/linux-master/drivers/gpu/drm/i915/gvt/ |
H A D | mmio.h | 63 u32 offset; member in struct:intel_gvt_mmio_info 77 int (*handler)(struct intel_gvt *gvt, u32 offset, void *data), 81 unsigned int offset); 94 int intel_vgpu_default_mmio_read(struct intel_vgpu *vgpu, unsigned int offset, 96 int intel_vgpu_default_mmio_write(struct intel_vgpu *vgpu, unsigned int offset, 100 unsigned int offset); 102 int intel_vgpu_mmio_reg_rw(struct intel_vgpu *vgpu, unsigned int offset, 105 int intel_vgpu_mask_mmio_write(struct intel_vgpu *vgpu, unsigned int offset,
|
/linux-master/drivers/md/dm-vdo/ |
H A D | cpu.h | 50 unsigned int offset = ((uintptr_t) address % L1_CACHE_BYTES); local 51 unsigned int cache_lines = (1 + ((size + offset) / L1_CACHE_BYTES));
|
/linux-master/drivers/md/dm-vdo/indexer/ |
H A D | config.c | 102 size_t offset = 0; local 126 decode_u32_le(buffer, &offset, &geometry.record_pages_per_chapter); 127 decode_u32_le(buffer, &offset, &geometry.chapters_per_volume); 128 decode_u32_le(buffer, &offset, &geometry.sparse_chapters_per_volume); 129 decode_u32_le(buffer, &offset, &config.cache_chapters); 130 offset += sizeof(u32); 131 decode_u32_le(buffer, &offset, &config.volume_index_mean_delta); 132 decode_u32_le(buffer, &offset, &bytes_per_page); 134 decode_u32_le(buffer, &offset, &config.sparse_sample_rate); 135 decode_u64_le(buffer, &offset, 180 size_t offset = 0; local [all...] |
/linux-master/drivers/pci/ |
H A D | iomap.c | 16 * @offset: map memory at the given offset in BAR 25 * the complete BAR from offset to the end, pass %0 here. 29 unsigned long offset, 36 if (len <= offset || !start) 38 len -= offset; 39 start += offset; 55 * @offset: map memory at the given offset in BAR 65 * the complete BAR from offset t 27 pci_iomap_range(struct pci_dev *dev, int bar, unsigned long offset, unsigned long maxlen) argument 67 pci_iomap_wc_range(struct pci_dev *dev, int bar, unsigned long offset, unsigned long maxlen) argument [all...] |
/linux-master/fs/squashfs/ |
H A D | symlink.c | 40 int offset = squashfs_i(inode)->offset; local 47 "%llx, offset %x\n", folio->index, block, offset); 53 bytes = squashfs_read_metadata(sb, NULL, &block, &offset, 58 squashfs_i(inode)->offset); 71 for (bytes = 0; bytes < length; offset = 0, bytes += copied) { 76 squashfs_i(inode)->offset); 83 copied = squashfs_copy_data(pageaddr + bytes, entry, offset,
|
/linux-master/tools/testing/selftests/net/ |
H A D | ip_defrag.c | 135 int offset, bool ipv6) 139 int payload_offset = offset > 0 ? offset - UDP_HLEN : 0; 143 if (offset == 0) { 159 if (payload_len - payload_offset <= max_frag_len && offset > 0) { 162 fraghdr->ip6f_offlg = htons(offset); 165 fraghdr->ip6f_offlg = htons(offset | IP6_MF); 168 if (offset == 0) 177 if (payload_len - payload_offset <= max_frag_len && offset > 0) { 180 iphdr->ip_off = htons(offset / 134 send_fragment(int fd_raw, struct sockaddr *addr, socklen_t alen, int offset, bool ipv6) argument 209 int offset; local [all...] |
/linux-master/include/linux/ |
H A D | highmem.h | 101 * @offset: The byte offset within the folio which identifies the page. 130 * Return: The virtual address of @offset. 132 static inline void *kmap_local_folio(struct folio *folio, size_t offset); 154 * struct page *page = find_get_page(mapping, offset); 401 static inline void memset_page(struct page *page, size_t offset, int val, argument 406 VM_BUG_ON(offset + len > PAGE_SIZE); 407 memset(addr + offset, val, len); 412 size_t offset, size_t len) 416 VM_BUG_ON(offset 411 memcpy_from_page(char *to, struct page *page, size_t offset, size_t len) argument 421 memcpy_to_page(struct page *page, size_t offset, const char *from, size_t len) argument 432 memzero_page(struct page *page, size_t offset, size_t len) argument 449 memcpy_from_folio(char *to, struct folio *folio, size_t offset, size_t len) argument 477 memcpy_to_folio(struct folio *folio, size_t offset, const char *from, size_t len) argument 514 folio_zero_tail(struct folio *folio, size_t offset, void *kaddr) argument 550 folio_fill_tail(struct folio *folio, size_t offset, const char *from, size_t len) argument 591 size_t offset = offset_in_folio(folio, pos); local [all...] |
/linux-master/fs/jffs2/ |
H A D | read.c | 53 jffs2_dbg(1, "Node read from %08x: node_crc %08x, calculated CRC %08x. dsize %x, csize %x, offset %x, buf %p\n", 56 je32_to_cpu(ri->offset), buf); 158 unsigned char *buf, uint32_t offset, uint32_t len) 160 uint32_t end = offset + len; 165 __func__, f->inocache->ino, offset, offset + len); 167 frag = jffs2_lookup_node_frag(&f->fragtree, offset); 174 while(offset < end) { 175 jffs2_dbg(2, "%s(): offset %d, end %d\n", 176 __func__, offset, en 157 jffs2_read_inode_range(struct jffs2_sb_info *c, struct jffs2_inode_info *f, unsigned char *buf, uint32_t offset, uint32_t len) argument [all...] |
/linux-master/drivers/ssb/ |
H A D | host_soc.c | 16 static u8 ssb_host_soc_read8(struct ssb_device *dev, u16 offset) argument 20 offset += dev->core_index * SSB_CORE_SIZE; 21 return readb(bus->mmio + offset); 24 static u16 ssb_host_soc_read16(struct ssb_device *dev, u16 offset) argument 28 offset += dev->core_index * SSB_CORE_SIZE; 29 return readw(bus->mmio + offset); 32 static u32 ssb_host_soc_read32(struct ssb_device *dev, u16 offset) argument 36 offset += dev->core_index * SSB_CORE_SIZE; 37 return readl(bus->mmio + offset); 42 size_t count, u16 offset, u 41 ssb_host_soc_block_read(struct ssb_device *dev, void *buffer, size_t count, u16 offset, u8 reg_width) argument 89 ssb_host_soc_write8(struct ssb_device *dev, u16 offset, u8 value) argument 97 ssb_host_soc_write16(struct ssb_device *dev, u16 offset, u16 value) argument 105 ssb_host_soc_write32(struct ssb_device *dev, u16 offset, u32 value) argument 114 ssb_host_soc_block_write(struct ssb_device *dev, const void *buffer, size_t count, u16 offset, u8 reg_width) argument [all...] |
/linux-master/drivers/net/wireless/broadcom/b43/ |
H A D | bus.c | 44 static u16 b43_bus_bcma_read16(struct b43_bus_dev *dev, u16 offset) argument 46 return bcma_read16(dev->bdev, offset); 48 static u32 b43_bus_bcma_read32(struct b43_bus_dev *dev, u16 offset) argument 50 return bcma_read32(dev->bdev, offset); 53 void b43_bus_bcma_write16(struct b43_bus_dev *dev, u16 offset, u16 value) argument 55 bcma_write16(dev->bdev, offset, value); 58 void b43_bus_bcma_write32(struct b43_bus_dev *dev, u16 offset, u32 value) argument 60 bcma_write32(dev->bdev, offset, value); 64 size_t count, u16 offset, u8 reg_width) 66 bcma_block_read(dev->bdev, buffer, count, offset, reg_widt 63 b43_bus_bcma_block_read(struct b43_bus_dev *dev, void *buffer, size_t count, u16 offset, u8 reg_width) argument 69 b43_bus_bcma_block_write(struct b43_bus_dev *dev, const void *buffer, size_t count, u16 offset, u8 reg_width) argument 150 b43_bus_ssb_read16(struct b43_bus_dev *dev, u16 offset) argument 154 b43_bus_ssb_read32(struct b43_bus_dev *dev, u16 offset) argument 158 b43_bus_ssb_write16(struct b43_bus_dev *dev, u16 offset, u16 value) argument 162 b43_bus_ssb_write32(struct b43_bus_dev *dev, u16 offset, u32 value) argument 166 b43_bus_ssb_block_read(struct b43_bus_dev *dev, void *buffer, size_t count, u16 offset, u8 reg_width) argument 172 b43_bus_ssb_block_write(struct b43_bus_dev *dev, const void *buffer, size_t count, u16 offset, u8 reg_width) argument [all...] |
/linux-master/drivers/gpu/drm/radeon/ |
H A D | evergreen_hdmi.h | 43 void evergreen_set_avi_packet(struct radeon_device *rdev, u32 offset, 45 void evergreen_hdmi_update_acr(struct drm_encoder *encoder, long offset, 63 void dce4_set_vbi_packet(struct drm_encoder *encoder, u32 offset); 65 u32 offset, int bpc); 66 void dce4_set_audio_packet(struct drm_encoder *encoder, u32 offset); 67 void dce4_set_mute(struct drm_encoder *encoder, u32 offset, bool mute);
|
/linux-master/scripts/dtc/libfdt/ |
H A D | libfdt_internal.h | 21 int fdt_check_node_offset_(const void *fdt, int offset); 22 int fdt_check_prop_offset_(const void *fdt, int offset); 26 static inline const void *fdt_offset_ptr_(const void *fdt, int offset) argument 28 return (const char *)fdt + fdt_off_dt_struct(fdt) + offset; 31 static inline void *fdt_offset_ptr_w_(void *fdt, int offset) argument 33 return (void *)(uintptr_t)fdt_offset_ptr_(fdt, offset);
|
/linux-master/arch/sh/include/asm/ |
H A D | pci.h | 46 int bus, int devfn, int offset, u8 *value); 48 int bus, int devfn, int offset, u16 *value); 50 int bus, int devfn, int offset, u32 *value); 52 int bus, int devfn, int offset, u8 value); 54 int bus, int devfn, int offset, u16 value); 56 int bus, int devfn, int offset, u32 value);
|