HomeSort by: relevance | last modified time | path
    Searched refs:un (Results 1 - 25 of 542) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/sys/lib/libsa/
byteorder.c 60 un16 un; local
62 un.bytes[1] = val & 0xff;
63 un.bytes[0] = (val >> 8) & 0xff;
65 return un.val;
71 un16 un; local
73 un.bytes[0] = val & 0xff;
74 un.bytes[1] = (val >> 8) & 0xff;
76 return un.val;
82 un16 un; local
84 un.val = val
93 un16 un; local
106 un32 un; local
119 un32 un; local
132 un32 un; local
145 un32 un; local
160 un64 un; local
171 un64 un; local
182 un64 un; local
198 un64 un; local
    [all...]
  /src/external/lgpl3/gmp/dist/mpz/
cmpabs_ui.c 38 mp_size_t un; variable
42 un = SIZ(u);
44 if (un == 0)
47 un = ABS (un);
49 if (un == 1)
62 if (un == 2)
cmp_ui.c 38 mp_size_t un; variable
42 un = SIZ(u);
44 if (un == 0)
47 if (un == 1)
60 if (un == 2)
76 return un > 0 ? 1 : -1;
mul_2exp.c 37 mp_size_t un, rn; local
43 un = ABSIZ (u);
45 rn = un + limb_cnt;
47 if (un == 0)
57 rlimb = mpn_lshift (rp + limb_cnt, up, un, cnt);
63 MPN_COPY_DECR (rp + limb_cnt, up, un);
tdiv_q_2exp.c 38 mp_size_t un, rn; local
43 un = SIZ(u);
45 rn = ABS (un) - limb_cnt;
66 SIZ(r) = un >= 0 ? rn : -rn;
  /src/external/lgpl3/gmp/dist/mpn/generic/
mul_basecase.c 54 mp_srcptr up, mp_size_t un,
57 ASSERT (un >= vn);
59 ASSERT (! MPN_OVERLAP_P (rp, un+vn, up, un));
60 ASSERT (! MPN_OVERLAP_P (rp, un+vn, vp, vn));
69 rp[un + 1] = mpn_mul_2 (rp, up, un, vp);
74 rp[un] = mpn_mul_1 (rp, up, un, vp[0]);
78 rp[un] = mpn_mul_1 (rp, up, un, vp[0])
    [all...]
mulmid_basecase.c 41 /* Middle product of {up,un} and {vp,vn}, write result to {rp,un-vn+3}.
42 Must have un >= vn >= 1.
48 mp_srcptr up, mp_size_t un,
54 ASSERT (un >= vn);
56 ASSERT (! MPN_OVERLAP_P (rp, un - vn + 3, up, un));
57 ASSERT (! MPN_OVERLAP_P (rp, un - vn + 3, vp, vn));
60 un -= vn - 1;
63 lo = mpn_mul_1 (rp, up, un, vp[0])
    [all...]
pre_mod_1.c 1 /* mpn_preinv_mod_1 (up, un, d, dinv) -- Divide (UP,,UN) by the normalized D.
43 mpn_preinv_mod_1 (mp_srcptr up, mp_size_t un, mp_limb_t d, mp_limb_t dinv)
48 ASSERT (un >= 1);
51 r = up[un - 1];
55 for (i = un - 2; i >= 0; i--)
gcdext_lehmer.c 42 mp_size_t un = ctx->un; local
59 MPN_CMP (c, ctx->u0, ctx->u1, un);
60 ASSERT (c != 0 || (un == 1 && ctx->u0[0] == 1 && ctx->u1[0] == 1));
67 MPN_NORMALIZE (up, un);
68 MPN_COPY (ctx->up, up, un);
70 *ctx->usize = d ? -un : un;
92 cy = mpn_add_n (u0, u0, u1, un);
94 cy = mpn_addmul_1 (u0, u1, un, q)
168 mp_size_t un; local
    [all...]
mul.c 44 1/6 1/5 1/4 4/13 1/3 3/8 2/5 5/11 1/2 3/5 2/3 3/4 4/5 1 vn/un
77 /* Multiply the natural numbers u (pointed to by UP, with UN limbs) and v
79 result is UN + VN limbs. Return the most significant limb of the result.
85 1. UN >= VN.
95 remaining area might have un < vn. Should we fix the toomX2 code in a
115 mp_srcptr up, mp_size_t un,
118 ASSERT (un >= vn);
120 ASSERT (! MPN_OVERLAP_P (prodp, un+vn, up, un));
121 ASSERT (! MPN_OVERLAP_P (prodp, un+vn, vp, vn))
    [all...]
  /src/sys/dev/usb/
usbnet.c 99 #define un_cdata(un) (&(un)->un_pri->unp_cdata)
107 usbnet_isowned_mii(struct usbnet *un)
109 KASSERT(mutex_owned(&un->un_pri->unp_miilock));
162 uno_stop(struct usbnet *un, struct ifnet *ifp, int disable)
165 if (un->un_ops->uno_stop)
166 (*un->un_ops->uno_stop)(ifp, disable);
170 uno_ioctl(struct usbnet *un, struct ifnet *ifp, u_long cmd, void *data)
177 if (un->un_ops->uno_ioctl)
178 return (*un->un_ops->uno_ioctl)(ifp, cmd, data)
356 struct usbnet * const un = c->unc_un; local
412 struct usbnet * const un = c->unc_un; local
461 struct usbnet * const un = priv; local
493 struct usbnet * const un = ifp->if_softc; local
594 struct usbnet * const un = ifp->if_softc; local
924 struct usbnet * const un = device_private(dev); local
948 struct usbnet * const un = device_private(dev); local
972 struct usbnet * const un = ifp->if_softc; local
984 struct usbnet * const un = ifp->if_softc; local
1023 struct usbnet *un = ifp->if_softc; local
1080 struct usbnet * const un = ifp->if_softc; local
1222 struct usbnet * const un = ifp->if_softc; local
1249 struct usbnet * const un = arg; local
1262 struct usbnet * const un = ifp->if_softc; local
1284 struct usbnet * const un = arg; local
1317 struct usbnet * const un = ifp->if_softc; local
1577 struct usbnet * const un = device_private(self); local
1661 struct usbnet * const un = device_private(self); local
    [all...]
if_udav.c 100 #define UDAV_SETBIT(un, reg, x) \
101 udav_csr_write1(un, reg, udav_csr_read1(un, reg) | (x))
103 #define UDAV_CLRBIT(un, reg, x) \
104 udav_csr_write1(un, reg, udav_csr_read1(un, reg) & ~(x))
159 struct usbnet * const un = device_private(self); local
175 un->un_dev = self;
176 un->un_udev = dev;
177 un->un_sc = un
467 struct usbnet * const un = ifp->if_softc; local
561 struct usbnet * const un = ifp->if_softc; local
696 struct usbnet * const un = ifp->if_softc; local
797 struct usbnet * const un = ifp->if_softc; local
    [all...]
if_mue.c 37 #define MUE_PRINTF(un, fmt, args...) \
38 device_printf((un)->un_dev, "%s: " fmt, __func__, ##args);
42 #define DPRINTF(un, fmt, args...) \
45 MUE_PRINTF(un, fmt, ##args); \
48 #define DPRINTF(un, fmt, args...) __nothing
123 #define MUE_SETBIT(un, reg, x) \
124 mue_csr_write(un, reg, mue_csr_read(un, reg) | (x))
126 #define MUE_CLRBIT(un, reg, x) \
127 mue_csr_write(un, reg, mue_csr_read(un, reg) & ~(x)
277 struct usbnet * const un = ifp->if_softc; local
764 struct usbnet * const un = device_private(self); local
998 struct usbnet *un = ifp->if_softc; local
1227 struct usbnet * const un = ifp->if_softc; local
1246 struct usbnet * const un = ifp->if_softc; local
1277 struct usbnet * const un = ifp->if_softc; local
    [all...]
if_url.c 114 #define URL_SETBIT(un, reg, x) \
115 url_csr_write_1(un, reg, url_csr_read_1(un, reg) | (x))
117 #define URL_SETBIT2(un, reg, x) \
118 url_csr_write_2(un, reg, url_csr_read_2(un, reg) | (x))
120 #define URL_CLRBIT(un, reg, x) \
121 url_csr_write_1(un, reg, url_csr_read_1(un, reg) & ~(x))
123 #define URL_CLRBIT2(un, reg, x)
159 struct usbnet * const un = device_private(self); local
367 struct usbnet * const un = ifp->if_softc; local
420 struct usbnet * const un = ifp->if_softc; local
540 struct usbnet * const un = ifp->if_softc; local
654 struct usbnet * const un = ifp->if_softc; local
    [all...]
if_ure.c 57 #define URE_PRINTF(un, fmt, args...) \
58 device_printf((un)->un_dev, "%s: " fmt, __func__, ##args);
120 ure_ctl(struct usbnet *un, uint8_t rw, uint16_t val, uint16_t index,
126 if (usbnet_isdying(un))
140 err = usbd_do_request(un->un_udev, &req, buf);
152 ure_read_mem(struct usbnet *un, uint16_t addr, uint16_t index,
155 return ure_ctl(un, URE_CTL_READ, addr, index, buf, len);
159 ure_write_mem(struct usbnet *un, uint16_t addr, uint16_t index,
162 return ure_ctl(un, URE_CTL_WRITE, addr, index, buf, len);
166 ure_read_1(struct usbnet *un, uint16_t reg, uint16_t index
316 struct usbnet * const un = ifp->if_softc; local
343 struct usbnet *un = ifp->if_softc; local
417 struct usbnet * const un = ifp->if_softc; local
451 struct usbnet * const un = ifp->if_softc; local
798 struct usbnet * const un = device_private(self); local
    [all...]
if_cdce.c 115 struct usbnet * const un = device_private(self); local
135 un->un_dev = self;
136 un->un_udev = dev;
137 un->un_sc = un;
138 un->un_ops = &cdce_ops;
139 un->un_rx_xfer_flags = USBD_SHORT_XFER_OK;
140 un->un_tx_xfer_flags = USBD_FORCE_SHORT_XFER;
141 un->un_rx_list_cnt = CDCE_RX_LIST_CNT;
142 un->un_tx_list_cnt = CDCE_TX_LIST_CNT
    [all...]
if_mos.c 177 mos_reg_read_1(struct usbnet *un, int reg)
183 if (usbnet_isdying(un))
192 err = usbd_do_request(un->un_udev, &req, &val);
195 aprint_error_dev(un->un_dev, "read reg %x\n", reg);
203 mos_reg_read_2(struct usbnet *un, int reg)
209 if (usbnet_isdying(un))
220 err = usbd_do_request(un->un_udev, &req, &val);
223 aprint_error_dev(un->un_dev, "read reg2 %x\n", reg);
231 mos_reg_write_1(struct usbnet *un, int reg, int aval)
237 if (usbnet_isdying(un))
420 struct usbnet * const un = ifp->if_softc; local
466 struct usbnet *un = ifp->if_softc; local
572 struct usbnet * un = device_private(self); local
731 struct usbnet * const un = ifp->if_softc; local
759 struct usbnet * const un = ifp->if_softc; local
    [all...]
if_ncm.c 92 struct usbnet * const un = &sc->ncm_un; local
114 un->un_dev = self;
115 un->un_udev = dev;
116 un->un_sc = sc;
117 un->un_ops = &ncm_ops;
118 un->un_rx_xfer_flags = USBD_SHORT_XFER_OK;
119 un->un_tx_xfer_flags = USBD_FORCE_SHORT_XFER;
121 ud = (const usb_cdc_union_descriptor_t *)usb_find_desc_if(un->un_udev,
136 un->un_iface = uiaa->uiaa_ifaces[i];
141 if (un->un_iface == NULL)
    [all...]
if_urndis.c 61 #define DEVNAME(un) (device_xname(un->un_dev))
139 urndis_ctrl_msg(struct usbnet *un, uint8_t rt, uint8_t r,
150 return usbd_do_request(un->un_udev, &req, buf);
154 urndis_ctrl_send(struct usbnet *un, void *buf, size_t len)
156 struct urndis_softc *sc = usbnet_softc(un);
159 if (usbnet_isdying(un))
162 err = urndis_ctrl_msg(un, UT_WRITE_CLASS_INTERFACE, UR_GET_STATUS,
166 printf("%s: %s\n", DEVNAME(un), usbd_errstr(err));
172 urndis_ctrl_recv(struct usbnet *un)
888 struct usbnet *un = ifp->if_softc; local
926 struct usbnet * const un = &sc->sc_un; local
    [all...]
if_axen.c 107 axen_cmd(struct usbnet *un, int cmd, int index, int val, void *buf)
112 if (usbnet_isdying(un))
124 err = usbd_do_request(un->un_udev, &req, buf);
137 axen_uno_mii_read_reg(struct usbnet *un, int phy, int reg, uint16_t *val)
141 if (un->un_phyno != phy) {
146 usbd_status err = axen_cmd(un, AXEN_CMD_MII_READ_REG, reg, phy, &data);
160 axen_uno_mii_write_reg(struct usbnet *un, int phy, int reg, uint16_t val)
164 if (un->un_phyno != phy)
167 usbd_status err = axen_cmd(un, AXEN_CMD_MII_WRITE_REG, reg, phy, &uval);
177 struct usbnet * const un = ifp->if_softc local
233 struct usbnet * const un = ifp->if_softc; local
550 struct usbnet * const un = ifp->if_softc; local
576 struct usbnet * const un = device_private(self); local
906 struct usbnet * const un = ifp->if_softc; local
937 struct usbnet * const un = ifp->if_softc; local
    [all...]
if_cue.c 160 cue_csr_read_1(struct usbnet *un, int reg)
166 if (usbnet_isdying(un))
175 err = usbd_do_request(un->un_udev, &req, &val);
179 device_xname(un->un_dev), reg, usbd_errstr(err)));
184 device_xname(un->un_dev), reg, val));
191 cue_csr_read_2(struct usbnet *un, int reg)
197 if (usbnet_isdying(un))
206 err = usbd_do_request(un->un_udev, &req, &val);
209 device_xname(un->un_dev), reg, UGETW(val)));
213 device_xname(un->un_dev), reg, usbd_errstr(err)))
362 struct usbnet *un = ifp->if_softc; local
461 struct usbnet * const un = &sc->cue_un; local
612 struct usbnet * const un = ifp->if_softc; local
662 struct usbnet * const un = ifp->if_softc; local
    [all...]
if_smsc.c 160 #define smsc_warn_printf(un, fmt, args...) \
161 printf("%s: warning: " fmt, device_xname((un)->un_dev), ##args)
163 #define smsc_err_printf(un, fmt, args...) \
164 printf("%s: error: " fmt, device_xname((un)->un_dev), ##args)
208 smsc_readreg(struct usbnet *un, uint32_t off, uint32_t *data)
214 if (usbnet_isdying(un))
223 err = usbd_do_request(un->un_udev, &req, &buf);
225 smsc_warn_printf(un, "Failed to read register 0x%0x\n", off);
233 smsc_writereg(struct usbnet *un, uint32_t off, uint32_t data)
239 if (usbnet_isdying(un))
338 struct usbnet * const un = ifp->if_softc; local
417 struct usbnet * const un = ifp->if_softc; local
540 struct usbnet * const un = &sc->smsc_un; local
555 struct usbnet * const un = ifp->if_softc; local
570 struct usbnet * const un = ifp->if_softc; local
729 struct usbnet * const un = ifp->if_softc; local
756 struct usbnet * const un = &sc->smsc_un; local
    [all...]
  /src/sys/fs/union/
union_subr.c 127 struct union_node *un; local
139 while ((un = LIST_FIRST(&oldhash[i])) != NULL) {
140 LIST_REMOVE(un, un_cache);
141 val = UNION_HASH(un->un_uppervp, un->un_lowervp);
142 LIST_INSERT_HEAD(&hash[val], un, un_cache);
164 union_newlower(struct union_node *un, struct vnode *lowervp)
166 int ohash = UNION_HASH(un->un_uppervp, un->un_lowervp);
167 int nhash = UNION_HASH(un->un_uppervp, lowervp)
259 struct union_node *un = VTOUNION(vp); local
366 struct union_node *un = NULL, *un1; local
536 struct union_node *un = VTOUNION(vp); local
559 struct union_node *un; local
1022 struct union_node *un; local
    [all...]
  /src/external/bsd/tradcpp/dist/
union.h 31 #define UN
34 #define UN un
  /src/external/cddl/osnet/dist/uts/common/fs/zfs/
unique.c 82 unique_t *un = kmem_alloc(sizeof (unique_t), KM_SLEEP); local
84 un->un_value = value;
87 while (un->un_value == 0 || un->un_value & ~UNIQUE_MASK ||
88 avl_find(&unique_avl, un, &idx)) {
90 (void) random_get_pseudo_bytes((void*)&un->un_value,
91 sizeof (un->un_value));
92 un->un_value &= UNIQUE_MASK;
96 avl_insert(&unique_avl, un, idx);
99 return (un->un_value)
106 unique_t *un; local
    [all...]

Completed in 46 milliseconds

1 2 3 4 5 6 7 8 91011>>