Searched refs:io7 (Results 1 – 6 of 6) sorted by relevance
73 io7_get_irq_ctl(unsigned int irq, struct io7 **pio7) in io7_get_irq_ctl()77 struct io7 *io7; in io7_get_irq_ctl() local81 if (!(io7 = marvel_find_io7(pid))) { in io7_get_irq_ctl()98 ctl = &io7->csrs->PO7_LSI_CTL[irq & 0xff].csr; /* assume LSI */ in io7_get_irq_ctl()100 ctl = &io7->csrs->PO7_MSI_CTL[((irq - 0x80) >> 5) & 0x0f].csr; in io7_get_irq_ctl()102 if (pio7) *pio7 = io7; in io7_get_irq_ctl()111 struct io7 *io7; in io7_enable_irq() local113 ctl = io7_get_irq_ctl(irq, &io7); in io7_enable_irq()114 if (!ctl || !io7) { in io7_enable_irq()120 spin_lock(&io7->irq_lock); in io7_enable_irq()[all …]
49 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() local102 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 * __init111 struct io7 *io7; in alloc_io7() local112 struct io7 *insp; in alloc_io7()[all …]
800 struct io7 *io7; in marvel_find_io7_with_error() local814 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 …]
58 struct io7 *marvel_find_io7(int pe);59 struct io7 *marvel_next_io7(struct io7 *prev);60 void io7_clear_errors(struct io7 *io7);
296 struct io7 *io7; member308 struct io7 { struct309 struct io7 *next; argument
1028 io7= [HW] IO7 for Marvel based alpha systems