Home
last modified time | relevance | path

Searched refs:firmware_info (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atomfirmware.c32 union firmware_info { union
51 union firmware_info *firmware_info; in amdgpu_atomfirmware_query_firmware_capability() local
62 firmware_info = (union firmware_info *) in amdgpu_atomfirmware_query_firmware_capability()
64 fw_cap = le32_to_cpu(firmware_info->v31.firmware_capability); in amdgpu_atomfirmware_query_firmware_capability()
95 struct atom_firmware_info_v3_1 *firmware_info = in amdgpu_atomfirmware_scratch_regs_init() local
100 le32_to_cpu(firmware_info->bios_scratch_reg_startaddr); in amdgpu_atomfirmware_scratch_regs_init()
521 union firmware_info *firmware_info; in amdgpu_atomfirmware_ras_rom_addr() local
532 firmware_info = (union firmware_info *) in amdgpu_atomfirmware_ras_rom_addr()
549 if (firmware_info->v34.ras_rom_i2c_slave_addr) { in amdgpu_atomfirmware_ras_rom_addr()
551 *i2c_address = firmware_info->v34.ras_rom_i2c_slave_addr; in amdgpu_atomfirmware_ras_rom_addr()
[all …]
Damdgpu_atombios.c549 union firmware_info { union
572 union firmware_info *firmware_info = in amdgpu_atombios_get_clock_info() local
573 (union firmware_info *)(mode_info->atom_context->bios + in amdgpu_atombios_get_clock_info()
577 le16_to_cpu(firmware_info->info.usReferenceClock); in amdgpu_atombios_get_clock_info()
581 le32_to_cpu(firmware_info->info_12.ulMinPixelClockPLL_Output); in amdgpu_atombios_get_clock_info()
583 le32_to_cpu(firmware_info->info.ulMaxPixelClockPLL_Output); in amdgpu_atombios_get_clock_info()
586 le16_to_cpu(firmware_info->info_14.usLcdMinPixelClockPLL_Output) * 100; in amdgpu_atombios_get_clock_info()
590 le16_to_cpu(firmware_info->info_14.usLcdMaxPixelClockPLL_Output) * 100; in amdgpu_atombios_get_clock_info()
598 le16_to_cpu(firmware_info->info.usMinPixelClockPLL_Input); in amdgpu_atombios_get_clock_info()
600 le16_to_cpu(firmware_info->info.usMaxPixelClockPLL_Input); in amdgpu_atombios_get_clock_info()
[all …]
/linux-6.1.9/arch/x86/xen/
Defi.c49 .u.firmware_info = { in xen_efi_probe()
54 union xenpf_efi_info *info = &op.u.firmware_info.u.efi_info; in xen_efi_probe()
66 op.u.firmware_info.type = XEN_FW_EFI_INFO; in xen_efi_probe()
67 op.u.firmware_info.index = XEN_FW_EFI_VENDOR; in xen_efi_probe()
78 op.u.firmware_info.type = XEN_FW_EFI_INFO; in xen_efi_probe()
79 op.u.firmware_info.index = XEN_FW_EFI_VERSION; in xen_efi_probe()
85 op.u.firmware_info.type = XEN_FW_EFI_INFO; in xen_efi_probe()
86 op.u.firmware_info.index = XEN_FW_EFI_RT_VERSION; in xen_efi_probe()
Denlighten_pv.c1168 op.u.firmware_info.type = XEN_FW_DISK_INFO; in xen_boot_params_init_edd()
1172 op.u.firmware_info.index = nr; in xen_boot_params_init_edd()
1174 set_xen_guest_handle(op.u.firmware_info.u.disk_info.edd_params, in xen_boot_params_init_edd()
1180 #define C(x) info->x = op.u.firmware_info.u.disk_info.x in xen_boot_params_init_edd()
1191 op.u.firmware_info.type = XEN_FW_DISK_MBR_SIGNATURE; in xen_boot_params_init_edd()
1193 op.u.firmware_info.index = nr; in xen_boot_params_init_edd()
1197 mbr_signature[nr] = op.u.firmware_info.u.disk_mbr_signature.mbr_signature; in xen_boot_params_init_edd()
1387 .u.firmware_info.type = XEN_FW_KBD_SHIFT_FLAGS, in xen_start_kernel()
1397 boot_params.kbd_status = op.u.firmware_info.u.kbd_shift_flags; in xen_start_kernel()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/bios/
Dbios_parser.c423 ATOM_FIRMWARE_INFO_V1_4 *firmware_info = in get_firmware_info_v1_4() local
430 if (!firmware_info) in get_firmware_info_v1_4()
438 le16_to_cpu(firmware_info->usReferenceClock) * 10; in get_firmware_info_v1_4()
440 le16_to_cpu(firmware_info->usMinPixelClockPLL_Input) * 10; in get_firmware_info_v1_4()
442 le16_to_cpu(firmware_info->usMaxPixelClockPLL_Input) * 10; in get_firmware_info_v1_4()
444 le32_to_cpu(firmware_info->ulMinPixelClockPLL_Output) * 10; in get_firmware_info_v1_4()
446 le32_to_cpu(firmware_info->ulMaxPixelClockPLL_Output) * 10; in get_firmware_info_v1_4()
448 if (firmware_info->usFirmwareCapability.sbfAccess.MemoryClockSS_Support) in get_firmware_info_v1_4()
454 if (firmware_info->usFirmwareCapability.sbfAccess.EngineClockSS_Support) in get_firmware_info_v1_4()
557 ATOM_FIRMWARE_INFO_V2_2 *firmware_info; in get_firmware_info_v2_2() local
[all …]
Dbios_parser2.c1783 struct atom_firmware_info_v3_1 *firmware_info; in get_firmware_info_v3_1() local
1789 firmware_info = GET_IMAGE(struct atom_firmware_info_v3_1, in get_firmware_info_v3_1()
1795 if (!firmware_info || !dce_info) in get_firmware_info_v3_1()
1802 info->default_memory_clk = firmware_info->bootup_mclk_in10khz * 10; in get_firmware_info_v3_1()
1803 info->default_engine_clk = firmware_info->bootup_sclk_in10khz * 10; in get_firmware_info_v3_1()
1832 struct atom_firmware_info_v3_2 *firmware_info; in get_firmware_info_v3_2() local
1842 firmware_info = GET_IMAGE(struct atom_firmware_info_v3_2, in get_firmware_info_v3_2()
1848 if (!firmware_info || !dce_info) in get_firmware_info_v3_2()
1878 info->default_memory_clk = firmware_info->bootup_mclk_in10khz * 10; in get_firmware_info_v3_2()
1903 if (firmware_info->board_i2c_feature_id == 0x2) { in get_firmware_info_v3_2()
[all …]
/linux-6.1.9/drivers/gpu/drm/radeon/
Dradeon_atombios.c1086 union firmware_info { union
1125 union firmware_info *firmware_info; in radeon_atom_get_clock_info() local
1136 firmware_info = in radeon_atom_get_clock_info()
1137 (union firmware_info *)(mode_info->atom_context->bios + in radeon_atom_get_clock_info()
1141 le16_to_cpu(firmware_info->info.usReferenceClock); in radeon_atom_get_clock_info()
1146 le16_to_cpu(firmware_info->info.usMinPixelClockPLL_Output); in radeon_atom_get_clock_info()
1149 le32_to_cpu(firmware_info->info_12.ulMinPixelClockPLL_Output); in radeon_atom_get_clock_info()
1151 le32_to_cpu(firmware_info->info.ulMaxPixelClockPLL_Output); in radeon_atom_get_clock_info()
1155 le16_to_cpu(firmware_info->info_14.usLcdMinPixelClockPLL_Output) * 100; in radeon_atom_get_clock_info()
1159 le16_to_cpu(firmware_info->info_14.usLcdMaxPixelClockPLL_Output) * 100; in radeon_atom_get_clock_info()
[all …]
Dci_dpm.c5600 ATOM_FIRMWARE_INFO_V2_2 *firmware_info; in ci_get_vbios_boot_values() local
5606 firmware_info = in ci_get_vbios_boot_values()
5609 boot_state->mvdd_bootup_value = le16_to_cpu(firmware_info->usBootUpMVDDCVoltage); in ci_get_vbios_boot_values()
5610 boot_state->vddc_bootup_value = le16_to_cpu(firmware_info->usBootUpVDDCVoltage); in ci_get_vbios_boot_values()
5611 boot_state->vddci_bootup_value = le16_to_cpu(firmware_info->usBootUpVDDCIVoltage); in ci_get_vbios_boot_values()
5614 boot_state->sclk_bootup_value = le32_to_cpu(firmware_info->ulDefaultEngineClock); in ci_get_vbios_boot_values()
5615 boot_state->mclk_bootup_value = le32_to_cpu(firmware_info->ulDefaultMemoryClock); in ci_get_vbios_boot_values()
/linux-6.1.9/drivers/media/usb/dvb-usb-v2/
Daf9015.c769 u8 val, firmware_info[4]; in af9015_copy_firmware() local
770 struct req_t req = {COPY_FIRMWARE, 0, 0x5100, 0, 0, 4, firmware_info}; in af9015_copy_firmware()
774 firmware_info[0] = (state->firmware_size >> 8) & 0xff; in af9015_copy_firmware()
775 firmware_info[1] = (state->firmware_size >> 0) & 0xff; in af9015_copy_firmware()
776 firmware_info[2] = (state->firmware_checksum >> 8) & 0xff; in af9015_copy_firmware()
777 firmware_info[3] = (state->firmware_checksum >> 0) & 0xff; in af9015_copy_firmware()
/linux-6.1.9/include/xen/interface/
Dplatform.h498 struct xenpf_firmware_info firmware_info; member
/linux-6.1.9/net/bluetooth/
Dhci_debugfs.c309 DEFINE_INFO_ATTRIBUTE(firmware_info, fw_info);