/linux-6.12.1/drivers/gpu/drm/imagination/ |
D | pvr_fw.c | 51 const struct pvr_fw_layout_entry *layout_entries = pvr_dev->fw_dev.layout_entries; in pvr_fw_find_layout_entry() 52 u32 num_layout_entries = pvr_dev->fw_dev.header->layout_entry_num; in pvr_fw_find_layout_entry() 66 const struct pvr_fw_layout_entry *layout_entries = pvr_dev->fw_dev.layout_entries; in pvr_fw_find_private_data() 67 u32 num_layout_entries = pvr_dev->fw_dev.header->layout_entry_num; in pvr_fw_find_private_data() 94 const struct firmware *firmware = pvr_dev->fw_dev.firmware; in pvr_fw_validate() 163 pvr_dev->fw_dev.header = header; in pvr_fw_validate() 164 pvr_dev->fw_dev.layout_entries = layout_entries; in pvr_fw_validate() 172 const struct firmware *firmware = pvr_dev->fw_dev.firmware; in pvr_fw_get_device_info() 178 fw_offset = (firmware->size - SZ_4K) - pvr_dev->fw_dev.header->device_info_size; in pvr_fw_get_device_info() 196 const struct pvr_fw_layout_entry *layout_entries = pvr_dev->fw_dev.layout_entries; in layout_get_sizes() [all …]
|
D | pvr_vm_mips.c | 79 pvr_dev->fw_dev.processor_data.mips_data = mips_data; in pvr_vm_mips_init() 101 struct pvr_fw_device *fw_dev = &pvr_dev->fw_dev; in pvr_vm_mips_fini() local 102 struct pvr_fw_mips_data *mips_data = fw_dev->processor_data.mips_data; in pvr_vm_mips_fini() 113 fw_dev->processor_data.mips_data = NULL; in pvr_vm_mips_fini() 148 struct pvr_fw_device *fw_dev = &pvr_dev->fw_dev; in pvr_vm_mips_map() local 149 struct pvr_fw_mips_data *mips_data = fw_dev->processor_data.mips_data; in pvr_vm_mips_map() 165 start >= ROGUE_FW_HEAP_BASE + fw_dev->fw_heap_info.raw_size || in pvr_vm_mips_map() 167 end >= ROGUE_FW_HEAP_BASE + fw_dev->fw_heap_info.raw_size || in pvr_vm_mips_map() 172 start_pfn = (start & fw_dev->fw_heap_info.offset_mask) >> ROGUE_MIPSFW_LOG2_PAGE_SIZE_4K; in pvr_vm_mips_map() 173 end_pfn = (end & fw_dev->fw_heap_info.offset_mask) >> ROGUE_MIPSFW_LOG2_PAGE_SIZE_4K; in pvr_vm_mips_map() [all …]
|
D | pvr_power.c | 44 struct pvr_fw_device *fw_dev = &pvr_dev->fw_dev; in pvr_power_send_command() local 49 WRITE_ONCE(*fw_dev->power_sync, 0); in pvr_power_send_command() 56 return readl_poll_timeout(pvr_dev->fw_dev.power_sync, value, value != 0, 100, in pvr_power_send_command() 135 enum rogue_fwif_pow_state pow_state = READ_ONCE(pvr_dev->fw_dev.fwif_sysdata->pow_state); in pvr_power_is_idle() 145 u32 kccb_cmds_executed = pvr_dev->fw_dev.fwif_osdata->kccb_cmds_executed; in pvr_watchdog_kccb_stalled() 195 if (!pvr_dev->fw_dev.booted) in pvr_watchdog_worker() 245 if (pvr_dev->fw_dev.booted) { in pvr_power_device_suspend() 285 if (pvr_dev->fw_dev.booted) { in pvr_power_device_resume() 365 pvr_dev->fw_dev.booted = false; in pvr_power_reset() 373 pvr_dev->fw_dev.booted = true; in pvr_power_reset() [all …]
|
D | pvr_fw_mips.c | 92 struct pvr_fw_device *fw_dev = &pvr_dev->fw_dev; in pvr_mips_fw_process() local 93 struct pvr_fw_mips_data *mips_data = fw_dev->processor_data.mips_data; in pvr_mips_fw_process() 114 WARN_ON(pvr_gem_get_dma_addr(fw_dev->mem.code_obj->gem, boot_code_entry->alloc_offset, in pvr_mips_fw_process() 116 WARN_ON(pvr_gem_get_dma_addr(fw_dev->mem.data_obj->gem, boot_data_entry->alloc_offset, in pvr_mips_fw_process() 118 WARN_ON(pvr_gem_get_dma_addr(fw_dev->mem.code_obj->gem, in pvr_mips_fw_process() 129 WARN_ON(pvr_fw_object_get_dma_addr(fw_dev->mem.data_obj, stack_entry->alloc_offset, in pvr_mips_fw_process() 155 struct pvr_fw_mips_data *mips_data = pvr_dev->fw_dev.processor_data.mips_data; in pvr_mips_wrapper_init() 226 return ((fw_obj->fw_addr_offset + offset) & pvr_dev->fw_dev.fw_heap_info.offset_mask) | in pvr_mips_get_fw_addr_with_offset()
|
D | pvr_fw_meta.c | 263 const u32 fw_size = pvr_dev->fw_dev.firmware->size; in process_ldr_command_stream() 362 struct pvr_fw_device *fw_dev = &pvr_dev->fw_dev; in get_fw_obj_gpu_addr() local 364 return fw_obj->fw_addr_offset + fw_dev->fw_heap_info.gpu_addr; in get_fw_obj_gpu_addr() 370 const struct pvr_fw_layout_entry *layout_entries = pvr_dev->fw_dev.layout_entries; in configure_seg_mmu() 371 u32 num_layout_entries = pvr_dev->fw_dev.header->layout_entry_num; in configure_seg_mmu() 387 u64 seg_out_addr = get_fw_obj_gpu_addr(pvr_dev->fw_dev.mem.data_obj); in configure_seg_mmu() 460 struct pvr_fw_device *fw_dev = &pvr_dev->fw_dev; in pvr_meta_fw_process() local 483 if (fw_dev->mem.core_code_obj) { in pvr_meta_fw_process() 486 pvr_fw_object_get_fw_addr(fw_dev->mem.core_code_obj, &core_code_fw_addr); in pvr_meta_fw_process()
|
D | pvr_device.c | 161 if (pvr_dev->fw_dev.booted) { in pvr_device_irq_thread_handler() 265 release_firmware(pvr_dev->fw_dev.firmware); in pvr_release_firmware() 306 pvr_dev->fw_dev.firmware = fw; in pvr_request_firmware() 423 pvr_dev->fw_dev.processor_type = PVR_FW_PROCESSOR_TYPE_META; in pvr_device_gpu_init() 425 pvr_dev->fw_dev.processor_type = PVR_FW_PROCESSOR_TYPE_MIPS; in pvr_device_gpu_init() 427 pvr_dev->fw_dev.processor_type = PVR_FW_PROCESSOR_TYPE_RISCV; in pvr_device_gpu_init() 437 if (pvr_dev->fw_dev.processor_type != PVR_FW_PROCESSOR_TYPE_MIPS) { in pvr_device_gpu_init() 450 if (pvr_dev->fw_dev.processor_type != PVR_FW_PROCESSOR_TYPE_MIPS) { in pvr_device_gpu_init() 467 if (pvr_dev->fw_dev.processor_type != PVR_FW_PROCESSOR_TYPE_MIPS) { in pvr_device_gpu_fini()
|
D | pvr_fw.h | 404 pvr_cr_read32((pvr_dev), (pvr_dev)->fw_dev.defs->irq.name ## _reg) 407 pvr_cr_write32((pvr_dev), (pvr_dev)->fw_dev.defs->irq.name ## _reg, value) 410 (pvr_fw_irq_read_reg(pvr_dev, status) & (pvr_dev)->fw_dev.defs->irq.event_mask) 413 pvr_fw_irq_write_reg(pvr_dev, clear, (pvr_dev)->fw_dev.defs->irq.clear_mask) 416 pvr_fw_irq_write_reg(pvr_dev, enable, (pvr_dev)->fw_dev.defs->irq.event_mask)
|
D | pvr_fw_startstop.c | 151 pvr_dev->fw_dev.defs->wrapper_init(pvr_dev); in pvr_fw_start() 156 if (pvr_dev->fw_dev.processor_type != PVR_FW_PROCESSOR_TYPE_MIPS) { in pvr_fw_start() 276 if (pvr_dev->fw_dev.processor_type == PVR_FW_PROCESSOR_TYPE_META) { in pvr_fw_stop()
|
D | pvr_fw_trace.c | 49 struct pvr_fw_trace *fw_trace = &pvr_dev->fw_dev.fw_trace; in pvr_fw_trace_init() 114 struct pvr_fw_trace *fw_trace = &pvr_dev->fw_dev.fw_trace; in pvr_fw_trace_fini() 140 struct pvr_fw_trace *fw_trace = &pvr_dev->fw_dev.fw_trace; in update_logtype() 457 struct pvr_fw_trace *fw_trace = &pvr_dev->fw_dev.fw_trace; in pvr_fw_trace_debugfs_init()
|
D | pvr_rogue_mips.h | 28 #define ROGUE_MIPSFW_LOG2_PAGETABLE_SIZE_4K(pvr_dev) ((pvr_dev)->fw_dev.fw_heap_info.log2_size - \ 31 #define ROGUE_MIPSFW_LOG2_PAGETABLE_SIZE_64K(pvr_dev) ((pvr_dev)->fw_dev.fw_heap_info.log2_size - \
|
D | pvr_device.h | 151 struct pvr_fw_device fw_dev; member
|
D | pvr_mmu.c | 136 if (!pvr_dev->fw_dev.booted) in pvr_mmu_flush_exec() 147 pvr_fw_object_get_fw_addr(pvr_dev->fw_dev.mem.mmucache_sync_obj, in pvr_mmu_flush_exec()
|
/linux-6.12.1/drivers/base/firmware_loader/ |
D | sysfs_upload.c | 165 struct device *fw_dev; in fw_upload_main() local 171 fw_dev = &fw_sysfs->dev; in fw_upload_main() 186 dev_warn(fw_dev, "write-op wrote zero data\n"); in fw_upload_main() 207 put_device(fw_dev->parent); in fw_upload_main() 229 struct device *fw_dev = &fw_sysfs->dev; in fw_upload_start() local 250 get_device(fw_dev->parent); /* released in fw_upload_main */ in fw_upload_start() 301 struct device *fw_dev; in firmware_upload_register() local 345 fw_dev = &fw_sysfs->dev; in firmware_upload_register() 357 ret = device_add(fw_dev); in firmware_upload_register() 359 dev_err(fw_dev, "%s: device_register failed\n", __func__); in firmware_upload_register() [all …]
|
/linux-6.12.1/sound/firewire/tascam/ |
D | tascam.c | 46 struct fw_device *fw_dev = fw_parent_device(tscm->unit); in identify_model() local 47 const u32 *config_rom = fw_dev->config_rom; in identify_model() 52 if (fw_dev->config_rom_length < 30) { in identify_model() 81 fw_dev->config_rom[3], fw_dev->config_rom[4], in identify_model() 82 dev_name(&tscm->unit->device), 100 << fw_dev->max_speed); in identify_model()
|
/linux-6.12.1/sound/firewire/oxfw/ |
D | oxfw.c | 67 struct fw_device *fw_dev = fw_parent_device(oxfw->unit); in name_card() local 76 err = fw_csr_string(fw_dev->config_rom + 5, CSR_VENDOR, in name_card() 115 fw_dev->config_rom[3], fw_dev->config_rom[4], in name_card() 116 dev_name(&oxfw->unit->device), 100 << fw_dev->max_speed); in name_card() 134 struct fw_device *fw_dev = fw_parent_device(oxfw->unit); in detect_quirks() local 181 fw_csr_iterator_init(&it, fw_dev->config_rom + 5); in detect_quirks()
|
D | oxfw-scs1x.c | 35 struct fw_device *fw_dev; member 268 generation = scs->fw_dev->generation; in scs_output_work() 270 fw_send_request(scs->fw_dev->card, &scs->transaction, in scs_output_work() 271 TCODE_WRITE_BLOCK_REQUEST, scs->fw_dev->node_id, in scs_output_work() 272 generation, scs->fw_dev->max_speed, HSS1394_ADDRESS, in scs_output_work() 378 scs->fw_dev = fw_parent_device(oxfw->unit); in snd_oxfw_scs1x_add()
|
/linux-6.12.1/sound/firewire/digi00x/ |
D | digi00x.c | 21 struct fw_device *fw_dev = fw_parent_device(dg00x->unit); in name_card() local 38 fw_dev->config_rom[3], fw_dev->config_rom[4], in name_card() 39 dev_name(&dg00x->unit->device), 100 << fw_dev->max_speed); in name_card()
|
/linux-6.12.1/sound/firewire/fireface/ |
D | ff-transaction.c | 59 struct fw_device *fw_dev = fw_parent_device(ff->unit); in transmit_midi_msg() local 106 generation = fw_dev->generation; in transmit_midi_msg() 108 fw_send_request(fw_dev->card, &ff->transactions[port], tcode, in transmit_midi_msg() 109 fw_dev->node_id, generation, fw_dev->max_speed, in transmit_midi_msg()
|
D | ff.c | 18 struct fw_device *fw_dev = fw_parent_device(ff->unit); in name_card() local 35 fw_dev->config_rom[3], fw_dev->config_rom[4], in name_card() 36 dev_name(&ff->unit->device), 100 << fw_dev->max_speed); in name_card()
|
/linux-6.12.1/sound/firewire/motu/ |
D | motu.c | 30 struct fw_device *fw_dev = fw_parent_device(motu->unit); in name_card() local 50 fw_dev->config_rom[3], fw_dev->config_rom[4], in name_card() 51 dev_name(&motu->unit->device), 100 << fw_dev->max_speed); in name_card()
|
/linux-6.12.1/sound/firewire/ |
D | isight.c | 616 struct fw_device *fw_dev = fw_parent_device(unit); in isight_probe() local 630 isight->device = fw_dev; in isight_probe() 645 fw_dev->config_rom[3], fw_dev->config_rom[4], in isight_probe() 646 dev_name(&unit->device), 100 << fw_dev->max_speed); in isight_probe()
|
/linux-6.12.1/sound/firewire/bebob/ |
D | bebob.c | 70 struct fw_device *fw_dev = fw_parent_device(bebob->unit); in name_device() local 79 err = fw_csr_string(fw_dev->config_rom + 5, CSR_VENDOR, in name_device() 115 100 << fw_dev->max_speed); in name_device()
|
/linux-6.12.1/sound/firewire/fireworks/ |
D | fireworks.c | 74 struct fw_device *fw_dev = fw_parent_device(efw->unit); in get_hardware_info() local 100 dev_name(&efw->unit->device), 100 << fw_dev->max_speed); in get_hardware_info()
|