Lines Matching refs:write
1037 // write them to analog frontend
1713 /* write scan registers */
1717 DBG(DBG_error, "%s: failed to bulk write registers\n", __func__);
2501 // now registers are ok, write them to scanner
2519 // to detect real power up condition, we write to REG_0x41 with pwrbit set, then read it back.
2594 /* MD6471/G2410 and XP200 read/write data from an undocumented memory area which
2678 // write scan registers
2751 session->buttons[BUTTON_SCAN_SW].write((value & 0x02) != 0);
2754 session->buttons[BUTTON_SCAN_SW].write(value == 0x16);
2757 session->buttons[BUTTON_SCAN_SW].write(value == 0x6c);
2761 session->buttons[BUTTON_SCAN_SW].write((value & 0x20) == 0);
2772 session->buttons[BUTTON_EMAIL_SW].write(value == 0x12);
2776 session->buttons[BUTTON_EMAIL_SW].write((value & 0x08) == 0);
2787 session->buttons[BUTTON_COPY_SW].write(value == 0x11);
2790 session->buttons[BUTTON_COPY_SW].write(value == 0x5c);
2794 session->buttons[BUTTON_COPY_SW].write((value & 0x10) == 0);
2805 session->buttons[BUTTON_POWER_SW].write(value == 0x14);
2816 session->buttons[BUTTON_OCR_SW].write(value == 0x13);
2827 session->buttons[BUTTON_PAGE_LOADED_SW].write((value & 0x04) != 0);
2864 /* 2300 does not write to 'control' */
2869 /* MD6471/G2410/HP2300 and XP200 read/write data from an undocumented memory area which