| /drivers/gpu/drm/amd/amdgpu/ |
| A D | amdgpu_irq.c | 132 if (!adev->irq.client[i].sources) in amdgpu_irq_disable_all() 359 if (!adev->irq.client[i].sources) in amdgpu_irq_fini_sw() 371 kfree(adev->irq.client[i].sources); in amdgpu_irq_fini_sw() 372 adev->irq.client[i].sources = NULL; in amdgpu_irq_fini_sw() 402 if (!adev->irq.client[client_id].sources) { in amdgpu_irq_add_id() 403 adev->irq.client[client_id].sources = in amdgpu_irq_add_id() 407 if (!adev->irq.client[client_id].sources) in amdgpu_irq_add_id() 411 if (adev->irq.client[client_id].sources[src_id] != NULL) in amdgpu_irq_add_id() 425 adev->irq.client[client_id].sources[src_id] = source; in amdgpu_irq_add_id() 475 } else if (!adev->irq.client[client_id].sources) { in amdgpu_irq_dispatch() [all …]
|
| A D | amdgpu_irq.h | 68 struct amdgpu_irq_src **sources; member
|
| /drivers/crypto/intel/qat/qat_common/ |
| A D | adf_gen4_pfvf.c | 53 u32 sources, disabled, pending; in adf_gen4_disable_pending_vf2pf_interrupts() local 56 sources = ADF_CSR_RD(pmisc_addr, ADF_4XXX_VM2PF_SOU); in adf_gen4_disable_pending_vf2pf_interrupts() 57 if (!sources) in adf_gen4_disable_pending_vf2pf_interrupts() 63 pending = sources & ~disabled; in adf_gen4_disable_pending_vf2pf_interrupts() 76 ADF_CSR_WR(pmisc_addr, ADF_4XXX_VM2PF_MSK, disabled | sources); in adf_gen4_disable_pending_vf2pf_interrupts()
|
| A D | adf_gen2_pfvf.c | 74 u32 sources, disabled, pending; in adf_gen2_disable_pending_vf2pf_interrupts() local 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() 105 errmsk3 |= ADF_GEN2_ERR_MSK_VF2PF(sources | disabled); in adf_gen2_disable_pending_vf2pf_interrupts()
|
| /drivers/crypto/intel/qat/qat_dh895xcc/ |
| A D | adf_dh895xcc_hw_data.c | 157 u32 sources, pending, disabled; in disable_pending_vf2pf_interrupts() local 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() 198 errmsk3 |= ADF_DH895XCC_ERR_MSK_VF2PF_L(sources | disabled); in disable_pending_vf2pf_interrupts() 199 errmsk5 |= ADF_DH895XCC_ERR_MSK_VF2PF_U(sources | disabled); in disable_pending_vf2pf_interrupts()
|
| /drivers/platform/surface/ |
| A D | surface_aggregator_tabletsw.c | 476 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() 505 if (get_unaligned_le32(&sources->count) * sizeof(__le32) + sizeof(__le32) != rsp.length) { 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.count) == 0) { in ssam_pos_get_source() 534 WARN_ON(get_unaligned_le32(&sources.count) > 1); in ssam_pos_get_source() 536 *source_id = get_unaligned_le32(&sources.id[0]); in ssam_pos_get_source()
|
| /drivers/gpu/drm/renesas/rcar-du/ |
| A D | rcar_du_crtc.c | 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() 924 if (!sources[0]) in rcar_du_crtc_crc_init() 933 if (!sources[i + 1]) in rcar_du_crtc_crc_init() 937 rcrtc->sources = sources; in rcar_du_crtc_crc_init() 943 kfree(sources[i]); in rcar_du_crtc_crc_init() 946 kfree(sources); in rcar_du_crtc_crc_init() 953 if (!rcrtc->sources) in rcar_du_crtc_crc_cleanup() 958 kfree(rcrtc->sources); in rcar_du_crtc_crc_cleanup() [all …]
|
| A D | rcar_du_crtc.h | 72 const char *const *sources; member
|
| /drivers/gpu/drm/ |
| A D | drm_debugfs_crc.c | 90 const char *const *sources = crtc->funcs->get_crc_sources(crtc, in crc_control_show() local 95 if (count == 0 || !sources) in crc_control_show() 99 if (!crtc->funcs->verify_crc_source(crtc, sources[i], in crc_control_show() 101 if (strcmp(sources[i], crtc->crc.source)) in crc_control_show() 102 seq_printf(m, "%s\n", sources[i]); in crc_control_show() 104 seq_printf(m, "%s*\n", sources[i]); in crc_control_show()
|
| /drivers/media/platform/renesas/vsp1/ |
| A D | vsp1_entity.c | 37 source = entity->sources[0]; in vsp1_entity_route_setup() 50 source = entity->sources[0]; in vsp1_entity_route_setup() 462 if (sink->sources[sink_pad->index]) in vsp1_entity_link_setup_sink() 465 sink->sources[sink_pad->index] = source; in vsp1_entity_link_setup_sink() 467 sink->sources[sink_pad->index] = NULL; in vsp1_entity_link_setup_sink() 625 entity->sources = devm_kcalloc(vsp1->dev, max(num_pads - 1, 1U), in vsp1_entity_init() 626 sizeof(*entity->sources), GFP_KERNEL); in vsp1_entity_init() 627 if (entity->sources == NULL) in vsp1_entity_init()
|
| /drivers/video/backlight/ |
| A D | lm3509_bl.c | 133 u32 sources[LM3509_NUM_SINKS]; in lm3509_parse_led_sources() local 139 else if (num_sources > ARRAY_SIZE(sources)) in lm3509_parse_led_sources() 142 ret = of_property_read_u32_array(node, "led-sources", sources, in lm3509_parse_led_sources() 148 if (sources[i] >= LM3509_NUM_SINKS) in lm3509_parse_led_sources() 151 ret |= BIT(sources[i]); in lm3509_parse_led_sources()
|
| A D | lm3630a_bl.c | 380 u32 sources[LM3630A_NUM_SINKS]; in lm3630a_parse_led_sources() local 386 else if (num_sources > ARRAY_SIZE(sources)) in lm3630a_parse_led_sources() 389 ret = fwnode_property_read_u32_array(node, "led-sources", sources, in lm3630a_parse_led_sources() 395 if (sources[i] != LM3630A_SINK_0 && sources[i] != LM3630A_SINK_1) in lm3630a_parse_led_sources() 398 ret |= BIT(sources[i]); in lm3630a_parse_led_sources()
|
| A D | sky81452-backlight.c | 188 unsigned int sources[6]; in sky81452_bl_parse_dt() local 214 ret = of_property_read_u32_array(np, "led-sources", sources, in sky81452_bl_parse_dt() 223 pdata->enable |= (1 << sources[num_entry]); in sky81452_bl_parse_dt()
|
| A D | arcxcnn_bl.c | 176 u32 prog_val, num_entry, entry, sources[ARCXCNN_LEDEN_BITS]; in arcxcnn_parse_dt() local 223 ret = of_property_read_u32_array(node, "led-sources", sources, in arcxcnn_parse_dt() 234 u8 onbit = 1 << sources[entry]; in arcxcnn_parse_dt()
|
| /drivers/net/can/ |
| A D | grcan.c | 589 if (sources & GRCAN_IRQ_TXLOSS) { in grcan_err() 607 if ((sources & GRCAN_IRQ_ERRCTR_RELATED) || 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 = grcan_read_reg(®s->pimsr); in grcan_interrupt() 771 if (!sources) in grcan_interrupt() 773 grcan_write_reg(®s->picr, sources); in grcan_interrupt() 785 if (sources & (GRCAN_IRQ_TX | GRCAN_IRQ_RX)) { in grcan_interrupt() 795 if (sources & GRCAN_IRQ_ERRORS) in grcan_interrupt() [all …]
|
| /drivers/leds/flash/ |
| A D | leds-sy7802.c | 339 u32 sources[SY7802_MAX_LEDS]; in sy7802_init_flash_properties() local 348 ret = of_property_read_u32_array(np, "led-sources", sources, num); in sy7802_init_flash_properties() 353 if (sources[i] >= SY7802_MAX_LEDS) in sy7802_init_flash_properties() 355 if (led->chip->leds_active & BIT(sources[i])) in sy7802_init_flash_properties() 357 led->chip->leds_active |= BIT(sources[i]); in sy7802_init_flash_properties() 361 led->led_id = num == 2 ? SY7802_LED_JOINT : sources[0]; in sy7802_init_flash_properties()
|
| A D | leds-mt6370-flash.c | 442 u32 sources[MT6370_MAX_LEDS]; in mt6370_init_flash_properties() local 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() 464 led->led_no = num == 2 ? MT6370_LED_JOINT : sources[0]; in mt6370_init_flash_properties()
|
| /drivers/gpu/drm/omapdrm/ |
| A D | omap_irq.c | 163 } 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()
|
| /drivers/comedi/drivers/ |
| A D | ni_tiocmd.c | 242 unsigned int sources; in ni_tio_cmdtest() local 246 sources = TRIG_NOW | TRIG_INT | TRIG_OTHER; in ni_tio_cmdtest() 248 sources |= TRIG_EXT; in ni_tio_cmdtest() 249 err |= comedi_check_trigger_src(&cmd->start_src, sources); in ni_tio_cmdtest()
|
| /drivers/hwtracing/intel_th/ |
| A D | Kconfig | 8 software sources over several types of trace output ports encoded 56 trace sources to be sent out via Intel(R) Trace Hub. It 57 uses stm class device to interface with its sources.
|
| /drivers/firmware/arm_scmi/ |
| A D | notify.c | 341 refcount_t *sources; member 806 r_evt->sources = devm_kcalloc(ni->handle->dev, num_sources, in scmi_register_protocol_events() 808 if (!r_evt->sources) in scmi_register_protocol_events() 823 refcount_set(&r_evt->sources[id], NOTIF_UNSUPP); in scmi_register_protocol_events() 1196 sid = &r_evt->sources[src_id]; in __scmi_enable_evt() 1215 sid = &r_evt->sources[src_id]; in __scmi_enable_evt()
|
| /drivers/gpu/drm/renesas/rz-du/ |
| A D | rzg2l_du_crtc.h | 54 const char *const *sources; member
|
| /drivers/media/platform/aspeed/ |
| A D | Kconfig | 14 from digital or analog sources.
|
| /drivers/media/i2c/ |
| A D | max9286.c | 205 struct max9286_source sources[MAX9286_NUM_GMSL]; member 213 source = &priv->sources[0]; in next_source() 217 for (; source < &priv->sources[MAX9286_NUM_GMSL]; source++) { in next_source() 228 #define to_index(priv, source) ((source) - &(priv)->sources[0]) 1466 if (priv->sources[ep.port].fwnode) { in max9286_parse_dt() 1474 source = &priv->sources[ep.port]; in max9286_parse_dt()
|
| /drivers/staging/fbtft/ |
| A D | README | 10 Download kernel sources
|