Searched refs:un (Results 1 - 25 of 544) sorted by relevance

1234567891011>>

/netbsd-current/sys/lib/libsa/
H A Dbyteorder.c60 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
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...]
/netbsd-current/external/lgpl3/gmp/dist/mpz/
H A Dcmpabs_ui.c38 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)
H A Dcmp_ui.c38 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;
H A Dmul_2exp.c37 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);
H A Dtdiv_q_2exp.c38 mp_size_t un, rn; local
43 un = SIZ(u);
45 rn = ABS (un) - limb_cnt;
66 SIZ(r) = un >= 0 ? rn : -rn;
/netbsd-current/external/lgpl3/gmp/dist/mpn/generic/
H A Dmul_basecase.c54 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]
53 mpn_mul_basecase(mp_ptr rp, mp_srcptr up, mp_size_t un, mp_srcptr vp, mp_size_t vn) argument
[all...]
H A Dmulmid_basecase.c41 /* 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, v
47 mpn_mulmid_basecase(mp_ptr rp, mp_srcptr up, mp_size_t un, mp_srcptr vp, mp_size_t vn) argument
[all...]
H A Dpre_mod_1.c1 /* 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) argument
48 ASSERT (un >= 1);
51 r = up[un - 1];
55 for (i = un - 2; i >= 0; i--)
H A Dgcdext_lehmer.c42 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,
168 mp_size_t un; local
[all...]
H A Dmul.c44 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
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));
123 if (BELOW_THRESHOLD (un, MUL_TOOM22_THRESHOLD))
125 /* When un (and thus vn) is below the toom22 range, do mul_basecase.
126 Test un an
114 mpn_mul(mp_ptr prodp, mp_srcptr up, mp_size_t un, mp_srcptr vp, mp_size_t vn) argument
[all...]
/netbsd-current/sys/dev/usb/
H A Dusbnet.c99 #define un_cdata(un) (&(un)->un_pri->unp_cdata)
107 usbnet_isowned_mii(struct usbnet *un) argument
109 KASSERT(mutex_owned(&un->un_pri->unp_miilock));
162 uno_stop(struct usbnet *un, struct ifnet *ifp, int disable) argument
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) argument
177 if (un->un_ops->uno_ioctl)
178 return (*un
183 uno_override_ioctl(struct usbnet *un, struct ifnet *ifp, u_long cmd, void *data) argument
198 uno_init(struct usbnet *un, struct ifnet *ifp) argument
205 uno_read_reg(struct usbnet *un, int phy, int reg, uint16_t *val) argument
212 uno_write_reg(struct usbnet *un, int phy, int reg, uint16_t val) argument
219 uno_mii_statchg(struct usbnet *un, struct ifnet *ifp) argument
226 uno_tx_prepare(struct usbnet *un, struct mbuf *m, struct usbnet_chain *c) argument
233 uno_rx_loop(struct usbnet *un, struct usbnet_chain *c, uint32_t total_len) argument
240 uno_tick(struct usbnet *un) argument
247 uno_intr(struct usbnet *un, usbd_status status) argument
289 usbnet_enqueue(struct usbnet * const un, uint8_t *buf, size_t buflen, int csum_flags, uint32_t csum_data, int mbuf_flags) argument
320 usbnet_input(struct usbnet * const un, uint8_t *buf, size_t buflen) argument
354 struct usbnet * const un = c->unc_un; local
410 struct usbnet * const un = c->unc_un; local
459 struct usbnet * const un = priv; local
491 struct usbnet * const un = ifp->if_softc; local
588 struct usbnet * const un = ifp->if_softc; local
610 usbnet_rx_list_size(struct usbnet_cdata * const cd, struct usbnet * const un) argument
616 usbnet_rx_list_alloc(struct usbnet * const un) argument
624 usbnet_rx_list_free(struct usbnet * const un) argument
635 usbnet_rx_list_init(struct usbnet * const un) argument
658 usbnet_rx_list_fini(struct usbnet * const un) argument
676 usbnet_rx_start_pipes(struct usbnet * const un) argument
699 usbnet_tx_list_size(struct usbnet_cdata * const cd, struct usbnet * const un) argument
705 usbnet_tx_list_alloc(struct usbnet * const un) argument
713 usbnet_tx_list_free(struct usbnet * const un) argument
724 usbnet_tx_list_init(struct usbnet * const un) argument
747 usbnet_tx_list_fini(struct usbnet * const un) argument
768 usbnet_ep_close_pipes(struct usbnet * const un) argument
781 usbnet_ep_open_pipes(struct usbnet * const un) argument
811 usbnet_ep_stop_pipes(struct usbnet * const un) argument
823 usbnet_init_rx_tx(struct usbnet * const un) argument
918 struct usbnet * const un = device_private(dev); local
942 struct usbnet * const un = device_private(dev); local
966 struct usbnet * const un = ifp->if_softc; local
978 struct usbnet * const un = ifp->if_softc; local
1017 struct usbnet *un = ifp->if_softc; local
1059 usbnet_ispromisc(struct usbnet *un) argument
1074 struct usbnet * const un = ifp->if_softc; local
1125 usbnet_stop(struct usbnet *un, struct ifnet *ifp, int disable) argument
1216 struct usbnet * const un = ifp->if_softc; local
1243 struct usbnet * const un = arg; local
1256 struct usbnet * const un = ifp->if_softc; local
1278 struct usbnet * const un = arg; local
1311 struct usbnet * const un = ifp->if_softc; local
1350 usbnet_set_link(struct usbnet *un, bool link) argument
1357 usbnet_ifp(struct usbnet *un) argument
1363 usbnet_ec(struct usbnet *un) argument
1369 usbnet_mii(struct usbnet *un) argument
1375 usbnet_rndsrc(struct usbnet *un) argument
1381 usbnet_softc(struct usbnet *un) argument
1387 usbnet_havelink(struct usbnet *un) argument
1393 usbnet_isdying(struct usbnet *un) argument
1402 usbnet_isowned_rx(struct usbnet *un) argument
1408 usbnet_isowned_tx(struct usbnet *un) argument
1416 usbnet_empty_eaddr(struct usbnet * const un) argument
1437 usbnet_attach(struct usbnet *un) argument
1480 usbnet_attach_mii(struct usbnet *un, const struct usbnet_mii *unm) argument
1511 usbnet_attach_ifp(struct usbnet *un, unsigned if_flags, unsigned if_extflags, const struct usbnet_mii *unm) argument
1571 struct usbnet * const un = device_private(self); local
1655 struct usbnet * const un = device_private(self); local
[all...]
H A Dif_udav.c100 #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
359 udav_csr_read(struct usbnet *un, int offset, void *buf, int len) argument
391 udav_csr_write(struct usbnet *un, int offset, void *buf, int len) argument
421 udav_csr_read1(struct usbnet *un, int offset) argument
436 udav_csr_write1(struct usbnet *un, int offset, unsigned char ch) argument
467 struct usbnet * const un = ifp->if_softc; local
511 udav_reset(struct usbnet *un) argument
523 udav_chip_init(struct usbnet *un) argument
561 struct usbnet * const un = ifp->if_softc; local
620 udav_uno_tx_prepare(struct usbnet *un, struct mbuf *m, struct usbnet_chain *c) argument
651 udav_uno_rx_loop(struct usbnet *un, struct usbnet_chain *c, uint32_t total_len) argument
696 struct usbnet * const un = ifp->if_softc; local
704 udav_uno_mii_read_reg(struct usbnet *un, int phy, int reg, uint16_t *val) argument
752 udav_uno_mii_write_reg(struct usbnet *un, int phy, int reg, uint16_t val) argument
797 struct usbnet * const un = ifp->if_softc; local
[all...]
H A Dif_mue.c37 #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, re
145 mue_csr_read(struct usbnet *un, uint32_t reg) argument
171 mue_csr_write(struct usbnet *un, uint32_t reg, uint32_t aval) argument
197 mue_wait_for_bits(struct usbnet *un, uint32_t reg, uint32_t set, uint32_t clear, uint32_t fail) argument
218 mue_uno_mii_read_reg(struct usbnet *un, int phy, int reg, uint16_t *val) argument
250 mue_uno_mii_write_reg(struct usbnet *un, int phy, int reg, uint16_t val) argument
277 struct usbnet * const un = ifp->if_softc; local
354 mue_eeprom_getbyte(struct usbnet *un, int off, uint8_t *dest) argument
380 mue_read_eeprom(struct usbnet *un, uint8_t *dest, int off, int cnt) argument
409 mue_eeprom_present(struct usbnet *un) argument
425 mue_read_otp_raw(struct usbnet *un, uint8_t *dest, int off, int cnt) argument
466 mue_read_otp(struct usbnet *un, uint8_t *dest, int off, int cnt) argument
492 mue_dataport_write(struct usbnet *un, uint32_t sel, uint32_t addr, uint32_t cnt, uint32_t *data) argument
517 mue_init_ltm(struct usbnet *un) argument
557 mue_chip_init(struct usbnet *un) argument
680 mue_set_macaddr(struct usbnet *un) argument
694 mue_get_macaddr(struct usbnet *un, prop_dictionary_t dict) argument
770 struct usbnet * const un = device_private(self); local
899 mue_uno_tx_prepare(struct usbnet *un, struct mbuf *m, struct usbnet_chain *c) argument
958 mue_prepare_tso(struct usbnet *un, struct mbuf *m) argument
1005 struct usbnet *un = ifp->if_softc; local
1093 mue_sethwcsum_locked(struct usbnet *un) argument
1127 mue_setmtu_locked(struct usbnet *un) argument
1144 mue_uno_rx_loop(struct usbnet *un, struct usbnet_chain *c, uint32_t total_len) argument
1234 struct usbnet * const un = ifp->if_softc; local
1253 struct usbnet * const un = ifp->if_softc; local
1270 mue_reset(struct usbnet *un) argument
1284 struct usbnet * const un = ifp->if_softc; local
[all...]
H A Dif_url.c114 #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, re
159 struct usbnet * const un = device_private(self); local
263 url_mem(struct usbnet *un, int cmd, int offset, void *buf, int len) argument
301 url_csr_read_1(struct usbnet *un, int reg) argument
313 url_csr_read_2(struct usbnet *un, int reg) argument
326 url_csr_write_1(struct usbnet *un, int reg, int aval) argument
338 url_csr_write_2(struct usbnet *un, int reg, int aval) argument
352 url_csr_write_4(struct usbnet *un, int reg, int aval) argument
367 struct usbnet * const un = ifp->if_softc; local
395 url_reset(struct usbnet *un) argument
420 struct usbnet * const un = ifp->if_softc; local
469 url_uno_tx_prepare(struct usbnet *un, struct mbuf *m, struct usbnet_chain *c) argument
496 url_uno_rx_loop(struct usbnet *un, struct usbnet_chain *c, uint32_t total_len) argument
540 struct usbnet * const un = ifp->if_softc; local
548 url_uno_mii_read_reg(struct usbnet *un, int phy, int reg, uint16_t *val) argument
605 url_uno_mii_write_reg(struct usbnet *un, int phy, int reg, uint16_t val) argument
654 struct usbnet * const un = ifp->if_softc; local
[all...]
H A Dif_ure.c57 #define URE_PRINTF(un, fmt, args...) \
58 device_printf((un)->un_dev, "%s: " fmt, __func__, ##args);
118 ure_ctl(struct usbnet *un, uint8_t rw, uint16_t val, uint16_t index, argument
124 if (usbnet_isdying(un))
138 err = usbd_do_request(un->un_udev, &req, buf);
150 ure_read_mem(struct usbnet *un, uint16_t addr, uint16_t index, argument
153 return ure_ctl(un, URE_CTL_READ, addr, index, buf, len);
157 ure_write_mem(struct usbnet *un, uint16_t addr, uint16_t index, argument
160 return ure_ctl(un, URE_CTL_WRITE, addr, index, buf, len);
164 ure_read_1(struct usbnet *un, uint16_ argument
181 ure_read_2(struct usbnet *un, uint16_t reg, uint16_t index) argument
198 ure_read_4(struct usbnet *un, uint16_t reg, uint16_t index) argument
207 ure_write_1(struct usbnet *un, uint16_t reg, uint16_t index, uint32_t val) argument
228 ure_write_2(struct usbnet *un, uint16_t reg, uint16_t index, uint32_t val) argument
249 ure_write_4(struct usbnet *un, uint16_t reg, uint16_t index, uint32_t val) argument
258 ure_ocp_reg_read(struct usbnet *un, uint16_t addr) argument
269 ure_ocp_reg_write(struct usbnet *un, uint16_t addr, uint16_t data) argument
280 ure_uno_mii_read_reg(struct usbnet *un, int phy, int reg, uint16_t *val) argument
300 ure_uno_mii_write_reg(struct usbnet *un, int phy, int reg, uint16_t val) argument
314 struct usbnet * const un = ifp->if_softc; local
341 struct usbnet *un = ifp->if_softc; local
394 ure_reset(struct usbnet *un) argument
415 struct usbnet * const un = ifp->if_softc; local
449 struct usbnet * const un = ifp->if_softc; local
455 ure_rtl8152_init(struct usbnet *un) argument
508 ure_rtl8153_init(struct usbnet *un) argument
660 ure_disable_teredo(struct usbnet *un) argument
672 ure_init_fifo(struct usbnet *un) argument
796 struct usbnet * const un = device_private(self); local
945 ure_uno_rx_loop(struct usbnet *un, struct usbnet_chain *c, uint32_t total_len) argument
1027 ure_uno_tx_prepare(struct usbnet *un, struct mbuf *m, struct usbnet_chain *c) argument
[all...]
H A Dif_cdce.c109 struct usbnet * const un = device_private(self); local
129 un->un_dev = self;
130 un->un_udev = dev;
131 un->un_sc = un;
132 un->un_ops = &cdce_ops;
133 un->un_rx_xfer_flags = USBD_SHORT_XFER_OK;
134 un->un_tx_xfer_flags = USBD_FORCE_SHORT_XFER;
135 un->un_rx_list_cnt = CDCE_RX_LIST_CNT;
136 un
257 cdce_uno_rx_loop(struct usbnet * un, struct usbnet_chain *c, uint32_t total_len) argument
274 cdce_uno_tx_prepare(struct usbnet *un, struct mbuf *m, struct usbnet_chain *c) argument
[all...]
H A Dif_mos.c177 mos_reg_read_1(struct usbnet *un, int reg) argument
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) argument
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) argument
237 if (usbnet_isdying(un))
258 mos_reg_write_2(struct usbnet *un, int reg, int aval) argument
285 mos_readmac(struct usbnet *un) argument
308 mos_writemac(struct usbnet *un) argument
331 mos_write_mcast(struct usbnet *un, uint8_t *hashtbl) argument
356 mos_uno_mii_read_reg(struct usbnet *un, int phy, int reg, uint16_t *val) argument
390 mos_uno_mii_write_reg(struct usbnet *un, int phy, int reg, uint16_t val) argument
420 struct usbnet * const un = ifp->if_softc; local
466 struct usbnet *un = ifp->if_softc; local
518 mos_reset(struct usbnet *un) argument
539 mos_chip_init(struct usbnet *un) argument
572 struct usbnet * un = device_private(self); local
667 mos_uno_rx_loop(struct usbnet * un, struct usbnet_chain *c, uint32_t total_len) argument
712 mos_uno_tx_prepare(struct usbnet *un, struct mbuf *m, struct usbnet_chain *c) argument
731 struct usbnet * const un = ifp->if_softc; local
759 struct usbnet * const un = ifp->if_softc; local
[all...]
H A Dif_urndis.c61 #define DEVNAME(un) (device_xname(un->un_dev))
110 urndis_ctrl_msg(struct usbnet *un, uint8_t rt, uint8_t r, argument
121 return usbd_do_request(un->un_udev, &req, buf);
125 urndis_ctrl_send(struct usbnet *un, void *buf, size_t len) argument
127 struct urndis_softc *sc = usbnet_softc(un);
130 if (usbnet_isdying(un))
133 err = urndis_ctrl_msg(un, UT_WRITE_CLASS_INTERFACE, UR_GET_STATUS,
137 printf("%s: %s\n", DEVNAME(un), usbd_errstr(err));
143 urndis_ctrl_recv(struct usbnet *un) argument
182 urndis_ctrl_handle(struct usbnet *un, struct rndis_comp_hdr *hdr, void **buf, size_t *bufsz) argument
228 urndis_ctrl_handle_init(struct usbnet *un, const struct rndis_comp_hdr *hdr) argument
292 urndis_ctrl_handle_query(struct usbnet *un, const struct rndis_comp_hdr *hdr, void **buf, size_t *bufsz) argument
350 urndis_ctrl_handle_reset(struct usbnet *un, const struct rndis_comp_hdr *hdr) argument
389 urndis_ctrl_handle_status(struct usbnet *un, const struct rndis_comp_hdr *hdr) argument
421 urndis_ctrl_init(struct usbnet *un) argument
491 urndis_ctrl_query(struct usbnet *un, uint32_t oid, void *qbuf, size_t qlen, void **rbuf, size_t *rbufsz) argument
541 urndis_ctrl_set(struct usbnet *un, uint32_t oid, void *buf, size_t len) argument
716 urndis_uno_tx_prepare(struct usbnet *un, struct mbuf *m, struct usbnet_chain *c) argument
747 urndis_uno_rx_loop(struct usbnet * un, struct usbnet_chain *c, uint32_t total_len) argument
859 struct usbnet *un = ifp->if_softc; local
895 struct usbnet * const un = &sc->sc_un; local
[all...]
H A Dif_axen.c107 axen_cmd(struct usbnet *un, int cmd, int index, int val, void *buf) argument
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) argument
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) argument
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 local
233 struct usbnet * const un = ifp->if_softc; local
297 axen_reset(struct usbnet *un) argument
308 axen_get_eaddr(struct usbnet *un, void *addr) argument
363 axen_ax88179_init(struct usbnet *un) argument
512 axen_setoe_locked(struct usbnet *un) argument
550 struct usbnet * const un = ifp->if_softc; local
576 struct usbnet * const un = device_private(self); local
755 axen_uno_rx_loop(struct usbnet *un, struct usbnet_chain *c, uint32_t total_len) argument
865 axen_uno_tx_prepare(struct usbnet *un, struct mbuf *m, struct usbnet_chain *c) argument
906 struct usbnet * const un = ifp->if_softc; local
937 struct usbnet * const un = ifp->if_softc; local
[all...]
H A Dif_cue.c160 cue_csr_read_1(struct usbnet *un, int reg) argument
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) argument
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
221 cue_csr_write_1(struct usbnet *un, int reg, int val) argument
287 cue_mem(struct usbnet *un, int cmd, int addr, void *buf, int len) argument
316 cue_getmac(struct usbnet *un) argument
362 struct usbnet *un = ifp->if_softc; local
416 cue_reset(struct usbnet *un) argument
461 struct usbnet * const un = &sc->cue_un; local
542 cue_uno_tick(struct usbnet *un) argument
560 cue_uno_rx_loop(struct usbnet *un, struct usbnet_chain *c, uint32_t total_len) argument
583 cue_uno_tx_prepare(struct usbnet *un, struct mbuf *m, struct usbnet_chain *c) argument
612 struct usbnet * const un = ifp->if_softc; local
662 struct usbnet * const un = ifp->if_softc; local
[all...]
H A Dif_smsc.c160 #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) argument
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) argument
239 if (usbnet_isdying(un))
258 smsc_wait_for_bits(struct usbnet *un, uint32_t reg, uint32_t bits) argument
277 smsc_uno_miibus_readreg(struct usbnet *un, int phy, int reg, uint16_t *val) argument
309 smsc_uno_miibus_writereg(struct usbnet *un, int phy, int reg, uint16_t val) argument
338 struct usbnet * const un = ifp->if_softc; local
417 struct usbnet * const un = ifp->if_softc; local
473 smsc_setoe_locked(struct usbnet *un) argument
514 smsc_setmacaddress(struct usbnet *un, const uint8_t *addr) argument
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
578 smsc_chip_init(struct usbnet *un) argument
729 struct usbnet * const un = ifp->if_softc; local
756 struct usbnet * const un = &sc->smsc_un; local
880 smsc_uno_rx_loop(struct usbnet *un, struct usbnet_chain *c, uint32_t total_len) argument
1018 smsc_uno_tx_prepare(struct usbnet *un, struct mbuf *m, struct usbnet_chain *c) argument
[all...]
/netbsd-current/sys/fs/union/
H A Dunion_subr.c127 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) argument
166 int ohash = UNION_HASH(un->un_uppervp, un->un_lowervp);
167 int nhash = UNION_HASH(un
194 union_newupper(struct union_node *un, struct vnode *uppervp) argument
259 struct union_node *un = VTOUNION(vp); local
295 union_ref(struct union_node *un) argument
303 union_rele(struct union_node *un) argument
366 struct union_node *un = NULL, *un1; local
536 struct union_node *un = VTOUNION(vp); local
559 struct union_node *un; local
689 union_copyup(struct union_node *un, int docopy, kauth_cred_t cred, struct lwp *l) argument
863 union_mkwhiteout(struct union_mount *um, struct vnode *dvp, struct componentname *cnp, struct union_node *un) argument
888 union_vn_create(struct vnode **vpp, struct union_node *un, struct lwp *l) argument
954 union_removed_upper(struct union_node *un) argument
1005 union_dowhiteout(struct union_node *un, kauth_cred_t cred) argument
1022 struct union_node *un; local
1097 union_diruncache(struct union_node *un) argument
1114 union_check_rmdir(struct union_node *un, kauth_cred_t cred) argument
[all...]
/netbsd-current/external/bsd/tradcpp/dist/
H A Dunion.h34 #define UN un
/netbsd-current/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Dunique.c82 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
106 unique_t *un; local
[all...]
/netbsd-current/usr.sbin/lpr/common_source/
H A Dstartdaemon.c44 #include <sys/un.h>
64 struct sockaddr_un un; local
74 memset(&un, 0, sizeof(un));
75 un.sun_family = AF_LOCAL;
76 strncpy(un.sun_path, _PATH_SOCKETNAME, sizeof(un.sun_path) - 1);
81 if (connect(s, (const struct sockaddr *)&un,
82 (int)SUN_LEN(&un)) < 0) {

Completed in 228 milliseconds

1234567891011>>