D | pm3393.c | 85 static int pmread(struct cmac *cmac, u32 reg, u32 * data32) in pmread() argument 87 t1_tpi_read(cmac->adapter, OFFSET(reg), data32); in pmread() 91 static int pmwrite(struct cmac *cmac, u32 reg, u32 data32) in pmwrite() argument 93 t1_tpi_write(cmac->adapter, OFFSET(reg), data32); in pmwrite() 98 static int pm3393_reset(struct cmac *cmac) in pm3393_reset() argument 111 static int pm3393_interrupt_enable(struct cmac *cmac) in pm3393_interrupt_enable() argument 117 pmwrite(cmac, SUNI1x10GEXP_REG_SERDES_3125_INTERRUPT_ENABLE, 0xffff); in pm3393_interrupt_enable() 118 pmwrite(cmac, SUNI1x10GEXP_REG_XRF_INTERRUPT_ENABLE, 0xffff); in pm3393_interrupt_enable() 119 pmwrite(cmac, SUNI1x10GEXP_REG_XRF_DIAG_INTERRUPT_ENABLE, 0xffff); in pm3393_interrupt_enable() 120 pmwrite(cmac, SUNI1x10GEXP_REG_RXOAM_INTERRUPT_ENABLE, 0xffff); in pm3393_interrupt_enable() [all …]
|