Lines Matching refs:params

355         struct edd_device_params *params = &info->edd_device_params;  in efi_arch_edd()  local
367 params->length = offsetof(struct edd_device_params, dpte_ptr); in efi_arch_edd()
368 params->number_of_sectors = bio->Media->LastBlock + 1; in efi_arch_edd()
369 params->bytes_per_sector = bio->Media->BlockSize; in efi_arch_edd()
370 params->dpte_ptr = ~0; in efi_arch_edd()
393 params->interface_path.pci.bus = devp.Acpi->UID; in efi_arch_edd()
407 edd_put_string(params->host_bus_type, "PCI"); in efi_arch_edd()
408 params->interface_path.pci.slot = devp.Pci->Device; in efi_arch_edd()
409 params->interface_path.pci.function = devp.Pci->Function; in efi_arch_edd()
418 edd_put_string(params->interface_type, "ATAPI"); in efi_arch_edd()
419 params->interface_path.pci.channel = in efi_arch_edd()
421 params->device_path.atapi.device = devp.Atapi->SlaveMaster; in efi_arch_edd()
422 params->device_path.atapi.lun = devp.Atapi->Lun; in efi_arch_edd()
425 edd_put_string(params->interface_type, "SCSI"); in efi_arch_edd()
426 params->device_path.scsi.id = devp.Scsi->Pun; in efi_arch_edd()
427 params->device_path.scsi.lun = devp.Scsi->Lun; in efi_arch_edd()
430 edd_put_string(params->interface_type, "FIBRE"); in efi_arch_edd()
431 params->device_path.fibre.wwid = devp.FibreChannel->WWN; in efi_arch_edd()
432 params->device_path.fibre.lun = devp.FibreChannel->Lun; in efi_arch_edd()
435 edd_put_string(params->interface_type, "1394"); in efi_arch_edd()
436 params->device_path.i1394.eui = devp.F1394->Guid; in efi_arch_edd()
440 edd_put_string(params->interface_type, "USB"); in efi_arch_edd()
443 edd_put_string(params->interface_type, "I2O"); in efi_arch_edd()
444 params->device_path.i2o.identity_tag = devp.I2O->Tid; in efi_arch_edd()
450 params->length = sizeof(struct edd_device_params); in efi_arch_edd()
451 params->key = 0xbedd; in efi_arch_edd()
452 params->device_path_info_length = in efi_arch_edd()
455 for ( p = (const u8 *)&params->key; p < &params->checksum; ++p ) in efi_arch_edd()
456 params->checksum -= *p; in efi_arch_edd()