Searched refs:offset (Results 1 - 25 of 276) sorted by relevance

1234567891011>>

/include/drm/
H A Ddrm_os_linux.h26 #define DRM_READ8(map, offset) readb(((void __iomem *)(map)->handle) + (offset))
28 #define DRM_READ16(map, offset) readw(((void __iomem *)(map)->handle) + (offset))
30 #define DRM_READ32(map, offset) readl(((void __iomem *)(map)->handle) + (offset))
32 #define DRM_WRITE8(map, offset, val) writeb(val, ((void __iomem *)(map)->handle) + (offset))
34 #define DRM_WRITE16(map, offset, val) writew(val, ((void __iomem *)(map)->handle) + (offset))
[all...]
/include/trace/events/
H A Dintel-sst.h46 TP_PROTO(unsigned int offset, unsigned int val),
48 TP_ARGS(offset, val),
51 __field( unsigned int, offset )
56 __entry->offset = offset;
61 (unsigned int)__entry->offset, (unsigned int)__entry->val)
66 TP_PROTO(unsigned int offset, unsigned int val),
68 TP_ARGS(offset, val)
74 TP_PROTO(unsigned int offset, unsigned int val),
76 TP_ARGS(offset, va
[all...]
/include/linux/
H A Dflat.h35 signed long offset : 30; member in struct:__anon249::__anon250
40 signed long offset : 30;
43 signed long offset : 30;
H A Diommu-helper.h7 unsigned long offset,
10 if (size + offset > dma_mask)
11 return dma_mask - offset + 1;
6 iommu_device_max_index(unsigned long size, unsigned long offset, u64 dma_mask) argument
H A Dio-mapping.h85 unsigned long offset)
90 BUG_ON(offset >= mapping->size);
91 phys_addr = mapping->base + offset;
103 io_mapping_map_wc(struct io_mapping *mapping, unsigned long offset) argument
107 BUG_ON(offset >= mapping->size);
108 phys_addr = mapping->base + offset;
142 unsigned long offset)
145 return ((char __force __iomem *) mapping) + offset;
156 io_mapping_map_wc(struct io_mapping *mapping, unsigned long offset) argument
158 return ((char __force __iomem *) mapping) + offset;
84 io_mapping_map_atomic_wc(struct io_mapping *mapping, unsigned long offset) argument
141 io_mapping_map_atomic_wc(struct io_mapping *mapping, unsigned long offset) argument
[all...]
H A Drio_drv.h23 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, u1
58 rio_local_read_config_32(struct rio_mport *port, u32 offset, u32 * data) argument
73 rio_local_write_config_32(struct rio_mport *port, u32 offset, u32 data) argument
88 rio_local_read_config_16(struct rio_mport *port, u32 offset, u16 * data) argument
104 rio_local_write_config_16(struct rio_mport *port, u32 offset, u16 data) argument
119 rio_local_read_config_8(struct rio_mport *port, u32 offset, u8 * data) argument
134 rio_local_write_config_8(struct rio_mport *port, u32 offset, u8 data) argument
149 rio_read_config_32(struct rio_dev *rdev, u32 offset, u32 * data) argument
165 rio_write_config_32(struct rio_dev *rdev, u32 offset, u32 data) argument
181 rio_read_config_16(struct rio_dev *rdev, u32 offset, u16 * data) argument
197 rio_write_config_16(struct rio_dev *rdev, u32 offset, u16 data) argument
213 rio_read_config_8(struct rio_dev *rdev, u32 offset, u8 * data) argument
228 rio_write_config_8(struct rio_dev *rdev, u32 offset, u8 data) argument
[all...]
H A Dearlycpio.h15 long *offset);
H A Dkallsyms.h29 unsigned long *offset);
34 unsigned long *offset,
46 int lookup_symbol_attrs(unsigned long addr, unsigned long *size, unsigned long *offset, char *modname, char *name);
65 unsigned long *offset)
72 unsigned long *offset,
101 static inline int lookup_symbol_attrs(unsigned long addr, unsigned long *size, unsigned long *offset, char *modname, char *name) argument
63 kallsyms_lookup_size_offset(unsigned long addr, unsigned long *symbolsize, unsigned long *offset) argument
70 kallsyms_lookup(unsigned long addr, unsigned long *symbolsize, unsigned long *offset, char **modname, char *namebuf) argument
H A Dfrontswap.h35 static inline bool frontswap_test(struct swap_info_struct *sis, pgoff_t offset) argument
37 return __frontswap_test(sis, offset);
55 static inline bool frontswap_test(struct swap_info_struct *sis, pgoff_t offset) argument
89 static inline void frontswap_invalidate_page(unsigned type, pgoff_t offset) argument
92 __frontswap_invalidate_page(type, offset);
H A Dvirtio_config.h13 * offset: the offset of the configuration field
18 * offset: the offset of the configuration field
57 void (*get)(struct virtio_device *vdev, unsigned offset,
59 void (*set)(struct virtio_device *vdev, unsigned offset,
217 static inline u8 virtio_cread8(struct virtio_device *vdev, unsigned int offset) argument
220 vdev->config->get(vdev, offset, &ret, sizeof(ret));
225 unsigned int offset,
228 vdev->config->get(vdev, offset, bu
224 virtio_cread_bytes(struct virtio_device *vdev, unsigned int offset, void *buf, size_t len) argument
231 virtio_cwrite8(struct virtio_device *vdev, unsigned int offset, u8 val) argument
237 virtio_cread16(struct virtio_device *vdev, unsigned int offset) argument
245 virtio_cwrite16(struct virtio_device *vdev, unsigned int offset, u16 val) argument
251 virtio_cread32(struct virtio_device *vdev, unsigned int offset) argument
259 virtio_cwrite32(struct virtio_device *vdev, unsigned int offset, u32 val) argument
265 virtio_cread64(struct virtio_device *vdev, unsigned int offset) argument
273 virtio_cwrite64(struct virtio_device *vdev, unsigned int offset, u64 val) argument
[all...]
H A Dfutex.h22 * offset is aligned to a multiple of sizeof(u32) (== 4) by definition.
23 * We use the two low order bits of offset to tell what is the kind of key :
39 int offset; member in struct:futex_key::__anon286
44 int offset; member in struct:futex_key::__anon287
49 int offset; member in struct:futex_key::__anon288
H A Dselection.h33 extern u16 screen_glyph(struct vc_data *vc, int offset);
34 extern void complement_pos(struct vc_data *vc, int offset);
35 extern void invert_screen(struct vc_data *vc, int offset, int count, int shift);
/include/linux/input/
H A Dedt-ft5x06.h20 u8 offset; member in struct:edt_ft5x06_platform_data
/include/asm-generic/bitops/
H A Dfind.h8 * @offset: The bitnumber to start searching at
15 size, unsigned long offset);
22 * @offset: The bitnumber to start searching at
29 long size, unsigned long offset);
H A Dle.h12 unsigned long size, unsigned long offset)
14 return find_next_zero_bit(addr, size, offset);
18 unsigned long size, unsigned long offset)
20 return find_next_bit(addr, size, offset);
35 unsigned long size, unsigned long offset);
40 unsigned long size, unsigned long offset);
11 find_next_zero_bit_le(const void *addr, unsigned long size, unsigned long offset) argument
17 find_next_bit_le(const void *addr, unsigned long size, unsigned long offset) argument
/include/linux/pinctrl/
H A Dpinmux.h50 * affected GPIO range is passed along with an offset(pin number) into that
61 int (*request) (struct pinctrl_dev *pctldev, unsigned offset);
62 int (*free) (struct pinctrl_dev *pctldev, unsigned offset);
74 unsigned offset);
77 unsigned offset);
80 unsigned offset,
/include/sound/
H A Dmemalloc.h104 * return the physical address at the corresponding offset
107 size_t offset)
110 dma_addr_t addr = sgbuf->table[offset >> PAGE_SHIFT].addr;
112 return addr + offset % PAGE_SIZE;
116 * return the virtual address at the corresponding offset
119 size_t offset)
122 return sgbuf->table[offset >> PAGE_SHIFT].buf + offset % PAGE_SIZE;
130 size_t offset)
132 return dmab->addr + offset;
106 snd_sgbuf_get_addr(struct snd_dma_buffer *dmab, size_t offset) argument
118 snd_sgbuf_get_ptr(struct snd_dma_buffer *dmab, size_t offset) argument
129 snd_sgbuf_get_addr(struct snd_dma_buffer *dmab, size_t offset) argument
135 snd_sgbuf_get_ptr(struct snd_dma_buffer *dmab, size_t offset) argument
[all...]
/include/linux/bcma/
H A Dbcma.h42 u8 (*read8)(struct bcma_device *core, u16 offset);
43 u16 (*read16)(struct bcma_device *core, u16 offset);
44 u32 (*read32)(struct bcma_device *core, u16 offset);
45 void (*write8)(struct bcma_device *core, u16 offset, u8 value);
46 void (*write16)(struct bcma_device *core, u16 offset, u16 value);
47 void (*write32)(struct bcma_device *core, u16 offset, u32 value);
50 size_t count, u16 offset, u8 reg_width);
52 size_t count, u16 offset, u8 reg_width);
55 u32 (*aread32)(struct bcma_device *core, u16 offset);
56 void (*awrite32)(struct bcma_device *core, u16 offset, u3
351 bcma_read8(struct bcma_device *core, u16 offset) argument
355 bcma_read16(struct bcma_device *core, u16 offset) argument
359 bcma_read32(struct bcma_device *core, u16 offset) argument
364 bcma_write8(struct bcma_device *core, u16 offset, u32 value) argument
369 bcma_write16(struct bcma_device *core, u16 offset, u32 value) argument
374 bcma_write32(struct bcma_device *core, u16 offset, u32 value) argument
379 bcma_block_read(struct bcma_device *core, void *buffer, size_t count, u16 offset, u8 reg_width) argument
384 bcma_block_write(struct bcma_device *core, const void *buffer, size_t count, u16 offset, u8 reg_width) argument
391 bcma_aread32(struct bcma_device *core, u16 offset) argument
396 bcma_awrite32(struct bcma_device *core, u16 offset, u32 value) argument
401 bcma_mask32(struct bcma_device *cc, u16 offset, u32 mask) argument
405 bcma_set32(struct bcma_device *cc, u16 offset, u32 set) argument
409 bcma_maskset32(struct bcma_device *cc, u16 offset, u32 mask, u32 set) argument
414 bcma_mask16(struct bcma_device *cc, u16 offset, u16 mask) argument
418 bcma_set16(struct bcma_device *cc, u16 offset, u16 set) argument
422 bcma_maskset16(struct bcma_device *cc, u16 offset, u16 mask, u16 set) argument
[all...]
H A Dbcma_driver_pcie2.h148 #define pcie2_read16(pcie2, offset) bcma_read16((pcie2)->core, offset)
149 #define pcie2_read32(pcie2, offset) bcma_read32((pcie2)->core, offset)
150 #define pcie2_write16(pcie2, offset, val) bcma_write16((pcie2)->core, offset, val)
151 #define pcie2_write32(pcie2, offset, val) bcma_write32((pcie2)->core, offset, val)
153 #define pcie2_set32(pcie2, offset, set) bcma_set32((pcie2)->core, offset, se
[all...]
/include/linux/gpio/
H A Ddriver.h28 * @get_direction: returns direction for signal "offset", 0=out, 1=in,
30 * @direction_input: configures signal "offset" as input, or returns error
31 * @direction_output: configures signal "offset" as output, or returns error
32 * @get: returns value for signal "offset"; for output signals this
34 * @set: assigns output value for signal "offset"
68 * by "offset" values in the range 0..(@ngpio - 1). When those signals
69 * are referenced through calls like gpio_get_value(gpio), the offset
79 unsigned offset);
81 unsigned offset);
83 unsigned offset);
[all...]
/include/linux/mtd/
H A Dlatch-addr-flash.h22 void (*set_window)(unsigned long offset, void *data);
/include/linux/phy/
H A Domap_usb.h66 static inline u32 omap_usb_readl(void __iomem *addr, unsigned offset) argument
68 return __raw_readl(addr + offset);
71 static inline void omap_usb_writel(void __iomem *addr, unsigned offset, argument
74 __raw_writel(data, addr + offset);
/include/net/sctp/
H A Dchecksum.h55 int offset, int len)
61 unsigned int offset)
71 ret = cpu_to_le32(~__skb_checksum(skb, offset, skb->len - offset,
54 sctp_csum_combine(__wsum csum, __wsum csum2, int offset, int len) argument
60 sctp_compute_cksum(const struct sk_buff *skb, unsigned int offset) argument
/include/dt-bindings/pinctrl/
H A Domap.h54 * padconf registers instead of the offset from padconf base.
56 #define OMAP_IOPAD_OFFSET(pa, offset) (((pa) & 0xffff) - (offset))
69 * Macros to allow using the offset from the padconf physical address
70 * instead of the offset from padconf base.
72 #define OMAP_PADCONF_OFFSET(offset, base_offset) ((offset) - (base_offset))
74 #define OMAP4_IOPAD(offset, val) OMAP_PADCONF_OFFSET((offset), 0x0040) (val)
75 #define OMAP5_IOPAD(offset, va
[all...]
/include/uapi/drm/
H A Dsis_drm.h54 unsigned long offset; member in struct:__anon1618
60 unsigned long offset, size; member in struct:__anon1619
64 unsigned long offset, size; member in struct:__anon1620

Completed in 423 milliseconds

1234567891011>>