Home
last modified time | relevance | path

Searched refs:irt (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/arch/mips/netlogic/common/
Dirq.c83 int irt; member
94 nlm_pic_enable_irt(pd->node->picbase, pd->irt); in xlp_pic_enable()
105 nlm_pic_disable_irt(pd->node->picbase, pd->irt); in xlp_pic_disable()
130 nlm_pic_ack(pd->node->picbase, pd->irt); in xlp_pic_unmask()
184 void nlm_setup_pic_irq(int node, int picirq, int irq, int irt) in nlm_setup_pic_irq() argument
192 pic_data->irt = irt; in nlm_setup_pic_irq()
214 int i, irt; in nlm_init_node_irqs() local
220 irt = nlm_irq_to_irt(i); in nlm_init_node_irqs()
221 if (irt == -1) /* unused irq */ in nlm_init_node_irqs()
224 if (irt == -2) /* not a direct PIC irq */ in nlm_init_node_irqs()
[all …]
/kernel/linux/linux-5.10/arch/mips/include/asm/netlogic/xlr/
Dpic.h216 nlm_irt_to_irq(int irt) in nlm_irt_to_irq() argument
219 return PIC_INTR_TO_IRQ(irt); in nlm_irt_to_irq()
223 nlm_pic_enable_irt(uint64_t base, int irt) in nlm_pic_enable_irt() argument
227 reg = nlm_read_reg(base, PIC_IRT_1(irt)); in nlm_pic_enable_irt()
228 nlm_write_reg(base, PIC_IRT_1(irt), reg | (1u << 31)); in nlm_pic_enable_irt()
232 nlm_pic_disable_irt(uint64_t base, int irt) in nlm_pic_disable_irt() argument
236 reg = nlm_read_reg(base, PIC_IRT_1(irt)); in nlm_pic_disable_irt()
237 nlm_write_reg(base, PIC_IRT_1(irt), reg & ~(1u << 31)); in nlm_pic_disable_irt()
252 nlm_pic_ack(uint64_t base, int irt) in nlm_pic_ack() argument
254 nlm_write_reg(base, PIC_INT_ACK, 1u << irt); in nlm_pic_ack()
[all …]
/kernel/linux/linux-5.10/arch/mips/include/asm/netlogic/xlp-hal/
Dpic.h303 nlm_pic_enable_irt(uint64_t base, int irt) in nlm_pic_enable_irt() argument
308 reg = nlm_read_pic_reg(base, PIC_9XX_IRT(irt)); in nlm_pic_enable_irt()
309 nlm_write_pic_reg(base, PIC_9XX_IRT(irt), reg | (1 << 22)); in nlm_pic_enable_irt()
311 reg = nlm_read_pic_reg(base, PIC_IRT(irt)); in nlm_pic_enable_irt()
312 nlm_write_pic_reg(base, PIC_IRT(irt), reg | (1u << 31)); in nlm_pic_enable_irt()
317 nlm_pic_disable_irt(uint64_t base, int irt) in nlm_pic_disable_irt() argument
322 reg = nlm_read_pic_reg(base, PIC_9XX_IRT(irt)); in nlm_pic_disable_irt()
324 nlm_write_pic_reg(base, PIC_9XX_IRT(irt), reg); in nlm_pic_disable_irt()
326 reg = nlm_read_pic_reg(base, PIC_IRT(irt)); in nlm_pic_disable_irt()
328 nlm_write_pic_reg(base, PIC_IRT(irt), reg); in nlm_pic_disable_irt()
[all …]
/kernel/linux/linux-5.10/arch/mips/netlogic/xlp/
Dnlm_hal.c112 int devoff, irt; in xlp_irq_to_irt() local
190 irt = -1; in xlp_irq_to_irt()
192 irt = val & 0xffff; in xlp_irq_to_irt()
196 irt = irt + 1; break; in xlp_irq_to_irt()
198 irt = irt + 2; break; in xlp_irq_to_irt()
200 irt = irt + 3; break; in xlp_irq_to_irt()
206 irt = PIC_IRT_PCIE_LINK_INDEX(irq - in xlp_irq_to_irt()
209 irt = -1; in xlp_irq_to_irt()
211 return irt; in xlp_irq_to_irt()
/kernel/linux/linux-5.10/arch/mips/pci/
Dmsi-xlp.c299 int msivec, irt, lirq, xirq, ret; in xlp_setup_msi() local
313 irt = PIC_9XX_IRT_PCIE_LINK_INDEX(link); in xlp_setup_msi()
315 irt = PIC_IRT_PCIE_LINK_INDEX(link); in xlp_setup_msi()
316 nlm_setup_pic_irq(node, lirq, lirq, irt); in xlp_setup_msi()
317 nlm_pic_init_irt(nlm_get_node(node)->picbase, irt, lirq, in xlp_setup_msi()
470 int irq, i, irt, msixvec, val; in xlp_init_node_msi_irqs() local
502 irt = PIC_IRT_PCIE_MSIX_INDEX(msixvec); in xlp_init_node_msi_irqs()
503 nlm_pic_init_irt(nodep->picbase, irt, in xlp_init_node_msi_irqs()
/kernel/linux/linux-5.10/drivers/parisc/
Diosapic.c264 iosapic_load_irt(unsigned long cell_num, struct irt_entry **irt) in iosapic_load_irt() argument
270 BUG_ON(!irt); in iosapic_load_irt()
331 *irt = table; in iosapic_load_irt()
955 iosapic_prt_irt(void *irt, long num_entry) in iosapic_prt_irt() argument
957 unsigned int i, *irp = (unsigned int *) irt; in iosapic_prt_irt()
/kernel/linux/linux-5.10/arch/mips/include/asm/netlogic/
Dcommon.h95 void nlm_setup_pic_irq(int node, int picirq, int irq, int irt);
/kernel/linux/linux-5.10/drivers/cpufreq/
Dpowernow-k8.h16 u32 irt; /* isochronous relief time */ member
Dpowernow-k8.c121 udelay((1 << data->irt) * 10); in count_off_irt()
659 data->irt = ((psb->flags2) >> 2) & 3; in find_psb_table()
665 pr_debug("isochronous relief time: %d\n", data->irt); in find_psb_table()
718 data->irt = (control >> IRT_SHIFT) & IRT_MASK; in powernow_k8_acpi_pst_values()
1059 ((1 << data->irt) * 30)) * 1000; in powernowk8_cpu_init()
/kernel/linux/linux-5.10/fs/gfs2/
Dlock_dlm.c104 s64 irt; in gfs2_update_request_times() local
109 irt = ktime_to_ns(ktime_sub(gl->gl_dstamp, dstamp)); in gfs2_update_request_times()
111 gfs2_update_stats(&gl->gl_stats, GFS2_LKS_SIRT, irt); /* Local */ in gfs2_update_request_times()
112 gfs2_update_stats(&lks->lkstats[gltype], GFS2_LKS_SIRT, irt); /* Global */ in gfs2_update_request_times()
/kernel/linux/linux-5.10/net/ipv6/
Daddrconf.c103 static inline s32 rfc3315_s14_backoff_init(s32 irt) in rfc3315_s14_backoff_init() argument
106 u64 tmp = (900000 + prandom_u32() % 200001) * (u64)irt; in rfc3315_s14_backoff_init()