Searched refs:ptr_mask (Results 1 - 25 of 27) sorted by relevance

12

/openbsd-current/sys/dev/pci/drm/radeon/
H A Dradeon_ring.c88 ring->ring_free_dw &= ring->ptr_mask;
316 size &= ring->ptr_mask;
330 ptr &= ring->ptr_mask;
417 ring->ptr_mask = (ring->ring_size / 4) - 1;
506 i = (rptr + ring->ptr_mask + 1 - 32) & ring->ptr_mask;
514 i = (i + 1) & ring->ptr_mask;
H A Dr600.c3474 rdev->ih.ptr_mask = rdev->ih.ring_size - 1;
4053 wptr, rdev->ih.rptr, (wptr + 16) & rdev->ih.ptr_mask);
4054 rdev->ih.rptr = (wptr + 16) & rdev->ih.ptr_mask;
4059 return (wptr & rdev->ih.ptr_mask);
4323 rptr &= rdev->ih.ptr_mask;
H A Dradeon.h823 uint32_t ptr_mask; member in struct:radeon_ring
949 uint32_t ptr_mask; member in struct:r600_ih
2729 ring->wptr &= ring->ptr_mask;
H A Devergreen.c4694 wptr, rdev->ih.rptr, (wptr + 16) & rdev->ih.ptr_mask);
4695 rdev->ih.rptr = (wptr + 16) & rdev->ih.ptr_mask;
4700 return (wptr & rdev->ih.ptr_mask);
4915 rptr &= rdev->ih.ptr_mask;
H A Dsi.c6225 wptr, rdev->ih.rptr, (wptr + 16) & rdev->ih.ptr_mask);
6226 rdev->ih.rptr = (wptr + 16) & rdev->ih.ptr_mask;
6231 return (wptr & rdev->ih.ptr_mask);
6437 rptr &= rdev->ih.ptr_mask;
/openbsd-current/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_ih.c55 ih->ptr_mask = ih->ring_size - 1;
179 wptr &= ih->ptr_mask;
247 ih->rptr &= ih->ptr_mask;
315 ring_index = (rptr & ih->ptr_mask) >> 2;
H A Dsi_ih.c117 wptr, ih->rptr, (wptr + 16) & ih->ptr_mask);
118 ih->rptr = (wptr + 16) & ih->ptr_mask;
129 return (wptr & ih->ptr_mask);
H A Dcik_ih.c202 wptr, ih->rptr, (wptr + 16) & ih->ptr_mask);
203 ih->rptr = (wptr + 16) & ih->ptr_mask;
214 return (wptr & ih->ptr_mask);
H A Dtonga_ih.c216 wptr, ih->rptr, (wptr + 16) & ih->ptr_mask);
217 ih->rptr = (wptr + 16) & ih->ptr_mask;
229 return (wptr & ih->ptr_mask);
H A Diceland_ih.c212 wptr, ih->rptr, (wptr + 16) & ih->ptr_mask);
213 ih->rptr = (wptr + 16) & ih->ptr_mask;
225 return (wptr & ih->ptr_mask);
H A Dcz_ih.c213 wptr, ih->rptr, (wptr + 16) & ih->ptr_mask);
214 ih->rptr = (wptr + 16) & ih->ptr_mask;
226 return (wptr & ih->ptr_mask);
H A Damdgpu_ih.h53 uint32_t ptr_mask; member in struct:amdgpu_ih_ring
H A Damdgpu_ring.h255 uint64_t ptr_mask; member in struct:amdgpu_ring
376 ring->wptr &= ring->ptr_mask;
407 ring->wptr &= ring->ptr_mask;
H A Dvega20_ih.c414 tmp = (wptr + 32) & ih->ptr_mask;
431 return (wptr & ih->ptr_mask);
H A Dnavi10_ih.c436 tmp = (wptr + 32) & ih->ptr_mask;
452 return (wptr & ih->ptr_mask);
H A Dih_v6_0.c412 tmp = (wptr + 32) & ih->ptr_mask;
428 return (wptr & ih->ptr_mask);
H A Dih_v6_1.c412 tmp = (wptr + 32) & ih->ptr_mask;
429 return (wptr & ih->ptr_mask);
H A Dvega10_ih.c366 tmp = (wptr + 32) & ih->ptr_mask;
383 return (wptr & ih->ptr_mask);
H A Damdgpu_ring.c324 ring->ptr_mask = ring->funcs->support_64bit_ptrs ?
/openbsd-current/usr.sbin/pppd/
H A Dauth.c1039 char *ptr_word, *ptr_mask; local
1064 ptr_mask = strchr (ptr_word, '/');
1065 if (ptr_mask != NULL) {
1068 bit_count = (int) strtol (ptr_mask+1, (char **) 0, 10);
1072 ptr_mask);
1075 *ptr_mask = '\0';
1084 if (ptr_mask == NULL) {
1096 if (ptr_mask != NULL)
1097 *ptr_mask = '/';
/openbsd-current/gnu/gcc/gcc/
H A Dtree-vectorizer.h122 int ptr_mask; member in struct:_loop_vec_info
145 #define LOOP_VINFO_PTR_MASK(L) (L)->ptr_mask
/openbsd-current/sys/dev/wscons/
H A Dwsmouseinput.h97 u_int ptr_mask; member in struct:mt_state
H A Dwstpad.c655 if (input->mt.ptr_mask != 0)
809 if ((slot = ffs(input->mt.ptr_mask) - 1) >= 0
1151 if (input->mt.ptr_mask == 0) {
1157 input->mt.ptr_mask = mask;
1162 if ((input->mt.ptr_mask & ~input->mt.ptr)
1167 slot = ffs(input->mt.ptr_mask) - 1;
1189 tp->ignore = input->mt.ptr_mask;
H A Dwsmouse.c738 mt->ptr_mask &= mt->touches;
902 select = ((mt->ptr & mt->touches & ~mt->ptr_mask) == 0);
914 if (mt->ptr_cycle & ~mt->ptr_mask)
915 slot = ffs(mt->ptr_cycle & ~mt->ptr_mask) - 1;
916 else if (mt->touches & ~mt->ptr_mask)
917 slot = ffs(mt->touches & ~mt->ptr_mask) - 1;
/openbsd-current/gnu/llvm/llvm/utils/gdb-scripts/
H A Dprettyprinters.py370 ptr_mask = enum_dict[info_name + '::PointerBitMask']
374 pointer = (pair_union & ptr_mask)

Completed in 723 milliseconds

12