Searched refs:devshift (Results 1 – 1 of 1) sorted by relevance
66 u_long devshift; member125 instr->dev = instr->addr >> priv->devshift; in flashcard_erase()126 instr->cell = (instr->addr - (instr->dev << priv->devshift)) / mtd->erasesize; in flashcard_erase()258 u_char device = from >> priv->devshift; in flashcard_read()259 u_char cell = (int) (from - (device << priv->devshift)) / mtd->erasesize; in flashcard_read()325 u_char device = to >> priv->devshift; in flashcard_write()562 priv->devshift = 24; in init_doc1000()