Home
last modified time | relevance | path

Searched refs:irqs (Results 1 – 25 of 44) sorted by relevance

12

/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/backend/gpu/
Dmali_kbase_irq_linux.c221 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()
227 …if (0 != request_irq(kbdev->irqs[irq_type].irq, requested_irq_handler, kbdev->irqs[irq_type].flags… in kbase_set_custom_irq_handler()
230 …dev_err(kbdev->dev, "Can't request interrupt %d (index %d)\n", kbdev->irqs[irq_type].irq, irq_type… in kbase_set_custom_irq_handler()
360 if (kbdev->irqs[tag].irq) { in kbasep_common_test_interrupt()
378 … dev_err(kbdev->dev, "Interrupt %d (index %d) didn't reach CPU.\n", kbdev->irqs[tag].irq, tag); in kbasep_common_test_interrupt()
381 … dev_dbg(kbdev->dev, "Interrupt %d (index %d) reached CPU.\n", kbdev->irqs[tag].irq, tag); in kbasep_common_test_interrupt()
391 free_irq(kbdev->irqs[tag].irq, kbase_tag(kbdev, tag)); in kbasep_common_test_interrupt()
395 …if (request_irq(kbdev->irqs[tag].irq, kbase_handler_table[tag], kbdev->irqs[tag].flags | IRQF_SHAR… in kbasep_common_test_interrupt()
397 …dev_err(kbdev->dev, "Can't restore original interrupt %d (index %d)\n", kbdev->irqs[tag].irq, tag); in kbasep_common_test_interrupt()
[all …]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/backend/gpu/
Dmali_kbase_irq_linux.c181 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()
187 …if (0 != request_irq(kbdev->irqs[irq_type].irq, requested_irq_handler, kbdev->irqs[irq_type].flags… in kbase_set_custom_irq_handler()
190 …dev_err(kbdev->dev, "Can't request interrupt %d (index %d)\n", kbdev->irqs[irq_type].irq, irq_type… in kbase_set_custom_irq_handler()
320 if (kbdev->irqs[tag].irq) { in kbasep_common_test_interrupt()
338 … dev_err(kbdev->dev, "Interrupt %d (index %d) didn't reach CPU.\n", kbdev->irqs[tag].irq, tag); in kbasep_common_test_interrupt()
341 … dev_dbg(kbdev->dev, "Interrupt %d (index %d) reached CPU.\n", kbdev->irqs[tag].irq, tag); in kbasep_common_test_interrupt()
351 free_irq(kbdev->irqs[tag].irq, kbase_tag(kbdev, tag)); in kbasep_common_test_interrupt()
355 …if (request_irq(kbdev->irqs[tag].irq, kbase_handler_table[tag], kbdev->irqs[tag].flags | IRQF_SHAR… in kbasep_common_test_interrupt()
357 …dev_err(kbdev->dev, "Can't restore original interrupt %d (index %d)\n", kbdev->irqs[tag].irq, tag); in kbasep_common_test_interrupt()
[all …]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/backend/gpu/
Dmali_kbase_irq_linux.c187 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()
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()
199 kbdev->irqs[irq_type].irq, irq_type); in kbase_set_custom_irq_handler()
329 if (kbdev->irqs[tag].irq) { in kbasep_common_test_interrupt()
353 kbdev->irqs[tag].irq, tag); in kbasep_common_test_interrupt()
357 kbdev->irqs[tag].irq, tag); in kbasep_common_test_interrupt()
367 free_irq(kbdev->irqs[tag].irq, kbase_tag(kbdev, tag)); in kbasep_common_test_interrupt()
371 if (request_irq(kbdev->irqs[tag].irq, kbase_handler_table[tag], in kbasep_common_test_interrupt()
[all …]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/backend/gpu/
Dmali_kbase_irq_linux.c221 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()
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()
234 kbdev->irqs[irq_type].irq, irq_type); in kbase_set_custom_irq_handler()
362 if (kbdev->irqs[tag].irq) { in kbasep_common_test_interrupt()
386 kbdev->irqs[tag].irq, tag); in kbasep_common_test_interrupt()
390 kbdev->irqs[tag].irq, tag); in kbasep_common_test_interrupt()
400 free_irq(kbdev->irqs[tag].irq, kbase_tag(kbdev, tag)); in kbasep_common_test_interrupt()
404 if (request_irq(kbdev->irqs[tag].irq, kbase_handler_table[tag], in kbasep_common_test_interrupt()
[all …]
/device/soc/hisilicon/common/platform/hieth-sf/src/
Dctrl.c146 static inline int32_t IrqEnable(struct HiethNetdevLocal *ld, int32_t irqs) in IrqEnable() argument
151 HiethWrite(ld, old | (unsigned long)irqs, GLB_RW_IRQ_ENA); in IrqEnable()
156 static inline int32_t IrqDisable(struct HiethNetdevLocal *ld, int32_t irqs) in IrqDisable() argument
161 HiethWrite(ld, old & (~(unsigned long)irqs), GLB_RW_IRQ_ENA); in IrqDisable()
226 int32_t HiethIrqEnable(struct HiethNetdevLocal *ld, int32_t irqs) in HiethIrqEnable() argument
231 old = IrqEnable(ld, irqs); in HiethIrqEnable()
236 int32_t HiethIrqDisable(struct HiethNetdevLocal *ld, int32_t irqs) in HiethIrqDisable() argument
241 old = IrqDisable(ld, irqs); in HiethIrqDisable()
251 int32_t HiethClearIrqstatus(struct HiethNetdevLocal *ld, int32_t irqs) in HiethClearIrqstatus() argument
256 HiethWrite(ld, irqs, GLB_RW_IRQ_RAW); in HiethClearIrqstatus()
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/
Dhw.c239 res = platform_get_resource_byname(pdev, IORESOURCE_IRQ, match_data->irqs[0].name); in rkisp_register_irq()
243 irq = platform_get_irq_byname(pdev, match_data->irqs[i].name); in rkisp_register_irq()
245 dev_err(dev, "no irq %s in dts\n", match_data->irqs[i].name); in rkisp_register_irq()
249 if (!strcmp(match_data->irqs[i].name, "mipi_irq")) { in rkisp_register_irq()
253 …ret = devm_request_irq(dev, irq, match_data->irqs[i].irq_hdl, IRQF_SHARED, dev_driver_string(dev),… in rkisp_register_irq()
255 dev_err(dev, "request %s failed: %d\n", match_data->irqs[i].name, ret); in rkisp_register_irq()
498 .irqs = rv1126_isp_irqs,
509 .irqs = rk1808_isp_irqs,
520 .irqs = rk3288_isp_irqs,
531 .irqs = rk3326_isp_irqs,
[all …]
Dhw.h23 struct isp_irqs_data *irqs; member
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/
Dhw.c249 match_data->irqs[0].name); in rkisp_register_irq()
253 irq = platform_get_irq_byname(pdev, match_data->irqs[i].name); in rkisp_register_irq()
256 match_data->irqs[i].name); in rkisp_register_irq()
260 if (!strcmp(match_data->irqs[i].name, "mipi_irq")) in rkisp_register_irq()
264 match_data->irqs[i].irq_hdl, in rkisp_register_irq()
270 match_data->irqs[i].name, ret); in rkisp_register_irq()
499 .irqs = rv1126_isp_irqs,
510 .irqs = rk1808_isp_irqs,
521 .irqs = rk3288_isp_irqs,
532 .irqs = rk3326_isp_irqs,
[all …]
Dhw.h23 struct isp_irqs_data *irqs; member
/device/board/isoftstone/yangfan/kernel/src/driv/media/isp/
Dhw.c249 match_data->irqs[0].name); in rkisp_register_irq()
253 irq = platform_get_irq_byname(pdev, match_data->irqs[i].name); in rkisp_register_irq()
256 match_data->irqs[i].name); in rkisp_register_irq()
260 if (!strcmp(match_data->irqs[i].name, "mipi_irq")) in rkisp_register_irq()
264 match_data->irqs[i].irq_hdl, in rkisp_register_irq()
270 match_data->irqs[i].name, ret); in rkisp_register_irq()
499 .irqs = rv1126_isp_irqs,
510 .irqs = rk1808_isp_irqs,
521 .irqs = rk3288_isp_irqs,
532 .irqs = rk3326_isp_irqs,
[all …]
Dhw.h23 struct isp_irqs_data *irqs; member
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi-cec.c201 unsigned int irqs; in dw_hdmi_cec_enable() local
211 irqs = CEC_STAT_ERROR_INIT | CEC_STAT_NACK | CEC_STAT_EOM | CEC_STAT_DONE; in dw_hdmi_cec_enable()
212 dw_hdmi_write(cec, irqs, HDMI_CEC_POLARITY); in dw_hdmi_cec_enable()
213 dw_hdmi_write(cec, ~irqs, HDMI_CEC_MASK); in dw_hdmi_cec_enable()
214 dw_hdmi_write(cec, ~irqs, HDMI_IH_MUTE_CEC_STAT0); in dw_hdmi_cec_enable()
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/ispp/
Dhw.c262 .irqs = rv1126_ispp_irqs,
272 .irqs = rk3588_ispp_irqs,
339 res = platform_get_resource_byname(pdev, IORESOURCE_IRQ, match_data->irqs[0].name); in rkispp_hw_probe()
343 irq = platform_get_irq_byname(pdev, match_data->irqs[i].name); in rkispp_hw_probe()
345 dev_err(dev, "no irq %s in dts\n", match_data->irqs[i].name); in rkispp_hw_probe()
349 …ret = devm_request_irq(dev, irq, match_data->irqs[i].irq_hdl, IRQF_SHARED, dev_driver_string(dev),… in rkispp_hw_probe()
351 dev_err(dev, "request %s failed: %d\n", match_data->irqs[i].name, ret); in rkispp_hw_probe()
Dhw.h23 struct irqs_data *irqs; member
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/ispp/
Dhw.c263 .irqs = rv1126_ispp_irqs,
273 .irqs = rk3588_ispp_irqs,
339 match_data->irqs[0].name); in rkispp_hw_probe()
344 match_data->irqs[i].name); in rkispp_hw_probe()
347 match_data->irqs[i].name); in rkispp_hw_probe()
352 match_data->irqs[i].irq_hdl, in rkispp_hw_probe()
358 match_data->irqs[i].name, ret); in rkispp_hw_probe()
Dhw.h24 struct irqs_data *irqs; member
/device/board/isoftstone/yangfan/kernel/src/driv/media/ispp/
Dhw.c263 .irqs = rv1126_ispp_irqs,
273 .irqs = rk3588_ispp_irqs,
339 match_data->irqs[0].name); in rkispp_hw_probe()
344 match_data->irqs[i].name); in rkispp_hw_probe()
347 match_data->irqs[i].name); in rkispp_hw_probe()
352 match_data->irqs[i].irq_hdl, in rkispp_hw_probe()
358 match_data->irqs[i].name, ret); in rkispp_hw_probe()
Dhw.h24 struct irqs_data *irqs; member
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/rga3/
Drga_drv.c644 .irqs = single_rga2_irqs,
651 .irqs = single_rga2_irqs,
658 .irqs = rga3_core0_irqs,
665 .irqs = rga3_core1_irqs,
782 match_data->irqs[0].name); in rga_drv_probe()
789 match_data->irqs[0].name, irq); in rga_drv_probe()
792 match_data->irqs[0].irq_hdl, in rga_drv_probe()
793 match_data->irqs[0].irq_thread, IRQF_SHARED, in rga_drv_probe()
798 match_data->irqs[0].name, ret); in rga_drv_probe()
/device/soc/hisilicon/common/platform/hieth-sf/include/internal/
Dctrl.h297 int32_t HiethIrqEnable(struct HiethNetdevLocal *ld, int32_t irqs);
300 int32_t HiethIrqDisable(struct HiethNetdevLocal *ld, int32_t irqs);
306 int32_t HiethClearIrqstatus(struct HiethNetdevLocal *ld, int32_t irqs);
/device/board/isoftstone/yangfan/kernel/src/driv/gpu/bridge/
Ddw-hdmi-qp-cec.c195 unsigned int irqs; in dw_hdmi_qp_cec_enable() local
204 irqs = CEC_STAT_LINE_ERR | CEC_STAT_NACK | CEC_STAT_EOM | in dw_hdmi_qp_cec_enable()
207 dw_hdmi_qp_write(cec, irqs, CEC_INT_MASK_N); in dw_hdmi_qp_cec_enable()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/
Dmali_osk_mali.c493 u32 irqs[128]; in mali_osk_shared_interrupts() local
504 if (irq == irqs[j]) { in mali_osk_shared_interrupts()
509 irqs[num_irqs_found++] = irq; in mali_osk_shared_interrupts()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/
Dmali_osk_mali.c392 u32 irqs[128]; in _mali_osk_shared_interrupts() local
403 if (irq == irqs[j]) { in _mali_osk_shared_interrupts()
408 irqs[num_irqs_found++] = irq; in _mali_osk_shared_interrupts()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/power/mfd/
Daxp2101.c819 .irqs = axp152_regmap_irqs,
831 .irqs = axp20x_regmap_irqs,
844 .irqs = axp22x_regmap_irqs,
856 .irqs = axp288_regmap_irqs,
869 .irqs = axp806_regmap_irqs,
881 .irqs = axp809_regmap_irqs,
893 .irqs = axp2101_regmap_irqs,
906 .irqs = axp15_regmap_irqs,
918 .irqs = axp1530_regmap_irqs,
930 .irqs = axp858_regmap_irqs,
[all …]
/device/soc/rockchip/common/sdk_linux/drivers/mfd/
Drk808.c644 .irqs = rk805_irqs,
655 .irqs = rk808_irqs,
706 .irqs = rk816_irqs,
718 .irqs = rk816_battery_irqs,
729 .irqs = rk817_irqs,
741 .irqs = rk818_irqs,

12