Searched refs:regs_w1c (Results 1 – 2 of 2) sorted by relevance
75 uint32_t regs_w1c[CADENCE_GEM_MAXREG]; member
621 memset(&s->regs_w1c[0], 0, sizeof(s->regs_w1c)); in gem_init_register_masks()622 s->regs_w1c[R_TXSTATUS] = 0x000001F7; in gem_init_register_masks()623 s->regs_w1c[R_RXSTATUS] = 0x0000000F; in gem_init_register_masks()1606 readonly = s->regs[offset] & (s->regs_ro[offset] | s->regs_w1c[offset]); in gem_write()1609 s->regs[offset] = (val & ~s->regs_w1c[offset]) | readonly; in gem_write()1612 s->regs[offset] &= ~(s->regs_w1c[offset] & val); in gem_write()