Home
last modified time | relevance | path

Searched refs:irq_type (Results 1 – 19 of 19) sorted by relevance

/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/backend/gpu/
Dmali_kbase_irq_linux.c213 …base_set_custom_irq_handler(struct kbase_device *kbdev, irq_handler_t custom_handler, int irq_type) in kbase_set_custom_irq_handler() argument
218 KBASE_DEBUG_ASSERT((irq_type >= JOB_IRQ_HANDLER) && (irq_type <= GPU_IRQ_HANDLER)); in kbase_set_custom_irq_handler()
221 if (kbdev->irqs[irq_type].irq) { in kbase_set_custom_irq_handler()
222 free_irq(kbdev->irqs[irq_type].irq, kbase_tag(kbdev, irq_type)); in kbase_set_custom_irq_handler()
225 … requested_irq_handler = (NULL != custom_handler) ? custom_handler : kbase_handler_table[irq_type]; in kbase_set_custom_irq_handler()
227 …if (0 != request_irq(kbdev->irqs[irq_type].irq, requested_irq_handler, kbdev->irqs[irq_type].flags… in kbase_set_custom_irq_handler()
228 dev_name(kbdev->dev), kbase_tag(kbdev, irq_type))) { in kbase_set_custom_irq_handler()
230 …ev_err(kbdev->dev, "Can't request interrupt %d (index %d)\n", kbdev->irqs[irq_type].irq, irq_type); in kbase_set_custom_irq_handler()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/backend/gpu/
Dmali_kbase_irq_linux.c173 …base_set_custom_irq_handler(struct kbase_device *kbdev, irq_handler_t custom_handler, int irq_type) in kbase_set_custom_irq_handler() argument
178 KBASE_DEBUG_ASSERT((irq_type >= JOB_IRQ_HANDLER) && (irq_type <= GPU_IRQ_HANDLER)); in kbase_set_custom_irq_handler()
181 if (kbdev->irqs[irq_type].irq) { in kbase_set_custom_irq_handler()
182 free_irq(kbdev->irqs[irq_type].irq, kbase_tag(kbdev, irq_type)); in kbase_set_custom_irq_handler()
185 … requested_irq_handler = (NULL != custom_handler) ? custom_handler : kbase_handler_table[irq_type]; in kbase_set_custom_irq_handler()
187 …if (0 != request_irq(kbdev->irqs[irq_type].irq, requested_irq_handler, kbdev->irqs[irq_type].flags… in kbase_set_custom_irq_handler()
188 dev_name(kbdev->dev), kbase_tag(kbdev, irq_type))) { in kbase_set_custom_irq_handler()
190 …ev_err(kbdev->dev, "Can't request interrupt %d (index %d)\n", kbdev->irqs[irq_type].irq, irq_type); in kbase_set_custom_irq_handler()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/backend/gpu/
Dmali_kbase_irq_linux.c178 int irq_type) in kbase_set_custom_irq_handler() argument
183 KBASE_DEBUG_ASSERT((JOB_IRQ_HANDLER <= irq_type) && in kbase_set_custom_irq_handler()
184 (GPU_IRQ_HANDLER >= irq_type)); in kbase_set_custom_irq_handler()
187 if (kbdev->irqs[irq_type].irq) in kbase_set_custom_irq_handler()
188 free_irq(kbdev->irqs[irq_type].irq, kbase_tag(kbdev, irq_type)); in kbase_set_custom_irq_handler()
191 kbase_handler_table[irq_type]; in kbase_set_custom_irq_handler()
193 if (0 != request_irq(kbdev->irqs[irq_type].irq, in kbase_set_custom_irq_handler()
195 kbdev->irqs[irq_type].flags | IRQF_SHARED, in kbase_set_custom_irq_handler()
196 dev_name(kbdev->dev), kbase_tag(kbdev, irq_type))) { in kbase_set_custom_irq_handler()
199 kbdev->irqs[irq_type].irq, irq_type); in kbase_set_custom_irq_handler()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/backend/gpu/
Dmali_kbase_irq_linux.c212 int irq_type) in kbase_set_custom_irq_handler() argument
217 KBASE_DEBUG_ASSERT((irq_type >= JOB_IRQ_HANDLER) && in kbase_set_custom_irq_handler()
218 (irq_type <= GPU_IRQ_HANDLER)); in kbase_set_custom_irq_handler()
221 if (kbdev->irqs[irq_type].irq) in kbase_set_custom_irq_handler()
222 free_irq(kbdev->irqs[irq_type].irq, kbase_tag(kbdev, irq_type)); in kbase_set_custom_irq_handler()
226 kbase_handler_table[irq_type]; in kbase_set_custom_irq_handler()
228 if (request_irq(kbdev->irqs[irq_type].irq, requested_irq_handler, in kbase_set_custom_irq_handler()
229 kbdev->irqs[irq_type].flags | IRQF_SHARED, in kbase_set_custom_irq_handler()
231 kbase_tag(kbdev, irq_type)) != 0) { in kbase_set_custom_irq_handler()
234 kbdev->irqs[irq_type].irq, irq_type); in kbase_set_custom_irq_handler()
Dmali_kbase_irq_internal.h45 irq_handler_t custom_handler, int irq_type);
Dmali_kbase_model_linux.c219 int irq_type) in kbase_set_custom_irq_handler() argument
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
Doal_interrupt.h59 unsigned int irq_type; member
133 st_gpio_info.irq_type = 0; in oal_request_irq()
138 …return GpioSetIrq(gpio, st_gpio_info.irq_type, (GpioIrqFunc)st_gpio_info.irq_handler, st_gpio_info… in oal_request_irq()
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/drivers/spi/
Dspi.c218 hi_void dma_write_fifo_callback(hi_u32 irq_type) in dma_write_fifo_callback() argument
220 spi_process_printf("This is callback,irq type is %d\r\n", irq_type); in dma_write_fifo_callback()
221 if (irq_type == DMA_INT_TC) { in dma_write_fifo_callback()
227 hi_void dma_read_fifo_callback(hi_u32 irq_type) in dma_read_fifo_callback() argument
229 spi_process_printf("This is callback,irq type is %d\r\n", irq_type); in dma_read_fifo_callback()
230 if (irq_type == DMA_INT_TC) { in dma_read_fifo_callback()
236 hi_void dma_write_fifo_callback_spi1(hi_u32 irq_type) in dma_write_fifo_callback_spi1() argument
238 spi_process_printf("This is callback,irq type is %d\r\n", irq_type); in dma_write_fifo_callback_spi1()
239 if (irq_type == DMA_INT_TC) { in dma_write_fifo_callback_spi1()
245 hi_void dma_read_fifo_callback_spi1(hi_u32 irq_type) in dma_read_fifo_callback_spi1() argument
[all …]
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/platform/hal/
Dhal_dma.c74 static const IRQn_Type irq_type[HAL_DMA_INST_QTY] = { variable
290 NVIC_SetVector(irq_type[inst], irq_entry[inst]); in hal_dma_open_inst()
292 NVIC_SetPriority(irq_type[inst], IRQ_PRIORITY_ABOVENORMAL); in hal_dma_open_inst()
294 NVIC_SetPriority(irq_type[inst], IRQ_PRIORITY_NORMAL); in hal_dma_open_inst()
296 NVIC_ClearPendingIRQ(irq_type[inst]); in hal_dma_open_inst()
297 NVIC_EnableIRQ(irq_type[inst]); in hal_dma_open_inst()
303 NVIC_DisableIRQ(irq_type[inst]); in hal_dma_close_inst()
Dhal_gpio.h45 enum HAL_GPIO_IRQ_TYPE_T irq_type; member
Dhal_gpio_v1.c406 if (cfg->irq_type == HAL_GPIO_IRQ_TYPE_EDGE_SENSITIVE) in hal_gpio_setup_irq()
451 if (cfg->irq_type == HAL_GPIO_IRQ_TYPE_EDGE_SENSITIVE) in hal_gpio_setup_irq()
Dhal_gpio_v2.c319 if (cfg->irq_type == HAL_GPIO_IRQ_TYPE_EDGE_SENSITIVE) { in hal_gpio_setup_irq()
Dhal_key.c545 gpiocfg.irq_type = HAL_GPIO_IRQ_TYPE_LEVEL_SENSITIVE; in hal_gpiokey_enable_irq()
557 .irq_type = HAL_GPIO_IRQ_TYPE_LEVEL_SENSITIVE, in hal_gpiokey_disable_irq()
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/bridge/analogix/
Danalogix_dp_core.c919 enum dp_irq_type irq_type; in analogix_dp_hardirq() local
927 irq_type = analogix_dp_get_irq_type(dp); in analogix_dp_hardirq()
928 if (irq_type != DP_IRQ_TYPE_UNKNOWN) { in analogix_dp_hardirq()
940 enum dp_irq_type irq_type; in analogix_dp_irq_thread() local
948 irq_type = analogix_dp_get_irq_type(dp); in analogix_dp_irq_thread()
949 if ((irq_type & DP_IRQ_TYPE_HP_CABLE_IN) || (irq_type & DP_IRQ_TYPE_HP_CABLE_OUT)) { in analogix_dp_irq_thread()
956 if (irq_type != DP_IRQ_TYPE_UNKNOWN) { in analogix_dp_irq_thread()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/tests/mali_kutf_irq_test/
Dmali_kutf_irq_test_main.c64 int irq_type);
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/tests/mali_kutf_irq_test/
Dmali_kutf_irq_test_main.c71 int irq_type);
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/dma/
Dsunxi-dma.c191 u8 irq_type; member
465 vchan->irq_type = vchan->cyclic ? DMA_IRQ_PKG : DMA_IRQ_QUEUE; in sun6i_dma_start_desc()
470 irq_val |= vchan->irq_type << (irq_offset * DMA_IRQ_CHAN_WIDTH); in sun6i_dma_start_desc()
571 if (vchan && (status & vchan->irq_type)) { in sun6i_dma_interrupt()
/device/board/isoftstone/yangfan/kernel/src/_net/
Drfkill-wlan.c339 extern int mmc_host_rescan(struct mmc_host *host, int val, int irq_type);
/device/board/hihope/dayu210/kernel/kernel_patch/linux-5.10/dayu210_patch/
Dkernel.patch7386 enum dp_irq_type irq_type;
7393 irq_type = analogix_dp_get_irq_type(dp);
7394 - if (irq_type != DP_IRQ_TYPE_UNKNOWN) {
7395 + if (irq_type != DP_IRQ_TYPE_UNKNOWN)
7409 enum dp_irq_type irq_type;
7416 irq_type = analogix_dp_get_irq_type(dp);
7417 if (irq_type & DP_IRQ_TYPE_HP_CABLE_IN ||