Lines Matching refs:buff
515 static char buff[256]; in get_pio_board_data() local
519 memset(buff, 0, sizeof(buff)); in get_pio_board_data()
556 insw(base + HA_RDATA, &buff, 127); in get_pio_board_data()
559 return buff; in get_pio_board_data()
659 char *buff; in register_pio_HBA() local
673 …if ((buff = get_pio_board_data(base, gc->IRQ, gc->scsi_id[3], cplen = (cpu_to_be32(gc->cplen) + 1)… in register_pio_HBA()
711 strlcpy(SD(sh)->vendor, &buff[8], sizeof(SD(sh)->vendor)); in register_pio_HBA()
712 strlcpy(SD(sh)->name, &buff[16], sizeof(SD(sh)->name)); in register_pio_HBA()
713 SD(sh)->revision[0] = buff[32]; in register_pio_HBA()
714 SD(sh)->revision[1] = buff[33]; in register_pio_HBA()
715 SD(sh)->revision[2] = buff[34]; in register_pio_HBA()
717 SD(sh)->revision[4] = buff[35]; in register_pio_HBA()
744 if (buff[21] == '4') in register_pio_HBA()
746 else if (buff[21] == '2') in register_pio_HBA()