Home
last modified time | relevance | path

Searched refs:sources (Results 1 - 25 of 74) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_irq.c41 * For GPU interrupt sources that may be driven by another driver, IRQ domain
108 * Disable all types of interrupts from all sources.
118 if (!adev->irq.client[i].sources) in amdgpu_irq_disable_all()
122 struct amdgpu_irq_src *src = adev->irq.client[i].sources[j]; in amdgpu_irq_disable_all()
306 * turns off interrupts from all sources (all ASICs).
322 if (!adev->irq.client[i].sources) in amdgpu_irq_fini()
326 struct amdgpu_irq_src *src = adev->irq.client[i].sources[j]; in amdgpu_irq_fini()
336 adev->irq.client[i].sources[j] = NULL; in amdgpu_irq_fini()
339 kfree(adev->irq.client[i].sources); in amdgpu_irq_fini()
340 adev->irq.client[i].sources in amdgpu_irq_fini()
[all...]
/kernel/linux/linux-6.6/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) in amdgpu_irq_disable_all()
136 struct amdgpu_irq_src *src = adev->irq.client[i].sources[j]; in amdgpu_irq_disable_all()
344 * turns off interrupts from all sources (all ASICs).
351 if (!adev->irq.client[i].sources) in amdgpu_irq_fini_sw()
355 struct amdgpu_irq_src *src = adev->irq.client[i].sources[j]; in amdgpu_irq_fini_sw()
363 kfree(adev->irq.client[i].sources); in amdgpu_irq_fini_sw()
364 adev->irq.client[i].sources = NULL; in amdgpu_irq_fini_sw()
394 if (!adev->irq.client[client_id].sources) { in amdgpu_irq_add_id()
[all...]
/kernel/linux/linux-6.6/drivers/crypto/intel/qat/qat_common/
H A Dadf_gen4_pfvf.c55 u32 sources, disabled, pending; in adf_gen4_disable_pending_vf2pf_interrupts() local
57 /* Get the interrupt sources triggered by VFs */ in adf_gen4_disable_pending_vf2pf_interrupts()
58 sources = ADF_CSR_RD(pmisc_addr, ADF_4XXX_VM2PF_SOU); in adf_gen4_disable_pending_vf2pf_interrupts()
59 if (!sources) in adf_gen4_disable_pending_vf2pf_interrupts()
65 pending = sources & ~disabled; in adf_gen4_disable_pending_vf2pf_interrupts()
70 * just disable the requested sources, as this would lead to missed in adf_gen4_disable_pending_vf2pf_interrupts()
72 * To work around it, disable all and re-enable only the sources that in adf_gen4_disable_pending_vf2pf_interrupts()
74 * trigger a new interrupt for the sources that have changed in the in adf_gen4_disable_pending_vf2pf_interrupts()
78 ADF_CSR_WR(pmisc_addr, ADF_4XXX_VM2PF_MSK, disabled | sources); in adf_gen4_disable_pending_vf2pf_interrupts()
80 /* Return the sources o in adf_gen4_disable_pending_vf2pf_interrupts()
[all...]
H A Dadf_gen2_pfvf.c74 u32 sources, disabled, pending; in adf_gen2_disable_pending_vf2pf_interrupts() local
77 /* Get the interrupt sources triggered by VFs */ in adf_gen2_disable_pending_vf2pf_interrupts()
79 sources = ADF_GEN2_ERR_REG_VF2PF(errsou3); in adf_gen2_disable_pending_vf2pf_interrupts()
81 if (!sources) in adf_gen2_disable_pending_vf2pf_interrupts()
88 pending = sources & ~disabled; in adf_gen2_disable_pending_vf2pf_interrupts()
93 * just disable the requested sources, as this would lead to missed in adf_gen2_disable_pending_vf2pf_interrupts()
95 * To work around it, disable all and re-enable only the sources that in adf_gen2_disable_pending_vf2pf_interrupts()
97 * trigger a new interrupt for the sources that have changed in the in adf_gen2_disable_pending_vf2pf_interrupts()
103 errmsk3 &= ADF_GEN2_ERR_MSK_VF2PF(sources | disabled); in adf_gen2_disable_pending_vf2pf_interrupts()
106 /* Return the sources o in adf_gen2_disable_pending_vf2pf_interrupts()
[all...]
/kernel/linux/linux-6.6/drivers/crypto/intel/qat/qat_dh895xcc/
H A Dadf_dh895xcc_hw_data.c157 u32 sources, pending, disabled; in disable_pending_vf2pf_interrupts() local
161 /* Get the interrupt sources triggered by VFs */ in disable_pending_vf2pf_interrupts()
164 sources = ADF_DH895XCC_ERR_REG_VF2PF_L(errsou3) in disable_pending_vf2pf_interrupts()
167 if (!sources) in disable_pending_vf2pf_interrupts()
176 pending = sources & ~disabled; in disable_pending_vf2pf_interrupts()
181 * just disable the requested sources, as this would lead to missed in disable_pending_vf2pf_interrupts()
182 * interrupts if sources changes just before writing to ERRMSK3 and in disable_pending_vf2pf_interrupts()
184 * To work around it, disable all and re-enable only the sources that in disable_pending_vf2pf_interrupts()
186 * trigger a new interrupt for the sources that have changed in the in disable_pending_vf2pf_interrupts()
194 errmsk3 &= ADF_DH895XCC_ERR_MSK_VF2PF_L(sources | disable in disable_pending_vf2pf_interrupts()
[all...]
/kernel/linux/linux-6.6/drivers/platform/surface/
H A Dsurface_aggregator_tabletsw.c476 static int ssam_pos_get_sources_list(struct ssam_tablet_sw *sw, struct ssam_sources_list *sources) in ssam_pos_get_sources_list() argument
490 rsp.capacity = sizeof(*sources); in ssam_pos_get_sources_list()
492 rsp.pointer = (u8 *)sources; in ssam_pos_get_sources_list()
498 /* We need at least the 'sources->count' field. */ in ssam_pos_get_sources_list()
504 /* Make sure 'sources->count' matches with the response length. */ in ssam_pos_get_sources_list()
505 if (get_unaligned_le32(&sources->count) * sizeof(__le32) + sizeof(__le32) != rsp.length) { in ssam_pos_get_sources_list()
506 dev_err(&sw->sdev->dev, "mismatch between number of sources and response size\n"); in ssam_pos_get_sources_list()
515 struct ssam_sources_list sources = {}; in ssam_pos_get_source() local
518 status = ssam_pos_get_sources_list(sw, &sources); in ssam_pos_get_source()
522 if (get_unaligned_le32(&sources in ssam_pos_get_source()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/
H A Ddrm_debugfs_crc.c89 const char *const *sources = crtc->funcs->get_crc_sources(crtc, in crc_control_show() local
94 if (count == 0 || !sources) in crc_control_show()
98 if (!crtc->funcs->verify_crc_source(crtc, sources[i], in crc_control_show()
100 if (strcmp(sources[i], crtc->crc.source)) in crc_control_show()
101 seq_printf(m, "%s\n", sources[i]); in crc_control_show()
103 seq_printf(m, "%s*\n", sources[i]); in crc_control_show()
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_debugfs_crc.c89 const char *const *sources = crtc->funcs->get_crc_sources(crtc, in crc_control_show() local
94 if (count == 0 || !sources) in crc_control_show()
98 if (!crtc->funcs->verify_crc_source(crtc, sources[i], in crc_control_show()
100 if (strcmp(sources[i], crtc->crc.source)) in crc_control_show()
101 seq_printf(m, "%s\n", sources[i]); in crc_control_show()
103 seq_printf(m, "%s*\n", sources[i]); in crc_control_show()
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/
H A Dvsp1_entity.c37 source = entity->sources[0]; in vsp1_entity_route_setup()
50 source = entity->sources[0]; in vsp1_entity_route_setup()
484 if (sink->sources[sink_pad->index]) in vsp1_entity_link_setup_sink()
487 sink->sources[sink_pad->index] = source; in vsp1_entity_link_setup_sink()
489 sink->sources[sink_pad->index] = NULL; in vsp1_entity_link_setup_sink()
643 entity->sources = devm_kcalloc(vsp1->dev, max(num_pads - 1, 1U), in vsp1_entity_init()
644 sizeof(*entity->sources), GFP_KERNEL); in vsp1_entity_init()
645 if (entity->sources == NULL) in vsp1_entity_init()
/kernel/linux/linux-6.6/drivers/media/platform/renesas/vsp1/
H A Dvsp1_entity.c37 source = entity->sources[0]; in vsp1_entity_route_setup()
50 source = entity->sources[0]; in vsp1_entity_route_setup()
486 if (sink->sources[sink_pad->index]) in vsp1_entity_link_setup_sink()
489 sink->sources[sink_pad->index] = source; in vsp1_entity_link_setup_sink()
491 sink->sources[sink_pad->index] = NULL; in vsp1_entity_link_setup_sink()
646 entity->sources = devm_kcalloc(vsp1->dev, max(num_pads - 1, 1U), in vsp1_entity_init()
647 sizeof(*entity->sources), GFP_KERNEL); in vsp1_entity_init()
648 if (entity->sources == NULL) in vsp1_entity_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/rcar-du/
H A Drcar_du_crtc.c422 /* Restart the group if plane sources have changed. */ in rcar_du_crtc_update_planes()
877 const char **sources; in rcar_du_crtc_crc_init() local
888 sources = kmalloc_array(count, sizeof(*sources), GFP_KERNEL); in rcar_du_crtc_crc_init()
889 if (!sources) in rcar_du_crtc_crc_init()
892 sources[0] = kstrdup("auto", GFP_KERNEL); in rcar_du_crtc_crc_init()
893 if (!sources[0]) in rcar_du_crtc_crc_init()
901 sources[i + 1] = kstrdup(name, GFP_KERNEL); in rcar_du_crtc_crc_init()
902 if (!sources[i + 1]) in rcar_du_crtc_crc_init()
906 rcrtc->sources in rcar_du_crtc_crc_init()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/renesas/rcar-du/
H A Drcar_du_crtc.c422 /* Restart the group if plane sources have changed. */ in rcar_du_crtc_update_planes()
908 const char **sources; in rcar_du_crtc_crc_init() local
919 sources = kmalloc_array(count, sizeof(*sources), GFP_KERNEL); in rcar_du_crtc_crc_init()
920 if (!sources) in rcar_du_crtc_crc_init()
923 sources[0] = kstrdup("auto", GFP_KERNEL); in rcar_du_crtc_crc_init()
924 if (!sources[0]) in rcar_du_crtc_crc_init()
932 sources[i + 1] = kstrdup(name, GFP_KERNEL); in rcar_du_crtc_crc_init()
933 if (!sources[i + 1]) in rcar_du_crtc_crc_init()
937 rcrtc->sources in rcar_du_crtc_crc_init()
[all...]
/kernel/linux/linux-5.10/sound/soc/codecs/
H A Dmax98504.c228 unsigned int i, sources = 0; in max98504_set_channel_map() local
232 sources |= (1 << i); in max98504_set_channel_map()
237 sources); in max98504_set_channel_map()
241 regmap_write(map, MAX98504_PDM_TX_CONTROL, sources); in max98504_set_channel_map()
247 regmap_write(map, MAX98504_MEASUREMENT_ENABLE, sources ? 0x3 : 0x01); in max98504_set_channel_map()
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dmax98504.c228 unsigned int i, sources = 0; in max98504_set_channel_map() local
232 sources |= (1 << i); in max98504_set_channel_map()
237 sources); in max98504_set_channel_map()
241 regmap_write(map, MAX98504_PDM_TX_CONTROL, sources); in max98504_set_channel_map()
247 regmap_write(map, MAX98504_MEASUREMENT_ENABLE, sources ? 0x3 : 0x01); in max98504_set_channel_map()
/kernel/linux/linux-5.10/net/ipv4/
H A Digmp.c322 for (psf = pmc->sources; psf; psf = psf->sf_next) { in igmp_scount()
488 psf_list = sdeleted ? &pmc->tomb : &pmc->sources; in add_grec()
648 ip_sf_list_clear_all(pmc->sources); in kfree_pmc()
680 igmpv3_clear_zeros(&pmc->sources); in igmpv3_send_cr()
683 if (pmc->crcount == 0 && !pmc->tomb && !pmc->sources) { in igmpv3_send_cr()
706 skb = add_grec(skb, pmc, dtype, 0, 1); /* deleted sources */ in igmpv3_send_cr()
862 /* mark EXCLUDE-mode sources */
869 for (psf = pmc->sources; psf; psf = psf->sf_next) { in igmp_xmarksources()
885 if (scount == nsrcs) /* all sources excluded */ in igmp_xmarksources()
898 /* mark INCLUDE-mode sources */ in igmp_marksources()
2154 struct ip_sf_list *tomb, *sources; ip_mc_clear_src() local
[all...]
/kernel/linux/linux-6.6/net/ipv4/
H A Digmp.c322 for (psf = pmc->sources; psf; psf = psf->sf_next) { in igmp_scount()
488 psf_list = sdeleted ? &pmc->tomb : &pmc->sources; in add_grec()
648 ip_sf_list_clear_all(pmc->sources); in kfree_pmc()
680 igmpv3_clear_zeros(&pmc->sources); in igmpv3_send_cr()
683 if (pmc->crcount == 0 && !pmc->tomb && !pmc->sources) { in igmpv3_send_cr()
706 skb = add_grec(skb, pmc, dtype, 0, 1); /* deleted sources */ in igmpv3_send_cr()
862 /* mark EXCLUDE-mode sources */
869 for (psf = pmc->sources; psf; psf = psf->sf_next) { in igmp_xmarksources()
885 if (scount == nsrcs) /* all sources excluded */ in igmp_xmarksources()
898 /* mark INCLUDE-mode sources */ in igmp_marksources()
2154 struct ip_sf_list *tomb, *sources; ip_mc_clear_src() local
[all...]
/kernel/linux/linux-5.10/scripts/gdb/linux/
H A Dmodules.py85 sources = module['source_list']
86 for use in lists.list_for_each_entry(sources, t, "source_list"):
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/
H A Domap_irq.c165 } sources[] = { in omap_irq_fifo_underflow() local
190 for (i = 0; i < ARRAY_SIZE(sources); ++i) { in omap_irq_fifo_underflow()
191 if (sources[i].mask & irqstatus) in omap_irq_fifo_underflow()
192 pr_cont("%s ", sources[i].name); in omap_irq_fifo_underflow()
/kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/
H A Domap_irq.c163 } sources[] = { in omap_irq_fifo_underflow() local
188 for (i = 0; i < ARRAY_SIZE(sources); ++i) { in omap_irq_fifo_underflow()
189 if (sources[i].mask & irqstatus) in omap_irq_fifo_underflow()
190 pr_cont("%s ", sources[i].name); in omap_irq_fifo_underflow()
/kernel/linux/linux-6.6/scripts/gdb/linux/
H A Dmodules.py91 sources = module['source_list']
92 for use in lists.list_for_each_entry(sources, t, "source_list"):
/kernel/linux/linux-5.10/drivers/video/backlight/
H A Dlm3630a_bl.c379 u32 sources[LM3630A_NUM_SINKS]; in lm3630a_parse_led_sources() local
382 num_sources = fwnode_property_count_u32(node, "led-sources"); in lm3630a_parse_led_sources()
385 else if (num_sources > ARRAY_SIZE(sources)) in lm3630a_parse_led_sources()
388 ret = fwnode_property_read_u32_array(node, "led-sources", sources, in lm3630a_parse_led_sources()
394 if (sources[i] != LM3630A_SINK_0 && sources[i] != LM3630A_SINK_1) in lm3630a_parse_led_sources()
397 ret |= BIT(sources[i]); in lm3630a_parse_led_sources()
/kernel/linux/linux-6.6/drivers/video/backlight/
H A Dlm3630a_bl.c378 u32 sources[LM3630A_NUM_SINKS]; in lm3630a_parse_led_sources() local
381 num_sources = fwnode_property_count_u32(node, "led-sources"); in lm3630a_parse_led_sources()
384 else if (num_sources > ARRAY_SIZE(sources)) in lm3630a_parse_led_sources()
387 ret = fwnode_property_read_u32_array(node, "led-sources", sources, in lm3630a_parse_led_sources()
393 if (sources[i] != LM3630A_SINK_0 && sources[i] != LM3630A_SINK_1) in lm3630a_parse_led_sources()
396 ret |= BIT(sources[i]); in lm3630a_parse_led_sources()
/kernel/linux/linux-6.6/drivers/leds/flash/
H A Dleds-mt6370-flash.c442 u32 sources[MT6370_MAX_LEDS]; in mt6370_init_flash_properties() local
446 num = fwnode_property_count_u32(fwnode, "led-sources"); in mt6370_init_flash_properties()
449 "Not specified or wrong number of led-sources\n"); in mt6370_init_flash_properties()
451 ret = fwnode_property_read_u32_array(fwnode, "led-sources", sources, num); in mt6370_init_flash_properties()
456 if (sources[i] >= MT6370_MAX_LEDS) in mt6370_init_flash_properties()
458 if (priv->leds_active & BIT(sources[i])) in mt6370_init_flash_properties()
460 priv->leds_active |= BIT(sources[i]); in mt6370_init_flash_properties()
463 /* If both channels are specified in 'led-sources', joint flash output mode is used */ in mt6370_init_flash_properties()
464 led->led_no = num == 2 ? MT6370_LED_JOINT : sources[ in mt6370_init_flash_properties()
[all...]
/kernel/linux/linux-5.10/drivers/net/can/
H A Dgrcan.c136 /* Relative offset of IRQ sources to AMBA Plug&Play */
573 static void grcan_err(struct net_device *dev, u32 sources, u32 status) in grcan_err() argument
590 if (sources & GRCAN_IRQ_TXLOSS) { in grcan_err()
608 if ((sources & GRCAN_IRQ_ERRCTR_RELATED) || in grcan_err()
706 if ((sources & GRCAN_IRQ_OR) || (status & GRCAN_STAT_OR)) { in grcan_err()
718 if (sources & (GRCAN_IRQ_TXAHBERR | GRCAN_IRQ_RXAHBERR) || in grcan_err()
723 if (sources & GRCAN_IRQ_TXAHBERR) { in grcan_err()
726 } else if (sources & GRCAN_IRQ_RXAHBERR) { in grcan_err()
767 u32 sources, status; in grcan_interrupt() local
770 sources in grcan_interrupt()
[all...]
/kernel/linux/linux-6.6/drivers/net/can/
H A Dgrcan.c138 /* Relative offset of IRQ sources to AMBA Plug&Play */
572 static void grcan_err(struct net_device *dev, u32 sources, u32 status) in grcan_err() argument
589 if (sources & GRCAN_IRQ_TXLOSS) { in grcan_err()
607 if ((sources & GRCAN_IRQ_ERRCTR_RELATED) || in grcan_err()
706 if ((sources & GRCAN_IRQ_OR) || (status & GRCAN_STAT_OR)) { in grcan_err()
718 if (sources & (GRCAN_IRQ_TXAHBERR | GRCAN_IRQ_RXAHBERR) || in grcan_err()
723 if (sources & GRCAN_IRQ_TXAHBERR) { in grcan_err()
726 } else if (sources & GRCAN_IRQ_RXAHBERR) { in grcan_err()
767 u32 sources, status; in grcan_interrupt() local
770 sources in grcan_interrupt()
[all...]

Completed in 23 milliseconds

123