Lines Matching defs:value
179 unsigned long value;
182 value = inb(regs.SCMD) << 16;
183 value |= inb(regs.SCMD) << 8;
184 value |= inb(regs.SCMD);
185 return value;
195 write_wd33c93(const wd33c93_regs regs, uchar reg_num, uchar value)
198 outb(value, regs.SCMD);
202 write_wd33c93_count(const wd33c93_regs regs, unsigned long value)
205 outb((value >> 16) & 0xff, regs.SCMD);
206 outb((value >> 8) & 0xff, regs.SCMD);
207 outb( value & 0xff, regs.SCMD);
235 unsigned long value;
239 value = *regs.SCMD << 16;
240 value |= *regs.SCMD << 8;
241 value |= *regs.SCMD;
243 return value;
253 write_wd33c93(const wd33c93_regs regs, uchar reg_num, uchar value)
257 *regs.SCMD = value;
262 write_wd33c93_count(const wd33c93_regs regs, unsigned long value)
266 *regs.SCMD = value >> 16;
267 *regs.SCMD = value >> 8;
268 *regs.SCMD = value;
323 * Calculate Synchronous Transfer Register value from SDTR code.
330 * value in 'sx_table' is two times the actually used transfer period.
354 /* 'period' is a "normal"-mode value, like the ones in 'sx_table'. The
356 * transfers is half that value.
425 * preset SCp.Status to an illegal value (0xff) so that when
609 * sync_xfer[] entry is initialized to the default/safe value. SS_UNSET