/openbsd-current/sys/dev/ic/ |
H A D | 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) \ 90 if ((sd) [all...] |
H A D | smc93cx6.c | 75 #define CLOCK_PULSE(sd, rdy) do { \ 84 while ((SEEPROM_STATUS_INB(sd) & rdy) == 0 && cpi-- > 0) { \ 87 (void)SEEPROM_INB(sd); /* Clear clock */ \ 95 read_seeprom(struct seeprom_descriptor *sd, u_int16_t *buf, argument 109 temp = sd->sd_MS ^ sd->sd_CS; 110 SEEPROM_OUTB(sd, temp ^ sd->sd_CK); 111 CLOCK_PULSE(sd, sd [all...] |
/openbsd-current/gnu/llvm/compiler-rt/lib/hwasan/ |
H A D | hwasan_tag_mismatch_riscv64.S | 87 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 x2 [all...] |
H A D | hwasan_setjmp_riscv64.S | 47 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 s [all...] |
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 961031-1.c | 3 } sd; variable in typeref:struct:s 10 return sd;
|
/openbsd-current/sys/arch/riscv64/riscv64/ |
H A D | pagezero.S | 29 1: sd x0, 0(a0) 30 sd x0, 8(a0) 31 sd x0, 16(a0) 32 sd x0, 24(a0) 33 sd x0, 32(a0) 34 sd x0, 40(a0) 35 sd x0, 48(a0) 36 sd x0, 56(a0)
|
H A D | support.S | 43 sd sp, 0(a0) 47 sd s0, (0 * 8)(a0) 48 sd s1, (1 * 8)(a0) 49 sd s2, (2 * 8)(a0) 50 sd s3, (3 * 8)(a0) 51 sd s4, (4 * 8)(a0) 52 sd s5, (5 * 8)(a0) 53 sd s6, (6 * 8)(a0) 54 sd s7, (7 * 8)(a0) 55 sd s [all...] |
/openbsd-current/gnu/llvm/compiler-rt/lib/builtins/ |
H A D | floatuntisf.c | 28 int sd = N - __clzti2(a); // number of significant digits local 29 int e = sd - 1; // exponent 30 if (sd > FLT_MANT_DIG) { 38 switch (sd) { 45 a = (a >> (sd - (FLT_MANT_DIG + 2))) | 46 ((a & ((tu_int)(-1) >> ((N + FLT_MANT_DIG + 2) - sd))) != 0); 59 a <<= (FLT_MANT_DIG - sd);
|
H A D | floattidf.c | 31 int sd = N - __clzti2(a); // number of significant digits local 32 int e = sd - 1; // exponent 33 if (sd > DBL_MANT_DIG) { 41 switch (sd) { 48 a = ((tu_int)a >> (sd - (DBL_MANT_DIG + 2))) | 49 ((a & ((tu_int)(-1) >> ((N + DBL_MANT_DIG + 2) - sd))) != 0); 62 a <<= (DBL_MANT_DIG - sd);
|
H A D | floattisf.c | 30 int sd = N - __clzti2(a); // number of significant digits local 31 int e = sd - 1; // exponent 32 if (sd > FLT_MANT_DIG) { 40 switch (sd) { 47 a = ((tu_int)a >> (sd - (FLT_MANT_DIG + 2))) | 48 ((a & ((tu_int)(-1) >> ((N + FLT_MANT_DIG + 2) - sd))) != 0); 61 a <<= (FLT_MANT_DIG - sd);
|
H A D | floattitf.c | 35 int sd = N - __clzti2(a); // number of significant digits local 36 int e = sd - 1; // exponent 37 if (sd > LDBL_MANT_DIG) { 45 switch (sd) { 52 a = ((tu_int)a >> (sd - (LDBL_MANT_DIG + 2))) | 53 ((a & ((tu_int)(-1) >> ((N + LDBL_MANT_DIG + 2) - sd))) != 0); 66 a <<= (LDBL_MANT_DIG - sd);
|
H A D | floattixf.c | 32 int sd = N - __clzti2(a); // number of significant digits local 33 int e = sd - 1; // exponent 34 if (sd > LDBL_MANT_DIG) { 42 switch (sd) { 49 a = ((tu_int)a >> (sd - (LDBL_MANT_DIG + 2))) | 50 ((a & ((tu_int)(-1) >> ((N + LDBL_MANT_DIG + 2) - sd))) != 0); 63 a <<= (LDBL_MANT_DIG - sd);
|
H A D | floatuntidf.c | 29 int sd = N - __clzti2(a); // number of significant digits local 30 int e = sd - 1; // exponent 31 if (sd > DBL_MANT_DIG) { 39 switch (sd) { 46 a = (a >> (sd - (DBL_MANT_DIG + 2))) | 47 ((a & ((tu_int)(-1) >> ((N + DBL_MANT_DIG + 2) - sd))) != 0); 60 a <<= (DBL_MANT_DIG - sd);
|
H A D | floatuntitf.c | 33 int sd = N - __clzti2(a); // number of significant digits local 34 int e = sd - 1; // exponent 35 if (sd > LDBL_MANT_DIG) { 43 switch (sd) { 50 a = (a >> (sd - (LDBL_MANT_DIG + 2))) | 51 ((a & ((tu_int)(-1) >> ((N + LDBL_MANT_DIG + 2) - sd))) != 0); 64 a <<= (LDBL_MANT_DIG - sd);
|
H A D | floatuntixf.c | 30 int sd = N - __clzti2(a); // number of significant digits local 31 int e = sd - 1; // exponent 32 if (sd > LDBL_MANT_DIG) { 40 switch (sd) { 47 a = (a >> (sd - (LDBL_MANT_DIG + 2))) | 48 ((a & ((tu_int)(-1) >> ((N + LDBL_MANT_DIG + 2) - sd))) != 0); 61 a <<= (LDBL_MANT_DIG - sd);
|
H A D | floatundisf.c | 26 int sd = N - __builtin_clzll(a); // number of significant digits local 27 si_int e = sd - 1; // 8 exponent 28 if (sd > FLT_MANT_DIG) { 36 switch (sd) { 43 a = (a >> (sd - (FLT_MANT_DIG + 2))) | 44 ((a & ((du_int)(-1) >> ((N + FLT_MANT_DIG + 2) - sd))) != 0); 57 a <<= (FLT_MANT_DIG - sd);
|
H A D | floatdisf.c | 28 int sd = N - __builtin_clzll(a); // number of significant digits local 29 si_int e = sd - 1; // exponent 30 if (sd > FLT_MANT_DIG) { 38 switch (sd) { 45 a = ((du_int)a >> (sd - (FLT_MANT_DIG + 2))) | 46 ((a & ((du_int)(-1) >> ((N + FLT_MANT_DIG + 2) - sd))) != 0); 59 a <<= (FLT_MANT_DIG - sd);
|
/openbsd-current/sys/dev/wscons/ |
H A D | wsdisplay_compat_usl.c | 98 struct usl_syncdata *sd; local 104 sd = malloc(sizeof(*sd), M_DEVBUF, M_NOWAIT); 105 if (!sd) 107 sd->s_scr = scr; 108 sd->s_process = pr; 109 sd->s_pid = pr->ps_pid; 110 sd->s_flags = 0; 111 sd->s_acqsig = acqsig; 112 sd 126 usl_sync_done(struct usl_syncdata *sd) argument 141 usl_sync_check(struct usl_syncdata *sd) argument 153 struct usl_syncdata *sd; local 164 struct usl_syncdata *sd = cookie; local 188 usl_detachack(struct usl_syncdata *sd, int ack) argument 207 struct usl_syncdata *sd = arg; local 228 struct usl_syncdata *sd = cookie; local 247 usl_attachack(struct usl_syncdata *sd, int ack) argument 266 struct usl_syncdata *sd = arg; local 343 struct usl_syncdata *sd; local [all...] |
/openbsd-current/sys/dev/ |
H A D | softraid_raid1.c | 49 int sr_raid1_init(struct sr_discipline *sd); 57 sr_raid1_discipline_init(struct sr_discipline *sd) argument 60 sd->sd_type = SR_MD_RAID1; 61 strlcpy(sd->sd_name, "RAID 1", sizeof(sd->sd_name)); 62 sd->sd_capabilities = SR_CAP_SYSTEM_DISK | SR_CAP_AUTO_ASSEMBLE | 64 sd->sd_max_wu = SR_RAID1_NOWU; 67 sd->sd_assemble = sr_raid1_assemble; 68 sd->sd_create = sr_raid1_create; 69 sd 76 sr_raid1_create(struct sr_discipline *sd, struct bioc_createraid *bc, int no_chunk, int64_t coerced_size) argument 91 sr_raid1_assemble(struct sr_discipline *sd, struct bioc_createraid *bc, int no_chunk, void *data) argument 98 sr_raid1_init(struct sr_discipline *sd) argument 106 sr_raid1_set_chunk_state(struct sr_discipline *sd, int c, int new_state) argument 194 sr_raid1_set_vol_state(struct sr_discipline *sd) argument 327 struct sr_discipline *sd = wu->swu_dis; local 412 struct sr_discipline *sd = wu->swu_dis; local [all...] |
H A D | softraid_concat.c | 44 sr_concat_discipline_init(struct sr_discipline *sd) argument 47 sd->sd_type = SR_MD_CONCAT; 48 strlcpy(sd->sd_name, "CONCAT", sizeof(sd->sd_name)); 49 sd->sd_capabilities = SR_CAP_SYSTEM_DISK | SR_CAP_AUTO_ASSEMBLE | 51 sd->sd_max_wu = SR_CONCAT_NOWU; 54 sd->sd_assemble = sr_concat_assemble; 55 sd->sd_create = sr_concat_create; 56 sd->sd_scsi_rw = sr_concat_rw; 60 sr_concat_create(struct sr_discipline *sd, struc argument 81 sr_concat_assemble(struct sr_discipline *sd, struct bioc_createraid *bc, int no_chunk, void *data) argument 88 sr_concat_init(struct sr_discipline *sd) argument 98 struct sr_discipline *sd = wu->swu_dis; local [all...] |
H A D | softraid_raid1c.c | 57 void sr_raid1c_free_resources(struct sr_discipline *sd); 58 int sr_raid1c_ioctl(struct sr_discipline *sd, struct bioc_discipline *bd); 66 extern int sr_raid1_init(struct sr_discipline *sd); 93 sr_raid1c_discipline_init(struct sr_discipline *sd) argument 98 sd->sd_wu_size = sizeof(struct sr_crypto_wu); 99 sd->sd_type = SR_MD_RAID1C; 100 strlcpy(sd->sd_name, "RAID 1C", sizeof(sd->sd_name)); 101 sd->sd_capabilities = SR_CAP_SYSTEM_DISK | SR_CAP_AUTO_ASSEMBLE | 103 sd 123 sr_raid1c_create(struct sr_discipline *sd, struct bioc_createraid *bc, int no_chunk, int64_t coerced_size) argument 144 sr_raid1c_add_offline_chunks(struct sr_discipline *sd, int no_chunk) argument 174 sr_raid1c_assemble(struct sr_discipline *sd, struct bioc_createraid *bc, int no_chunk, void *data) argument 196 sr_raid1c_ioctl(struct sr_discipline *sd, struct bioc_discipline *bd) argument 203 sr_raid1c_alloc_resources(struct sr_discipline *sd) argument 210 sr_raid1c_free_resources(struct sr_discipline *sd) argument 219 struct sr_discipline *sd = wu->swu_dis; local 311 sr_raid1c_meta_opt_handler(struct sr_discipline *sd, struct sr_meta_opt_hdr *om) argument [all...] |
/openbsd-current/lib/libc/net/ |
H A D | getservent.c | 42 setservent_r(int f, struct servent_data *sd) argument 44 if (sd->fp == NULL) 45 sd->fp = fopen(_PATH_SERVICES, "re" ); 47 rewind(sd->fp); 48 sd->stayopen |= f; 53 endservent_r(struct servent_data *sd) argument 55 if (sd->fp) { 56 fclose(sd->fp); 57 sd->fp = NULL; 59 free(sd 69 getservent_r(struct servent *se, struct servent_data *sd) argument [all...] |
H A D | getservbyname.c | 37 struct servent_data *sd) 42 setservent_r(sd->stayopen, sd); 43 while ((error = getservent_r(se, sd)) == 0) { 54 if (!sd->stayopen && sd->fp != NULL) { 55 fclose(sd->fp); 56 sd->fp = NULL; 36 getservbyname_r(const char *name, const char *proto, struct servent *se, struct servent_data *sd) argument
|
H A D | getservbyport.c | 37 struct servent_data *sd) 41 setservent_r(sd->stayopen, sd); 42 while ((error = getservent_r(se, sd)) == 0) { 48 if (!sd->stayopen && sd->fp != NULL) { 49 fclose(sd->fp); 50 sd->fp = NULL; 36 getservbyport_r(int port, const char *proto, struct servent *se, struct servent_data *sd) argument
|
/openbsd-current/gnu/usr.bin/binutils/include/gdb/ |
H A D | remote-sim.h | 119 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...] |