Home
last modified time | relevance | path

Searched refs:io7 (Results 1 – 5 of 5) sorted by relevance

/arch/alpha/kernel/
Dsys_marvel.c71 io7_get_irq_ctl(unsigned int irq, struct io7 **pio7) in io7_get_irq_ctl()
75 struct io7 *io7; in io7_get_irq_ctl() local
79 if (!(io7 = marvel_find_io7(pid))) { in io7_get_irq_ctl()
96 ctl = &io7->csrs->PO7_LSI_CTL[irq & 0xff].csr; /* assume LSI */ in io7_get_irq_ctl()
98 ctl = &io7->csrs->PO7_MSI_CTL[((irq - 0x80) >> 5) & 0x0f].csr; in io7_get_irq_ctl()
100 if (pio7) *pio7 = io7; in io7_get_irq_ctl()
109 struct io7 *io7; in io7_enable_irq() local
111 ctl = io7_get_irq_ctl(irq, &io7); in io7_enable_irq()
112 if (!ctl || !io7) { in io7_enable_irq()
118 spin_lock(&io7->irq_lock); in io7_enable_irq()
[all …]
Dcore_marvel.c49 static struct io7 *io7_head = NULL;
91 inline struct io7 *
92 marvel_next_io7(struct io7 *prev) in marvel_next_io7()
97 struct io7 *
100 struct io7 *io7; in marvel_find_io7() local
102 for (io7 = io7_head; io7 && io7->pe != pe; io7 = io7->next) in marvel_find_io7()
105 return io7; in marvel_find_io7()
108 static struct io7 * __init
111 struct io7 *io7; in alloc_io7() local
112 struct io7 *insp; in alloc_io7()
[all …]
Derr_marvel.c800 struct io7 *io7; in marvel_find_io7_with_error() local
814 for (io7 = NULL; NULL != (io7 = marvel_next_io7(io7)); ) { in marvel_find_io7_with_error()
817 err_sum |= io7->csrs->PO7_ERROR_SUM.csr; in marvel_find_io7_with_error()
819 if (!io7->ports[i].enabled) in marvel_find_io7_with_error()
821 err_sum |= io7->ports[i].csrs->POx_ERR_SUM.csr; in marvel_find_io7_with_error()
834 if (!io7) in marvel_find_io7_with_error()
842 io->io_asic_rev = io7->csrs->IO_ASIC_REV.csr; in marvel_find_io7_with_error()
843 io->io_sys_rev = io7->csrs->IO_SYS_REV.csr; in marvel_find_io7_with_error()
844 io->io7_uph = io7->csrs->IO7_UPH.csr; in marvel_find_io7_with_error()
845 io->hpi_ctl = io7->csrs->HPI_CTL.csr; in marvel_find_io7_with_error()
[all …]
Dproto.h58 struct io7 *marvel_find_io7(int pe);
59 struct io7 *marvel_next_io7(struct io7 *prev);
60 void io7_clear_errors(struct io7 *io7);
/arch/alpha/include/asm/
Dcore_marvel.h296 struct io7 *io7; member
308 struct io7 { struct
309 struct io7 *next; argument