Home
last modified time | relevance | path

Searched refs:sd (Results 1 – 25 of 748) sorted by relevance

12345678910>>...30

/freebsd/sys/dev/aic7xxx/
H A Daic7xxx_93cx6.c95 #define CLOCK_PULSE(sd, rdy) \
96 while ((SEEPROM_STATUS_INB(sd) & rdy) == 0) { \
99 (void)SEEPROM_INB(sd); /* Clear clock */
105 send_seeprom_cmd(struct seeprom_descriptor *sd, struct seeprom_cmd *cmd)
111 temp = sd->sd_MS ^ sd->sd_CS;
112 SEEPROM_OUTB(sd, temp ^ sd->sd_CK); in send_seeprom_cmd() argument
113 CLOCK_PULSE(sd, sd in send_seeprom_cmd()
102 CLOCK_PULSE(sd,rdy) global() argument
138 reset_seeprom(struct seeprom_descriptor * sd) reset_seeprom() argument
156 ahc_read_seeprom(struct seeprom_descriptor * sd,uint16_t * buf,u_int start_addr,u_int count) ahc_read_seeprom() argument
228 ahc_write_seeprom(struct seeprom_descriptor * sd,uint16_t * buf,u_int start_addr,u_int count) ahc_write_seeprom() argument
[all...]
H A Daic7xxx_93cx6.h83 #define SEEPROM_INB(sd) \ argument
84 ahc_inb(sd->sd_ahc, sd->sd_control_offset)
85 #define SEEPROM_OUTB(sd, value) \ argument
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) \ argument
92 ahc_inb(sd->sd_ahc, sd->sd_status_offset)
93 #define SEEPROM_DATA_INB(sd) \ argument
94 ahc_inb(sd->sd_ahc, sd->sd_dataout_offset)
96 int ahc_read_seeprom(struct seeprom_descriptor *sd, uint16_t *buf,
[all …]
/freebsd/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.data sd.data.out > /dev/null || exit 1
79 cmp "$srcdir/test_chain.in" sd.data.out || exit 1
[all …]
/freebsd/sys/riscv/vmm/
H A Dvmm_switch.S42 sd ra, (HYP_H_RA)(a0)
43 sd sp, (HYP_H_SP)(a0)
44 sd tp, (HYP_H_TP)(a0)
45 sd gp, (HYP_H_GP)(a0)
46 sd s0, (HYP_H_S + 0 * 8)(a0)
47 sd s1, (HYP_H_S + 1 * 8)(a0)
48 sd s2, (HYP_H_S + 2 * 8)(a0)
49 sd s3, (HYP_H_S + 3 * 8)(a0)
50 sd s4, (HYP_H_S + 4 * 8)(a0)
51 sd s5, (HYP_H_S + 5 * 8)(a0)
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_tag_mismatch_riscv64.S87 sd x31, 248(sp)
88 sd x30, 240(sp)
89 sd x29, 232(sp)
90 sd x28, 224(sp)
91 sd x27, 216(sp)
92 sd x26, 208(sp)
93 sd x25, 200(sp)
94 sd x24, 192(sp)
95 sd x23, 184(sp)
96 sd x22, 176(sp)
[all …]
H A Dhwasan_setjmp_riscv64.S47 sd ra, 0<<3(x10)
48 sd s0, 1<<3(x10)
49 sd s1, 2<<3(x10)
50 sd s2, 3<<3(x10)
51 sd s3, 4<<3(x10)
52 sd s4, 5<<3(x10)
53 sd s5, 6<<3(x10)
54 sd s6, 7<<3(x10)
55 sd s7, 8<<3(x10)
56 sd s8, 9<<3(x10)
[all …]
/freebsd/sys/geom/raid/
H A Dtr_raid1e.c135 struct g_raid_subdisk *sd);
192 struct g_raid_subdisk *sd, *bestsd, *worstsd; in g_raid_tr_update_state_raid1e_even() local
200 sd = &vol->v_subdisks[i * N + j]; in g_raid_tr_update_state_raid1e_even()
201 if (sd->sd_state > bestsd->sd_state) in g_raid_tr_update_state_raid1e_even()
202 bestsd = sd; in g_raid_tr_update_state_raid1e_even()
203 else if (sd->sd_state == bestsd->sd_state && in g_raid_tr_update_state_raid1e_even()
204 (sd->sd_state == G_RAID_SUBDISK_S_REBUILD || in g_raid_tr_update_state_raid1e_even()
205 sd->sd_state == G_RAID_SUBDISK_S_RESYNC) && in g_raid_tr_update_state_raid1e_even()
206 sd->sd_rebuild_pos > bestsd->sd_rebuild_pos) in g_raid_tr_update_state_raid1e_even()
207 bestsd = sd; in g_raid_tr_update_state_raid1e_even()
[all …]
H A Dtr_raid1.c131 struct g_raid_subdisk *sd);
149 struct g_raid_subdisk *sd) in g_raid_tr_update_state_raid1() argument
206 g_raid_tr_raid1_maybe_rebuild(vol->v_tr, sd); in g_raid_tr_update_state_raid1()
220 g_raid_tr_raid1_fail_disk(struct g_raid_softc *sc, struct g_raid_subdisk *sd, in g_raid_tr_raid1_fail_disk() argument
232 if (g_raid_nsubdisks(sd->sd_volume, G_RAID_SUBDISK_S_ACTIVE) == 1 && in g_raid_tr_raid1_fail_disk()
233 g_raid_get_subdisk(sd->sd_volume, G_RAID_SUBDISK_S_ACTIVE) == sd) in g_raid_tr_raid1_fail_disk()
235 g_raid_fail_disk(sc, sd, disk); in g_raid_tr_raid1_fail_disk()
242 struct g_raid_subdisk *sd, *good_sd; in g_raid_tr_raid1_rebuild_some() local
248 sd = trs->trso_failed_sd; in g_raid_tr_raid1_rebuild_some()
249 good_sd = g_raid_get_subdisk(sd->sd_volume, G_RAID_SUBDISK_S_ACTIVE); in g_raid_tr_raid1_rebuild_some()
[all …]
/freebsd/sys/riscv/riscv/
H A Dexception.S44 sd ra, (TF_RA)(sp)
45 sd tp, (TF_TP)(sp)
46 sd gp, (TF_GP)(sp)
59 sd t0, (TF_T + 0 * 8)(sp)
60 sd t1, (TF_T + 1 * 8)(sp)
61 sd t2, (TF_T + 2 * 8)(sp)
62 sd t3, (TF_T + 3 * 8)(sp)
63 sd t4, (TF_T + 4 * 8)(sp)
64 sd t5, (TF_T + 5 * 8)(sp)
65 sd t6, (TF_T + 6 * 8)(sp)
[all …]
H A Dswtch.S52 sd t0, (PCB_FCSR)(\p)
215 sd a0, PC_CURTHREAD(tp)
218 sd x13, PC_CURPCB(tp)
261 sd a1, PC_CURTHREAD(tp)
264 sd x13, PC_CURPCB(tp)
270 sd ra, (PCB_RA)(x13)
271 sd sp, (PCB_SP)(x13)
274 sd s0, (PCB_S + 0 * 8)(x13)
275 sd s1, (PCB_S + 1 * 8)(x13)
276 sd s2, (PCB_S + 2 * 8)(x13)
[all …]
H A Dsupport.S89 sd a4, 0(a2) /* Store the read data */
155 sd a0, 0(a1) /* Save the data in kernel space */
219 sd a1, 0(a0) /* Try storing the data */
229 sd sp, 0(a0)
233 sd s0, (0 * 8)(a0)
234 sd s1, (1 * 8)(a0)
235 sd s2, (2 * 8)(a0)
236 sd s3, (3 * 8)(a0)
237 sd s4, (4 * 8)(a0)
238 sd s5, (5 * 8)(a0)
[all …]
/freebsd/lib/libc/riscv/gen/
H A Dsetjmp.S40 sd a0, 0(sp)
41 sd ra, 8(sp)
55 sd t0, (0 * 8)(a0)
56 sd sp, (1 * 8)(a0)
60 sd s0, (0 * 8)(a0)
61 sd s1, (1 * 8)(a0)
62 sd s2, (2 * 8)(a0)
63 sd s3, (3 * 8)(a0)
64 sd s4, (4 * 8)(a0)
65 sd s5, (5 * 8)(a0)
[all …]
H A D_setjmp.S41 sd t0, (0 * 8)(a0)
42 sd sp, (1 * 8)(a0)
46 sd s0, (0 * 8)(a0)
47 sd s1, (1 * 8)(a0)
48 sd s2, (2 * 8)(a0)
49 sd s3, (3 * 8)(a0)
50 sd s4, (4 * 8)(a0)
51 sd s5, (5 * 8)(a0)
52 sd s6, (6 * 8)(a0)
53 sd s7, (7 * 8)(a0)
[all …]
/freebsd/contrib/sendmail/libmilter/
H A Dlibmilter.h124 # define ValidSocket(sd) ((sd) >= 0) argument
181 # define FD_RD_INIT(sd, rds, excs) \ argument
182 (rds).fd = (sd); \
186 # define FD_WR_INIT(sd, wrs) \ argument
187 (wrs).fd = (sd); \
191 # define FD_IS_RD_EXC(sd, rds, excs) \ argument
194 # define FD_IS_WR_RDY(sd, wrs) \ argument
197 # define FD_IS_RD_RDY(sd, rds, excs) \ argument
200 # define FD_WR_READY(sd, wrs, timeout) \ argument
203 # define FD_RD_READY(sd, rds, excs, timeout) \ argument
[all …]
/freebsd/sys/contrib/openzfs/module/lua/setjmp/
H A Dsetjmp_rv64g.S42 sd sp, (0 * 8)(a0)
46 sd s0, (0 * 8)(a0)
47 sd s1, (1 * 8)(a0)
48 sd s2, (2 * 8)(a0)
49 sd s3, (3 * 8)(a0)
50 sd s4, (4 * 8)(a0)
51 sd s5, (5 * 8)(a0)
52 sd s6, (6 * 8)(a0)
53 sd s7, (7 * 8)(a0)
54 sd s8, (8 * 8)(a0)
[all …]
/freebsd/tools/test/stress2/misc/
H A Dunix_socket_detach.sh65 int sd, flags, one;
80 sd = socket(PF_LOCAL, SOCK_STREAM, 0);
81 if (sd < 0)
84 if (setsockopt(sd, SOL_SOCKET, SO_REUSEADDR, &one,
87 if (bind(sd, (struct sockaddr *)&sun, sizeof(sun)) < 0) {
88 close(sd);
91 if (listen(sd, 10) != 0)
94 (void)close(sd);
100 sd = socket(PF_LOCAL, SOCK_STREAM, 0);
101 if (sd < 0)
[all …]
H A Dunix_socket_detach2.sh68 int one, sd;
71 sd = socket(PF_LOCAL, SOCK_STREAM, 0);
72 if (sd < 0)
75 if (setsockopt(sd, SOL_SOCKET, SO_REUSEADDR, &one,
78 if (bind(sd, (struct sockaddr *)&sun, sizeof(sun)) < 0) {
79 close(sd);
82 if (listen(sd, 10) != 0)
86 (void)close(sd);
96 int flags, sd;
99 sd = socket(PF_LOCAL, SOCK_STREAM, 0);
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_mips64.S12 sd $s0,32($sp)
13 sd $ra,24($sp)
14 sd $fp,16($sp)
15 sd $gp,8($sp)
24 sd $a0,0($sp)
64 sd $s0,32($sp)
65 sd $ra,24($sp)
66 sd $fp,16($sp)
67 sd $gp,8($sp)
76 sd $a0,0($sp)
[all …]
/freebsd/tools/tools/net80211/mlme_assoc/
H A Dmlme_assoc.c56 if_up(int sd, const char *ifnam) in if_up() argument
64 error = ioctl(sd, SIOCGIFFLAGS, &ifr); in if_up()
75 error = ioctl(sd, SIOCSIFFLAGS, &ifr); in if_up()
85 try_mlme_assoc(int sd, const char *ifnam, uint8_t *ssid, uint8_t ssid_len, uint8_t *bssid) in try_mlme_assoc() argument
106 error = ioctl(sd, SIOCS80211, &ireq); in try_mlme_assoc()
116 mlme_assoc_scan_results(int sd, const char *ifnam) in mlme_assoc_scan_results() argument
130 error = ioctl(sd, SIOCG80211, &ireq); in mlme_assoc_scan_results()
143 error = try_mlme_assoc(sd, ifnam, (void *)(sr + 1), sr->isr_ssid_len, in mlme_assoc_scan_results()
162 int error, sd; in main() local
178 sd = socket(AF_LOCAL, SOCK_DGRAM, 0); in main()
[all …]
/freebsd/tools/regression/priv/
H A Dpriv_netinet_ipsec.c49 static int sd = -1; variable
64 sd = socket(AF_INET, SOCK_DGRAM, 0); in priv_netinet_ipsec_policy_bypass_setup_af()
65 if (sd < 0) { in priv_netinet_ipsec_policy_bypass_setup_af()
72 sd = socket(AF_INET6, SOCK_DGRAM, 0); in priv_netinet_ipsec_policy_bypass_setup_af()
73 if (sd < 0) { in priv_netinet_ipsec_policy_bypass_setup_af()
119 sd = socket(AF_INET, SOCK_DGRAM, 0); in priv_netinet_ipsec_policy_entrust_setup_af()
120 if (sd < 0) { in priv_netinet_ipsec_policy_entrust_setup_af()
127 sd = socket(AF_INET6, SOCK_DGRAM, 0); in priv_netinet_ipsec_policy_entrust_setup_af()
128 if (sd < 0) { in priv_netinet_ipsec_policy_entrust_setup_af()
213 error = setsockopt(sd, level, optname, in priv_netinet_ipsec_policy_bypass_af()
[all …]
/freebsd/sys/x86/include/
H A Dsegments.h88 #define USD_GETBASE(sd) (((sd)->sd_lobase) | (sd)->sd_hibase << 24) argument
89 #define USD_SETBASE(sd, b) (sd)->sd_lobase = (b); \ argument
90 (sd)->sd_hibase = ((b) >> 24);
91 #define USD_GETLIMIT(sd) (((sd)->sd_lolimit) | (sd)->sd_hilimit << 16) argument
92 #define USD_SETLIMIT(sd, l) (sd)->sd_lolimit = (l); \ argument
93 (sd)->sd_hilimit = ((l) >> 16);
114 struct segment_descriptor sd; member
138 struct user_segment_descriptor sd; member
/freebsd/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_trampoline_mips64.S25 sd $ra, 136($sp)
27 sd $gp, 128($sp)
28 sd $a7, 120($sp)
29 sd $a6, 112($sp)
30 sd $a5, 104($sp)
31 sd $a4, 96($sp)
32 sd $a3, 88($sp)
33 sd $a2, 80($sp)
34 sd $a1, 72($sp)
35 sd $a0, 64($sp)
[all …]
/freebsd/sys/ddb/
H A Ddb_ctf.c215 db_ctf_typeid_to_type(db_ctf_sym_data_t sd, uint32_t typeid) in db_ctf_typeid_to_type() argument
217 const ctf_header_t *hp = db_ctf_fetch_cth(&sd->lc); in db_ctf_typeid_to_type()
250 db_ctf_stroff_to_str(db_ctf_sym_data_t sd, uint32_t off) in db_ctf_stroff_to_str() argument
252 const ctf_header_t *hp = db_ctf_fetch_cth(&sd->lc); in db_ctf_stroff_to_str()
271 db_ctf_sym_to_type(db_ctf_sym_data_t sd) in db_ctf_sym_to_type() argument
276 if (sd->sym == NULL) { in db_ctf_sym_to_type()
279 symtab = sd->lc.symtab; in db_ctf_sym_to_type()
280 symtab_end = symtab + sd->lc.nsym; in db_ctf_sym_to_type()
282 objtoff = sym_to_objtoff(&sd->lc, sd->sym, symtab, symtab_end); in db_ctf_sym_to_type()
290 const uint32_t *)(sd->lc.ctftab + sizeof(ctf_header_t) + objtoff); in db_ctf_sym_to_type()
[all …]
/freebsd/libexec/phttpget/
H A Dphttpget.c220 readln(int sd, char * resbuf, int * resbuflen, int * resbufpos) in readln() argument
239 len = recv(sd, resbuf + *resbuflen, BUFSIZ - *resbuflen, 0); in readln()
252 copybytes(int sd, int fd, off_t copylen, char * resbuf, int * resbuflen, in copybytes() argument
273 len = recv(sd, resbuf, BUFSIZ, 0); in copybytes()
310 int sd = -1; /* Socket descriptor */ in main() local
356 for (; sd == -1; res = res->ai_next) { in main()
362 sd = socket(res->ai_family, res->ai_socktype, in main()
364 if (sd == -1) in main()
368 setsockopt(sd, SOL_SOCKET, SO_SNDTIMEO, in main()
370 setsockopt(sd, SOL_SOCKET, SO_RCVTIMEO, in main()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/builtins/riscv/
H A Dsave.S125 sd s11, 8(sp)
137 sd s10, 16(sp)
138 sd s9, 24(sp)
150 sd s8, 32(sp)
151 sd s7, 40(sp)
163 sd s6, 48(sp)
164 sd s5, 56(sp)
176 sd s4, 64(sp)
177 sd s3, 72(sp)
189 sd s2, 80(sp)
[all …]

12345678910>>...30