Esempio n. 1
0
static void omap4_enable_cti(int irq)
{
	if (irq == OMAP44XX_IRQ_CTI0)
		cti_enable(&omap4_cti[0]);
	else if (irq == OMAP44XX_IRQ_CTI1)
		cti_enable(&omap4_cti[1]);
}
Esempio n. 2
0
int socfpga_start_cti(struct platform_device *pdev)
{
	int i;

	for (i = 0; i < SOCFPGA_NUM_CTI; i++)
		cti_enable(&socfpga_cti_data[i]);

	return 0;
}
Esempio n. 3
0
int socfpga_start_cti(struct platform_device *pdev)
{
	struct socfpga_cti_device *cti_dev = platform_get_drvdata(pdev);
	int i;

	for (i = 0; i < cti_dev->socfpga_ncores; i++)
		 cti_enable(&cti_dev->socfpga_cti[i]->socfpga_cti_data);

	return 0;
}