| /dragonfly/sys/crypto/camellia/ |
| HD | camellia.c | 444 uint32_t kw4l, kw4r, dw, tl, tr; in camellia_setup128() local 520 dw = subl(1) & subl(9), subr(1) ^= CAMELLIA_RL1(dw); in camellia_setup128() 525 dw = subl(1) & subl(17), subr(1) ^= CAMELLIA_RL1(dw); in camellia_setup128() 537 dw = kw4l & subl(16), kw4r ^= CAMELLIA_RL1(dw); in camellia_setup128() 542 dw = kw4l & subl(8), kw4r ^= CAMELLIA_RL1(dw); in camellia_setup128() 562 dw = tl & subl(8), tr = subr(10) ^ CAMELLIA_RL1(dw); in camellia_setup128() 570 dw = tl & subl(9), tr = subr(7) ^ CAMELLIA_RL1(dw); in camellia_setup128() 582 dw = tl & subl(16), tr = subr(18) ^ CAMELLIA_RL1(dw); in camellia_setup128() 590 dw = tl & subl(17), tr = subr(15) ^ CAMELLIA_RL1(dw); in camellia_setup128() 607 dw = SUBL(2) ^ SUBR(2), dw = CAMELLIA_RL8(dw); in camellia_setup128() [all …]
|
| /dragonfly/sys/dev/drm/amd/amdgpu/ |
| HD | vega10_ih.c | 323 uint32_t dw[8]; in vega10_ih_decode_iv() local 325 dw[0] = le32_to_cpu(adev->irq.ih.ring[ring_index + 0]); in vega10_ih_decode_iv() 326 dw[1] = le32_to_cpu(adev->irq.ih.ring[ring_index + 1]); in vega10_ih_decode_iv() 327 dw[2] = le32_to_cpu(adev->irq.ih.ring[ring_index + 2]); in vega10_ih_decode_iv() 328 dw[3] = le32_to_cpu(adev->irq.ih.ring[ring_index + 3]); in vega10_ih_decode_iv() 329 dw[4] = le32_to_cpu(adev->irq.ih.ring[ring_index + 4]); in vega10_ih_decode_iv() 330 dw[5] = le32_to_cpu(adev->irq.ih.ring[ring_index + 5]); in vega10_ih_decode_iv() 331 dw[6] = le32_to_cpu(adev->irq.ih.ring[ring_index + 6]); in vega10_ih_decode_iv() 332 dw[7] = le32_to_cpu(adev->irq.ih.ring[ring_index + 7]); in vega10_ih_decode_iv() 334 entry->client_id = dw[0] & 0xff; in vega10_ih_decode_iv() [all …]
|
| HD | cz_ih.c | 251 uint32_t dw[4]; in cz_ih_decode_iv() local 253 dw[0] = le32_to_cpu(adev->irq.ih.ring[ring_index + 0]); in cz_ih_decode_iv() 254 dw[1] = le32_to_cpu(adev->irq.ih.ring[ring_index + 1]); in cz_ih_decode_iv() 255 dw[2] = le32_to_cpu(adev->irq.ih.ring[ring_index + 2]); in cz_ih_decode_iv() 256 dw[3] = le32_to_cpu(adev->irq.ih.ring[ring_index + 3]); in cz_ih_decode_iv() 259 entry->src_id = dw[0] & 0xff; in cz_ih_decode_iv() 260 entry->src_data[0] = dw[1] & 0xfffffff; in cz_ih_decode_iv() 261 entry->ring_id = dw[2] & 0xff; in cz_ih_decode_iv() 262 entry->vmid = (dw[2] >> 8) & 0xff; in cz_ih_decode_iv() 263 entry->pasid = (dw[2] >> 16) & 0xffff; in cz_ih_decode_iv()
|
| HD | iceland_ih.c | 251 uint32_t dw[4]; in iceland_ih_decode_iv() local 253 dw[0] = le32_to_cpu(adev->irq.ih.ring[ring_index + 0]); in iceland_ih_decode_iv() 254 dw[1] = le32_to_cpu(adev->irq.ih.ring[ring_index + 1]); in iceland_ih_decode_iv() 255 dw[2] = le32_to_cpu(adev->irq.ih.ring[ring_index + 2]); in iceland_ih_decode_iv() 256 dw[3] = le32_to_cpu(adev->irq.ih.ring[ring_index + 3]); in iceland_ih_decode_iv() 259 entry->src_id = dw[0] & 0xff; in iceland_ih_decode_iv() 260 entry->src_data[0] = dw[1] & 0xfffffff; in iceland_ih_decode_iv() 261 entry->ring_id = dw[2] & 0xff; in iceland_ih_decode_iv() 262 entry->vmid = (dw[2] >> 8) & 0xff; in iceland_ih_decode_iv() 263 entry->pasid = (dw[2] >> 16) & 0xffff; in iceland_ih_decode_iv()
|
| HD | tonga_ih.c | 262 uint32_t dw[4]; in tonga_ih_decode_iv() local 264 dw[0] = le32_to_cpu(adev->irq.ih.ring[ring_index + 0]); in tonga_ih_decode_iv() 265 dw[1] = le32_to_cpu(adev->irq.ih.ring[ring_index + 1]); in tonga_ih_decode_iv() 266 dw[2] = le32_to_cpu(adev->irq.ih.ring[ring_index + 2]); in tonga_ih_decode_iv() 267 dw[3] = le32_to_cpu(adev->irq.ih.ring[ring_index + 3]); in tonga_ih_decode_iv() 270 entry->src_id = dw[0] & 0xff; in tonga_ih_decode_iv() 271 entry->src_data[0] = dw[1] & 0xfffffff; in tonga_ih_decode_iv() 272 entry->ring_id = dw[2] & 0xff; in tonga_ih_decode_iv() 273 entry->vmid = (dw[2] >> 8) & 0xff; in tonga_ih_decode_iv() 274 entry->pasid = (dw[2] >> 16) & 0xffff; in tonga_ih_decode_iv()
|
| /dragonfly/usr.sbin/makefs/cd9660/ |
| HD | cd9660_conversion.c | 100 cd9660_bothendian_dword(uint32_t dw, unsigned char *eightchar) in cd9660_bothendian_dword() argument 104 le = dw; in cd9660_bothendian_dword() 105 be = bswap32(dw); in cd9660_bothendian_dword() 108 be = dw; in cd9660_bothendian_dword() 109 le = bswap32(dw); in cd9660_bothendian_dword() 122 cd9660_bothendian_word(uint16_t dw, unsigned char *fourchar) in cd9660_bothendian_word() argument 126 le = dw; in cd9660_bothendian_word() 127 be = bswap16(dw); in cd9660_bothendian_word() 130 be = dw; in cd9660_bothendian_word() 131 le = bswap16(dw); in cd9660_bothendian_word()
|
| /dragonfly/usr.bin/ncal/ |
| HD | ncal.c | 777 int dw; /* width of numbers */ in mkmonthr() local 816 dw = 4; in mkmonthr() 819 dw = 3; in mkmonthr() 829 for (j = firstm + i, k = 0; j < last; j += 7, k += dw) { in mkmonthr() 838 ds + dt.d * dw, dw, &l); in mkmonthr() 841 ds + dt.d * dw, dw); in mkmonthr() 843 memcpy(mlines->lines[i] + k + l, " ", dw); in mkmonthr() 851 for (j = firstm, k = 0; j < last; k += dw, j += 7) in mkmonthr() 853 memset(mlines->weeks + k, ' ', dw); in mkmonthr() 856 ds + week(j, &i)*dw, dw); in mkmonthr() [all …]
|
| /dragonfly/contrib/dialog/ |
| HD | util.c | 99 #define UseShadow(dw) ((dw) != 0 && (dw)->normal != 0 && (dw)->shadow != 0) argument 1632 window_at_cell(DIALOG_WINDOWS * dw, int y, int x) in window_at_cell() argument 1636 int y_want = y + getbegy(dw->shadow); in window_at_cell() 1637 int x_want = x + getbegx(dw->shadow); in window_at_cell() 1640 if (dw->normal != p->normal in window_at_cell() 1641 && dw->shadow != p->normal in window_at_cell() 1687 last_shadow(DIALOG_WINDOWS * dw, int y, int x) in last_shadow() argument 1693 if (p->normal != dw->normal in last_shadow() 1694 && in_shadow(p->normal, dw->shadow, y, x)) { in last_shadow() 1703 repaint_cell(DIALOG_WINDOWS * dw, bool draw, int y, int x) in repaint_cell() argument [all …]
|
| /dragonfly/sys/dev/misc/syscons/ |
| HD | sckmsrndr.c | 136 vm_offset_t draw_pos, int dw, int dh, in blit_blk32() argument 150 if (dw) in blit_blk32() 151 sx_inc = (sw << 16) / dw; in blit_blk32() 176 for (x = 0; x < dw; ++x) { in blit_blk32() 185 for (x = 0; x < dw; ++x) { in blit_blk32() 206 vm_offset_t draw_pos, int dw, int dh, in blit_blk24() argument 220 if (dw) in blit_blk24() 221 sx_inc = (sw << 16) / dw; in blit_blk24() 246 for (x = 0; x < dw; ++x) { in blit_blk24() 259 for (x = 0; x < dw; ++x) { in blit_blk24()
|
| HD | scvtb.c | 60 uint16_t *dw = d; in sc_vtb_bcopy() local 65 *(uint8_t *)(dw + count) = *(uint8_t *)(sw + count); in sc_vtb_bcopy() 67 dw[count] = sw[count]; in sc_vtb_bcopy() 71 dw[n] = sw[n]; in sc_vtb_bcopy() 73 *(uint8_t *)(dw + n) = *(uint8_t *)(sw + n); in sc_vtb_bcopy()
|
| /dragonfly/lib/libutil/ |
| HD | login_times.c | 35 const char *dw; member 82 while (dws[i].dw && strncmp(p, dws[i].dw, dws[i].cn) != 0) in parse_lt() 84 if (dws[i].dw == NULL) in parse_lt()
|
| /dragonfly/contrib/gdb-7/gdb/ |
| HD | gdb-dlfcn.c | 86 DWORD dw; in gdb_dlopen() local 88 dw = GetLastError(); in gdb_dlopen() 92 NULL, dw, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), in gdb_dlopen()
|
| /dragonfly/sys/dev/drm/include/drm/ |
| HD | drm_rect.h | 84 static inline void drm_rect_adjust_size(struct drm_rect *r, int dw, int dh) in drm_rect_adjust_size() argument 86 r->x1 -= dw >> 1; in drm_rect_adjust_size() 88 r->x2 += (dw + 1) >> 1; in drm_rect_adjust_size()
|
| /dragonfly/sys/dev/drm/i915/ |
| HD | i915_utils.h | 132 static inline void drain_delayed_work(struct delayed_work *dw) in drain_delayed_work() argument 135 while (flush_delayed_work(dw)) in drain_delayed_work() 137 } while (delayed_work_pending(dw)); in drain_delayed_work()
|
| /dragonfly/contrib/mdocml/ |
| HD | tbl_term.c | 582 int uw, dw; /* Vertical line widths. */ in tbl_hrule() local 636 uw = dw = 0; in tbl_hrule() 650 dw = cpn->vert; in tbl_hrule() 651 if (dw == 0 && opts & TBL_OPT_ALLBOX) in tbl_hrule() 652 dw = 1; in tbl_hrule() 658 dw = 1; in tbl_hrule() 667 dw = 0; in tbl_hrule() 681 BRIGHT * rw + BUP * uw + BDOWN * dw, 1); in tbl_hrule() 687 if (tp->enc != TERMENC_ASCII || (uw < 2 && dw < 2)) in tbl_hrule() 688 uw = dw = 0; in tbl_hrule() [all …]
|
| /dragonfly/sys/dev/netif/oce/ |
| HD | oce_hw.h | 569 uint32_t dw[59]; member 640 uint32_t dw[4]; member 697 uint32_t dw[4]; member 724 uint32_t dw[6]; member 940 uint32_t dw[4]; member 1047 uint32_t dw; member 1103 uint32_t dw[2]; member 1127 uint32_t dw[49]; member 1170 uint32_t dw[4]; member 1186 uint32_t dw; member [all …]
|
| /dragonfly/sys/dev/drm/ |
| HD | linux_workqueue.c | 154 struct delayed_work *dw = arg; in _delayed_work_fn() local 156 queue_work(system_wq, &dw->work); in _delayed_work_fn() 427 delayed_work_pending(struct delayed_work *dw) in delayed_work_pending() argument 430 return work_pending(&dw->work); in delayed_work_pending()
|
| /dragonfly/contrib/gdb-7/libdecnumber/dpd/ |
| HD | decimal32.c | 85 decNumber dw; /* work */ in decimal32FromNumber() local 102 decNumberPlus(&dw, dn, &dc); /* (round and check) */ in decimal32FromNumber() 104 dw.bits|=dn->bits&DECNEG; in decimal32FromNumber() 106 dn=&dw; /* use the work number */ in decimal32FromNumber()
|
| HD | decimal128.c | 85 decNumber dw; /* work */ in decimal128FromNumber() local 106 decNumberPlus(&dw, dn, &dc); /* (round and check) */ in decimal128FromNumber() 108 dw.bits|=dn->bits&DECNEG; in decimal128FromNumber() 110 dn=&dw; /* use the work number */ in decimal128FromNumber()
|
| /dragonfly/contrib/gcc-8.0/libdecnumber/dpd/ |
| HD | decimal32.c | 85 decNumber dw; /* work */ in decimal32FromNumber() local 102 decNumberPlus(&dw, dn, &dc); /* (round and check) */ in decimal32FromNumber() 104 dw.bits|=dn->bits&DECNEG; in decimal32FromNumber() 106 dn=&dw; /* use the work number */ in decimal32FromNumber()
|
| HD | decimal128.c | 85 decNumber dw; /* work */ in decimal128FromNumber() local 106 decNumberPlus(&dw, dn, &dc); /* (round and check) */ in decimal128FromNumber() 108 dw.bits|=dn->bits&DECNEG; in decimal128FromNumber() 110 dn=&dw; /* use the work number */ in decimal128FromNumber()
|
| /dragonfly/contrib/gcc-4.7/libdecnumber/dpd/ |
| HD | decimal32.c | 85 decNumber dw; /* work */ in decimal32FromNumber() local 102 decNumberPlus(&dw, dn, &dc); /* (round and check) */ in decimal32FromNumber() 104 dw.bits|=dn->bits&DECNEG; in decimal32FromNumber() 106 dn=&dw; /* use the work number */ in decimal32FromNumber()
|
| HD | decimal128.c | 85 decNumber dw; /* work */ in decimal128FromNumber() local 106 decNumberPlus(&dw, dn, &dc); /* (round and check) */ in decimal128FromNumber() 108 dw.bits|=dn->bits&DECNEG; in decimal128FromNumber() 110 dn=&dw; /* use the work number */ in decimal128FromNumber()
|
| /dragonfly/contrib/zstd/programs/ |
| HD | platform.h | 162 …PARSE_FILE_MODE(file) { DWORD dw; DeviceIoControl((HANDLE) _get_osfhandle(_fileno(file)), FSCTL_SE…
|
| /dragonfly/contrib/gcc-4.7/gcc/ |
| HD | sched-deps.c | 1167 dw_t dw; in update_dep() local 1169 dw = estimate_dep_weak (mem1, mem2); in update_dep() 1170 ds = set_dep_weak (ds, BEGIN_DATA, dw); in update_dep() 4118 dw_t dw = get_dep_weak_1 (ds, type); in get_dep_weak() local 4120 gcc_assert (MIN_DEP_WEAK <= dw && dw <= MAX_DEP_WEAK); in get_dep_weak() 4121 return dw; in get_dep_weak() 4127 set_dep_weak (ds_t ds, ds_t type, dw_t dw) in set_dep_weak() argument 4129 gcc_assert (MIN_DEP_WEAK <= dw && dw <= MAX_DEP_WEAK); in set_dep_weak() 4134 case BEGIN_DATA: ds |= ((ds_t) dw) << BEGIN_DATA_BITS_OFFSET; break; in set_dep_weak() 4135 case BE_IN_DATA: ds |= ((ds_t) dw) << BE_IN_DATA_BITS_OFFSET; break; in set_dep_weak() [all …]
|