| /linux/drivers/media/pci/zoran/ |
| A D | zr36050.c | 65 ptr->codec->master_data->writereg(ptr->codec, reg, value); in zr36050_write() 74 ptr->status1 = zr36050_read(ptr, ZR050_STATUS_1); in zr36050_read_status1() 83 ptr->scalefact = (zr36050_read(ptr, ZR050_SF_HI) << 8) | in zr36050_read_scalefactor() 107 ptr->name, ptr->status1); in zr36050_wait_end() 289 ptr->width, ptr->height, NO_OF_COMPONENTS); in zr36050_set_sof() 431 ptr->name, ptr->status1); in zr36050_init() 500 ptr->name, ptr->status1); in zr36050_init() 562 size = ptr->width * ptr->height; in zr36050_set_video() 580 zr36050_write(ptr, ZR050_MBCV, ptr->max_block_vol); in zr36050_set_video() 744 ptr = kzalloc(sizeof(*ptr), GFP_KERNEL); in zr36050_setup() [all …]
|
| A D | zr36060.c | 63 ptr->codec->master_data->writereg(ptr->codec, reg, value); in zr36060_write() 77 ptr->status = zr36060_read(ptr, ZR060_CFSR); in zr36060_read_status() 86 ptr->scalefact = (zr36060_read(ptr, ZR060_SF_HI) << 8) | in zr36060_read_scalefactor() 105 ptr->name, ptr->status); in zr36060_wait_end() 257 ptr->width, ptr->height, NO_OF_COMPONENTS); in zr36060_set_sof() 385 ptr->name, sum, ptr->real_code_vol, bitcnt, tmp); in zr36060_init() 449 ptr->name, ptr->status); in zr36060_init() 612 size = ptr->width * ptr->height; in zr36060_set_video() 764 if (ptr) { in zr36060_unset() 799 ptr = kzalloc(sizeof(*ptr), GFP_KERNEL); in zr36060_setup() [all …]
|
| A D | zr36016.c | 107 ptr->version = zr36016_read(ptr, 0) >> 4; in zr36016_read_version() 173 zr36016_writei(ptr, ZR016I_PAX_HI, ptr->width >> 8); in zr36016_init() 175 zr36016_writei(ptr, ZR016I_PAY_HI, ptr->height >> 8); in zr36016_init() 177 zr36016_writei(ptr, ZR016I_NAX_HI, ptr->xoff >> 8); in zr36016_init() 178 zr36016_writei(ptr, ZR016I_NAX_LO, ptr->xoff & 0xFF); in zr36016_init() 179 zr36016_writei(ptr, ZR016I_NAY_HI, ptr->yoff >> 8); in zr36016_init() 180 zr36016_writei(ptr, ZR016I_NAY_LO, ptr->yoff & 0xFF); in zr36016_init() 311 if (ptr) { in zr36016_unset() 347 ptr = kzalloc(sizeof(*ptr), GFP_KERNEL); in zr36016_setup() 349 if (!ptr) in zr36016_setup() [all …]
|
| /linux/tools/testing/selftests/mm/ |
| A D | mseal_test.c | 172 void *ptr; in setup_single_address() local 180 void *ptr; in setup_single_address_rw() local 204 void *ptr; in seal_support() local 232 void *ptr; in test_seal_addseal() local 248 void *ptr; in test_seal_unmapped_start() local 276 void *ptr; in test_seal_unmapped_middle() local 308 void *ptr; in test_seal_unmapped_end() local 337 void *ptr; in test_seal_multiple_vmas() local 368 void *ptr; in test_seal_split_start() local 393 void *ptr; in test_seal_split_end() local [all …]
|
| A D | hmm-tests.c | 325 for (ptr = buffer->ptr; i < size / sizeof(*ptr); ++i) in TEST_F() 384 for (i = 0, ptr = buffer->ptr; i < size / sizeof(*ptr); ++i) in TEST_F() 402 for (i = 0, ptr = buffer->ptr; i < size / sizeof(*ptr); ++i) in TEST_F() 453 for (i = 0, ptr = buffer->ptr; i < size / sizeof(*ptr); ++i) in TEST_F() 505 for (i = 0, ptr = buffer->ptr; i < size / sizeof(*ptr); ++i) in TEST_F() 519 for (i = 0, ptr = buffer->ptr; i < size / sizeof(*ptr); ++i) in TEST_F() 559 for (i = 0, ptr = buffer->ptr; i < size / sizeof(*ptr); ++i) in TEST_F() 580 for (i = 0, ptr = buffer->ptr; i < size / sizeof(*ptr); ++i) in TEST_F() 596 for (i = 0, ptr = buffer->ptr; i < size / sizeof(*ptr); ++i) in TEST_F() 637 for (i = 0, ptr = buffer->ptr; i < size / sizeof(*ptr); ++i) in TEST_F() [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| A D | dynptr_fail.c | 18 struct bpf_dynptr ptr; member 119 struct bpf_dynptr ptr; in missing_release_callback_fn() local 142 struct bpf_dynptr ptr; in ringbuf_release_uninit_dynptr() local 155 struct bpf_dynptr ptr; in use_after_invalid() local 175 struct bpf_dynptr ptr; in ringbuf_invalid_api() local 198 struct bpf_dynptr ptr; in add_dynptr_to_map1() local 234 struct bpf_dynptr ptr; in data_slice_out_of_bounds_ringbuf() local 256 struct bpf_dynptr ptr; in data_slice_out_of_bounds_skb() local 409 bpf_strncmp((const char *)&ptr, sizeof(ptr), "hello!"); in invalid_helper1() 550 val = *(int *)&ptr; in invalid_read1() [all …]
|
| A D | dynptr_success.c | 41 struct bpf_dynptr ptr; in test_read_write() local 71 struct bpf_dynptr ptr; in test_dynptr_data() local 140 struct bpf_dynptr ptr; in test_ringbuf() local 174 struct bpf_dynptr ptr; in test_skb_readonly() local 195 struct bpf_dynptr ptr; in test_dynptr_skb_data() local 216 struct bpf_dynptr ptr; in test_adjust() local 236 err = bpf_dynptr_adjust(&ptr, off, bpf_dynptr_size(&ptr)); in test_adjust() 269 struct bpf_dynptr ptr; in test_adjust_err() local 327 struct bpf_dynptr ptr; in test_zero_size_dynptr() local 514 struct bpf_dynptr ptr; in test_dynptr_skb_no_buff() local [all …]
|
| /linux/arch/arm/include/asm/ |
| A D | cmpxchg.h | 53 : "r" (x), "r" (ptr) in __arch_xchg() 63 : "r" (x), "r" (ptr) in __arch_xchg() 74 : "r" (x), "r" (ptr) in __arch_xchg() 99 : "r" (x), "r" (ptr) in __arch_xchg() 106 : "r" (x), "r" (ptr) in __arch_xchg() 120 (__typeof__(*(ptr)))__arch_xchg((unsigned long)(x), (ptr), \ 140 (__typeof(*ptr))__generic_cmpxchg_local((ptr), \ 217 (__typeof__(*(ptr)))__cmpxchg((ptr), \ 244 (__typeof(*ptr))__cmpxchg_local((ptr), \ 257 prefetchw(ptr); in __cmpxchg64() [all …]
|
| /linux/net/bluetooth/ |
| A D | eir.c | 73 return ptr; in create_uuid16_list() 92 ptr += 2; in create_uuid16_list() 106 return ptr; in create_uuid16_list() 125 ptr += 2; in create_uuid32_list() 139 return ptr; in create_uuid32_list() 158 ptr += 2; in create_uuid128_list() 168 ptr += 16; in create_uuid128_list() 204 ptr += 3; in eir_create() 219 ptr = create_uuid16_list(hdev, ptr, HCI_MAX_EIR_LENGTH - (ptr - data)); in eir_create() 220 ptr = create_uuid32_list(hdev, ptr, HCI_MAX_EIR_LENGTH - (ptr - data)); in eir_create() [all …]
|
| /linux/arch/parisc/include/asm/ |
| A D | cmpxchg.h | 47 #define arch_xchg(ptr, x) \ argument 49 __typeof__(*(ptr)) __ret; \ 50 __typeof__(*(ptr)) _x_ = (x); \ 51 __ret = (__typeof__(*(ptr))) \ 52 __arch_xchg((unsigned long)_x_, (ptr), sizeof(*(ptr))); \ 81 __typeof__(*(ptr)) _o_ = (o); \ 82 __typeof__(*(ptr)) _n_ = (n); \ 83 (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_, \ 108 ((__typeof__(*(ptr)))__cmpxchg_local((ptr), (unsigned long)(o), \ 117 #define arch_cmpxchg64_local(ptr, o, n) __generic_cmpxchg64_local((ptr), (o), (n)) argument [all …]
|
| /linux/arch/x86/include/asm/ |
| A D | cmpxchg.h | 45 switch (sizeof(*(ptr))) { \ 78 #define arch_xchg(ptr, v) __xchg_op((ptr), (v), xchg, "") argument 87 __typeof__(*(ptr)) __ret; \ 149 __cmpxchg(ptr, old, new, sizeof(*(ptr))) 152 __sync_cmpxchg(ptr, old, new, sizeof(*(ptr))) 155 __cmpxchg_local(ptr, old, new, sizeof(*(ptr))) 231 __try_cmpxchg((ptr), (pold), (new), sizeof(*(ptr))) 234 __sync_try_cmpxchg((ptr), (pold), (new), sizeof(*(ptr))) 237 __try_cmpxchg_local((ptr), (pold), (new), sizeof(*(ptr))) 245 #define __xadd(ptr, inc, lock) __xchg_op((ptr), (inc), xadd, lock) argument [all …]
|
| /linux/arch/xtensa/variants/test_kc705_hifi/include/variant/ |
| A D | tie-asm.h | 83 s32i \at1, \ptr, .Lxchal_ofs_+0 93 s32i \at1, \ptr, .Lxchal_ofs_+0 95 s32i \at1, \ptr, .Lxchal_ofs_+4 105 s32i \at1, \ptr, .Lxchal_ofs_+0 107 s32i \at1, \ptr, .Lxchal_ofs_+4 109 s32i \at1, \ptr, .Lxchal_ofs_+8 148 l32i \at1, \ptr, .Lxchal_ofs_+0 227 addi \ptr, \ptr, 64 236 addi \ptr, \ptr, 64 284 addi \ptr, \ptr, 64 [all …]
|
| /linux/arch/xtensa/variants/test_kc705_be/include/variant/ |
| A D | tie-asm.h | 82 s32i \at1, \ptr, .Lxchal_ofs_+0 92 s32i \at1, \ptr, .Lxchal_ofs_+0 94 s32i \at1, \ptr, .Lxchal_ofs_+4 104 s32i \at1, \ptr, .Lxchal_ofs_+0 106 s32i \at1, \ptr, .Lxchal_ofs_+4 108 s32i \at1, \ptr, .Lxchal_ofs_+8 147 l32i \at1, \ptr, .Lxchal_ofs_+0 157 l32i \at1, \ptr, .Lxchal_ofs_+0 223 addi \ptr, \ptr, 64 271 addi \ptr, \ptr, 64 [all …]
|
| /linux/arch/mips/include/asm/ |
| A D | cmpxchg.h | 92 #define arch_xchg(ptr, x) \ argument 94 __typeof__(*(ptr)) __res; \ 104 __res = (__typeof__(*(ptr))) \ 105 __arch_xchg((ptr), (unsigned long)(x), sizeof(*(ptr))); \ 178 ((__typeof__(*(ptr))) \ 179 __cmpxchg((ptr), \ 182 sizeof(*(ptr)))) 186 __typeof__(*(ptr)) __res; \ 224 # define arch_cmpxchg64_local(ptr, o, n) __generic_cmpxchg64_local((ptr), (o), (n)) argument 302 __typeof__(*(ptr)) __res; \ [all …]
|
| /linux/arch/loongarch/include/asm/ |
| A D | cmpxchg.h | 41 shift = (unsigned long)ptr & 0x3; in __xchg_small() 85 #define arch_xchg(ptr, x) \ argument 87 __typeof__(*(ptr)) __res; \ 89 __res = (__typeof__(*(ptr))) \ 90 __arch_xchg((ptr), (unsigned long)(x), sizeof(*(ptr))); \ 186 ((__typeof__(*(ptr))) \ 187 __cmpxchg((ptr), \ 190 sizeof(*(ptr)))) 194 __typeof__(*(ptr)) __res; \ 215 #define arch_cmpxchg64_local(ptr, o, n) __generic_cmpxchg64_local((ptr), (o), (n)) argument [all …]
|
| A D | uaccess.h | 45 #define get_user(x, ptr) \ argument 47 const __typeof__(*(ptr)) __user *__p = (ptr); \ 71 #define put_user(x, ptr) \ argument 73 __typeof__(*(ptr)) __user *__p = (ptr); \ 100 #define __get_user(x, ptr) \ argument 104 __chk_user_ptr(ptr); \ 105 __get_user_common((x), sizeof(*(ptr)), ptr); \ 136 __put_user_common(ptr, sizeof(*(ptr))); \ 154 #define __get_kernel_common(val, size, ptr) __get_user_common(val, size, ptr) argument 165 : "m" (__m(ptr))); \ [all …]
|
| /linux/tools/testing/selftests/arm64/mte/ |
| A D | check_tags_inclusion.c | 30 ptr, ptr + BUFFER_SIZE, mode); in verify_mte_pointer_validity() 38 ptr[BUFFER_SIZE] = '2'; in verify_mte_pointer_validity() 42 ptr, mode); in verify_mte_pointer_validity() 51 char *ptr; in check_single_included_tags() local 65 ptr = mte_insert_tags(ptr, BUFFER_SIZE); in check_single_included_tags() 83 char *ptr; in check_multiple_included_tags() local 97 ptr = mte_insert_tags(ptr, BUFFER_SIZE); in check_multiple_included_tags() 115 char *ptr; in check_all_included_tags() local 128 ptr = (char *)mte_insert_tags(ptr, BUFFER_SIZE); in check_all_included_tags() 141 char *ptr; in check_none_included_tags() local [all …]
|
| /linux/include/rdma/ |
| A D | iba.h | 14 return *ptr; in _iba_get8() 19 *ptr = (*ptr & ~mask) | prep_value; in _iba_set8() 24 return be16_to_cpu(*ptr); in _iba_get16() 29 *ptr = cpu_to_be16((be16_to_cpu(*ptr) & ~mask) | prep_value); in _iba_set16() 34 return be32_to_cpu(*ptr); in _iba_get32() 39 *ptr = cpu_to_be32((be32_to_cpu(*ptr) & ~mask) | prep_value); in _iba_set32() 53 put_unaligned(cpu_to_be64((_iba_get64(ptr) & ~mask) | prep_value), ptr); in _iba_set64() 62 #define IBA_SET(field, ptr, value) _IBA_SET(field, ptr, value) argument 69 #define IBA_GET_MEM_PTR(field, ptr) _IBA_GET_MEM_PTR(field, ptr) argument 82 #define IBA_SET_MEM(field, ptr, in, bytes) _IBA_SET_MEM(field, ptr, in, bytes) argument [all …]
|
| /linux/arch/alpha/include/asm/ |
| A D | cmpxchg.h | 103 size == 1 ? ____xchg_u8(ptr, x) : in ____xchg() 228 #define xchg_local(ptr, x) \ argument 231 (__typeof__(*(ptr))) ____xchg((ptr), (unsigned long)_x_, \ 232 sizeof(*(ptr))); \ 239 (__typeof__(*(ptr))) ____cmpxchg((ptr), (unsigned long)_o_, \ 241 sizeof(*(ptr))); \ 254 #define arch_xchg(ptr, x) \ argument 256 __typeof__(*(ptr)) __ret; \ 260 ____xchg((ptr), (unsigned long)_x_, sizeof(*(ptr))); \ 267 __typeof__(*(ptr)) __ret; \ [all …]
|
| /linux/arch/csky/include/asm/ |
| A D | cmpxchg.h | 13 __typeof__(ptr) __ptr = (ptr); \ 15 __typeof__(*(ptr)) __ret; \ 55 (__xchg_relaxed((x), (ptr), sizeof(*(ptr)))) 59 __typeof__(ptr) __ptr = (ptr); \ 63 __typeof__(*(ptr)) __ret; \ 88 (__cmpxchg_relaxed((ptr), (o), (n), sizeof(*(ptr)))) 92 __typeof__(ptr) __ptr = (ptr); \ 122 (__cmpxchg_acquire((ptr), (o), (n), sizeof(*(ptr)))) 126 __typeof__(ptr) __ptr = (ptr); \ 157 (__cmpxchg((ptr), (o), (n), sizeof(*(ptr)))) [all …]
|
| /linux/arch/sparc/include/asm/ |
| A D | cmpxchg_64.h | 55 #define arch_xchg(ptr,x) \ argument 56 ({ __typeof__(*(ptr)) __ret; \ 58 __arch_xchg((unsigned long)(x), (ptr), sizeof(*(ptr))); \ 79 load32 = *ptr; in xchg16() 95 return xchg16(ptr, x); in __arch_xchg() 97 return xchg32(ptr, x); in __arch_xchg() 99 return xchg64(ptr, x); in __arch_xchg() 138 unsigned int load32 = *ptr; in __cmpxchg_u8() 175 (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_, \ 199 ((__typeof__(*(ptr)))__cmpxchg_local((ptr), (unsigned long)(o), \ [all …]
|
| /linux/arch/riscv/include/asm/ |
| A D | cmpxchg.h | 55 __typeof__(ptr) __ptr = (ptr); \ 83 _arch_xchg(ptr, x, "", "", "", \ 89 #define arch_xchg(ptr, x) \ argument 92 #define xchg32(ptr, x) \ argument 95 arch_xchg((ptr), (x)); \ 98 #define xchg64(ptr, x) \ argument 101 arch_xchg((ptr), (x)); \ 159 __typeof__(ptr) __ptr = (ptr); \ 255 : "=&r" (tmp), "+A" (*(u32 *)ptr) in __cmpwait() 266 : "=&r" (tmp), "+A" (*(u64 *)ptr) in __cmpwait() [all …]
|
| /linux/drivers/video/ |
| A D | hdmi.c | 42 csum += ptr[i]; in hdmi_infoframe_checksum() 1614 frame->top_bar = (ptr[6] << 8) | ptr[5]; in hdmi_avi_infoframe_unpack() 1615 frame->bottom_bar = (ptr[8] << 8) | ptr[7]; in hdmi_avi_infoframe_unpack() 1618 frame->left_bar = (ptr[10] << 8) | ptr[9]; in hdmi_avi_infoframe_unpack() 1619 frame->right_bar = (ptr[12] << 8) | ptr[11]; in hdmi_avi_infoframe_unpack() 1674 ret = hdmi_spd_infoframe_init(frame, ptr, ptr + 8); in hdmi_spd_infoframe_unpack() 1761 (ptr[2] != 4 && ptr[2] != 5 && ptr[2] != 6)) in hdmi_vendor_any_infoframe_unpack() 1857 frame->white_point.x = (ptr[15] << 8) | ptr[14]; in hdmi_drm_infoframe_unpack_only() 1858 frame->white_point.y = (ptr[17] << 8) | ptr[16]; in hdmi_drm_infoframe_unpack_only() 1862 frame->max_cll = (ptr[23] << 8) | ptr[22]; in hdmi_drm_infoframe_unpack_only() [all …]
|
| /linux/arch/xtensa/variants/test_mmuhifi_c3/include/variant/ |
| A D | tie-asm.h | 102 s32i \at1, \ptr, 0 104 s32i \at1, \ptr, 4 106 s32i \at1, \ptr, 8 108 s32i \at1, \ptr, 12 115 addi \ptr, \ptr, 64 137 l32i \at1, \ptr, 0 139 l32i \at1, \ptr, 4 141 l32i \at1, \ptr, 8 143 l32i \at1, \ptr, 12 145 addi \ptr, \ptr, 80 [all …]
|
| /linux/arch/powerpc/include/asm/ |
| A D | cmpxchg.h | 222 return __xchg_u8_local(ptr, x); in __xchg_local() 224 return __xchg_u16_local(ptr, x); in __xchg_local() 257 (__typeof__(*(ptr))) __xchg_local((ptr), \ 264 (__typeof__(*(ptr))) __xchg_relaxed((ptr), \ 703 (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_, \ 712 (__typeof__(*(ptr))) __cmpxchg_local((ptr), (unsigned long)_o_, \ 720 (__typeof__(*(ptr))) __cmpxchg_relaxed((ptr), \ 722 sizeof(*(ptr))); \ 729 (__typeof__(*(ptr))) __cmpxchg_acquire((ptr), \ 731 sizeof(*(ptr))); \ [all …]
|