Home
last modified time | relevance | path

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

123

/linux-2.4.37.9/drivers/scsi/aic7xxx/
Daic7xxx_93cx6.c96 #define CLOCK_PULSE(sd, rdy) \ argument
97 while ((SEEPROM_STATUS_INB(sd) & rdy) == 0) { \
100 (void)SEEPROM_INB(sd); /* Clear clock */
106 send_seeprom_cmd(struct seeprom_descriptor *sd, struct seeprom_cmd *cmd) in send_seeprom_cmd() argument
112 temp = sd->sd_MS ^ sd->sd_CS; in send_seeprom_cmd()
113 SEEPROM_OUTB(sd, temp ^ sd->sd_CK); in send_seeprom_cmd()
114 CLOCK_PULSE(sd, sd->sd_RDY); in send_seeprom_cmd()
118 temp ^= sd->sd_DO; in send_seeprom_cmd()
119 SEEPROM_OUTB(sd, temp); in send_seeprom_cmd()
120 CLOCK_PULSE(sd, sd->sd_RDY); in send_seeprom_cmd()
[all …]
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 …]
Daic7xxx_proc.c193 struct seeprom_descriptor sd; in ahc_proc_write_seeprom() local
217 sd.sd_ahc = ahc; in ahc_proc_write_seeprom()
220 sd.sd_control_offset = SEECTL; in ahc_proc_write_seeprom()
221 sd.sd_status_offset = SEECTL; in ahc_proc_write_seeprom()
222 sd.sd_dataout_offset = SEECTL; in ahc_proc_write_seeprom()
224 sd.sd_chip = C56_66; in ahc_proc_write_seeprom()
226 sd.sd_chip = C46; in ahc_proc_write_seeprom()
227 sd.sd_MS = SEEMS; in ahc_proc_write_seeprom()
228 sd.sd_RDY = SEERDY; in ahc_proc_write_seeprom()
229 sd.sd_CS = SEECS; in ahc_proc_write_seeprom()
[all …]
Daic7770.c301 struct seeprom_descriptor sd; in aha2840_load_seeprom() local
306 sd.sd_ahc = ahc; in aha2840_load_seeprom()
307 sd.sd_control_offset = SEECTL_2840; in aha2840_load_seeprom()
308 sd.sd_status_offset = STATUS_2840; in aha2840_load_seeprom()
309 sd.sd_dataout_offset = STATUS_2840; in aha2840_load_seeprom()
310 sd.sd_chip = C46; in aha2840_load_seeprom()
311 sd.sd_MS = 0; in aha2840_load_seeprom()
312 sd.sd_RDY = EEPROM_TF; in aha2840_load_seeprom()
313 sd.sd_CS = CS_2840; in aha2840_load_seeprom()
314 sd.sd_CK = CK_2840; in aha2840_load_seeprom()
[all …]
Daic7xxx_pci.c682 struct seeprom_descriptor *sd,
1334 struct seeprom_descriptor sd; in check_extport() local
1339 sd.sd_ahc = ahc; in check_extport()
1340 sd.sd_control_offset = SEECTL; in check_extport()
1341 sd.sd_status_offset = SEECTL; in check_extport()
1342 sd.sd_dataout_offset = SEECTL; in check_extport()
1352 sd.sd_chip = C56_66; in check_extport()
1354 sd.sd_chip = C46; in check_extport()
1356 sd.sd_MS = SEEMS; in check_extport()
1357 sd.sd_RDY = SEERDY; in check_extport()
[all …]
/linux-2.4.37.9/arch/arm/mach-sa1100/
Dcpu-sa1110.c109 sdram_calculate_timing(struct sdram_info *sd, u_int cpu_khz, in sdram_calculate_timing() argument
128 sd->mdcnfg = MDCNFG & 0x007f007f; in sdram_calculate_timing()
137 sd->mdcnfg |= trp << 8; in sdram_calculate_timing()
138 sd->mdcnfg |= trp << 24; in sdram_calculate_timing()
139 sd->mdcnfg |= sdram->cas_latency << 12; in sdram_calculate_timing()
140 sd->mdcnfg |= sdram->cas_latency << 28; in sdram_calculate_timing()
141 sd->mdcnfg |= twr << 14; in sdram_calculate_timing()
142 sd->mdcnfg |= twr << 30; in sdram_calculate_timing()
144 sd->mdrefr = MDREFR & 0xffbffff0; in sdram_calculate_timing()
145 sd->mdrefr |= 7; in sdram_calculate_timing()
[all …]
/linux-2.4.37.9/include/asm-mips64/
Dstackframe.h26 sd $1, PT_R1(sp)
32 sd v1, PT_HI(sp)
34 sd $10, PT_R10(sp)
35 sd $11, PT_R11(sp)
36 sd v1, PT_LO(sp)
37 sd $12, PT_R12(sp)
38 sd $13, PT_R13(sp)
39 sd $14, PT_R14(sp)
40 sd $15, PT_R15(sp)
41 sd $24, PT_R24(sp)
[all …]
Dasmmacro.h180 sd s0, THREAD_REG16(\thread)
181 sd s1, THREAD_REG17(\thread)
182 sd s2, THREAD_REG18(\thread)
183 sd s3, THREAD_REG19(\thread)
184 sd s4, THREAD_REG20(\thread)
185 sd s5, THREAD_REG21(\thread)
186 sd s6, THREAD_REG22(\thread)
187 sd s7, THREAD_REG23(\thread)
188 sd sp, THREAD_REG29(\thread)
189 sd fp, THREAD_REG30(\thread)
Dexception.h38 sd t0, PT_BVADDR(sp)
58 sd t0,exception_count_\exception
/linux-2.4.37.9/arch/mips64/kernel/
Dgdb-low.S52 sd k0,GDB_FR_REG29(sp)
53 sd v0,GDB_FR_REG2(sp)
60 sd v0,GDB_FR_STATUS(sp)
62 sd v0,GDB_FR_CAUSE(sp)
64 sd v0,GDB_FR_EPC(sp)
66 sd v0,GDB_FR_BADVADDR(sp)
68 sd v0,GDB_FR_HI(sp)
70 sd v0,GDB_FR_LO(sp)
76 sd zero,GDB_FR_REG0(sp) /* I know... */
77 sd $1,GDB_FR_REG1(sp)
[all …]
Dscall_o32.S36 sd t1, PT_EPC(sp)
56 sd a3, PT_R26(sp) # save a3 for syscall restarting
68 sd t0, PT_R7(sp) # set error flag
72 sd v0, PT_R0(sp) # flag for syscall restarting
73 1: sd v0, PT_R2(sp) # result
116 sd a4, PT_R8(sp)
117 sd a5, PT_R9(sp)
118 sd a6, PT_R10(sp)
119 sd a7, PT_R11(sp)
121 sd t2,PT_R1(sp)
[all …]
Dscall_64.S40 sd t1, PT_EPC(sp)
47 sd a3, PT_R26(sp) # save a3 for syscall restarting
57 sd t0, PT_R7(sp) # set error flag
61 sd v0, PT_R0(sp) # set flag for syscall restarting
62 1: sd v0, PT_R2(sp) # result
105 sd t2,PT_R1(sp)
117 sd t0, PT_R7(sp) # set error flag
121 sd v0, PT_R0(sp) # set flag for syscall restarting
122 1: sd v0, PT_R2(sp) # result
130 sd v0, PT_R2(sp)
[all …]
Dscall_n32.S45 sd t1, PT_EPC(sp)
52 sd a3, PT_R26(sp) # save a3 for syscall restarting
62 sd t0, PT_R7(sp) # set error flag
66 sd v0, PT_R0(sp) # set flag for syscall restarting
67 1: sd v0, PT_R2(sp) # result
109 sd t2,PT_R1(sp)
121 sd t0, PT_R7(sp) # set error flag
125 sd v0, PT_R0(sp) # set flag for syscall restarting
126 1: sd v0, PT_R2(sp) # result
Dr4k_switch.S46 sd t1, THREAD_STATUS(a0)
48 sd ra, THREAD_REG31(a0)
63 sd t0, TASK_FLAGS(a0)
71 sd t0, ST_OFF(a0)
/linux-2.4.37.9/fs/befs/
Dattribute.c18 #define SD_DATA(sd)\ argument
19 (void*)((char*)sd + sizeof(*sd) + (sd->name_size - sizeof(sd->name)))
21 #define SD_NEXT(sd)\ argument
22 (befs_small_data*)((char*)sd + sizeof(*sd) + (sd->name_size - \
23 sizeof(sd->name) + sd->data_size))
/linux-2.4.37.9/arch/mips64/lib/
Dmemset.S22 EX(sd, val, (offset + 0x00)(dst), fixup); \
23 EX(sd, val, (offset + 0x08)(dst), fixup); \
24 EX(sd, val, (offset + 0x10)(dst), fixup); \
25 EX(sd, val, (offset + 0x18)(dst), fixup); \
26 EX(sd, val, (offset + 0x20)(dst), fixup); \
27 EX(sd, val, (offset + 0x28)(dst), fixup); \
28 EX(sd, val, (offset + 0x30)(dst), fixup); \
29 EX(sd, val, (offset + 0x38)(dst), fixup)
/linux-2.4.37.9/include/asm-ia64/
Dia32.h463 #define IA32_SEG_UNSCRAMBLE(sd) \ argument
464 ( (((sd) >> IA32_SEG_BASE) & 0xffffff) | ((((sd) >> IA32_SEG_HIGH_BASE) & 0xff) << 24) \
465 | ((((sd) & 0xffff) | ((((sd) >> IA32_SEG_HIGH_LIMIT) & 0xf) << 16)) << SEG_LIM) \
466 | ((((sd) >> IA32_SEG_TYPE) & 0xf) << SEG_TYPE) \
467 | ((((sd) >> IA32_SEG_SYS) & 0x1) << SEG_SYS) \
468 | ((((sd) >> IA32_SEG_DPL) & 0x3) << SEG_DPL) \
469 | ((((sd) >> IA32_SEG_P) & 0x1) << SEG_P) \
470 | ((((sd) >> IA32_SEG_AVL) & 0x1) << SEG_AVL) \
471 | ((((sd) >> IA32_SEG_DB) & 0x1) << SEG_DB) \
472 | ((((sd) >> IA32_SEG_G) & 0x1) << SEG_G))
/linux-2.4.37.9/drivers/block/
Dcciss_scsi.c353 struct cciss_scsi_dev_t *sd; in cciss_scsi_add_entry() local
360 sd = &ccissscsi[ctlr].dev[n]; in cciss_scsi_add_entry()
361 if (find_bus_target_lun(ctlr, &sd->bus, &sd->target, &sd->lun) != 0) in cciss_scsi_add_entry()
363 memcpy(&sd->scsi3addr[0], scsi3addr, 8); in cciss_scsi_add_entry()
364 sd->devtype = devtype; in cciss_scsi_add_entry()
372 ctlr, DEVICETYPE(sd->devtype), hostno, in cciss_scsi_add_entry()
373 sd->bus, sd->target, sd->lun); in cciss_scsi_add_entry()
382 struct cciss_scsi_dev_t sd; in cciss_scsi_remove_entry() local
385 sd = ccissscsi[ctlr].dev[entry]; in cciss_scsi_remove_entry()
390 ctlr, DEVICETYPE(sd.devtype), hostno, in cciss_scsi_remove_entry()
[all …]
Dacsi.c181 #define ATARI_CAPACITY(sd) \ argument
182 (((int)((sd).cylinders_h<<8)|(sd).cylinders_l) * \
183 (sd).heads * (sd).sectors)
200 #define SCSI_CAPACITY(sd) ((sd).block_count & 0xffffff) argument
212 #define SENSE_TYPE(sd) \ argument
213 (((sd).atari.dummy[0] == 8 && \
214 ((sd).atari.format_code == 1 || \
215 (sd).atari.format_code == 2)) ? SENSE_TYPE_ATARI : \
216 ((sd).scsi.dummy1 >= 11) ? SENSE_TYPE_SCSI : \
219 #define CAPACITY(sd) \ argument
[all …]
/linux-2.4.37.9/fs/reiserfs/
Ditem_ops.c49 struct stat_data_v1 * sd = (struct stat_data_v1 *)item; in sd_print_item() local
51 printk ("\t0%-6o | %6u | %2u | %d | %s\n", sd_v1_mode(sd), in sd_print_item()
52 sd_v1_size(sd), sd_v1_nlink(sd), sd_v1_first_direct_byte(sd), in sd_print_item()
53 print_time( sd_v1_mtime(sd) ) ); in sd_print_item()
55 struct stat_data * sd = (struct stat_data *)item; in sd_print_item() local
57 printk ("\t0%-6o | %6Lu | %2u | %d | %s\n", sd_v2_mode(sd), in sd_print_item()
58 (unsigned long long)sd_v2_size(sd), sd_v2_nlink(sd), in sd_print_item()
59 sd_v2_rdev(sd), print_time(sd_v2_mtime(sd))); in sd_print_item()
Dinode.c945 struct stat_data_v1 * sd = (struct stat_data_v1 *)B_I_PITEM (bh, ih); in init_inode() local
950 inode->i_mode = sd_v1_mode(sd); in init_inode()
951 inode->i_nlink = sd_v1_nlink(sd); in init_inode()
952 inode->i_uid = sd_v1_uid(sd); in init_inode()
953 inode->i_gid = sd_v1_gid(sd); in init_inode()
954 inode->i_size = sd_v1_size(sd); in init_inode()
955 inode->i_atime = sd_v1_atime(sd); in init_inode()
956 inode->i_mtime = sd_v1_mtime(sd); in init_inode()
957 inode->i_ctime = sd_v1_ctime(sd); in init_inode()
959 inode->i_blocks = sd_v1_blocks(sd); in init_inode()
[all …]
/linux-2.4.37.9/crypto/
Dtwofish.c492 ctx->s[3][i] = mds[3][q1[(b) ^ sd] ^ sh]
500 ctx->s[3][i] = mds[3][q1[q1[(a) ^ sd] ^ sh] ^ sl];
508 ctx->s[3][i] = mds[3][q1[q1[q0[(b) ^ sd] ^ sh] ^ sl] ^ sp];
658 u8 sa = 0, sb = 0, sc = 0, sd = 0, se = 0, sf = 0, sg = 0, sh = 0; in twofish_setkey() local
675 CALC_S (sa, sb, sc, sd, 0, 0x00, 0x2D, 0x01, 0x2D); /* 01 A4 02 A4 */ in twofish_setkey()
676 CALC_S (sa, sb, sc, sd, 1, 0x2D, 0xA4, 0x44, 0x8A); /* A4 56 A1 55 */ in twofish_setkey()
677 CALC_S (sa, sb, sc, sd, 2, 0x8A, 0xD5, 0xBF, 0xD1); /* 55 82 FC 87 */ in twofish_setkey()
678 CALC_S (sa, sb, sc, sd, 3, 0xD1, 0x7F, 0x3D, 0x99); /* 87 F3 C1 5A */ in twofish_setkey()
679 CALC_S (sa, sb, sc, sd, 4, 0x99, 0x46, 0x66, 0x96); /* 5A 1E 47 58 */ in twofish_setkey()
680 CALC_S (sa, sb, sc, sd, 5, 0x96, 0x3C, 0x5B, 0xED); /* 58 C6 AE DB */ in twofish_setkey()
[all …]
/linux-2.4.37.9/fs/xfs/
Dxfs_dir2_trace.h65 struct xfs_dabuf *bd, int sd, int c);
78 #define xfs_dir2_trace_args_bibii(where, args, bs, ss, bd, sd, c) argument
/linux-2.4.37.9/arch/mips64/mm/
Dtlb-glue-sb1.S34 sd a2, PT_BVADDR(sp)
52 sd a2, PT_BVADDR(sp)
/linux-2.4.37.9/arch/mips/mm/
Dcex-sb1.S66 sd k0,0x170($0)
67 sd k1,0x178($0)

123