Lines Matching refs:status
71 u32 status = readl_relaxed(s->dev->mapbase + PCSR);
75 state->detect = status & PCSR_S0_DETECT ? 0 : 1;
76 state->ready = status & PCSR_S0_READY ? 1 : 0;
77 state->bvd1 = status & PCSR_S0_BVD1 ? 1 : 0;
78 state->bvd2 = status & PCSR_S0_BVD2 ? 1 : 0;
79 state->wrprot = status & PCSR_S0_WP ? 1 : 0;
80 state->vs_3v = status & PCSR_S0_VS1 ? 0 : 1;
81 state->vs_Xv = status & PCSR_S0_VS2 ? 0 : 1;
85 state->detect = status & PCSR_S1_DETECT ? 0 : 1;
86 state->ready = status & PCSR_S1_READY ? 1 : 0;
87 state->bvd1 = status & PCSR_S1_BVD1 ? 1 : 0;
88 state->bvd2 = status & PCSR_S1_BVD2 ? 1 : 0;
89 state->wrprot = status & PCSR_S1_WP ? 1 : 0;
90 state->vs_3v = status & PCSR_S1_VS1 ? 0 : 1;
91 state->vs_Xv = status & PCSR_S1_VS2 ? 0 : 1;