Searched refs:sources (Results 1 - 25 of 42) sorted by path

12

/linux-master/drivers/gpu/drm/radeon/
H A Drv6xx_dpm.c1351 static void rv6xx_set_dpm_event_sources(struct radeon_device *rdev, u32 sources) argument
1357 switch (sources) {
H A Dci_dpm.c1350 static void ci_set_dpm_event_sources(struct radeon_device *rdev, u32 sources) argument
1356 switch (sources) {
H A Drv770_dpm.c1814 static void rv770_set_dpm_event_sources(struct radeon_device *rdev, u32 sources) argument
1820 switch (sources) {
H A Dsi_dpm.c3215 static void si_set_dpm_event_sources(struct radeon_device *rdev, u32 sources) argument
3221 switch (sources) {
/linux-master/drivers/comedi/drivers/
H A Dni_mio_common.c2032 unsigned int sources; local
2041 sources = TRIG_TIMER | TRIG_EXT;
2043 sources |= TRIG_NOW;
2044 err |= comedi_check_trigger_src(&cmd->convert_src, sources);
2052 /* Step 2a : make sure trigger sources are unique */
3345 /* Step 2a : make sure trigger sources are unique */
3591 /* Step 2a : make sure trigger sources are unique */
H A Dni_tiocmd.c242 unsigned int sources; local
246 sources = TRIG_NOW | TRIG_INT | TRIG_OTHER;
248 sources |= TRIG_EXT;
249 err |= comedi_check_trigger_src(&cmd->start_src, sources);
261 /* Step 2a : make sure trigger sources are unique */
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dadf_gen2_pfvf.c74 u32 sources, disabled, pending; local
77 /* Get the interrupt sources triggered by VFs */
79 sources = ADF_GEN2_ERR_REG_VF2PF(errsou3);
81 if (!sources)
88 pending = sources & ~disabled;
93 * just disable the requested sources, as this would lead to missed
95 * To work around it, disable all and re-enable only the sources that
97 * trigger a new interrupt for the sources that have changed in the
103 errmsk3 &= ADF_GEN2_ERR_MSK_VF2PF(sources | disabled);
106 /* Return the sources o
[all...]
H A Dadf_gen4_pfvf.c55 u32 sources, disabled, pending; local
57 /* Get the interrupt sources triggered by VFs */
58 sources = ADF_CSR_RD(pmisc_addr, ADF_4XXX_VM2PF_SOU);
59 if (!sources)
65 pending = sources & ~disabled;
70 * just disable the requested sources, as this would lead to missed
72 * To work around it, disable all and re-enable only the sources that
74 * trigger a new interrupt for the sources that have changed in the
78 ADF_CSR_WR(pmisc_addr, ADF_4XXX_VM2PF_MSK, disabled | sources);
80 /* Return the sources o
[all...]
/linux-master/drivers/crypto/intel/qat/qat_dh895xcc/
H A Dadf_dh895xcc_hw_data.c158 u32 sources, pending, disabled; local
162 /* Get the interrupt sources triggered by VFs */
165 sources = ADF_DH895XCC_ERR_REG_VF2PF_L(errsou3)
168 if (!sources)
177 pending = sources & ~disabled;
182 * just disable the requested sources, as this would lead to missed
183 * interrupts if sources changes just before writing to ERRMSK3 and
185 * To work around it, disable all and re-enable only the sources that
187 * trigger a new interrupt for the sources that have changed in the
195 errmsk3 &= ADF_DH895XCC_ERR_MSK_VF2PF_L(sources | disable
[all...]
/linux-master/drivers/firmware/arm_scmi/
H A Dnotify.c319 * @num_sources: The number of possible sources for this event as stated at
321 * @sources: A reference to a dynamically allocated array used to refcount the
322 * events' enable requests for all the existing sources
323 * @sources_mtx: A mutex to serialize the access to @sources
337 refcount_t *sources; member in struct:scmi_registered_event
338 /* locking to serialize the access to sources */
802 r_evt->sources = devm_kcalloc(ni->handle->dev, num_sources,
804 if (!r_evt->sources)
817 refcount_set(&r_evt->sources[id], NOTIF_UNSUPP);
1148 * the special case of ALL sources request
[all...]
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_irq.c41 * For GPU interrupt sources that may be driven by another driver, IRQ domain
122 * Disable all types of interrupts from all sources.
132 if (!adev->irq.client[i].sources)
136 struct amdgpu_irq_src *src = adev->irq.client[i].sources[j];
351 * turns off interrupts from all sources (all ASICs).
358 if (!adev->irq.client[i].sources)
362 struct amdgpu_irq_src *src = adev->irq.client[i].sources[j];
370 kfree(adev->irq.client[i].sources);
371 adev->irq.client[i].sources = NULL;
401 if (!adev->irq.client[client_id].sources) {
[all...]
H A Damdgpu_irq.h68 struct amdgpu_irq_src **sources; member in struct:amdgpu_irq_client
85 /* interrupt sources */
/linux-master/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dsi_dpm.c3732 static void si_set_dpm_event_sources(struct amdgpu_device *adev, u32 sources) argument
3738 switch (sources) {
/linux-master/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dsmu7_hwmgr.c1377 static void smu7_set_dpm_event_sources(struct pp_hwmgr *hwmgr, uint32_t sources) argument
1382 switch (sources) {
1384 pr_err("Unknown throttling event sources.");
/linux-master/drivers/gpu/drm/
H A Ddrm_debugfs_crc.c89 const char *const *sources = crtc->funcs->get_crc_sources(crtc, local
94 if (count == 0 || !sources)
98 if (!crtc->funcs->verify_crc_source(crtc, sources[i],
100 if (strcmp(sources[i], crtc->crc.source))
101 seq_printf(m, "%s\n", sources[i]);
103 seq_printf(m, "%s*\n", sources[i]);
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/engine/
H A Dpm.h16 struct list_head sources; member in struct:nvkm_pm
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/pm/
H A Dbase.c119 list_for_each_entry(src, &pm->sources, head) {
227 /* enable sources */
711 /* No sources are defined for this signal. */
723 list_for_each_entry(src, &pm->sources, head) {
752 list_add_tail(&src->head, &pm->sources);
842 list_for_each_entry_safe(src, next_src, &pm->sources, head) {
864 INIT_LIST_HEAD(&pm->sources);
/linux-master/drivers/gpu/drm/omapdrm/
H A Domap_irq.c163 } sources[] = { local
188 for (i = 0; i < ARRAY_SIZE(sources); ++i) {
189 if (sources[i].mask & irqstatus)
190 pr_cont("%s ", sources[i].name);
/linux-master/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_du_crtc.c422 /* Restart the group if plane sources have changed. */
908 const char **sources; local
919 sources = kmalloc_array(count, sizeof(*sources), GFP_KERNEL);
920 if (!sources)
923 sources[0] = kstrdup("auto", GFP_KERNEL);
924 if (!sources[0])
932 sources[i + 1] = kstrdup(name, GFP_KERNEL);
933 if (!sources[i + 1])
937 rcrtc->sources
[all...]
H A Drcar_du_crtc.h72 const char *const *sources; member in struct:rcar_du_crtc
/linux-master/drivers/gpu/drm/renesas/rz-du/
H A Drzg2l_du_crtc.h54 const char *const *sources; member in struct:rzg2l_du_crtc
/linux-master/drivers/leds/flash/
H A Dleds-mt6370-flash.c442 u32 sources[MT6370_MAX_LEDS]; local
446 num = fwnode_property_count_u32(fwnode, "led-sources");
449 "Not specified or wrong number of led-sources\n");
451 ret = fwnode_property_read_u32_array(fwnode, "led-sources", sources, num);
456 if (sources[i] >= MT6370_MAX_LEDS)
458 if (priv->leds_active & BIT(sources[i]))
460 priv->leds_active |= BIT(sources[i]);
463 /* If both channels are specified in 'led-sources', joint flash output mode is used */
464 led->led_no = num == 2 ? MT6370_LED_JOINT : sources[
[all...]
/linux-master/drivers/media/i2c/
H A Dmax9286.c212 struct max9286_source sources[MAX9286_NUM_GMSL]; member in struct:max9286_priv
220 source = &priv->sources[0];
224 for (; source < &priv->sources[MAX9286_NUM_GMSL]; source++) {
235 #define to_index(priv, source) ((source) - &(priv)->sources[0])
626 /* Pixel rate is mandatory to be reported by sources. */
647 "No pixel rate control available in sources\n");
655 * by the number of available sources.
707 * All enabled sources have probed and enabled their reverse control
1509 if (priv->sources[ep.port].fwnode) {
1517 source = &priv->sources[e
[all...]
/linux-master/drivers/media/platform/renesas/vsp1/
H A Dvsp1_entity.c37 source = entity->sources[0];
50 source = entity->sources[0];
479 if (sink->sources[sink_pad->index])
482 sink->sources[sink_pad->index] = source;
484 sink->sources[sink_pad->index] = NULL;
639 entity->sources = devm_kcalloc(vsp1->dev, max(num_pads - 1, 1U),
640 sizeof(*entity->sources), GFP_KERNEL);
641 if (entity->sources == NULL)
H A Dvsp1_entity.h113 struct vsp1_entity **sources; member in struct:vsp1_entity

Completed in 495 milliseconds

12