• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/scsi/aic7xxx/

Lines Matching refs:ahc

48 static void	ahc_dump_target_state(struct ahc_softc *ahc,
54 static int ahc_proc_write_seeprom(struct ahc_softc *ahc,
181 ahc_dump_target_state(struct ahc_softc *ahc, struct info_str *info,
190 tinfo = ahc_fetch_transinfo(ahc, channel, our_id,
192 if ((ahc->features & AHC_TWIN) != 0)
197 starget = ahc->platform_data->starget[target_offset];
235 ahc_proc_write_seeprom(struct ahc_softc *ahc, char *buffer, int length)
245 ahc_lock(ahc, &s);
246 paused = ahc_is_paused(ahc);
248 ahc_pause(ahc);
261 sd.sd_ahc = ahc;
263 if ((ahc->chip & AHC_PCI) != 0) {
267 if (ahc->flags & AHC_LARGE_SEEPROM)
277 have_seeprom = ahc_acquire_seeprom(ahc, &sd);
280 if ((ahc->chip & AHC_VL) != 0) {
303 if (ahc->seep_config == NULL) {
304 ahc->seep_config = kmalloc(sizeof(*ahc->seep_config), GFP_ATOMIC);
305 if (ahc->seep_config == NULL) {
312 start_addr = 32 * (ahc->channel - 'A');
315 ahc_read_seeprom(&sd, (uint16_t *)ahc->seep_config,
318 if ((ahc->chip & AHC_VL) == 0)
326 ahc_unpause(ahc);
327 ahc_unlock(ahc, &s);
338 struct ahc_softc *ahc = *(struct ahc_softc **)shost->hostdata;
347 retval = ahc_proc_write_seeprom(ahc, buffer, length);
361 copy_info(&info, "%s\n", ahc->description);
362 ahc_controller_info(ahc, ahc_info);
365 ahc->scb_data->numscbs, AHC_NSEG);
368 if (ahc->seep_config == NULL)
372 for (i = 0; i < sizeof(*ahc->seep_config)/2; i++) {
377 ((uint16_t*)ahc->seep_config)[i]);
384 if ((ahc->features & (AHC_WIDE|AHC_TWIN)) == 0)
393 our_id = ahc->our_id;
395 if (i > 7 && (ahc->features & AHC_TWIN) != 0) {
397 our_id = ahc->our_id_b;
401 ahc_dump_target_state(ahc, &info, our_id,