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

1 2 3 4 5 6 7 8 91011>>

  /src/sys/dev/ic/
smc93cx6var.h 81 #define SEEPROM_INB(sd) \
82 (((sd)->sd_regsize == 4) \
83 ? bus_space_read_4((sd)->sd_tag, (sd)->sd_bsh, \
84 (sd)->sd_control_offset) \
85 : bus_space_read_1((sd)->sd_tag, (sd)->sd_bsh, \
86 (sd)->sd_control_offset))
88 #define SEEPROM_OUTB(sd, value) do { \
89 if ((sd)->sd_regsize == 4)
    [all...]
smc93cx6.c 88 #define CLOCK_PULSE(sd, rdy) do { \
97 while ((SEEPROM_STATUS_INB(sd) & rdy) == 0 && cpi-- > 0) { \
100 (void)SEEPROM_INB(sd); /* Clear clock */ \
108 read_seeprom(struct seeprom_descriptor *sd, u_int16_t *buf, bus_size_t start_addr, bus_size_t count)
121 temp = sd->sd_MS ^ sd->sd_CS;
122 SEEPROM_OUTB(sd, temp ^ sd->sd_CK);
123 CLOCK_PULSE(sd, sd->sd_RDY)
    [all...]
  /src/lib/libc/net/
getservent_r.c 59 _servent_open(struct servent_data *sd)
61 if (sd->flags & (_SV_CDB | _SV_PLAINFILE)) {
62 sd->flags |= _SV_FIRST;
66 free(sd->line);
67 sd->line = NULL;
68 free(sd->cdb_buf);
69 sd->cdb_buf = NULL;
70 sd->cdb_buf_len = 0;
71 free(sd->aliases);
72 sd->aliases = NULL
    [all...]
getservbyport_r.c 54 _servent_getbyport(struct servent_data *sd, struct servent *sp, int port,
58 if ((sd->flags & (_SV_CDB | _SV_PLAINFILE)) == 0)
61 if (sd->flags & _SV_CDB) {
84 if (cdbr_find(sd->cdb, buf, 4 + protolen,
100 return _servent_parsedb(sd, sp, data, datalen);
102 while (_servent_getline(sd) != -1) {
103 if (_servent_parseline(sd, sp) == NULL)
116 struct servent_data *sd)
118 setservent_r(sd->flags & _SV_STAYOPEN, sd);
    [all...]
getservbyname_r.c 55 _servent_getbyname(struct servent_data *sd, struct servent *sp,
59 if ((sd->flags & (_SV_CDB | _SV_PLAINFILE)) == 0)
62 if (sd->flags & _SV_CDB) {
86 if (cdbr_find(sd->cdb, buf, 2 + namelen + protolen,
111 return _servent_parsedb(sd, sp, data_ptr,
117 while (_servent_getline(sd) != -1) {
119 if (_servent_parseline(sd, sp) == NULL)
139 struct servent_data *sd)
144 setservent_r(sd->flags & _SV_STAYOPEN, sd);
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/builtins/
floatuntisf.c 33 int sd = N - __clzti2(a); /* number of significant digits */ local in function:__floatuntisf
34 int e = sd - 1; /* exponent */
35 if (sd > FLT_MANT_DIG)
45 switch (sd)
53 a = (a >> (sd - (FLT_MANT_DIG+2))) |
54 ((a & ((tu_int)(-1) >> ((N + FLT_MANT_DIG+2) - sd))) != 0);
70 a <<= (FLT_MANT_DIG - sd);
floatdisf.c 33 int sd = N - __builtin_clzll(a); /* number of significant digits */ local in function:__floatdisf
34 int e = sd - 1; /* exponent */
35 if (sd > FLT_MANT_DIG)
45 switch (sd)
53 a = ((du_int)a >> (sd - (FLT_MANT_DIG+2))) |
54 ((a & ((du_int)(-1) >> ((N + FLT_MANT_DIG+2) - sd))) != 0);
70 a <<= (FLT_MANT_DIG - sd);
floattidf.c 35 int sd = N - __clzti2(a); /* number of significant digits */ local in function:__floattidf
36 int e = sd - 1; /* exponent */
37 if (sd > DBL_MANT_DIG)
47 switch (sd)
55 a = ((tu_int)a >> (sd - (DBL_MANT_DIG+2))) |
56 ((a & ((tu_int)(-1) >> ((N + DBL_MANT_DIG+2) - sd))) != 0);
72 a <<= (DBL_MANT_DIG - sd);
floattisf.c 35 int sd = N - __clzti2(a); /* number of significant digits */ local in function:__floattisf
36 int e = sd - 1; /* exponent */
37 if (sd > FLT_MANT_DIG)
47 switch (sd)
55 a = ((tu_int)a >> (sd - (FLT_MANT_DIG+2))) |
56 ((a & ((tu_int)(-1) >> ((N + FLT_MANT_DIG+2) - sd))) != 0);
72 a <<= (FLT_MANT_DIG - sd);
floattixf.c 37 int sd = N - __clzti2(a); /* number of significant digits */ local in function:__floattixf
38 int e = sd - 1; /* exponent */
39 if (sd > LDBL_MANT_DIG)
49 switch (sd)
57 a = ((tu_int)a >> (sd - (LDBL_MANT_DIG+2))) |
58 ((a & ((tu_int)(-1) >> ((N + LDBL_MANT_DIG+2) - sd))) != 0);
74 a <<= (LDBL_MANT_DIG - sd);
floatundisf.c 31 int sd = N - __builtin_clzll(a); /* number of significant digits */ local in function:__floatundisf
32 int e = sd - 1; /* 8 exponent */
33 if (sd > FLT_MANT_DIG)
43 switch (sd)
51 a = (a >> (sd - (FLT_MANT_DIG+2))) |
52 ((a & ((du_int)(-1) >> ((N + FLT_MANT_DIG+2) - sd))) != 0);
68 a <<= (FLT_MANT_DIG - sd);
floatuntidf.c 33 int sd = N - __clzti2(a); /* number of significant digits */ local in function:__floatuntidf
34 int e = sd - 1; /* exponent */
35 if (sd > DBL_MANT_DIG)
45 switch (sd)
53 a = (a >> (sd - (DBL_MANT_DIG+2))) |
54 ((a & ((tu_int)(-1) >> ((N + DBL_MANT_DIG+2) - sd))) != 0);
70 a <<= (DBL_MANT_DIG - sd);
floatuntixf.c 35 int sd = N - __clzti2(a); /* number of significant digits */ local in function:__floatuntixf
36 int e = sd - 1; /* exponent */
37 if (sd > LDBL_MANT_DIG)
47 switch (sd)
55 a = (a >> (sd - (LDBL_MANT_DIG+2))) |
56 ((a & ((tu_int)(-1) >> ((N + LDBL_MANT_DIG+2) - sd))) != 0);
72 a <<= (LDBL_MANT_DIG - sd);
floatdidf.c 58 int sd = N - __builtin_clzll(a); /* number of significant digits */ local in function:__floatdidf
59 int e = sd - 1; /* exponent */
60 if (sd > DBL_MANT_DIG)
70 switch (sd)
78 a = ((du_int)a >> (sd - (DBL_MANT_DIG+2))) |
79 ((a & ((du_int)(-1) >> ((N + DBL_MANT_DIG+2) - sd))) != 0);
95 a <<= (DBL_MANT_DIG - sd);
floatundidf.c 58 int sd = N - __builtin_clzll(a); /* number of significant digits */ local in function:__floatundidf
59 int e = sd - 1; /* exponent */
60 if (sd > DBL_MANT_DIG)
70 switch (sd)
78 a = (a >> (sd - (DBL_MANT_DIG+2))) |
79 ((a & ((du_int)(-1) >> ((N + DBL_MANT_DIG+2) - sd))) != 0);
95 a <<= (DBL_MANT_DIG - sd);
  /src/sys/dev/wscons/
wsdisplay_compat_usl.c 101 struct usl_syncdata *sd; local in function:usl_sync_init
104 sd = kmem_intr_alloc(sizeof(*sd), KM_SLEEP);
106 sd->s_scr = scr;
107 sd->s_proc = p;
108 sd->s_pid = p->p_pid;
109 sd->s_flags = 0;
110 sd->s_acqsig = acqsig;
111 sd->s_relsig = relsig;
112 sd->s_frsig = frsig
164 struct usl_syncdata *sd = vsd; local in function:usl_sync_check
171 void *sd; local in function:usl_sync_get
182 struct usl_syncdata *sd = cookie; local in function:usl_detachproc
224 struct usl_syncdata *sd = arg; local in function:usl_detachtimeout
245 struct usl_syncdata *sd = cookie; local in function:usl_attachproc
280 struct usl_syncdata *sd = arg; local in function:usl_attachtimeout
300 struct usl_syncdata *sd = cookie; local in function:usl_sync_destroy
384 struct usl_syncdata *sd; local in function:wsdisplay_usl_ioctl2
    [all...]
  /src/sys/kern/
subr_specificdata.c 99 specificdata_container_link(specificdata_domain_t sd,
103 LIST_INSERT_HEAD(&sd->sd_list, sc, sc_list);
107 specificdata_container_unlink(specificdata_domain_t sd,
115 specificdata_destroy_datum(specificdata_domain_t sd,
124 KASSERT(key < sd->sd_nkey);
127 dtor = sd->sd_keys[key].ski_dtor;
153 specificdata_domain_t sd; local in function:specificdata_domain_create
155 sd = kmem_zalloc(sizeof(*sd), KM_SLEEP);
156 mutex_init(&sd->sd_lock, MUTEX_DEFAULT, IPL_NONE)
    [all...]
  /src/sys/arch/bebox/stand/boot/
sd.c 1 /* $NetBSD: sd.c,v 1.6 2019/01/08 19:41:09 jdolecek Exp $ */
89 sd_read_capacity(struct sd_softc *sd, int *blksize)
110 if (scsi_command(sd, (void *)&cmd.cmd, sizeof(cmd.cmd),
131 if (scsi_command(sd, (void *)&cmd.cmd16, sizeof(cmd.cmd16),
143 sd_get_simplifiedparms(struct sd_softc *sd)
157 struct disk_parms *dp = &sd->sc_params;
168 if ((blocks = sd_read_capacity(sd, &blksize)) == 0)
171 error = scsi_mode_sense(sd, SMS_DBD, 6,
206 sd_get_capacity(struct sd_softc *sd)
208 struct disk_parms *dp = &sd->sc_params
569 struct sd_softc *sd; local in function:sdopen
668 struct sd_softc *sd; local in function:sdstrategy
    [all...]
  /src/sys/arch/prep/stand/boot/
sd.c 1 /* $NetBSD: sd.c,v 1.6 2024/07/02 05:34:08 rin Exp $ */
89 sd_read_capacity(struct sd_softc *sd, int *blksize)
110 if (scsi_command(sd, (void *)&cmd.cmd, sizeof(cmd.cmd),
131 if (scsi_command(sd, (void *)&cmd.cmd16, sizeof(cmd.cmd16),
143 sd_get_simplifiedparms(struct sd_softc *sd)
157 struct disk_parms *dp = &sd->sc_params;
168 if ((blocks = sd_read_capacity(sd, &blksize)) == 0)
171 error = scsi_mode_sense(sd, SMS_DBD, 6,
206 sd_get_capacity(struct sd_softc *sd)
208 struct disk_parms *dp = &sd->sc_params
569 struct sd_softc *sd; local in function:sdopen
668 struct sd_softc *sd; local in function:sdstrategy
    [all...]
  /src/tests/lib/libc/sys/
t_sendrecv.c 65 sender(int sd)
71 for (; (n = send(sd, &p, sizeof(p), 0)) == sizeof(p);
77 close(sd);
82 receiver(int sd)
91 while ((n = recv(sd, &p, sizeof(p), 0), sizeof(p))
108 close(sd);
114 int fd[2], sd[2], error; local in function:sendrecv
118 error = socketpair(AF_UNIX, SOCK_DGRAM, 0, sd);
123 for (size_t i = 0; i < __arraycount(sd); i++) {
124 error = setsockopt(sd[i], SOL_SOCKET, SO_RERROR, &rerror
    [all...]
t_getsockname.c 47 int sd; local in function:ATF_TC_BODY
51 sd = socket(AF_UNIX, SOCK_STREAM, 0);
52 ATF_REQUIRE(sd != -1);
56 ATF_REQUIRE(getsockname(sd, (struct sockaddr *)&sun, &len) != -1);
64 ATF_REQUIRE(bind(sd, (struct sockaddr *)&sun, len) != -1);
68 ATF_REQUIRE(getsockname(sd, (struct sockaddr *)&sun, &len) != -1);
72 ATF_REQUIRE(close(sd) != -1);
  /src/sys/external/bsd/gnu-efi/dist/lib/mips64el/
setjmp.S 26 sd $ra, 0x00($a0)
27 sd $sp, 0x08($a0)
28 sd $fp, 0x10($a0)
29 sd $gp, 0x18($a0)
31 sd $s0, 0x20($a0)
32 sd $s1, 0x28($a0)
33 sd $s2, 0x30($a0)
34 sd $s3, 0x38($a0)
35 sd $s4, 0x40($a0)
36 sd $s5, 0x48($a0
    [all...]
  /src/sys/dev/scsipi/
sd.c 1 /* $NetBSD: sd.c,v 1.347 2025/10/11 13:58:57 mlelstv Exp $ */
51 __KERNEL_RCSID(0, "$NetBSD: sd.c,v 1.347 2025/10/11 13:58:57 mlelstv Exp $");
135 CFATTACH_DECL3_NEW(sd, sizeof(struct sd_softc), sdmatch, sdattach, sddetach,
254 struct sd_softc *sd = device_private(self); local in function:sdattach
255 struct dk_softc *dksc = &sd->sc_dksc;
259 struct disk_parms *dp = &sd->params;
264 sd->type = (sa->sa_inqbuf.type & SID_TYPE);
265 memcpy(sd->name, sa->sa_inqbuf.product, uimin(16, sizeof(sd->name)));
266 memcpy(sd->typename, sa->sa_inqbuf.product
389 struct sd_softc *sd = device_private(self); local in function:sddetach
444 struct sd_softc *sd = device_private(self); local in function:sd_firstopen
532 struct sd_softc *sd; local in function:sdopen
577 struct sd_softc *sd = device_private(self); local in function:sd_lastclose
618 struct sd_softc *sd; local in function:sdclose
637 struct sd_softc *sd = device_lookup_private(&sd_cd, SDUNIT(bp->b_dev)); local in function:sdstrategy
671 struct sd_softc *sd = device_private(dev); local in function:sd_diskstart
823 struct sd_softc *sd = v; local in function:sdrestart
838 struct sd_softc *sd = device_private(periph->periph_dev); local in function:sdstart
860 struct sd_softc *sd = device_private(xs->xs_periph->periph_dev); local in function:sddone
885 struct sd_softc *sd = device_lookup_private(&sd_cd, SDUNIT(bp->b_dev)); local in function:sdminphys
948 struct sd_softc *sd = device_lookup_private(&sd_cd, SDUNIT(dev)); local in function:sdioctl
1039 struct sd_softc *sd = device_private(self); local in function:sd_label
1085 struct sd_softc *sd = device_private(self); local in function:sd_discard
1095 struct sd_softc *sd = device_private(self); local in function:sd_shutdown
1129 struct sd_softc *sd = device_private(periph->periph_dev); local in function:sd_interpret_sense
1211 struct sd_softc *sd; local in function:sdsize
1237 struct sd_softc *sd; local in function:sddump
1262 struct sd_softc *sd = device_private(dev); local in function:sd_dumpblocks
2051 struct sd_softc *sd; local in function:sddiscard
    [all...]
  /src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/
imx6qdl-colibri-v1_1-uhs.dtsi 40 sd-uhs-sdr12;
41 sd-uhs-sdr25;
42 sd-uhs-sdr50;
43 sd-uhs-sdr104;
  /src/sys/external/bsd/compiler_rt/dist/lib/xray/
xray_trampoline_mips64.S 26 sd $ra, 136($sp)
28 sd $gp, 128($sp)
29 sd $a7, 120($sp)
30 sd $a6, 112($sp)
31 sd $a5, 104($sp)
32 sd $a4, 96($sp)
33 sd $a3, 88($sp)
34 sd $a2, 80($sp)
35 sd $a1, 72($sp)
36 sd $a0, 64($sp
    [all...]

Completed in 23 milliseconds

1 2 3 4 5 6 7 8 91011>>