Home
last modified time | relevance | path

Searched defs:ptr (Results 76 – 100 of 2742) sorted by relevance

12345678910>>...110

/openbmc/u-boot/common/
H A Diotrace.c37 static void add_record(int flags, const void *ptr, ulong value) in add_record()
79 u32 iotrace_readl(const void *ptr) in iotrace_readl()
89 void iotrace_writel(ulong value, const void *ptr) in iotrace_writel()
95 u16 iotrace_readw(const void *ptr) in iotrace_readw()
105 void iotrace_writew(ulong value, const void *ptr) in iotrace_writew()
111 u8 iotrace_readb(const void *ptr) in iotrace_readb()
121 void iotrace_writeb(ulong value, const void *ptr) in iotrace_writeb()
H A Dmalloc_simple.c20 void *ptr; in alloc_simple() local
39 void *ptr; in malloc_simple() local
52 void *ptr; in memalign_simple() local
66 void *ptr; in calloc() local
/openbmc/linux/include/linux/
H A Dptr_ring.h104 static inline int __ptr_ring_produce(struct ptr_ring *r, void *ptr) in __ptr_ring_produce()
124 static inline int ptr_ring_produce(struct ptr_ring *r, void *ptr) in ptr_ring_produce()
158 static inline int ptr_ring_produce_bh(struct ptr_ring *r, void *ptr) in ptr_ring_produce_bh()
293 void *ptr; in __ptr_ring_consume() local
309 void *ptr; in __ptr_ring_consume_batched() local
329 void *ptr; in ptr_ring_consume() local
340 void *ptr; in ptr_ring_consume_irq() local
352 void *ptr; in ptr_ring_consume_any() local
363 void *ptr; in ptr_ring_consume_bh() local
564 void *ptr; in __ptr_ring_swap_queue() local
[all …]
/openbmc/linux/arch/powerpc/include/asm/
H A Duaccess.h37 #define __put_user(x, ptr) \ argument
62 #define put_user(x, ptr) \ argument
98 #define __put_user_asm2_goto(x, ptr, label) \ argument
122 #define __put_user_size_goto(x, ptr, size, label) \ argument
194 #define __get_user_size_goto(x, ptr, size, label) \ argument
206 #define __get_user_size_allowed(x, ptr, size, retval) \ argument
254 #define __get_user_size_allowed(x, ptr, size, retval) \ argument
267 #define __get_user_size_goto(x, ptr, size, label) \ argument
285 #define __get_user(x, ptr) \ argument
301 #define get_user(x, ptr) \ argument
[all …]
/openbmc/qemu/tests/tcg/multiarch/system/
H A Dmemory.c62 uint8_t count = 0, *ptr = &test_data[0]; in init_test_data_u8() local
87 uint8_t top, bottom, *ptr = &test_data[0]; in init_test_data_s8() local
106 uint32_t *ptr = (uint32_t *) &test_data[0]; in reset_start_data() local
116 uint16_t word, *ptr = (uint16_t *) &test_data[offset]; in init_test_data_u16() local
136 uint32_t word, *ptr = (uint32_t *) &test_data[offset]; in init_test_data_u32() local
158 uint64_t word, *ptr = (uint64_t *) &test_data[offset]; in init_test_data_u64() local
182 uint16_t word, *ptr = (uint16_t *)&test_data[offset]; in read_test_data_u16() local
207 uint32_t word, *ptr = (uint32_t *)&test_data[offset]; in read_test_data_u32() local
347 int8_t *ptr = (int8_t *)&test_data[offset]; in read_test_data_s8() local
374 int16_t *ptr = (int16_t *)&test_data[offset]; in read_test_data_s16() local
[all …]
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_utils.h114 #define ptr_mask_bits(ptr, n) ({ \ argument
119 #define ptr_unmask_bits(ptr, n) ((unsigned long)(ptr) & (BIT(n) - 1)) argument
121 #define ptr_unpack_bits(ptr, bits, n) ({ \ argument
127 #define ptr_pack_bits(ptr, bits, n) ({ \ argument
133 #define ptr_dec(ptr) ({ \ argument
138 #define ptr_inc(ptr) ({ \ argument
143 #define page_mask_bits(ptr) ptr_mask_bits(ptr, PAGE_SHIFT) argument
144 #define page_unmask_bits(ptr) ptr_unmask_bits(ptr, PAGE_SHIFT) argument
145 #define page_pack_bits(ptr, bits) ptr_pack_bits(ptr, bits, PAGE_SHIFT) argument
148 #define fetch_and_zero(ptr) ({ \ argument
[all …]
/openbmc/linux/tools/testing/selftests/mm/
H A Dmigration.c63 int migrate(uint64_t *ptr, int n1, int n2) in migrate()
97 void *access_mem(void *ptr) in access_mem()
120 uint64_t *ptr; variable
146 uint64_t *ptr; variable
180 uint64_t *ptr; variable
/openbmc/linux/kernel/locking/
H A Dlockdep_internals.h212 #define __debug_atomic_inc(ptr) \ argument
215 #define debug_atomic_inc(ptr) { \ argument
220 #define debug_atomic_dec(ptr) { \ argument
225 #define debug_atomic_read(ptr) ({ \ argument
256 # define __debug_atomic_inc(ptr) do { } while (0) argument
257 # define debug_atomic_inc(ptr) do { } while (0) argument
258 # define debug_atomic_dec(ptr) do { } while (0) argument
259 # define debug_atomic_read(ptr) 0 argument
260 # define debug_class_ops_inc(ptr) do { } while (0) argument
/openbmc/u-boot/arch/sandbox/cpu/
H A Dcpu.c76 static bool is_in_sandbox_mem(const void *ptr) in is_in_sandbox_mem()
122 struct sandbox_mapmem_entry *find_tag(const void *ptr) in find_tag()
137 phys_addr_t virt_to_phys(void *ptr) in virt_to_phys()
164 void *ptr; in map_physmem() local
180 void unmap_physmem(const void *ptr, unsigned long flags) in unmap_physmem()
190 phys_addr_t map_to_sysmem(const void *ptr) in map_to_sysmem()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/gpio/
H A Dhw_gpio.c61 struct hw_gpio_pin *ptr, in dal_hw_gpio_open()
74 const struct hw_gpio_pin *ptr, in dal_hw_gpio_get_value()
96 const struct hw_gpio_pin *ptr, in dal_hw_gpio_set_value()
122 struct hw_gpio_pin *ptr, in dal_hw_gpio_change_mode()
131 struct hw_gpio_pin *ptr) in dal_hw_gpio_close()
/openbmc/linux/tools/testing/selftests/arm64/mte/
H A Dcheck_tags_inclusion.c22 static int verify_mte_pointer_validity(char *ptr, int mode) in verify_mte_pointer_validity()
51 char *ptr; in check_single_included_tags() local
83 char *ptr; in check_multiple_included_tags() local
115 char *ptr; in check_all_included_tags() local
141 char *ptr; in check_none_included_tags() local
/openbmc/linux/include/asm-generic/
H A Dcmpxchg.h24 unsigned long __generic_xchg(unsigned long x, volatile void *ptr, int size) in __generic_xchg()
81 #define generic_xchg(ptr, x) ({ \ argument
91 #define generic_cmpxchg_local(ptr, o, n) ({ \ argument
96 #define generic_cmpxchg64_local(ptr, o, n) \ argument
H A Duaccess.h104 #define __put_user(x, ptr) \ argument
124 #define put_user(x, ptr) \ argument
135 static inline int __put_user_fn(size_t size, void __user *ptr, void *x) in __put_user_fn()
146 #define __get_user(x, ptr) \ argument
186 #define get_user(x, ptr) \ argument
196 static inline int __get_user_fn(size_t size, const void __user *ptr, void *x) in __get_user_fn()
/openbmc/linux/include/linux/mlx4/
H A Ddoorbell.h52 #define MLX4_INIT_DOORBELL_LOCK(ptr) do { } while (0) argument
53 #define MLX4_GET_DOORBELL_LOCK(ptr) (NULL) argument
70 #define MLX4_INIT_DOORBELL_LOCK(ptr) spin_lock_init(ptr) argument
71 #define MLX4_GET_DOORBELL_LOCK(ptr) (ptr) argument
/openbmc/phosphor-mboxd/
H A Dcommon.c52 uint16_t get_u16(uint8_t *ptr) in get_u16()
57 void put_u16(uint8_t *ptr, uint16_t val) in put_u16()
63 uint32_t get_u32(uint8_t *ptr) in get_u32()
68 void put_u32(uint8_t *ptr, uint32_t val) in put_u32()
/openbmc/hiomapd/
H A Dcommon.c55 uint16_t get_u16(uint8_t *ptr) in get_u16()
60 void put_u16(uint8_t *ptr, uint16_t val) in put_u16()
66 uint32_t get_u32(uint8_t *ptr) in get_u32()
71 void put_u32(uint8_t *ptr, uint32_t val) in put_u32()
/openbmc/linux/kernel/debug/
H A Dgdbstub.c343 char *ptr = (char *)gdb_regs; in pt_regs_to_gdb_regs() local
355 char *ptr = (char *)gdb_regs; in gdb_regs_to_pt_regs() local
367 char *ptr = &remcom_in_buffer[1]; in write_mem_msg() local
557 char *ptr = &remcom_in_buffer[1]; in gdb_cmd_memread() local
599 char *ptr = &remcom_in_buffer[1]; in gdb_cmd_reg_get() local
614 char *ptr = &remcom_in_buffer[1]; in gdb_cmd_reg_set() local
700 char *ptr; in gdb_cmd_query() local
812 char *ptr; in gdb_cmd_task() local
848 char *ptr = &remcom_in_buffer[1]; in gdb_cmd_thread() local
867 char *ptr = &remcom_in_buffer[2]; in gdb_cmd_break() local
[all …]
/openbmc/linux/arch/mips/include/asm/
H A Dpaccess.h28 #define put_dbe(x, ptr) __put_dbe((x), (ptr), sizeof(*(ptr))) argument
29 #define get_dbe(x, ptr) __get_dbe((x), (ptr), sizeof(*(ptr))) argument
34 #define __get_dbe(x, ptr, size) \ argument
74 #define __put_dbe(x, ptr, size) \ argument
/openbmc/linux/drivers/staging/media/atomisp/pci/base/refcount/src/
H A Drefcount.c42 static struct ia_css_refcount_entry *refcount_find_entry(ia_css_ptr ptr, in refcount_find_entry()
126 ia_css_ptr ia_css_refcount_increment(s32 id, ia_css_ptr ptr) in ia_css_refcount_increment()
163 bool ia_css_refcount_decrement(s32 id, ia_css_ptr ptr) in ia_css_refcount_decrement()
206 bool ia_css_refcount_is_single(ia_css_ptr ptr) in ia_css_refcount_is_single()
267 bool ia_css_refcount_is_valid(ia_css_ptr ptr) in ia_css_refcount_is_valid()
/openbmc/linux/arch/arm/mach-s3c/
H A Dpm-common.c27 void s3c_pm_do_save(struct sleep_save *ptr, int count) in s3c_pm_do_save()
46 void s3c_pm_do_restore(const struct sleep_save *ptr, int count) in s3c_pm_do_restore()
69 void s3c_pm_do_restore_core(const struct sleep_save *ptr, int count) in s3c_pm_do_restore_core()
/openbmc/u-boot/tools/
H A Dzynqmpimage.c67 static uint32_t zynqmpimage_checksum(struct zynqmp_header *ptr) in zynqmpimage_checksum()
89 void zynqmpimage_default_header(struct zynqmp_header *ptr) in zynqmpimage_default_header()
119 static int zynqmpimage_verify_header(unsigned char *ptr, int image_size, in zynqmpimage_verify_header()
138 static void print_partition(const void *ptr, const struct partition_header *ph) in print_partition()
212 void zynqmpimage_print_header(const void *ptr) in zynqmpimage_print_header()
403 static void zynqmpimage_set_header(void *ptr, struct stat *sbuf, int ifd, in zynqmpimage_set_header()
/openbmc/linux/drivers/gpu/drm/tests/
H A Ddrm_kunit_helpers.c30 static void kunit_action_platform_driver_unregister(void *ptr) in kunit_action_platform_driver_unregister()
38 static void kunit_action_platform_device_put(void *ptr) in kunit_action_platform_device_put()
45 static void kunit_action_platform_device_del(void *ptr) in kunit_action_platform_device_del()
150 static void action_drm_release_context(void *ptr) in action_drm_release_context()
191 static void kunit_action_drm_atomic_state_put(void *ptr) in kunit_action_drm_atomic_state_put()
/openbmc/linux/drivers/misc/cb710/
H A Dsgbuf2.c45 static inline bool needs_unaligned_copy(const void *ptr) in needs_unaligned_copy()
54 static bool sg_dwiter_get_next_block(struct sg_mapping_iter *miter, uint32_t **ptr) in sg_dwiter_get_next_block()
92 uint32_t *ptr = NULL; in cb710_sg_dwiter_read_next_block() local
133 uint32_t *ptr = NULL; in cb710_sg_dwiter_write_next_block() local
/openbmc/linux/arch/microblaze/include/asm/
H A Duaccess.h95 #define get_user(x, ptr) ({ \ argument
101 #define __get_user(x, ptr) \ argument
183 #define put_user(x, ptr) \ argument
186 #define __put_user_check(x, ptr, size) \ argument
219 #define __put_user(x, ptr) \ argument
/openbmc/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_common.h60 #define _hr_reg_enable(ptr, field_type, field_h, field_l) \ argument
68 #define hr_reg_enable(ptr, field) _hr_reg_enable(ptr, field) argument
70 #define _hr_reg_clear(ptr, field_type, field_h, field_l) \ argument
78 #define hr_reg_clear(ptr, field) _hr_reg_clear(ptr, field) argument
80 #define _hr_reg_write_bool(ptr, field_type, field_h, field_l, val) \ argument
86 #define hr_reg_write_bool(ptr, field, val) _hr_reg_write_bool(ptr, field, val) argument
88 #define _hr_reg_write(ptr, field_type, field_h, field_l, val) \ argument
95 #define hr_reg_write(ptr, field, val) _hr_reg_write(ptr, field, val) argument
97 #define _hr_reg_read(ptr, field_type, field_h, field_l) \ argument
105 #define hr_reg_read(ptr, field) _hr_reg_read(ptr, field) argument

12345678910>>...110