/include/drm/ |
D | drm_os_linux.h | 26 #define DRM_READ8(map, offset) readb(((void __iomem *)(map)->handle) + (offset)) argument 28 #define DRM_READ16(map, offset) readw(((void __iomem *)(map)->handle) + (offset)) argument 30 #define DRM_READ32(map, offset) readl(((void __iomem *)(map)->handle) + (offset)) argument 32 #define DRM_WRITE8(map, offset, val) writeb(val, ((void __iomem *)(map)->handle) + (offset)) argument 34 #define DRM_WRITE16(map, offset, val) writew(val, ((void __iomem *)(map)->handle) + (offset)) argument 36 #define DRM_WRITE32(map, offset, val) writel(val, ((void __iomem *)(map)->handle) + (offset)) argument 39 #define DRM_READ64(map, offset) readq(((void __iomem *)(map)->handle) + (offset)) argument 41 #define DRM_WRITE64(map, offset, val) writeq(val, ((void __iomem *)(map)->handle) + (offset)) argument
|
/include/crypto/ |
D | scatterwalk.h | 43 (int)(walk_in->offset - walk_out->offset)); in scatterwalk_samebuf() 48 unsigned int len = walk->sg->offset + walk->sg->length - walk->offset; in scatterwalk_pagelen() 49 unsigned int len_this_page = offset_in_page(~walk->offset) + 1; in scatterwalk_pagelen() 63 walk->offset += nbytes; in scatterwalk_advance() 69 return !(walk->offset & alignmask); in scatterwalk_aligned() 74 return sg_page(walk->sg) + (walk->offset >> PAGE_SHIFT); in scatterwalk_page() 86 walk->offset = sg->offset; in scatterwalk_start() 92 offset_in_page(walk->offset); in scatterwalk_map() 101 page = sg_page(walk->sg) + ((walk->offset - 1) >> PAGE_SHIFT); in scatterwalk_pagedone() 110 if (more && walk->offset >= walk->sg->offset + walk->sg->length) in scatterwalk_pagedone() [all …]
|
/include/trace/events/ |
D | intel-sst.h | 53 TP_PROTO(unsigned int offset, unsigned int val), 55 TP_ARGS(offset, val), 58 __field( unsigned int, offset ) 63 __entry->offset = offset; 68 (unsigned int)__entry->offset, (unsigned int)__entry->val) 73 TP_PROTO(unsigned int offset, unsigned int val), 75 TP_ARGS(offset, val) 81 TP_PROTO(unsigned int offset, unsigned int val), 83 TP_ARGS(offset, val) 89 TP_PROTO(unsigned int offset, unsigned int val), [all …]
|
D | android_fs_template.h | 7 TP_PROTO(struct inode *inode, loff_t offset, int bytes, 9 TP_ARGS(inode, offset, bytes, pid, pathname, command), 12 __field(loff_t, offset); 28 __entry->offset = offset; 39 __get_str(pathbuf), __entry->offset, __entry->bytes, 45 TP_PROTO(struct inode *inode, loff_t offset, int bytes), 46 TP_ARGS(inode, offset, bytes), 49 __field(loff_t, offset); 55 __entry->offset = offset; 61 __entry->offset, __entry->bytes)
|
D | android_fs.h | 11 TP_PROTO(struct inode *inode, loff_t offset, int bytes, 13 TP_ARGS(inode, offset, bytes, pid, pathname, command)); 16 TP_PROTO(struct inode *inode, loff_t offset, int bytes), 17 TP_ARGS(inode, offset, bytes)); 20 TP_PROTO(struct inode *inode, loff_t offset, int bytes, 22 TP_ARGS(inode, offset, bytes, pid, pathname, command)); 25 TP_PROTO(struct inode *inode, loff_t offset, int bytes), 26 TP_ARGS(inode, offset, bytes));
|
/include/linux/bcma/ |
D | bcma.h | 43 u8 (*read8)(struct bcma_device *core, u16 offset); 44 u16 (*read16)(struct bcma_device *core, u16 offset); 45 u32 (*read32)(struct bcma_device *core, u16 offset); 46 void (*write8)(struct bcma_device *core, u16 offset, u8 value); 47 void (*write16)(struct bcma_device *core, u16 offset, u16 value); 48 void (*write32)(struct bcma_device *core, u16 offset, u32 value); 51 size_t count, u16 offset, u8 reg_width); 53 size_t count, u16 offset, u8 reg_width); 56 u32 (*aread32)(struct bcma_device *core, u16 offset); 57 void (*awrite32)(struct bcma_device *core, u16 offset, u32 value); [all …]
|
D | bcma_driver_pcie2.h | 150 #define pcie2_read16(pcie2, offset) bcma_read16((pcie2)->core, offset) argument 151 #define pcie2_read32(pcie2, offset) bcma_read32((pcie2)->core, offset) argument 152 #define pcie2_write16(pcie2, offset, val) bcma_write16((pcie2)->core, offset, val) argument 153 #define pcie2_write32(pcie2, offset, val) bcma_write32((pcie2)->core, offset, val) argument 155 #define pcie2_set32(pcie2, offset, set) bcma_set32((pcie2)->core, offset, set) argument 156 #define pcie2_mask32(pcie2, offset, mask) bcma_mask32((pcie2)->core, offset, mask) argument
|
D | bcma_driver_gmac_cmn.h | 89 #define gmac_cmn_read16(gc, offset) bcma_read16((gc)->core, offset) argument 90 #define gmac_cmn_read32(gc, offset) bcma_read32((gc)->core, offset) argument 91 #define gmac_cmn_write16(gc, offset, val) bcma_write16((gc)->core, offset, val) argument 92 #define gmac_cmn_write32(gc, offset, val) bcma_write32((gc)->core, offset, val) argument
|
D | bcma_driver_chipcommon.h | 660 #define bcma_cc_read32(cc, offset) \ argument 661 bcma_read32((cc)->core, offset) 662 #define bcma_cc_write32(cc, offset, val) \ argument 663 bcma_write32((cc)->core, offset, val) 665 #define bcma_cc_mask32(cc, offset, mask) \ argument 666 bcma_cc_write32(cc, offset, bcma_cc_read32(cc, offset) & (mask)) 667 #define bcma_cc_set32(cc, offset, set) \ argument 668 bcma_cc_write32(cc, offset, bcma_cc_read32(cc, offset) | (set)) 669 #define bcma_cc_maskset32(cc, offset, mask, set) \ argument 670 bcma_cc_write32(cc, offset, (bcma_cc_read32(cc, offset) & (mask)) | (set)) [all …]
|
/include/linux/ |
D | rio_drv.h | 23 extern int __rio_local_read_config_32(struct rio_mport *port, u32 offset, 25 extern int __rio_local_write_config_32(struct rio_mport *port, u32 offset, 27 extern int __rio_local_read_config_16(struct rio_mport *port, u32 offset, 29 extern int __rio_local_write_config_16(struct rio_mport *port, u32 offset, 31 extern int __rio_local_read_config_8(struct rio_mport *port, u32 offset, 33 extern int __rio_local_write_config_8(struct rio_mport *port, u32 offset, 37 u8 hopcount, u32 offset, u32 * data); 39 u8 hopcount, u32 offset, u32 data); 41 u8 hopcount, u32 offset, u16 * data); 43 u8 hopcount, u32 offset, u16 data); [all …]
|
D | io-mapping.h | 76 unsigned long offset) in io_mapping_map_atomic_wc() argument 81 BUG_ON(offset >= mapping->size); in io_mapping_map_atomic_wc() 82 phys_addr = mapping->base + offset; in io_mapping_map_atomic_wc() 95 unsigned long offset, in io_mapping_map_wc() argument 100 BUG_ON(offset >= mapping->size); in io_mapping_map_wc() 101 phys_addr = mapping->base + offset; in io_mapping_map_wc() 146 unsigned long offset, in io_mapping_map_wc() argument 149 return mapping->iomem + offset; in io_mapping_map_wc() 160 unsigned long offset) in io_mapping_map_atomic_wc() argument 164 return io_mapping_map_wc(mapping, offset, PAGE_SIZE); in io_mapping_map_atomic_wc()
|
D | virtio_config.h | 62 void (*get)(struct virtio_device *vdev, unsigned offset, 64 void (*set)(struct virtio_device *vdev, unsigned offset, 322 unsigned int offset, in __virtio_cread_many() argument 333 vdev->config->get(vdev, offset + bytes * i, in __virtio_cread_many() 342 unsigned int offset, in virtio_cread_bytes() argument 345 __virtio_cread_many(vdev, offset, buf, len, 1); in virtio_cread_bytes() 348 static inline u8 virtio_cread8(struct virtio_device *vdev, unsigned int offset) in virtio_cread8() argument 351 vdev->config->get(vdev, offset, &ret, sizeof(ret)); in virtio_cread8() 356 unsigned int offset, u8 val) in virtio_cwrite8() argument 358 vdev->config->set(vdev, offset, &val, sizeof(val)); in virtio_cwrite8() [all …]
|
D | kallsyms.h | 29 unsigned long *offset); 34 unsigned long *offset, 46 int lookup_symbol_attrs(unsigned long addr, unsigned long *size, unsigned long *offset, char *modna… 65 unsigned long *offset) in kallsyms_lookup_size_offset() argument 72 unsigned long *offset, in kallsyms_lookup() argument 101 …kup_symbol_attrs(unsigned long addr, unsigned long *size, unsigned long *offset, char *modname, ch… in lookup_symbol_attrs() argument
|
D | flat.h | 35 signed long offset : 30; member 40 signed long offset : 30; 43 signed long offset : 30;
|
D | relay.h | 37 size_t offset; /* current offset into sub-buffer */ member 210 if (unlikely(buf->offset + length > chan->subbuf_size)) in relay_write() 212 memcpy(buf->data + buf->offset, data, length); in relay_write() 213 buf->offset += length; in relay_write() 236 if (unlikely(buf->offset + length > buf->chan->subbuf_size)) in __relay_write() 238 memcpy(buf->data + buf->offset, data, length); in __relay_write() 239 buf->offset += length; in __relay_write() 259 if (unlikely(buf->offset + length > buf->chan->subbuf_size)) { in relay_reserve() 264 reserved = buf->data + buf->offset; in relay_reserve() 265 buf->offset += length; in relay_reserve() [all …]
|
D | iommu-helper.h | 7 unsigned long offset, in iommu_device_max_index() argument 10 if (size + offset > dma_mask) in iommu_device_max_index() 11 return dma_mask - offset + 1; in iommu_device_max_index()
|
D | frontswap.h | 40 static inline bool frontswap_test(struct swap_info_struct *sis, pgoff_t offset) in frontswap_test() argument 42 return __frontswap_test(sis, offset); in frontswap_test() 63 static inline bool frontswap_test(struct swap_info_struct *sis, pgoff_t offset) in frontswap_test() argument 95 static inline void frontswap_invalidate_page(unsigned type, pgoff_t offset) in frontswap_invalidate_page() argument 98 __frontswap_invalidate_page(type, offset); in frontswap_invalidate_page()
|
/include/linux/gpio/ |
D | driver.h | 137 unsigned offset); 139 unsigned offset); 141 unsigned offset); 143 unsigned offset); 145 unsigned offset, int value); 147 unsigned offset); 149 unsigned offset, int value); 154 unsigned offset, 157 unsigned offset, 161 unsigned offset); [all …]
|
/include/sound/ |
D | memalloc.h | 107 size_t offset) in snd_sgbuf_get_addr() argument 110 dma_addr_t addr = sgbuf->table[offset >> PAGE_SHIFT].addr; in snd_sgbuf_get_addr() 112 return addr + offset % PAGE_SIZE; in snd_sgbuf_get_addr() 119 size_t offset) in snd_sgbuf_get_ptr() argument 122 return sgbuf->table[offset >> PAGE_SHIFT].buf + offset % PAGE_SIZE; in snd_sgbuf_get_ptr() 130 size_t offset) in snd_sgbuf_get_addr() argument 132 return dmab->addr + offset; in snd_sgbuf_get_addr() 136 size_t offset) in snd_sgbuf_get_ptr() argument 138 return dmab->area + offset; in snd_sgbuf_get_ptr()
|
/include/linux/pinctrl/ |
D | pinmux.h | 64 int (*request) (struct pinctrl_dev *pctldev, unsigned offset); 65 int (*free) (struct pinctrl_dev *pctldev, unsigned offset); 77 unsigned offset); 80 unsigned offset); 83 unsigned offset,
|
/include/dt-bindings/pinctrl/ |
D | omap.h | 56 #define OMAP_IOPAD_OFFSET(pa, offset) (((pa) & 0xffff) - (offset)) argument 72 #define OMAP_PADCONF_OFFSET(offset, base_offset) ((offset) - (base_offset)) argument 74 #define OMAP4_IOPAD(offset, val) OMAP_PADCONF_OFFSET((offset), 0x0040) (val) argument 75 #define OMAP5_IOPAD(offset, val) OMAP_PADCONF_OFFSET((offset), 0x0040) (val) argument
|
/include/dt-bindings/gpio/ |
D | tegra186-gpio.h | 40 #define TEGRA_MAIN_GPIO(port, offset) \ argument 41 ((TEGRA_MAIN_GPIO_PORT_##port * 8) + offset) 53 #define TEGRA_AON_GPIO(port, offset) \ argument 54 ((TEGRA_AON_GPIO_PORT_##port * 8) + offset)
|
/include/asm-generic/bitops/ |
D | le.h | 12 unsigned long size, unsigned long offset) in find_next_zero_bit_le() argument 14 return find_next_zero_bit(addr, size, offset); in find_next_zero_bit_le() 18 unsigned long size, unsigned long offset) in find_next_bit_le() argument 20 return find_next_bit(addr, size, offset); in find_next_bit_le() 35 unsigned long size, unsigned long offset); 40 unsigned long size, unsigned long offset);
|
/include/net/sctp/ |
D | checksum.h | 55 int offset, int len) in sctp_csum_combine() argument 61 unsigned int offset) in sctp_compute_cksum() argument 71 ret = cpu_to_le32(~__skb_checksum(skb, offset, skb->len - offset, in sctp_compute_cksum()
|
/include/linux/mtd/ |
D | ubi.h | 250 int ubi_leb_read(struct ubi_volume_desc *desc, int lnum, char *buf, int offset, 253 int offset, int len, int check); 255 int offset, int len); 270 int offset, int len) in ubi_read() argument 272 return ubi_leb_read(desc, lnum, buf, offset, len, 0); in ubi_read() 280 struct ubi_sgl *sgl, int offset, int len) in ubi_read_sg() argument 282 return ubi_leb_read_sg(desc, lnum, sgl, offset, len, 0); in ubi_read_sg()
|