Lines Matching +full:fast +full:- +full:speed

2  * Copyright (c) 2000-2001 Adaptec Inc.
16 * 3. Neither the names of the above-listed copyright holders nor the names
37 * String handling code courtesy of Gerard Roudier's <groudier@club-internet.fr>
60 { 0x08, 625 }, /* FAST-160 */
61 { 0x09, 1250 }, /* FAST-80 */
62 { 0x0a, 2500 }, /* FAST-40 40MHz */
63 { 0x0b, 3030 }, /* FAST-40 33MHz */
64 { 0x0c, 5000 } /* FAST-20 */
95 u_int speed; in ahd_format_transinfo() local
99 if (tinfo->period == AHD_PERIOD_UNKNOWN) { in ahd_format_transinfo()
103 speed = 3300; in ahd_format_transinfo()
105 if (tinfo->offset != 0) { in ahd_format_transinfo()
106 freq = ahd_calc_syncsrate(tinfo->period); in ahd_format_transinfo()
107 speed = freq; in ahd_format_transinfo()
109 speed *= (0x01 << tinfo->width); in ahd_format_transinfo()
110 mb = speed / 1000; in ahd_format_transinfo()
112 seq_printf(m, "%d.%03dMB/s transfers", mb, speed % 1000); in ahd_format_transinfo()
114 seq_printf(m, "%dKB/s transfers", speed); in ahd_format_transinfo()
121 if ((tinfo->ppr_options & MSG_EXT_PPR_RD_STRM) != 0) { in ahd_format_transinfo()
125 if ((tinfo->ppr_options & MSG_EXT_PPR_DT_REQ) != 0) { in ahd_format_transinfo()
129 if ((tinfo->ppr_options & MSG_EXT_PPR_IU_REQ) != 0) { in ahd_format_transinfo()
133 if ((tinfo->ppr_options & MSG_EXT_PPR_RTI) != 0) { in ahd_format_transinfo()
137 if ((tinfo->ppr_options & MSG_EXT_PPR_QAS_REQ) != 0) { in ahd_format_transinfo()
143 if (tinfo->width > 0) { in ahd_format_transinfo()
149 seq_printf(m, "%dbit)", 8 * (0x01 << tinfo->width)); in ahd_format_transinfo()
169 ahd_format_transinfo(m, &tinfo->user); in ahd_dump_target_state()
170 starget = ahd->platform_data->starget[target_id]; in ahd_dump_target_state()
175 ahd_format_transinfo(m, &tinfo->goal); in ahd_dump_target_state()
177 ahd_format_transinfo(m, &tinfo->curr); in ahd_dump_target_state()
197 sdev->sdev_target->channel + 'A', in ahd_dump_device_state()
198 sdev->sdev_target->id, (u8)sdev->lun); in ahd_dump_device_state()
200 seq_printf(m, "\t\tCommands Queued %ld\n", dev->commands_issued); in ahd_dump_device_state()
201 seq_printf(m, "\t\tCommands Active %d\n", dev->active); in ahd_dump_device_state()
202 seq_printf(m, "\t\tCommand Openings %d\n", dev->openings); in ahd_dump_device_state()
203 seq_printf(m, "\t\tMax Tagged Openings %d\n", dev->maxtags); in ahd_dump_device_state()
204 seq_printf(m, "\t\tDevice Queue Frozen Count %d\n", dev->qfrozen); in ahd_dump_device_state()
210 struct ahd_softc *ahd = *(struct ahd_softc **)shost->hostdata; in ahd_proc_write_seeprom()
218 written = -EINVAL; in ahd_proc_write_seeprom()
244 if (ahd->seep_config == NULL) { in ahd_proc_write_seeprom()
245 ahd->seep_config = kmalloc(sizeof(*ahd->seep_config), in ahd_proc_write_seeprom()
247 if (ahd->seep_config == NULL) { in ahd_proc_write_seeprom()
254 start_addr = 32 * (ahd->channel - 'A'); in ahd_proc_write_seeprom()
257 ahd_read_seeprom(ahd, (uint16_t *)ahd->seep_config, in ahd_proc_write_seeprom()
277 struct ahd_softc *ahd = *(struct ahd_softc **)shost->hostdata; in ahd_linux_show_info()
284 seq_printf(m, "%s\n", ahd->description); in ahd_linux_show_info()
288 ahd->scb_data.numscbs, AHD_NSEG); in ahd_linux_show_info()
292 if (ahd->seep_config == NULL) in ahd_linux_show_info()
296 for (i = 0; i < sizeof(*ahd->seep_config)/2; i++) { in ahd_linux_show_info()
301 ((uint16_t*)ahd->seep_config)[i]); in ahd_linux_show_info()
307 if ((ahd->features & AHD_WIDE) == 0) in ahd_linux_show_info()
312 ahd_dump_target_state(ahd, m, ahd->our_id, 'A', in ahd_linux_show_info()