text
stringlengths 0
14.1k
|
---|
irq = d->irq - NETX_IRQ_HIF_CHAINED(0);
|
val = readl(NETX_DPMAS_INT_EN);
|
val |= (1 << 24) << irq;
|
writel(val, NETX_DPMAS_INT_EN);
|
DEBUG_IRQ(""%s: irq %d\n"", __func__, d->irq);
|
}
|
static struct irq_chip netx_hif_chip = {
|
.irq_ack = netx_hif_ack_irq,
|
.irq_mask = netx_hif_mask_irq,
|
.irq_unmask = netx_hif_unmask_irq,
|
.irq_set_type = netx_hif_irq_type,
|
=======
|
DEBUG_IRQ(""%s: irq %d\n"", __func__, _irq);
|
}
|
static void
|
netx_hif_mask_irq(unsigned int _irq)
|
{
|
unsigned int val, irq;
|
irq = _irq - NETX_IRQ_HIF_CHAINED(0);
|
val = readl(NETX_DPMAS_INT_EN);
|
val &= ~((1 << 24) << irq);
|
writel(val, NETX_DPMAS_INT_EN);
|
DEBUG_IRQ(""%s: irq %d\n"", __func__, _irq);
|
}
|
static void
|
netx_hif_unmask_irq(unsigned int _irq)
|
{
|
unsigned int val, irq;
|
irq = _irq - NETX_IRQ_HIF_CHAINED(0);
|
val = readl(NETX_DPMAS_INT_EN);
|
val |= (1 << 24) << irq;
|
writel(val, NETX_DPMAS_INT_EN);
|
DEBUG_IRQ(""%s: irq %d\n"", __func__, _irq);
|
}
|
static struct irq_chip netx_hif_chip = {
|
.ack = netx_hif_ack_irq,
|
.mask = netx_hif_mask_irq,
|
.unmask = netx_hif_unmask_irq,
|
.set_type = netx_hif_irq_type,
|
>>>>>>> 296c66da8a02d52243f45b80521febece5ed498a
|
};
|
void __init netx_init_irq(void)
|
{
|
int irq;
|
vic_init(__io(io_p2v(NETX_PA_VIC)), 0, ~0, 0);
|
for (irq = NETX_IRQ_HIF_CHAINED(0); irq <= NETX_IRQ_HIF_LAST; irq++) {
|
<<<<<<< HEAD
|
irq_set_chip_and_handler(irq, &netx_hif_chip,
|
handle_level_irq);
|
=======
|
set_irq_chip(irq, &netx_hif_chip);
|
set_irq_handler(irq, handle_level_irq);
|
>>>>>>> 296c66da8a02d52243f45b80521febece5ed498a
|
set_irq_flags(irq, IRQF_VALID);
|
}
|
writel(NETX_DPMAS_INT_EN_GLB_EN, NETX_DPMAS_INT_EN);
|
<<<<<<< HEAD
|
irq_set_chained_handler(NETX_IRQ_HIF, netx_hif_demux_handler);
|
=======
|
set_irq_chained_handler(NETX_IRQ_HIF, netx_hif_demux_handler);
|
>>>>>>> 296c66da8a02d52243f45b80521febece5ed498a
|
}
|
static int __init netx_init(void)
|
{
|
return platform_add_devices(devices, ARRAY_SIZE(devices));
|
}
|
subsys_initcall(netx_init);
|
" gpl-2.0
|
titola/incudine doc/html/tutorial_cmd.html 11311 "<!DOCTYPE html>
|
<html lang=""en"">
|
<head>
|
<meta charset=""utf-8"">
|
<meta name=""viewport"" content=""width=device-width, initial-scale=1.0"">
|
<link rel=""stylesheet"" href=""incudine.css"" />
|
<title>Incudine Command</title>
|
</head>
|
<body>
|
<div id=""content"">
|
<table class=""navtutor"">
|
<tr>
|
<th class=""center"">Incudine Command</th>
|
</tr>
|
</table>
|
<hr>
|
<p>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.