Home
last modified time | relevance | path

Searched refs:src_id (Results 1 – 25 of 130) sorted by relevance

123456

/openbmc/linux/drivers/firmware/arm_scmi/
H A Dnotify.c466 u32 src_id, key; in scmi_process_event_payload() local
492 r_evt->report, &src_id); in scmi_process_event_payload()
505 key = MAKE_HASH_KEY(pd->id, pd->eh->evt_id, src_id); in scmi_process_event_payload()
1148 u32 src_id, bool enable) in __scmi_enable_evt() argument
1154 if (src_id == SRC_ID_MASK) { in __scmi_enable_evt()
1155 src_id = 0; in __scmi_enable_evt()
1157 } else if (src_id < r_evt->num_sources) { in __scmi_enable_evt()
1165 for (; num_sources; src_id++, num_sources--) { in __scmi_enable_evt()
1168 sid = &r_evt->sources[src_id]; in __scmi_enable_evt()
1171 src_id); in __scmi_enable_evt()
[all …]
H A Dpower.c232 u8 evt_id, u32 src_id, bool enable) in scmi_power_set_notify_enabled() argument
236 ret = scmi_power_request_notify(ph, src_id, enable); in scmi_power_set_notify_enabled()
239 evt_id, src_id, ret); in scmi_power_set_notify_enabled()
248 void *report, u32 *src_id) in scmi_power_fill_custom_report() argument
260 *src_id = r->domain_id; in scmi_power_fill_custom_report()
H A Dnotify.h55 u8 evt_id, u32 src_id, bool enabled);
59 void *report, u32 *src_id);
H A Dsystem.c60 u8 evt_id, u32 src_id, bool enable) in scmi_system_set_notify_enabled() argument
75 void *report, u32 *src_id) in scmi_system_fill_custom_report() argument
98 *src_id = 0; in scmi_system_fill_custom_report()
H A Dreset.c248 u8 evt_id, u32 src_id, bool enable) in scmi_reset_set_notify_enabled() argument
252 ret = scmi_reset_notify(ph, src_id, enable); in scmi_reset_set_notify_enabled()
255 evt_id, src_id, ret); in scmi_reset_set_notify_enabled()
264 void *report, u32 *src_id) in scmi_reset_fill_custom_report() argument
276 *src_id = r->domain_id; in scmi_reset_fill_custom_report()
H A Dpowercap.c790 u8 evt_id, u32 src_id, bool enable) in scmi_powercap_set_notify_enabled() argument
795 if (evt_id >= ARRAY_SIZE(evt_2_cmd) || src_id >= pi->num_domains) in scmi_powercap_set_notify_enabled()
799 ret = scmi_powercap_notify(ph, src_id, cmd_id, enable); in scmi_powercap_set_notify_enabled()
802 evt_id, src_id, ret); in scmi_powercap_set_notify_enabled()
821 pi->states[src_id].meas_notif_enabled = enable; in scmi_powercap_set_notify_enabled()
830 void *report, u32 *src_id) in scmi_powercap_fill_custom_report() argument
848 *src_id = r->domain_id; in scmi_powercap_fill_custom_report()
864 *src_id = r->domain_id; in scmi_powercap_fill_custom_report()
H A Dclock.c499 u8 evt_id, u32 src_id, bool enable) in scmi_clk_set_notify_enabled() argument
507 ret = scmi_clk_rate_notify(ph, src_id, cmd_id, enable); in scmi_clk_set_notify_enabled()
510 evt_id, src_id, ret); in scmi_clk_set_notify_enabled()
518 void *report, u32 *src_id) in scmi_clk_fill_custom_report() argument
532 *src_id = r->clock_id; in scmi_clk_fill_custom_report()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_irq.c382 unsigned int client_id, unsigned int src_id, in amdgpu_irq_add_id() argument
388 if (src_id >= AMDGPU_MAX_IRQ_SRC_ID) in amdgpu_irq_add_id()
403 if (adev->irq.client[client_id].sources[src_id] != NULL) in amdgpu_irq_add_id()
417 adev->irq.client[client_id].sources[src_id] = source; in amdgpu_irq_add_id()
434 unsigned int client_id, src_id; in amdgpu_irq_dispatch() local
454 src_id = entry.src_id; in amdgpu_irq_dispatch()
459 } else if (src_id >= AMDGPU_MAX_IRQ_SRC_ID) { in amdgpu_irq_dispatch()
460 DRM_DEBUG("Invalid src_id in IV: %d\n", src_id); in amdgpu_irq_dispatch()
463 adev->irq.virq[src_id]) { in amdgpu_irq_dispatch()
464 generic_handle_domain_irq(adev->irq.domain, src_id); in amdgpu_irq_dispatch()
[all …]
H A Damdgpu_irq.h49 unsigned src_id; member
129 unsigned client_id, unsigned src_id,
148 unsigned amdgpu_irq_create_mapping(struct amdgpu_device *adev, unsigned src_id);
/openbmc/linux/security/safesetid/
H A Dsecurityfs.c54 rule->src_id.uid = make_kuid(file->f_cred->user_ns, parsed_parent); in parse_policy_line()
56 if (!uid_valid(rule->src_id.uid) || !uid_valid(rule->dst_id.uid)) in parse_policy_line()
59 rule->src_id.gid = make_kgid(file->f_cred->user_ns, parsed_parent); in parse_policy_line()
61 if (!gid_valid(rule->src_id.gid) || !gid_valid(rule->dst_id.gid)) in parse_policy_line()
91 hash_add(pol->rules, &rule->next, __kuid_val(rule->src_id.uid)); in insert_rule()
93 hash_add(pol->rules, &rule->next, __kgid_val(rule->src_id.gid)); in insert_rule()
108 __kuid_val(rule->src_id.uid), in verify_ruleset()
112 __kgid_val(rule->src_id.gid), in verify_ruleset()
125 nrule->src_id.uid = rule->dst_id.uid; in verify_ruleset()
129 nrule->src_id.gid = rule->dst_id.gid; in verify_ruleset()
[all …]
/openbmc/openbmc-test-automation/lib/
H A Dpel_utils.py203 def fetch_all_pel_ids_for_src(src_id, severity, include_hidden_pels=False): argument
222 if src_id in pel_data[pel_id]["SRC"]:
228 src_id + " with severity " + severity + " not present"
245 src_id = []
250 src_id.append(pel_data[pel_id]["SRC"])
251 print("SRC IDs: " + str(src_id))
256 return src_id
/openbmc/linux/drivers/dma/dw/
H A Didma32.c51 u8 dst_id, src_id; in idma32_initialize_chan_xbar() local
115 src_id = dwc->dws.src_id; in idma32_initialize_chan_xbar()
119 src_id = dwc->chan.chan_id; in idma32_initialize_chan_xbar()
131 cfghi |= IDMA32C_CFGH_SRC_PER(src_id & 0xf); in idma32_initialize_chan_xbar()
135 cfghi |= IDMA32C_CFGH_SRC_PER_EXT(src_id >> 4 & 0x3); in idma32_initialize_chan_xbar()
151 cfghi |= IDMA32C_CFGH_SRC_PER(dwc->dws.src_id & 0xf); in idma32_initialize_chan_generic()
155 cfghi |= IDMA32C_CFGH_SRC_PER_EXT(dwc->dws.src_id >> 4 & 0x3); in idma32_initialize_chan_generic()
H A Dof.c28 slave.src_id = dma_spec->args[0]; in dw_dma_of_xlate()
35 if (WARN_ON(slave.src_id >= DW_DMA_MAX_NR_REQUESTS || in dw_dma_of_xlate()
/openbmc/linux/drivers/spi/
H A Dspi-pxa2xx-pci.c35 static struct dw_dma_slave byt_rx_param = { .src_id = 1 };
38 static struct dw_dma_slave mrfld3_rx_param = { .src_id = 14 };
40 static struct dw_dma_slave mrfld5_rx_param = { .src_id = 12 };
42 static struct dw_dma_slave mrfld6_rx_param = { .src_id = 10 };
45 static struct dw_dma_slave bsw0_rx_param = { .src_id = 1 };
47 static struct dw_dma_slave bsw1_rx_param = { .src_id = 7 };
49 static struct dw_dma_slave bsw2_rx_param = { .src_id = 9 };
52 static struct dw_dma_slave lpt1_rx_param = { .src_id = 1 };
54 static struct dw_dma_slave lpt0_rx_param = { .src_id = 3 };
/openbmc/linux/drivers/gpu/drm/amd/display/dc/irq/dce110/
H A Dirq_service_dce110.c162 .src_id = VISLANDS30_IV_SRCID_D1_VERTICAL_INTERRUPT0 + reg_num\
187 __func__, info->src_id, info->ext_id); in dal_irq_service_dummy_set()
196 __func__, info->src_id, info->ext_id); in dal_irq_service_dummy_ack()
210 info->src_id, in dce110_vblank_set()
328 uint32_t src_id, in to_dal_irq_source_dce110() argument
331 switch (src_id) { in to_dal_irq_source_dce110()
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/inc/
H A Dppinterrupt.h36 unsigned src_id, const uint32_t *iv_entry);
42 uint32_t src_id; /* Registered interrupt id */ member
/openbmc/linux/drivers/memory/
H A Dfsl-corenet-cf.c107 u32 src_id; in ccf_irq() local
127 src_id = (cecar & CECAR_SRCID_MASK_CCF1) >> in ccf_irq()
135 src_id = (cecar & CECAR_SRCID_MASK_CCF2) >> in ccf_irq()
164 addr, src_id); in ccf_irq()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/irq/
H A Dirq_service.h47 uint32_t src_id; member
62 uint32_t src_id,
H A Dirq_service.c172 uint32_t src_id, in dal_irq_service_to_irq_source() argument
177 src_id, in dal_irq_service_to_irq_source()
/openbmc/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_dev_api.h304 u16 src_id,
317 u8 src_id,
330 u8 src_id,
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_fltr.c232 info.src_id = ICE_SRC_ID_VSI; in ice_fltr_add_mac_to_list()
256 info.src_id = ICE_SRC_ID_VSI; in ice_fltr_add_vlan_to_list()
290 info.src_id = ICE_SRC_ID_VSI; in ice_fltr_add_eth_to_list()
292 info.src_id = ICE_SRC_ID_LPORT; in ice_fltr_add_eth_to_list()
/openbmc/linux/drivers/edac/
H A Dskx_base.c323 if (d->imc[0].src_id == SKX_ILV_TARGET(tgt)) in skx_sad_decode()
366 res->socket = d->imc[0].src_id; in skx_sad_decode()
651 u8 mc = 0, src_id, node_id; in skx_init() local
698 rc = skx_get_src_id(d, 0xf0, &src_id); in skx_init()
704 edac_dbg(2, "src_id=%d node_id=%d\n", src_id, node_id); in skx_init()
708 d->imc[i].src_id = src_id; in skx_init()
/openbmc/qemu/hw/dma/
H A Dpl080.c100 int src_id; in pl080_run() local
137 src_id = (ch->conf >> 1) & 0x1f; in pl080_run()
149 if ((req & (1u << src_id)) == 0) in pl080_run()
153 if ((req & (1u << src_id)) == 0 in pl080_run()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/irq/dce60/
H A Dirq_service_dce60.h33 uint32_t src_id,
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dsmu_helper.c608 uint32_t src_id = entry->src_id; in phm_irq_process() local
611 if (src_id == VISLANDS30_IV_SRCID_CG_TSS_THERMAL_LOW_TO_HIGH) { in phm_irq_process()
614 } else if (src_id == VISLANDS30_IV_SRCID_CG_TSS_THERMAL_HIGH_TO_LOW) { in phm_irq_process()
616 } else if (src_id == VISLANDS30_IV_SRCID_GPIO_19) { in phm_irq_process()
625 if (src_id == 0) in phm_irq_process()

123456