Home
last modified time | relevance | path

Searched refs:dpihw (Results 1 - 3 of 3) sorted by relevance

/third_party/backends/backend/genesys/
H A Dlow.h331 void sanei_genesys_set_dpihw(Genesys_Register_Set& regs, unsigned dpihw);
H A Dlow.cpp1501 void sanei_genesys_set_dpihw(Genesys_Register_Set& regs, unsigned dpihw) in sanei_genesys_set_dpihw() argument
1511 switch (dpihw) { in sanei_genesys_set_dpihw()
1525 throw SaneException("Unknown dpihw value: %d", dpihw); in sanei_genesys_set_dpihw()
H A Dgenesys.cpp542 unsigned dpihw = dev->reg.find_reg(0x05).value >> 6; in scanner_send_slope_table() local
544 if (dpihw == 0) { // 600 dpi in scanner_send_slope_table()
546 } else if (dpihw == 1) { // 1200 dpi in scanner_send_slope_table()
548 } else if (dpihw == 2) { // 2400 dpi in scanner_send_slope_table()
551 throw SaneException("Unexpected dpihw"); in scanner_send_slope_table()
564 default: throw SaneException("Unexpected dpihw"); in scanner_send_slope_table()

Completed in 11 milliseconds