Lines Matching refs:nvram
3166 ncr_Symbios_setup_target(ncb_p np, int target, Symbios_nvram *nvram) in ncr_Symbios_setup_target() argument
3169 Symbios_target *tn = &nvram->target[target]; in ncr_Symbios_setup_target()
3187 ncr_Tekram_setup_target(ncb_p np, int target, Tekram_nvram *nvram) in ncr_Tekram_setup_target() argument
3190 struct Tekram_target *tn = &nvram->target[target]; in ncr_Tekram_setup_target()
3201 tp->usrtags = 2 << nvram->max_tags_index; in ncr_Tekram_setup_target()
3213 static int __init ncr_prepare_setting(ncb_p np, ncr_nvram *nvram) argument
3360 if (nvram) {
3361 switch(nvram->type) {
3363 np->myaddr = nvram->data.Tekram.host_id & 0x0f;
3366 if (!(nvram->data.Symbios.flags & SYMBIOS_PARITY_ENABLE))
3368 np->myaddr = nvram->data.Symbios.host_id & 0x0f;
3369 if (nvram->data.Symbios.flags & SYMBIOS_VERBOSE_MSGS)
3412 if (nvram && nvram->type != SCSI_NCR_SYMBIOS_NVRAM)
3437 (nvram && nvram->type == SCSI_NCR_SYMBIOS_NVRAM)) &&
3466 if (nvram) {
3467 switch(nvram->type) {
3469 ncr_Tekram_setup_target(np, i, &nvram->data.Tekram);
3472 ncr_Symbios_setup_target(np, i, &nvram->data.Symbios);
3498 i = nvram ? nvram->type : 0;
3543 ncr_nvram *nvram = device->nvram; local
3661 if (nvram) {
3662 switch(nvram->type) {
3665 ncr_display_Symbios_nvram(&nvram->data.Symbios);
3670 ncr_display_Tekram_nvram(&nvram->data.Tekram);
3674 nvram = 0;
3685 (void)ncr_prepare_setting(np, nvram);