/openbmc/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | cik_event_interrupt.c | 44 if ((ihre->source_id == CIK_INTSRC_GFX_PAGE_INV_FAULT || in cik_event_interrupt_isr() 45 ihre->source_id == CIK_INTSRC_GFX_MEM_PROT_FAULT) && in cik_event_interrupt_isr() 79 return ihre->source_id == CIK_INTSRC_CP_END_OF_PIPE || in cik_event_interrupt_isr() 80 ihre->source_id == CIK_INTSRC_SDMA_TRAP || in cik_event_interrupt_isr() 81 ihre->source_id == CIK_INTSRC_SQ_INTERRUPT_MSG || in cik_event_interrupt_isr() 82 ihre->source_id == CIK_INTSRC_CP_BAD_OPCODE || in cik_event_interrupt_isr() 83 ((ihre->source_id == CIK_INTSRC_GFX_PAGE_INV_FAULT || in cik_event_interrupt_isr() 84 ihre->source_id == CIK_INTSRC_GFX_MEM_PROT_FAULT) && in cik_event_interrupt_isr() 100 if (ihre->source_id == CIK_INTSRC_CP_END_OF_PIPE) in cik_event_interrupt_wq() 102 else if (ihre->source_id == CIK_INTSRC_SDMA_TRAP) in cik_event_interrupt_wq() [all …]
|
H A D | kfd_int_process_v11.c | 192 uint16_t pasid, uint16_t source_id) in event_interrupt_poison_consumption_v11() argument 209 switch (source_id) { in event_interrupt_poison_consumption_v11() 234 uint16_t source_id, client_id, pasid, vmid; in event_interrupt_isr_v11() local 238 source_id = SOC15_SOURCE_ID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_isr_v11() 242 if (!KFD_IRQ_IS_FENCE(client_id, source_id) && in event_interrupt_isr_v11() 250 if ((source_id == SOC15_INTSRC_CP_END_OF_PIPE) && in event_interrupt_isr_v11() 255 client_id, source_id, vmid, pasid); in event_interrupt_isr_v11() 267 return source_id == SOC15_INTSRC_CP_END_OF_PIPE || in event_interrupt_isr_v11() 268 source_id == SOC15_INTSRC_SQ_INTERRUPT_MSG || in event_interrupt_isr_v11() 269 source_id == SOC15_INTSRC_CP_BAD_OPCODE || in event_interrupt_isr_v11() [all …]
|
H A D | kfd_int_process_v10.c | 188 uint16_t source_id, client_id, pasid, vmid; in event_interrupt_isr_v10() local 191 source_id = SOC15_SOURCE_ID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_isr_v10() 196 if (!KFD_IRQ_IS_FENCE(client_id, source_id) && in event_interrupt_isr_v10() 223 client_id, source_id, vmid, pasid); in event_interrupt_isr_v10() 235 return source_id == SOC15_INTSRC_CP_END_OF_PIPE || in event_interrupt_isr_v10() 236 source_id == SOC15_INTSRC_SDMA_TRAP || in event_interrupt_isr_v10() 237 source_id == SOC15_INTSRC_SQ_INTERRUPT_MSG || in event_interrupt_isr_v10() 238 source_id == SOC15_INTSRC_CP_BAD_OPCODE || in event_interrupt_isr_v10() 242 KFD_IRQ_IS_FENCE(client_id, source_id); in event_interrupt_isr_v10() 248 uint16_t source_id, client_id, pasid, vmid; in event_interrupt_wq_v10() local [all …]
|
H A D | kfd_int_process_v9.c | 218 uint16_t source_id, client_id, pasid, vmid; in event_interrupt_isr_v9() local 221 source_id = SOC15_SOURCE_ID_FROM_IH_ENTRY(ih_ring_entry); in event_interrupt_isr_v9() 226 if (!KFD_IRQ_IS_FENCE(client_id, source_id) && in event_interrupt_isr_v9() 250 !KFD_IRQ_IS_FENCE(client_id, source_id)) in event_interrupt_isr_v9() 272 client_id, source_id, vmid, pasid); in event_interrupt_isr_v9() 287 if (source_id == SOC15_INTSRC_CP_END_OF_PIPE) { in event_interrupt_isr_v9() 298 return source_id == SOC15_INTSRC_CP_END_OF_PIPE || in event_interrupt_isr_v9() 299 source_id == SOC15_INTSRC_SDMA_TRAP || in event_interrupt_isr_v9() 300 source_id == SOC15_INTSRC_SDMA_ECC || in event_interrupt_isr_v9() 301 source_id == SOC15_INTSRC_SQ_INTERRUPT_MSG || in event_interrupt_isr_v9() [all …]
|
H A D | kfd_debug.h | 43 unsigned int source_id, bool use_worker, 67 uint32_t source_id,
|
H A D | cik_int.h | 29 uint32_t source_id; member
|
/openbmc/linux/drivers/clocksource/ |
H A D | samsung_pwm_timer.c | 71 unsigned int source_id; member 293 samsung_time_stop(pwm.source_id); in samsung_clocksource_suspend() 298 samsung_timer_set_prescale(pwm.source_id, pwm.tscaler_div); in samsung_clocksource_resume() 299 samsung_timer_set_divisor(pwm.source_id, pwm.tdiv); in samsung_clocksource_resume() 301 samsung_time_setup(pwm.source_id, pwm.tcnt_max); in samsung_clocksource_resume() 302 samsung_time_start(pwm.source_id, true); in samsung_clocksource_resume() 338 samsung_timer_set_prescale(pwm.source_id, pwm.tscaler_div); in samsung_clocksource_init() 339 samsung_timer_set_divisor(pwm.source_id, pwm.tdiv); in samsung_clocksource_init() 343 samsung_time_setup(pwm.source_id, pwm.tcnt_max); in samsung_clocksource_init() 344 samsung_time_start(pwm.source_id, true); in samsung_clocksource_init() [all …]
|
/openbmc/qemu/hw/acpi/ |
H A D | ghes.c | 290 static void build_ghes_v2(GArray *table_data, int source_id, BIOSLinker *linker) in build_ghes_v2() argument 299 build_append_int_noprefix(table_data, source_id, 2); in build_ghes_v2() 320 ACPI_GHES_ERRORS_FW_CFG_FILE, source_id * sizeof(uint64_t)); in build_ghes_v2() 322 switch (source_id) { in build_ghes_v2() 349 (ACPI_GHES_ERROR_SOURCE_COUNT + source_id) * sizeof(uint64_t)); in build_ghes_v2() 391 int acpi_ghes_record_errors(uint8_t source_id, uint64_t physical_address) in acpi_ghes_record_errors() argument 399 assert(source_id < ACPI_HEST_SRC_ID_RESERVED); in acpi_ghes_record_errors() 410 if (source_id < ACPI_HEST_SRC_ID_RESERVED) { in acpi_ghes_record_errors() 411 start_addr += source_id * sizeof(uint64_t); in acpi_ghes_record_errors()
|
H A D | ghes-stub.c | 14 int acpi_ghes_record_errors(uint8_t source_id, uint64_t physical_address) in acpi_ghes_record_errors() argument
|
/openbmc/linux/sound/pci/ca0106/ |
H A D | ca0106_mixer.c | 231 unsigned int source_id; in snd_ca0106_i2c_capture_source_put() local 237 source_id = ucontrol->value.enumerated.item[0] ; in snd_ca0106_i2c_capture_source_put() 238 if (source_id >= 4) in snd_ca0106_i2c_capture_source_put() 240 change = (emu->i2c_capture_source != source_id); in snd_ca0106_i2c_capture_source_put() 242 ca0106_set_i2c_capture_source(emu, source_id, 0); in snd_ca0106_i2c_capture_source_put() 462 int source_id; in snd_ca0106_i2c_volume_get() local 464 source_id = kcontrol->private_value; in snd_ca0106_i2c_volume_get() 466 ucontrol->value.integer.value[0] = emu->i2c_capture_volume[source_id][0]; in snd_ca0106_i2c_volume_get() 467 ucontrol->value.integer.value[1] = emu->i2c_capture_volume[source_id][1]; in snd_ca0106_i2c_volume_get() 477 int source_id; in snd_ca0106_i2c_volume_put() local [all …]
|
/openbmc/linux/drivers/acpi/apei/ |
H A D | hest.c | 106 hest_hdr->type, hest_hdr->source_id); in apei_hest_parse() 113 hest_hdr->source_id); in apei_hest_parse() 171 if (hdr->source_id == hest_hdr->source_id) { in hest_parse_ghes() 173 hdr->source_id); in hest_parse_ghes() 177 ghes_dev = platform_device_alloc("GHES", hest_hdr->source_id); in hest_parse_ghes()
|
H A D | ghes.c | 290 error_block_length, generic->header.source_id); in ghes_new() 397 g->header.source_id); in __ghes_peek_estatus() 741 pfx_seq, generic->header.source_id); in __ghes_print_estatus() 944 g->header.source_id); in ghes_add_timer() 1345 generic->header.source_id); in ghes_probe() 1353 generic->header.source_id); in ghes_probe() 1360 generic->header.source_id); in ghes_probe() 1366 generic->header.source_id); in ghes_probe() 1370 generic->notify.type, generic->header.source_id); in ghes_probe() 1378 generic->error_block_length, generic->header.source_id); in ghes_probe() [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | nvm-reg.h | 280 u8 source_id; member 317 u8 source_id; member 347 u8 source_id; member 378 u8 source_id; member 401 u8 source_id; member
|
/openbmc/linux/drivers/platform/surface/ |
H A D | surface_aggregator_tabletsw.c | 513 static int ssam_pos_get_source(struct ssam_tablet_sw *sw, u32 *source_id) in ssam_pos_get_source() argument 536 *source_id = get_unaligned_le32(&sources.id[0]); in ssam_pos_get_source() 547 static int ssam_pos_get_posture_for_source(struct ssam_tablet_sw *sw, u32 source_id, u32 *posture) in ssam_pos_get_posture_for_source() argument 549 __le32 source_le = cpu_to_le32(source_id); in ssam_pos_get_posture_for_source() 564 u32 source_id; in ssam_pos_get_posture() local 568 status = ssam_pos_get_source(sw, &source_id); in ssam_pos_get_posture() 574 status = ssam_pos_get_posture_for_source(sw, source_id, &source_state); in ssam_pos_get_posture() 577 source_id, status); in ssam_pos_get_posture() 581 state->source = source_id; in ssam_pos_get_posture()
|
/openbmc/linux/sound/usb/ |
H A D | clock.c | 173 int source_id) in uac_clock_source_is_valid_quirk() argument 181 cs_desc = snd_usb_find_clock_source(chip, source_id, fmt->protocol); in uac_clock_source_is_valid_quirk() 216 snd_usb_ctrl_intf(chip) | (source_id << 8), in uac_clock_source_is_valid_quirk() 221 __func__, source_id); in uac_clock_source_is_valid_quirk() 235 int source_id) in uac_clock_source_is_valid() argument 243 cs_desc = snd_usb_find_clock_source(chip, source_id, fmt->protocol); in uac_clock_source_is_valid() 260 snd_usb_ctrl_intf(chip) | (source_id << 8), in uac_clock_source_is_valid() 266 __func__, source_id); in uac_clock_source_is_valid() 273 return uac_clock_source_is_valid_quirk(chip, fmt, source_id); in uac_clock_source_is_valid()
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | nvm.c | 413 .source_id = (u8)src_id, in iwl_mvm_update_mcc() 464 resp_cp->source_id = mcc_resp_v8->source_id; in iwl_mvm_update_mcc() 490 resp_cp->source_id = mcc_resp_v4->source_id; in iwl_mvm_update_mcc() 515 resp_cp->source_id = mcc_resp_v3->source_id; in iwl_mvm_update_mcc() 610 if (iwl_mvm_is_vif_assoc(mvm) && notif->source_id == MCC_SOURCE_WIFI) { in iwl_mvm_rx_chub_update_mcc() 621 src = notif->source_id; in iwl_mvm_rx_chub_update_mcc()
|
/openbmc/qemu/hw/i386/ |
H A D | intel_iommu.c | 356 static VTDIOTLBEntry *vtd_lookup_iotlb(IntelIOMMUState *s, uint16_t source_id, in vtd_lookup_iotlb() argument 366 key.sid = source_id; in vtd_lookup_iotlb() 379 static void vtd_update_iotlb(IntelIOMMUState *s, uint16_t source_id, in vtd_update_iotlb() argument 388 trace_vtd_iotlb_page_update(source_id, addr, slpte, domain_id); in vtd_update_iotlb() 402 key->sid = source_id; in vtd_update_iotlb() 510 static bool vtd_try_collapse_fault(IntelIOMMUState *s, uint16_t source_id) in vtd_try_collapse_fault() argument 519 ((frcd_reg & VTD_FRCD_SID_MASK) == source_id)) { in vtd_try_collapse_fault() 528 static void vtd_report_frcd_fault(IntelIOMMUState *s, uint64_t source_id, in vtd_report_frcd_fault() argument 539 if (vtd_try_collapse_fault(s, source_id)) { in vtd_report_frcd_fault() 578 static void vtd_report_dmar_fault(IntelIOMMUState *s, uint16_t source_id, in vtd_report_dmar_fault() argument [all …]
|
/openbmc/qemu/include/hw/pci/ |
H A D | pcie_aer.h | 31 uint16_t source_id; /* bdf */ member 77 uint16_t source_id; /* bdf */ member
|
/openbmc/linux/sound/pci/emu10k1/ |
H A D | emumixer.c | 1190 unsigned int source_id; in snd_audigy_i2c_capture_source_put() local 1199 source_id = ucontrol->value.enumerated.item[0]; in snd_audigy_i2c_capture_source_put() 1202 if (source_id >= 2) in snd_audigy_i2c_capture_source_put() 1204 change = (emu->i2c_capture_source != source_id); in snd_audigy_i2c_capture_source_put() 1209 if (source_id==0) in snd_audigy_i2c_capture_source_put() 1215 ngain = emu->i2c_capture_volume[source_id][0]; /* Left */ in snd_audigy_i2c_capture_source_put() 1219 ngain = emu->i2c_capture_volume[source_id][1]; /* Right */ in snd_audigy_i2c_capture_source_put() 1224 source = 1 << (source_id + 2); in snd_audigy_i2c_capture_source_put() 1226 emu->i2c_capture_source = source_id; in snd_audigy_i2c_capture_source_put() 1254 unsigned int source_id; in snd_audigy_i2c_volume_get() local [all …]
|
/openbmc/linux/drivers/pci/pcie/ |
H A D | aer_inject.c | 61 u32 source_id; member 173 target = &err->source_id; in find_pci_config_dword() 432 rperr->source_id &= 0xffff0000; in aer_inject() 433 rperr->source_id |= (einj->bus << 8) | devfn; in aer_inject() 445 rperr->source_id &= 0x0000ffff; in aer_inject() 446 rperr->source_id |= ((einj->bus << 8) | devfn) << 16; in aer_inject()
|
/openbmc/linux/drivers/iommu/intel/ |
H A D | dmar.c | 1968 u8 fault_reason, u32 pasid, u16 source_id, in dmar_fault_do_one() argument 1978 source_id >> 8, PCI_SLOT(source_id & 0xFF), in dmar_fault_do_one() 1979 PCI_FUNC(source_id & 0xFF), addr >> 48, in dmar_fault_do_one() 1988 source_id >> 8, PCI_SLOT(source_id & 0xFF), in dmar_fault_do_one() 1989 PCI_FUNC(source_id & 0xFF), addr, in dmar_fault_do_one() 1994 source_id >> 8, PCI_SLOT(source_id & 0xFF), in dmar_fault_do_one() 1995 PCI_FUNC(source_id & 0xFF), addr, in dmar_fault_do_one() 1998 dmar_fault_dump_ptes(iommu, source_id, addr, pasid); in dmar_fault_do_one() 2029 u16 source_id; in dmar_fault() local 2049 source_id = dma_frcd_source_id(data); in dmar_fault() [all …]
|
/openbmc/qemu/include/hw/i386/ |
H A D | intel_iommu.h | 211 uint64_t source_id:16; /* Source-ID */ member 213 uint64_t source_id:16; /* Source-ID */ member
|
/openbmc/u-boot/include/ |
H A D | display.h | 21 int source_id; member
|
/openbmc/linux/include/linux/ |
H A D | dmar.h | 130 void dmar_fault_dump_ptes(struct intel_iommu *iommu, u16 source_id, 133 static inline void dmar_fault_dump_ptes(struct intel_iommu *iommu, u16 source_id, in dmar_fault_dump_ptes() argument
|
/openbmc/qemu/hw/pci/ |
H A D | pcie_aer.c | 338 msg->source_id); in pcie_aer_msg_root_port() 360 PCI_ERR_SRC_UNCOR_OFFS, msg->source_id); in pcie_aer_msg_root_port() 704 inj.msg.source_id = err->source_id; in pcie_aer_inject_error() 802 VMSTATE_UINT16(source_id, PCIEAERErr),
|