Home
last modified time | relevance | path

Searched refs:rdidx (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/wan/
H A Dfarsync.c1414 int rdidx; /* Event buffer indices */ in fst_intr() local
1493 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()
/openbmc/linux/drivers/mtd/spi-nor/
H A Dcore.c2387 int rdidx, ppidx; in spi_nor_spimem_adjust_hwcaps() local
2392 rdidx = spi_nor_hwcaps_read2cmd(BIT(cap)); in spi_nor_spimem_adjust_hwcaps()
2393 if (rdidx >= 0 && in spi_nor_spimem_adjust_hwcaps()
2394 spi_nor_spimem_check_readop(nor, &params->reads[rdidx])) in spi_nor_spimem_adjust_hwcaps()