Searched refs:sd (Results 1 - 25 of 152) sorted by relevance

1234567

/freebsd-10.0-release/sys/dev/aic7xxx/
H A Daic7xxx_93cx6.c103 #define CLOCK_PULSE(sd, rdy) \
104 while ((SEEPROM_STATUS_INB(sd) & rdy) == 0) { \
107 (void)SEEPROM_INB(sd); /* Clear clock */
113 send_seeprom_cmd(struct seeprom_descriptor *sd, struct seeprom_cmd *cmd) argument
119 temp = sd->sd_MS ^ sd->sd_CS;
120 SEEPROM_OUTB(sd, temp ^ sd->sd_CK);
121 CLOCK_PULSE(sd, sd
139 reset_seeprom(struct seeprom_descriptor *sd) argument
157 ahc_read_seeprom(struct seeprom_descriptor *sd, uint16_t *buf, u_int start_addr, u_int count) argument
229 ahc_write_seeprom(struct seeprom_descriptor *sd, uint16_t *buf, u_int start_addr, u_int count) argument
[all...]
H A Daic7xxx_93cx6.h83 #define SEEPROM_INB(sd) \
84 ahc_inb(sd->sd_ahc, sd->sd_control_offset)
85 #define SEEPROM_OUTB(sd, value) \
87 ahc_outb(sd->sd_ahc, sd->sd_control_offset, value); \
88 ahc_flush_device_writes(sd->sd_ahc); \
91 #define SEEPROM_STATUS_INB(sd) \
92 ahc_inb(sd->sd_ahc, sd
[all...]
/freebsd-10.0-release/sys/contrib/octeon-sdk/
H A Dcvmx-log-arc.S82 sd s3, 24(sp) // Save register
84 sd s0, 0(sp) // Save register
86 sd s1, 8(sp) // Save register
88 sd s2, 16(sp) // Save register
95 sd ra, 8(s2) // Write the pc to the log
97 sd s3, 0(s2) // Write the log header
99 sd s2, 0(s1) // Store the write location ptr
113 sd $1, 0(sp)
114 sd $2, 8(sp)
115 sd
[all...]
H A Dcvmx-interrupt-handler.S65 sd zero, 0(sp) // Just a place holder
66 sd $1, 8(sp) // start saving registers
67 sd $2, 16(sp)
68 sd $3, 24(sp)
69 sd $4, 32(sp)
70 sd $5, 40(sp)
71 sd $6, 48(sp)
72 sd $7, 56(sp)
73 sd $8, 64(sp)
74 sd
[all...]
/freebsd-10.0-release/sys/boot/powerpc/ps3/
H A Dps3stor.c36 int ps3stor_setup(struct ps3_stordev *sd, int type) argument
41 sd->sd_type = type;
43 err = ps3repo_find_bus_by_type(PS3_BUS_TYPE_STOR, &sd->sd_busidx);
47 err = ps3repo_read_bus_id(sd->sd_busidx, &sd->sd_busid);
51 err = ps3repo_find_bus_dev_by_type(sd->sd_busidx, type, &sd->sd_devidx);
55 err = ps3repo_read_bus_dev_id(sd->sd_busidx, sd->sd_devidx,
56 &sd
118 ps3stor_read_sectors(struct ps3_stordev *sd, int regidx, uint64_t start_sector, uint64_t sector_count, uint64_t flags, char *buf) argument
174 ps3stor_print(struct ps3_stordev *sd) argument
[all...]
H A Dps3stor.h52 int ps3stor_setup(struct ps3_stordev *sd, int type);
54 int ps3stor_read_sectors(struct ps3_stordev *sd, int regidx,
57 void ps3stor_print(struct ps3_stordev *sd);
/freebsd-10.0-release/contrib/compiler-rt/lib/
H A Dfloatundisf.c33 int sd = N - __builtin_clzll(a); /* number of significant digits */ local
34 int e = sd - 1; /* 8 exponent */
35 if (sd > FLT_MANT_DIG)
45 switch (sd)
53 a = (a >> (sd - (FLT_MANT_DIG+2))) |
54 ((a & ((du_int)(-1) >> ((N + FLT_MANT_DIG+2) - sd))) != 0);
70 a <<= (FLT_MANT_DIG - sd);
H A Dfloatuntisf.c35 int sd = N - __clzti2(a); /* number of significant digits */ local
36 int e = sd - 1; /* exponent */
37 if (sd > FLT_MANT_DIG)
47 switch (sd)
55 a = (a >> (sd - (FLT_MANT_DIG+2))) |
56 ((a & ((tu_int)(-1) >> ((N + FLT_MANT_DIG+2) - sd))) != 0);
72 a <<= (FLT_MANT_DIG - sd);
H A Dfloatdisf.c35 int sd = N - __builtin_clzll(a); /* number of significant digits */ local
36 int e = sd - 1; /* exponent */
37 if (sd > FLT_MANT_DIG)
47 switch (sd)
55 a = ((du_int)a >> (sd - (FLT_MANT_DIG+2))) |
56 ((a & ((du_int)(-1) >> ((N + FLT_MANT_DIG+2) - sd))) != 0);
72 a <<= (FLT_MANT_DIG - sd);
H A Dfloattidf.c37 int sd = N - __clzti2(a); /* number of significant digits */ local
38 int e = sd - 1; /* exponent */
39 if (sd > DBL_MANT_DIG)
49 switch (sd)
57 a = ((tu_int)a >> (sd - (DBL_MANT_DIG+2))) |
58 ((a & ((tu_int)(-1) >> ((N + DBL_MANT_DIG+2) - sd))) != 0);
74 a <<= (DBL_MANT_DIG - sd);
H A Dfloattisf.c37 int sd = N - __clzti2(a); /* number of significant digits */ local
38 int e = sd - 1; /* exponent */
39 if (sd > FLT_MANT_DIG)
49 switch (sd)
57 a = ((tu_int)a >> (sd - (FLT_MANT_DIG+2))) |
58 ((a & ((tu_int)(-1) >> ((N + FLT_MANT_DIG+2) - sd))) != 0);
74 a <<= (FLT_MANT_DIG - sd);
H A Dfloattixf.c39 int sd = N - __clzti2(a); /* number of significant digits */ local
40 int e = sd - 1; /* exponent */
41 if (sd > LDBL_MANT_DIG)
51 switch (sd)
59 a = ((tu_int)a >> (sd - (LDBL_MANT_DIG+2))) |
60 ((a & ((tu_int)(-1) >> ((N + LDBL_MANT_DIG+2) - sd))) != 0);
76 a <<= (LDBL_MANT_DIG - sd);
H A Dfloatuntidf.c35 int sd = N - __clzti2(a); /* number of significant digits */ local
36 int e = sd - 1; /* exponent */
37 if (sd > DBL_MANT_DIG)
47 switch (sd)
55 a = (a >> (sd - (DBL_MANT_DIG+2))) |
56 ((a & ((tu_int)(-1) >> ((N + DBL_MANT_DIG+2) - sd))) != 0);
72 a <<= (DBL_MANT_DIG - sd);
H A Dfloatuntixf.c37 int sd = N - __clzti2(a); /* number of significant digits */ local
38 int e = sd - 1; /* exponent */
39 if (sd > LDBL_MANT_DIG)
49 switch (sd)
57 a = (a >> (sd - (LDBL_MANT_DIG+2))) |
58 ((a & ((tu_int)(-1) >> ((N + LDBL_MANT_DIG+2) - sd))) != 0);
74 a <<= (LDBL_MANT_DIG - sd);
H A Dfloatdidf.c60 int sd = N - __builtin_clzll(a); /* number of significant digits */
61 int e = sd - 1; /* exponent */
62 if (sd > DBL_MANT_DIG)
72 switch (sd)
80 a = ((du_int)a >> (sd - (DBL_MANT_DIG+2))) |
81 ((a & ((du_int)(-1) >> ((N + DBL_MANT_DIG+2) - sd))) != 0);
97 a <<= (DBL_MANT_DIG - sd);
H A Dfloatundidf.c61 int sd = N - __builtin_clzll(a); /* number of significant digits */
62 int e = sd - 1; /* exponent */
63 if (sd > DBL_MANT_DIG)
73 switch (sd)
81 a = (a >> (sd - (DBL_MANT_DIG+2))) |
82 ((a & ((du_int)(-1) >> ((N + DBL_MANT_DIG+2) - sd))) != 0);
98 a <<= (DBL_MANT_DIG - sd);
/freebsd-10.0-release/contrib/gdb/include/gdb/
H A Dremote-sim.h119 void sim_close PARAMS ((SIM_DESC sd, int quitting));
145 SIM_RC sim_load PARAMS ((SIM_DESC sd, char *prog, struct bfd *abfd, int from_tty));
165 SIM_RC sim_create_inferior PARAMS ((SIM_DESC sd, struct bfd *abfd, char **argv, char **env));
172 int sim_read PARAMS ((SIM_DESC sd, SIM_ADDR mem, unsigned char *buf, int length));
179 int sim_write PARAMS ((SIM_DESC sd, SIM_ADDR mem, unsigned char *buf, int length));
191 int sim_fetch_register PARAMS ((SIM_DESC sd, int regno, unsigned char *buf, int length));
203 int sim_store_register PARAMS ((SIM_DESC sd, int regno, unsigned char *buf, int length));
210 void sim_info PARAMS ((SIM_DESC sd, int verbose));
235 void sim_resume PARAMS ((SIM_DESC sd, int step, int siggnal));
242 int sim_stop PARAMS ((SIM_DESC sd));
[all...]
/freebsd-10.0-release/contrib/subversion/subversion/libsvn_subr/
H A Dgpg_agent.c108 receive_from_gpg_agent(int sd, char *buf, size_t n)
122 recvd = read(sd, &c, 1);
144 send_option(int sd, char *buf, size_t n, const char *option, const char *value,
151 if (write(sd, request, strlen(request)) == -1)
154 if (!receive_from_gpg_agent(sd, buf, n))
173 int sd;
197 sd = socket(AF_UNIX, SOCK_STREAM, 0);
198 if (sd == -1)
201 if (connect(sd, (struct sockaddr *)&addr, sizeof(addr)) == -1)
203 close(sd);
107 receive_from_gpg_agent(int sd, char *buf, size_t n) argument
143 send_option(int sd, char *buf, size_t n, const char *option, const char *value, apr_pool_t *scratch_pool) argument
172 int sd; local
280 int sd; local
419 int sd; local
[all...]
/freebsd-10.0-release/crypto/heimdal/lib/hx509/
H A Dtest_cms.in55 ${hxtool} cms-create-sd \
58 sd.data > /dev/null || exit 1
61 ${hxtool} cms-verify-sd \
64 sd.data sd.data.out > /dev/null || exit 1
65 cmp "$srcdir/test_chain.in" sd.data.out || exit 1
69 ${hxtool} cms-create-sd \
72 sd.data > /dev/null || exit 1
75 ${hxtool} cms-verify-sd \
78 sd
[all...]
/freebsd-10.0-release/sys/geom/raid/
H A Dtr_raid1e.c142 struct g_raid_subdisk *sd);
199 struct g_raid_subdisk *sd, *bestsd, *worstsd; local
207 sd = &vol->v_subdisks[i * N + j];
208 if (sd->sd_state > bestsd->sd_state)
209 bestsd = sd;
210 else if (sd->sd_state == bestsd->sd_state &&
211 (sd->sd_state == G_RAID_SUBDISK_S_REBUILD ||
212 sd->sd_state == G_RAID_SUBDISK_S_RESYNC) &&
213 sd->sd_rebuild_pos > bestsd->sd_rebuild_pos)
214 bestsd = sd;
252 struct g_raid_subdisk *sd, *bestsd, *worstsd; local
303 g_raid_tr_update_state_raid1e(struct g_raid_volume *vol, struct g_raid_subdisk *sd) argument
337 g_raid_tr_raid1e_fail_disk(struct g_raid_softc *sc, struct g_raid_subdisk *sd, struct g_raid_disk *disk) argument
366 struct g_raid_subdisk *sd; local
384 struct g_raid_subdisk *sd; local
401 struct g_raid_subdisk *sd; local
434 struct g_raid_subdisk *sd; local
508 struct g_raid_subdisk *sd; local
561 g_raid_tr_raid1e_maybe_rebuild(struct g_raid_tr_object *tr, struct g_raid_subdisk *sd) argument
598 g_raid_tr_event_raid1e(struct g_raid_tr_object *tr, struct g_raid_subdisk *sd, u_int event) argument
642 struct g_raid_subdisk *sd; local
695 struct g_raid_subdisk *sd; local
760 struct g_raid_subdisk *sd; local
876 g_raid_tr_iodone_raid1e(struct g_raid_tr_object *tr, struct g_raid_subdisk *sd, struct bio *bp) argument
1141 struct g_raid_subdisk *sd; local
1191 struct g_raid_subdisk *sd; local
[all...]
H A Dtr_raid1.c138 struct g_raid_subdisk *sd);
156 struct g_raid_subdisk *sd)
213 g_raid_tr_raid1_maybe_rebuild(vol->v_tr, sd);
227 g_raid_tr_raid1_fail_disk(struct g_raid_softc *sc, struct g_raid_subdisk *sd, argument
239 if (g_raid_nsubdisks(sd->sd_volume, G_RAID_SUBDISK_S_ACTIVE) == 1 &&
240 g_raid_get_subdisk(sd->sd_volume, G_RAID_SUBDISK_S_ACTIVE) == sd)
242 g_raid_fail_disk(sc, sd, disk);
249 struct g_raid_subdisk *sd, *good_sd; local
255 sd
155 g_raid_tr_update_state_raid1(struct g_raid_volume *vol, struct g_raid_subdisk *sd) argument
280 struct g_raid_subdisk *sd; local
298 struct g_raid_subdisk *sd; local
315 struct g_raid_subdisk *sd; local
350 struct g_raid_subdisk *sd, *fsd; local
410 g_raid_tr_raid1_maybe_rebuild(struct g_raid_tr_object *tr, struct g_raid_subdisk *sd) argument
453 g_raid_tr_event_raid1(struct g_raid_tr_object *tr, struct g_raid_subdisk *sd, u_int event) argument
497 struct g_raid_subdisk *sd, *best; local
533 struct g_raid_subdisk *sd; local
553 struct g_raid_subdisk *sd; local
664 g_raid_tr_iodone_raid1(struct g_raid_tr_object *tr, struct g_raid_subdisk *sd, struct bio *bp) argument
916 struct g_raid_subdisk *sd; local
960 struct g_raid_subdisk *sd; local
[all...]
/freebsd-10.0-release/contrib/sendmail/libmilter/
H A Dlibmilter.h124 # define ValidSocket(sd) ((sd) >= 0)
181 # define FD_RD_INIT(sd, rds, excs) \
182 (rds).fd = (sd); \
186 # define FD_WR_INIT(sd, wrs) \
187 (wrs).fd = (sd); \
191 # define FD_IS_RD_EXC(sd, rds, excs) \
194 # define FD_IS_WR_RDY(sd, wrs) \
197 # define FD_IS_RD_RDY(sd, rds, excs) \
200 # define FD_WR_READY(sd, exc
[all...]
/freebsd-10.0-release/lib/libc/rpc/
H A Dbindresvport.c65 bindresvport(sd, sin)
66 int sd;
69 return bindresvport_sa(sd, (struct sockaddr *)sin);
76 bindresvport_sa(sd, sa)
77 int sd;
94 if (_getsockname(sd, sa, &salen) == -1)
131 error = _getsockopt(sd, proto, portrange, &old, &oldlen);
135 error = _setsockopt(sd, proto, portrange, &portlow,
141 error = _bind(sd, sa, salen);
147 if (_setsockopt(sd, prot
[all...]
/freebsd-10.0-release/usr.sbin/bluetooth/sdpd/
H A Dprovider.c54 provider_p sd = calloc(1, sizeof(*sd)); local
57 if (sd == NULL || bgd == NULL) {
58 if (sd != NULL)
59 free(sd);
67 sd->profile = &sd_profile_descriptor;
69 sd->fd = fd;
70 TAILQ_INSERT_HEAD(&providers, sd, provider_next);
74 sd->fd = fd;
75 TAILQ_INSERT_AFTER(&providers, sd, bg
[all...]
/freebsd-10.0-release/sys/x86/include/
H A Dsegments.h93 #define USD_GETBASE(sd) (((sd)->sd_lobase) | (sd)->sd_hibase << 24)
94 #define USD_SETBASE(sd, b) (sd)->sd_lobase = (b); \
95 (sd)->sd_hibase = ((b) >> 24);
96 #define USD_GETLIMIT(sd) (((sd)->sd_lolimit) | (sd)->sd_hilimit << 16)
97 #define USD_SETLIMIT(sd,
119 struct segment_descriptor sd; member in union:descriptor
143 struct user_segment_descriptor sd; member in union:descriptor
[all...]

Completed in 146 milliseconds

1234567