/dragonfly/sys/dev/netif/mxge/ |
H A D | if_mxge.c | 1601 idx = tx->req & tx->mask; in mxge_submit_req() 1796 info_last = &tx->info[((cnt - 1) + tx->req) & tx->mask]; in mxge_encap_tso() 1814 bus_dmamap_unload(tx->dmat, tx->info[tx->req & tx->mask].map); in mxge_encap_tso() 1839 idx = tx->req & tx->mask; in mxge_encap() 1933 info_last = &tx->info[((cnt - 1) + tx->req) & tx->mask]; in mxge_encap() 1970 while (tx->mask - (tx->req - tx->done) > tx->max_desc) { in mxge_start() 2373 idx = tx->done & tx->mask; in mxge_tx_done() 2394 if (tx->req - tx->done < (tx->mask + 1) / 2) { in mxge_tx_done() 2396 if (tx->req == tx->done) { in mxge_tx_done() 2405 if (tx->send_stop != NULL && tx->req == tx->done) { in mxge_tx_done() [all …]
|
/dragonfly/games/hunt/huntd/ |
H A D | makemaze.c | 86 int tx, ty; in dig_maze() local 94 tx = ty = 0; in dig_maze() 105 tx = x; in dig_maze() 109 tx = x; in dig_maze() 113 tx = x + 2; in dig_maze() 117 tx = x - 2; in dig_maze() 121 if (tx < 0 || ty < 0 || tx >= WIDTH || ty >= HEIGHT) in dig_maze() 123 if (Maze[ty][tx] == SPACE) in dig_maze() 125 Maze[(y + ty) / 2][(x + tx) / 2] = SPACE; in dig_maze() 126 dig_maze(tx, ty); in dig_maze()
|
/dragonfly/sys/dev/netif/ath/ath_hal/ar5416/ |
H A D | ar5416desc.h | 72 struct ar5416_tx_desc tx; member 79 #define ds_ctl2 u.tx.ctl2 80 #define ds_ctl3 u.tx.ctl3 81 #define ds_ctl4 u.tx.ctl4 82 #define ds_ctl5 u.tx.ctl5 83 #define ds_ctl6 u.tx.ctl6 84 #define ds_ctl7 u.tx.ctl7 85 #define ds_ctl8 u.tx.ctl8 86 #define ds_ctl9 u.tx.ctl9 87 #define ds_ctl10 u.tx.ctl10 [all …]
|
/dragonfly/crypto/libressl/crypto/rc4/ |
H A D | rc4_enc.c | 77 RC4_INT x, y,tx, ty; in RC4() local 118 tx=d[x], \ in RC4() 119 y=(tx+y)&0xff, \ in RC4() 121 d[y]=tx, \ in RC4() 123 (RC4_CHUNK)d[(tx+ty)&0xff]\ in RC4() 195 tx=d[x]; \ in RC4() 196 y=(tx+y)&0xff; \ in RC4() 198 d[y]=tx; \ in RC4() 199 (out) = d[(tx+ty)&0xff]^ (in); in RC4()
|
/dragonfly/games/larn/ |
H A D | create.c | 306 int tx, ty, xsize, ysize; in treasureroom() local 308 for (tx = 1 + rnd(10); tx < MAXX - 10; tx += 10) in treasureroom() 314 troom(lv, xsize, ysize, tx = tx + rnd(MAXX - 24), ty, rnd(3) + 6); in treasureroom() 316 troom(lv, xsize, ysize, tx, ty, rnd(9)); in treasureroom() 326 troom(int lv, int xsize, int ysize, int tx, int ty, int glyph) in troom() argument 331 for (i = tx - 1; i <= tx + xsize; i++) /* clear out space for room */ in troom() 334 for (i = tx; i < tx + xsize; i++) { /* now put in the walls */ in troom() 339 for (i = tx + 1; i < tx + xsize - 1; i++) /* now clear out interior */ in troom() 344 item[i = tx + rund(xsize)][j = ty + (ysize - 1) * rund(2)] = OCLOSEDDOOR; in troom() 357 for (playerx = tx + 1; playerx <= tx + xsize - 2; playerx += 2) in troom() [all …]
|
/dragonfly/games/hack/ |
H A D | hack.wizard.c | 153 schar tx, ty; in inrange() local 162 tx = u.ux - mtmp->mx; in inrange() 164 if ((!tx && abs(ty) < BOLT_LIM) || (!ty && abs(tx) < BOLT_LIM) in inrange() 165 || (abs(tx) == abs(ty) && abs(tx) < BOLT_LIM)) { in inrange() 169 buzz(-1, mtmp->mx, mtmp->my, sgn(tx), sgn(ty)); in inrange() 244 buzz(-rnd(3), mtmp->mx, mtmp->my, sgn(tx), sgn(ty)); in inrange()
|
H A D | hack.makemon.c | 236 int tx, ty; in rloc() local 244 tx = rn1(COLNO - 3, 2); in rloc() 246 } while (!goodpos(tx, ty)); in rloc() 247 mtmp->mx = tx; in rloc() 251 u.ux = tx; in rloc()
|
H A D | hack.mklev.c | 567 int tx, ty, xx, yy; in join() local 586 tx = troom->lx - 1; in join() 588 tt = finddpos(tx, troom->ly, tx, troom->hy); in join() 600 tx = troom->hx + 1; in join() 602 tt = finddpos(tx, troom->ly, tx, troom->hy); in join() 613 tx = tt.x - dx; in join() 620 while (xx != tx || yy != ty) { in join() 647 dix = abs(xx - tx); in join() 652 int ddx = (xx > tx) ? -1 : 1; in join() 686 dx = (tx < xx) ? -1 : 1; in join()
|
/dragonfly/contrib/openbsd_libm/src/ |
H A D | e_rem_pio2.c | 57 double tx[3]; in __ieee754_rem_pio2() local 137 tx[i] = (double)((int32_t)(z)); in __ieee754_rem_pio2() 138 z = (z-tx[i])*two24; in __ieee754_rem_pio2() 140 tx[2] = z; in __ieee754_rem_pio2() 142 while(tx[nx-1]==zero) nx--; /* skip zero term */ in __ieee754_rem_pio2() 143 n = __kernel_rem_pio2(tx,y,e0,nx,2); in __ieee754_rem_pio2()
|
H A D | e_rem_pio2f.c | 90 float tx[3]; in __ieee754_rem_pio2f() local 167 tx[i] = (float)((int32_t)(z)); in __ieee754_rem_pio2f() 168 z = (z-tx[i])*two8; in __ieee754_rem_pio2f() 170 tx[2] = z; in __ieee754_rem_pio2f() 172 while(tx[nx-1]==zero) nx--; /* skip zero term */ in __ieee754_rem_pio2f() 173 n = __kernel_rem_pio2f(tx,y,e0,nx,2,two_over_pi); in __ieee754_rem_pio2f()
|
H A D | s_fmal.c | 51 long double c, cc, hx, hy, p, q, tx, ty; in fmal() local 152 tx = xs - hx; in fmal() 160 q = hx * ty + tx * hy; in fmal() 162 cc = p - c + q + tx * ty; in fmal()
|
H A D | s_fma.c | 56 double c, cc, hx, hy, p, q, tx, ty; in fma() local 157 tx = xs - hx; in fma() 165 q = hx * ty + tx * hy; in fma() 167 cc = p - c + q + tx * ty; in fma()
|
/dragonfly/sys/dev/netif/ath/ath_hal/ar5212/ |
H A D | ar5212desc.h | 40 } tx; member 50 #define ds_ctl2 u.tx.ctl2 51 #define ds_ctl3 u.tx.ctl3 52 #define ds_txstatus0 u.tx.status0 53 #define ds_txstatus1 u.tx.status1
|
/dragonfly/sys/dev/virtual/amazon/ena/ena-com/ |
H A D | ena_admin_defs.h | 574 uint32_t tx; member 1183 return p->tx & ENA_ADMIN_FEATURE_OFFLOAD_DESC_TX_L3_CSUM_IPV4_MASK; in get_ena_admin_feature_offload_desc_TX_L3_csum_ipv4() 1188 p->tx |= val & ENA_ADMIN_FEATURE_OFFLOAD_DESC_TX_L3_CSUM_IPV4_MASK; in set_ena_admin_feature_offload_desc_TX_L3_csum_ipv4() 1193 …return (p->tx & ENA_ADMIN_FEATURE_OFFLOAD_DESC_TX_L4_IPV4_CSUM_PART_MASK) >> ENA_ADMIN_FEATURE_OFF… in get_ena_admin_feature_offload_desc_TX_L4_ipv4_csum_part() 1198 …p->tx |= (val << ENA_ADMIN_FEATURE_OFFLOAD_DESC_TX_L4_IPV4_CSUM_PART_SHIFT) & ENA_ADMIN_FEATURE_OF… in set_ena_admin_feature_offload_desc_TX_L4_ipv4_csum_part() 1233 …return (p->tx & ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_IPV4_MASK) >> ENA_ADMIN_FEATURE_OFFLOAD_DESC_TS… in get_ena_admin_feature_offload_desc_tso_ipv4() 1238 …p->tx |= (val << ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_IPV4_SHIFT) & ENA_ADMIN_FEATURE_OFFLOAD_DESC_T… in set_ena_admin_feature_offload_desc_tso_ipv4() 1243 …return (p->tx & ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_IPV6_MASK) >> ENA_ADMIN_FEATURE_OFFLOAD_DESC_TS… in get_ena_admin_feature_offload_desc_tso_ipv6() 1248 …p->tx |= (val << ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_IPV6_SHIFT) & ENA_ADMIN_FEATURE_OFFLOAD_DESC_T… in set_ena_admin_feature_offload_desc_tso_ipv6() 1253 …return (p->tx & ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_ECN_MASK) >> ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO… in get_ena_admin_feature_offload_desc_tso_ecn() [all …]
|
/dragonfly/sys/dev/virtual/amazon/ena/ena-com/ena_defs/ |
H A D | ena_admin_defs.h | 644 uint32_t tx; member 1255 return p->tx & ENA_ADMIN_FEATURE_OFFLOAD_DESC_TX_L3_CSUM_IPV4_MASK; in get_ena_admin_feature_offload_desc_TX_L3_csum_ipv4() 1260 p->tx |= val & ENA_ADMIN_FEATURE_OFFLOAD_DESC_TX_L3_CSUM_IPV4_MASK; in set_ena_admin_feature_offload_desc_TX_L3_csum_ipv4() 1265 …return (p->tx & ENA_ADMIN_FEATURE_OFFLOAD_DESC_TX_L4_IPV4_CSUM_PART_MASK) >> ENA_ADMIN_FEATURE_OFF… in get_ena_admin_feature_offload_desc_TX_L4_ipv4_csum_part() 1270 …p->tx |= (val << ENA_ADMIN_FEATURE_OFFLOAD_DESC_TX_L4_IPV4_CSUM_PART_SHIFT) & ENA_ADMIN_FEATURE_OF… in set_ena_admin_feature_offload_desc_TX_L4_ipv4_csum_part() 1305 …return (p->tx & ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_IPV4_MASK) >> ENA_ADMIN_FEATURE_OFFLOAD_DESC_TS… in get_ena_admin_feature_offload_desc_tso_ipv4() 1310 …p->tx |= (val << ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_IPV4_SHIFT) & ENA_ADMIN_FEATURE_OFFLOAD_DESC_T… in set_ena_admin_feature_offload_desc_tso_ipv4() 1315 …return (p->tx & ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_IPV6_MASK) >> ENA_ADMIN_FEATURE_OFFLOAD_DESC_TS… in get_ena_admin_feature_offload_desc_tso_ipv6() 1320 …p->tx |= (val << ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_IPV6_SHIFT) & ENA_ADMIN_FEATURE_OFFLOAD_DESC_T… in set_ena_admin_feature_offload_desc_tso_ipv6() 1325 …return (p->tx & ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO_ECN_MASK) >> ENA_ADMIN_FEATURE_OFFLOAD_DESC_TSO… in get_ena_admin_feature_offload_desc_tso_ecn() [all …]
|
/dragonfly/sys/dev/drm/ |
H A D | drm_mipi_dsi.c | 476 const u8 *tx = msg->tx_buf; in mipi_dsi_create_packet() local 539 u8 tx[2] = { value & 0xff, value >> 8 }; 543 .tx_len = sizeof(tx), 544 .tx_buf = tx, 701 u8 *tx; in mipi_dsi_dcs_write() local 706 tx = kmalloc(size, M_DRM, GFP_KERNEL); in mipi_dsi_dcs_write() 707 if (!tx) in mipi_dsi_dcs_write() 711 tx[0] = cmd; in mipi_dsi_dcs_write() 712 memcpy(&tx[1], data, len); in mipi_dsi_dcs_write() 714 tx = &cmd; in mipi_dsi_dcs_write() [all …]
|
/dragonfly/tools/tools/ath/athprom/ |
H A D | eeprom-3 | 16 | tx end to XLNA on $txEndToXLNAOn | Threashold 62 $thresh62 | 17 | tx end to XPA off $txEndToXPAOff | tx end to XPA on $txFrameToXPAOn | 82 | tx end to XLNA on $txEndToXLNAOn | Threashold 62 $thresh62 | 83 | tx end to XPA off $txEndToXPAOff | tx end to XPA on $txFrameToXPAOn | 130 | tx end to XLNA on $txEndToXLNAOn | Threashold 62 $thresh62 | 131 | tx end to XPA off $txEndToXPAOff | tx end to XPA on $txFrameToXPAOn |
|
H A D | eeprom-4 | 19 | tx end to XLNA on $txEndToXLNAOn | Threashold 62 $thresh62 | 20 | tx end to XPA off $txEndToXPAOff | tx end to XPA on $txFrameToXPAOn | 92 | tx end to XLNA on $txEndToXLNAOn | Threashold 62 $thresh62 | 93 | tx end to XPA off $txEndToXPAOff | tx end to XPA on $txFrameToXPAOn | 157 | tx end to XLNA on $txEndToXLNAOn | Threashold 62 $thresh62 | 158 | tx end to XPA off $txEndToXPAOff | tx end to XPA on $txFrameToXPAOn |
|
H A D | eeprom-5 | 20 | tx end to XLNA on $txEndToXLNAOn | Threashold 62 $thresh62 | 21 | tx end to XPA off $txEndToXPAOff | tx end to XPA on $txFrameToXPAOn | 106 | tx end to XLNA on $txEndToXLNAOn | Threashold 62 $thresh62 | 107 | tx end to XPA off $txEndToXPAOff | tx end to XPA on $txFrameToXPAOn | 184 | tx end to XLNA on $txEndToXLNAOn | Threashold 62 $thresh62 | 185 | tx end to XPA off $txEndToXPAOff | tx end to XPA on $txFrameToXPAOn |
|
/dragonfly/contrib/tcsh-6/ |
H A D | tc.disc.c | 134 union txname tx; local 136 tx.tx_which = 0; 138 if (ioctl(f, TXGETLD, (ioctl_t) & tx) == 0) { 139 if (strcmp(tx.tx_name, strPOSIX) != 0)
|
/dragonfly/sys/dev/netif/oce/ |
H A D | oce_sysctl.c | 688 CTLFLAG_RD, &stats->tx.t_tx_pkts, 0, in oce_add_stats_sysctls_be3() 691 CTLFLAG_RD, &stats->tx.t_tx_bytes, 0, in oce_add_stats_sysctls_be3() 694 CTLFLAG_RD, &stats->tx.t_tx_reqs, 0, in oce_add_stats_sysctls_be3() 697 CTLFLAG_RD, &stats->tx.t_tx_stops, 0, in oce_add_stats_sysctls_be3() 700 CTLFLAG_RD, &stats->tx.t_tx_wrbs, 0, in oce_add_stats_sysctls_be3() 703 CTLFLAG_RD, &stats->tx.t_tx_compl, 0, in oce_add_stats_sysctls_be3() 707 &stats->tx.t_ipv6_ext_hdr_tx_drop, 0, in oce_add_stats_sysctls_be3() 894 CTLFLAG_RD, &stats->tx.t_tx_pkts, 0, in oce_add_stats_sysctls_xe201() 897 CTLFLAG_RD, &stats->tx.t_tx_bytes, 0, in oce_add_stats_sysctls_xe201() 900 CTLFLAG_RD, &stats->tx.t_tx_reqs, 0, in oce_add_stats_sysctls_xe201() [all …]
|
/dragonfly/tools/tools/net80211/wesside/wesside/ |
H A D | wesside.c | 563 inject(tx, lame, len); in send_frame() 772 void send_ack(int tx) { in send_ack() argument 1616 send_ack(tx); in anal() 1805 void decrypt(int tx) { in decrypt() argument 1845 void flood_inet(tx) { in flood_inet() argument 2009 send_auth(tx); in can_write() 2014 send_assoc(tx); in can_write() 2020 discover_prga(tx); in can_write() 2025 decrypt(tx); in can_write() 2068 flood_inet(tx); in can_write() [all …]
|
/dragonfly/lib/libc/stdio/ |
H A D | xprintf_time.c | 68 intmax_t t, tx; in __printf_render_time() local 89 tx = t; in __printf_render_time() 106 if (t != 0 || tx == 0) in __printf_render_time()
|
/dragonfly/usr.sbin/fwcontrol/ |
H A D | fwdv.c | 114 bufreq.tx.nchunk = 0; in dvrecv() 115 bufreq.tx.npacket = 0; in dvrecv() 116 bufreq.tx.psize = 0; in dvrecv() 272 bufreq.tx.nchunk = NCHUNK; in dvsend() 273 bufreq.tx.npacket = NPACKET_T; in dvsend() 274 bufreq.tx.psize = PSIZE; in dvsend()
|
/dragonfly/crypto/libressl/crypto/gost/ |
H A D | gostr341001_key.c | 184 BIGNUM *tx, *ty; in GOST_KEY_set_public_key_affine_coordinates() local 200 if ((tx = BN_CTX_get(ctx)) == NULL) in GOST_KEY_set_public_key_affine_coordinates() 207 if (EC_POINT_get_affine_coordinates(key->group, point, tx, ty, in GOST_KEY_set_public_key_affine_coordinates() 214 if (BN_cmp(x, tx) != 0 || BN_cmp(y, ty) != 0) { in GOST_KEY_set_public_key_affine_coordinates()
|