Home
last modified time | relevance | path

Searched refs:have_seeprom (Results 1 – 6 of 6) sorted by relevance

/linux-3.4.99/drivers/scsi/aic7xxx/
Daic7770.c128 int have_seeprom; in aic7770_config() local
134 have_seeprom = 0; in aic7770_config()
217 have_seeprom = aha2840_load_seeprom(ahc); in aic7770_config()
223 if (have_seeprom == 0) { in aic7770_config()
279 int have_seeprom; in aha2840_load_seeprom() local
297 have_seeprom = ahc_read_seeprom(&sd, (uint16_t *)sc, in aha2840_load_seeprom()
300 if (have_seeprom) { in aha2840_load_seeprom()
305 have_seeprom = 0; in aha2840_load_seeprom()
311 if (!have_seeprom) { in aha2840_load_seeprom()
357 return (have_seeprom); in aha2840_load_seeprom()
Daic79xx_pci.c519 int have_seeprom; in ahd_check_extport() local
523 have_seeprom = ahd_acquire_seeprom(ahd); in ahd_check_extport()
524 if (have_seeprom) { in ahd_check_extport()
560 have_seeprom = 0; in ahd_check_extport()
562 have_seeprom = ahd_verify_cksum(sc); in ahd_check_extport()
565 if (have_seeprom == 0) in ahd_check_extport()
574 if (!have_seeprom) { in ahd_check_extport()
606 have_seeprom = ahd_verify_cksum(sc); in ahd_check_extport()
607 if (have_seeprom) in ahd_check_extport()
613 if (have_seeprom != 0 in ahd_check_extport()
[all …]
Daic7xxx_proc.c238 int have_seeprom; in ahc_proc_write_seeprom() local
255 have_seeprom = ahc_verify_cksum((struct seeprom_config*)buffer); in ahc_proc_write_seeprom()
256 if (have_seeprom == 0) { in ahc_proc_write_seeprom()
277 have_seeprom = ahc_acquire_seeprom(ahc, &sd); in ahc_proc_write_seeprom()
291 have_seeprom = TRUE; in ahc_proc_write_seeprom()
297 if (!have_seeprom) { in ahc_proc_write_seeprom()
Daic79xx_proc.c260 int have_seeprom; in ahd_proc_write_seeprom() local
279 have_seeprom = ahd_verify_cksum((struct seeprom_config*)buffer); in ahd_proc_write_seeprom()
280 if (have_seeprom == 0) { in ahd_proc_write_seeprom()
285 have_seeprom = ahd_acquire_seeprom(ahd); in ahd_proc_write_seeprom()
286 if (!have_seeprom) { in ahd_proc_write_seeprom()
Daic7xxx_pci.c1264 int have_seeprom; in check_extport() local
1291 have_seeprom = ahc_acquire_seeprom(ahc, &sd); in check_extport()
1292 if (have_seeprom) { in check_extport()
1302 have_seeprom = ahc_read_seeprom(&sd, (uint16_t *)sc, in check_extport()
1306 if (have_seeprom) in check_extport()
1307 have_seeprom = ahc_verify_cksum(sc); in check_extport()
1309 if (have_seeprom != 0 || sd.sd_chip == C56_66) { in check_extport()
1311 if (have_seeprom == 0) in check_extport()
1327 if (!have_seeprom) { in check_extport()
1351 have_seeprom = ahc_verify_cksum(sc); in check_extport()
[all …]
/linux-3.4.99/drivers/scsi/
Daic7xxx_old.c8498 int have_seeprom = 0; in aic7xxx_load_seeprom() local
8518 have_seeprom = read_284x_seeprom(p, (struct seeprom_config *) scarray); in aic7xxx_load_seeprom()
8522 have_seeprom = read_seeprom(p, (p->flags & (AHC_CHNLB|AHC_CHNLC)), in aic7xxx_load_seeprom()
8524 if (!have_seeprom) in aic7xxx_load_seeprom()
8527 have_seeprom = read_seeprom(p, (p->flags & (AHC_CHNLB|AHC_CHNLC)), in aic7xxx_load_seeprom()
8530 have_seeprom = read_seeprom(p, (p->flags & (AHC_CHNLB|AHC_CHNLC)), in aic7xxx_load_seeprom()
8533 if (!have_seeprom) in aic7xxx_load_seeprom()
8536 have_seeprom = read_seeprom(p, 4*(p->flags & (AHC_CHNLB|AHC_CHNLC)), in aic7xxx_load_seeprom()
8538 if (!have_seeprom) in aic7xxx_load_seeprom()
8541 have_seeprom = read_seeprom(p, 4*(p->flags & (AHC_CHNLB|AHC_CHNLC)), in aic7xxx_load_seeprom()
[all …]