D | pm3393.c | 97 static int pmread(struct cmac *cmac, u32 reg, u32 * data32) in pmread() argument 99 t1_tpi_read(cmac->adapter, OFFSET(reg), data32); in pmread() 103 static int pmwrite(struct cmac *cmac, u32 reg, u32 data32) in pmwrite() argument 105 t1_tpi_write(cmac->adapter, OFFSET(reg), data32); in pmwrite() 110 static int pm3393_reset(struct cmac *cmac) in pm3393_reset() argument 123 static int pm3393_interrupt_enable(struct cmac *cmac) in pm3393_interrupt_enable() argument 129 pmwrite(cmac, SUNI1x10GEXP_REG_SERDES_3125_INTERRUPT_ENABLE, 0xffff); in pm3393_interrupt_enable() 130 pmwrite(cmac, SUNI1x10GEXP_REG_XRF_INTERRUPT_ENABLE, 0xffff); in pm3393_interrupt_enable() 131 pmwrite(cmac, SUNI1x10GEXP_REG_XRF_DIAG_INTERRUPT_ENABLE, 0xffff); in pm3393_interrupt_enable() 132 pmwrite(cmac, SUNI1x10GEXP_REG_RXOAM_INTERRUPT_ENABLE, 0xffff); in pm3393_interrupt_enable() [all …]
|