Searched refs:rdidx (Results 1 – 2 of 2) sorted by relevance
1414 int rdidx; /* Event buffer indices */ in fst_intr() local1493 rdidx = FST_RDB(card, interruptEvent.rdindex) & 0x1f; in fst_intr()1495 while (rdidx != wridx) { in fst_intr()1496 event = FST_RDB(card, interruptEvent.evntbuff[rdidx]); in fst_intr()1552 if (++rdidx >= MAX_CIRBUFF) in fst_intr()1553 rdidx = 0; in fst_intr()1555 FST_WRB(card, interruptEvent.rdindex, rdidx); in fst_intr()
2326 int rdidx, ppidx; in spi_nor_spimem_adjust_hwcaps() local2331 rdidx = spi_nor_hwcaps_read2cmd(BIT(cap)); in spi_nor_spimem_adjust_hwcaps()2332 if (rdidx >= 0 && in spi_nor_spimem_adjust_hwcaps()2333 spi_nor_spimem_check_readop(nor, ¶ms->reads[rdidx])) in spi_nor_spimem_adjust_hwcaps()