| /third_party/alsa-lib/src/ucm/ |
| H A D | parser.c | 972 struct use_case_device *dev; in find_component_dev() local 1642 struct ucm_dev_name *dev; in parse_dev_name_list() local 1813 struct ucm_dev_name *dev; verb_device_management() local [all...] |
| H A D | main.c | 1317 struct use_case_device *dev; in device_status() local 2004 struct use_case_device *dev; in get_value_list() local 2192 struct use_case_device *dev; in get_value() local [all...] |
| /third_party/backends/backend/ |
| H A D | dc25.c | 1944 static const SANE_Device dev[] = { variable
|
| H A D | epjitsu.c | 984 struct scanner *dev = NULL; in sane_open() local 4795 struct scanner *dev, *next; in sane_exit() local [all...] |
| H A D | coolscan.c | 2055 Coolscan_t *dev; in attach_scanner() local 3275 Coolscan_t *dev, *next; sane_exit() local 3297 Coolscan_t *dev; sane_get_devices() local 3326 Coolscan_t *dev; sane_open() local [all...] |
| H A D | lexmark_low.c | 459 sanei_lexmark_low_init (Lexmark_Device * dev) in sanei_lexmark_low_init() argument 840 sanei_lexmark_low_destroy(Lexmark_Device * dev) sanei_lexmark_low_destroy() argument 1035 low_simple_scan(Lexmark_Device * dev, SANE_Byte * regs, int xoffset, int pixels, int yoffset, int lines, SANE_Byte ** data) low_simple_scan() argument 1150 sanei_lexmark_low_open_device(Lexmark_Device * dev) sanei_lexmark_low_open_device() argument 1242 sanei_lexmark_low_close_device(Lexmark_Device * dev) sanei_lexmark_low_close_device() argument 1304 low_is_home_line(Lexmark_Device * dev, unsigned char *buffer) low_is_home_line() argument 1464 sanei_lexmark_low_move_fwd(SANE_Int distance, Lexmark_Device * dev, SANE_Byte * regs) sanei_lexmark_low_move_fwd() argument 1648 sanei_lexmark_low_search_home_fwd(Lexmark_Device * dev) sanei_lexmark_low_search_home_fwd() argument 1946 sanei_lexmark_low_search_home_bwd(Lexmark_Device * dev) sanei_lexmark_low_search_home_bwd() argument 2310 low_get_start_loc(SANE_Int resolution, SANE_Int * vert_start, SANE_Int * hor_start, SANE_Int offset, Lexmark_Device * dev) low_get_start_loc() argument 2401 low_set_scan_area(SANE_Int res, SANE_Int tlx, SANE_Int tly, SANE_Int brx, SANE_Int bry, SANE_Int offset, SANE_Bool half_step, SANE_Byte * regs, Lexmark_Device * dev) low_set_scan_area() argument 2457 sanei_lexmark_low_find_start_line(Lexmark_Device * dev) sanei_lexmark_low_find_start_line() argument 2864 sanei_lexmark_low_set_scan_regs(Lexmark_Device * dev, SANE_Int resolution, SANE_Int offset, SANE_Bool calibrated) sanei_lexmark_low_set_scan_regs() argument 4819 sanei_lexmark_low_start_scan(Lexmark_Device * dev) sanei_lexmark_low_start_scan() argument 4913 sanei_lexmark_low_read_scan_data(SANE_Byte * data, SANE_Int size, Lexmark_Device * dev) sanei_lexmark_low_read_scan_data() argument 5101 low_rewind(Lexmark_Device * dev, SANE_Byte * regs) low_rewind() argument 5199 read_buffer_init(Lexmark_Device * dev, int bytesperline) read_buffer_init() argument 5523 sanei_lexmark_low_offset_calibration(Lexmark_Device * dev) sanei_lexmark_low_offset_calibration() argument 5665 sanei_lexmark_low_gain_calibration(Lexmark_Device * dev) sanei_lexmark_low_gain_calibration() argument 5761 sanei_lexmark_low_shading_calibration(Lexmark_Device * dev) sanei_lexmark_low_shading_calibration() argument 5962 sanei_lexmark_low_calibration(Lexmark_Device * dev) sanei_lexmark_low_calibration() argument 6028 sanei_lexmark_low_assign_sensor(Lexmark_Device * dev) sanei_lexmark_low_assign_sensor() argument 6053 sanei_lexmark_low_assign_model(Lexmark_Device * dev, SANE_String_Const devname, SANE_Int vendor, SANE_Int product, SANE_Byte mainboard) sanei_lexmark_low_assign_model() argument [all...] |
| H A D | magicolor.c | 1023 mc_dev_init(Magicolor_Device *dev, const char *devname, int conntype) in mc_dev_init() argument 1042 mc_dev_post_init(struct Magicolor_Device *dev) mc_dev_post_init() argument 1055 struct Magicolor_Device *dev = s->hw; mc_set_model() local 1087 Magicolor_Device *dev = s->hw; mc_set_device() local 1126 Magicolor_Device *dev = s->hw; mc_discover_capabilities() local 1730 scanner_create(struct Magicolor_Device *dev, SANE_Status *status) scanner_create() argument 1752 struct Magicolor_Device *dev; device_detect() local 2138 attach_one_usb(const char *dev) attach_one_usb() argument 2145 attach_one_net(const char *dev, unsigned int model) attach_one_net() argument 2242 Magicolor_Device *dev, *next; free_devices() local 2288 Magicolor_Device *dev, *s, *prev=0; sane_get_devices() local [all...] |
| H A D | sharp.h | 225 struct SHARP_Device *dev; member 234 SHARP_Device *dev; member
|
| H A D | umax1220u-common.c | 2292 UMAX_open_device (UMAX_Handle * scan, const char *dev) in UMAX_open_device() argument
|
| H A D | hp4200.c | 2280 HP4200_Device *dev; in find_device() local 2628 HP4200_Device *dev; sane_open() local 2937 HP4200_Scanner *dev = handle; sane_set_io_mode() local [all...] |
| H A D | hp3900_sane.c | 119 SANE_Device dev; member
|
| H A D | mustek_pp_cis.c | 339 Mustek_PP_1015_display_regs(Mustek_PP_CIS_dev * dev, const char* info) in Mustek_PP_1015_display_regs() argument 429 Mustek_PP_1015_read_reg(Mustek_PP_CIS_dev * dev, Mustek_PP_1015R_reg reg) Mustek_PP_1015_read_reg() argument 458 Mustek_PP_1015_wait_bit(Mustek_PP_CIS_dev * dev, Mustek_PP_1015R_reg reg, Mustek_PP_1015R_bit bit, SANE_Bool on, unsigned period) Mustek_PP_1015_wait_bit() argument 553 Mustek_PP_1015_write_reg(Mustek_PP_CIS_dev * dev, Mustek_PP_1015W_reg reg, SANE_Byte val) Mustek_PP_1015_write_reg() argument 587 Mustek_PP_1015_write_reg2(Mustek_PP_CIS_dev * dev, Mustek_PP_1015W_reg reg, SANE_Byte val1, SANE_Byte val2) Mustek_PP_1015_write_reg2() argument 625 Mustek_PP_1015_write_reg3(Mustek_PP_CIS_dev * dev, Mustek_PP_1015W_reg reg, SANE_Byte val1, SANE_Byte val2, SANE_Byte val3) Mustek_PP_1015_write_reg3() argument 659 Mustek_PP_1015_write_reg_start(Mustek_PP_CIS_dev * dev, Mustek_PP_1015W_reg reg) Mustek_PP_1015_write_reg_start() argument 680 Mustek_PP_1015_write_reg_val(Mustek_PP_CIS_dev * dev, SANE_Byte val) Mustek_PP_1015_write_reg_val() argument 703 Mustek_PP_1015_write_reg_stop(Mustek_PP_CIS_dev * dev) Mustek_PP_1015_write_reg_stop() argument 727 Mustek_PP_1015_send_command(Mustek_PP_CIS_dev * dev, SANE_Byte command) Mustek_PP_1015_send_command() argument 748 max2hw_hres(Mustek_PP_CIS_dev *dev, int dist) max2hw_hres() argument 755 max2hw_vres(Mustek_PP_CIS_dev *dev, int dist) max2hw_vres() argument 762 max2cis_hres(Mustek_PP_CIS_dev *dev, int dist) max2cis_hres() argument 768 cis2max_res(Mustek_PP_CIS_dev *dev, int dist) cis2max_res() argument 775 hw2max_vres(Mustek_PP_CIS_dev *dev, int dist) hw2max_vres() argument 785 cis_get_bank_count(Mustek_PP_CIS_dev *dev) cis_get_bank_count() argument 795 cis_set_sti(Mustek_PP_CIS_dev *dev) cis_set_sti() argument 806 cis_wait_bank_change(Mustek_PP_CIS_dev * dev, int bankcount) cis_wait_bank_change() argument 859 cis_set_dpi_value(Mustek_PP_CIS_dev * dev) cis_set_dpi_value() argument 924 cis_set_ccd_channel(Mustek_PP_CIS_dev * dev) cis_set_ccd_channel() argument 956 cis_config_ccd(Mustek_PP_CIS_dev * dev) cis_config_ccd() argument 1091 cis_wait_motor_stable(Mustek_PP_CIS_dev * dev) cis_wait_motor_stable() argument 1109 cis_motor_forward(Mustek_PP_CIS_dev * dev) cis_motor_forward() argument 1160 cis_move_motor(Mustek_PP_CIS_dev * dev, SANE_Int steps) cis_move_motor() argument 1246 cis_set_et_pd_sti(Mustek_PP_CIS_dev * dev) cis_set_et_pd_sti() argument 1261 cis_wait_next_channel(Mustek_PP_CIS_dev * dev) cis_wait_next_channel() argument 1296 cis_wait_read_ready(Mustek_PP_CIS_dev * dev) cis_wait_read_ready() argument 1330 cis_read_line_low_level(Mustek_PP_CIS_dev * dev, SANE_Byte * buf, SANE_Int pixel, SANE_Byte * calib_low, SANE_Byte * calib_hi, SANE_Int * gamma) cis_read_line_low_level() argument 1496 cis_read_line(Mustek_PP_CIS_dev * dev, SANE_Byte* buf, SANE_Int pixel, SANE_Bool raw) cis_read_line() argument 1524 cis_get_next_line(Mustek_PP_CIS_dev * dev, SANE_Byte * buf) cis_get_next_line() argument 1574 cis_get_grayscale_line(Mustek_PP_CIS_dev * dev, SANE_Byte * buf) cis_get_grayscale_line() argument 1580 cis_get_lineart_line(Mustek_PP_CIS_dev * dev, SANE_Byte * buf) cis_get_lineart_line() argument 1593 cis_get_color_line(Mustek_PP_CIS_dev * dev, SANE_Byte * buf) cis_get_color_line() argument 1603 cis_save_state(Mustek_PP_CIS_dev * dev) cis_save_state() argument 1612 cis_restore_state(Mustek_PP_CIS_dev * dev) cis_restore_state() argument 1635 cis_maximize_dynamic_range(Mustek_PP_CIS_dev * dev) cis_maximize_dynamic_range() argument 1769 cis_measure_extremes(Mustek_PP_CIS_dev * dev, SANE_Byte* calib[3], SANE_Int pixels, SANE_Int first, SANE_Int last) cis_measure_extremes() argument 1829 cis_normalize_ranges(Mustek_PP_CIS_dev * dev) cis_normalize_ranges() argument 1907 cis_measure_delay(Mustek_PP_CIS_dev * dev) cis_measure_delay() argument 2009 cis_motor_control(Mustek_PP_CIS_dev * dev, u_char control) cis_motor_control() argument 2016 cis_return_home(Mustek_PP_CIS_dev * dev, SANE_Bool nowait) cis_return_home() argument 2038 cis_reset_device(Mustek_PP_CIS_dev * dev) cis_reset_device() argument 2059 cis_calibrate(Mustek_PP_CIS_dev * dev) cis_calibrate() argument 2369 Mustek_pp_Handle *dev = hndl; cis_drv_setup() local 2412 Mustek_pp_Handle *dev = hndl; cis_drv_config() local 2517 Mustek_pp_Handle *dev = hndl; cis_drv_close() local 2539 Mustek_pp_Handle *dev = hndl; cis_drv_start() local 2787 Mustek_pp_Handle *dev = hndl; cis_drv_read() local 2813 Mustek_pp_Handle *dev = hndl; cis_drv_stop() local [all...] |
| H A D | nec.c | 982 NEC_Device *dev; attach() local 2057 NEC_Device *dev, *next; sane_exit() local 2078 NEC_Device *dev; sane_get_devices() local 2105 NEC_Device *dev; sane_open() local [all...] |
| H A D | nec.h | 216 struct NEC_Device *dev; member 225 NEC_Device *dev; member
|
| H A D | plustek-usbshading.c | 196 usb_PrepareFineCal( Plustek_Device *dev, ScanParam *tmp_sp, u_short cal_dpi ) in usb_PrepareFineCal() argument 240 static double usb_GetMCLK( Plustek_Device *dev, ScanParam *param ) in usb_GetMCLK() argument 278 static void usb_SetMCLK( Plustek_Device *dev, ScanPara argument 292 usb_SetDarkShading( Plustek_Device *dev, u_char channel, void *coeff_buffer, u_short wCount ) usb_SetDarkShading() argument 330 usb_SetWhiteShading( Plustek_Device *dev, u_char channel, void *data_buffer, u_short wCount ) usb_SetWhiteShading() argument 668 usb_GetNewGain( Plustek_Device *dev, u_short wMax, int channel ) usb_GetNewGain() argument 735 adjLampSetting( Plustek_Device *dev, int channel, u_long max, u_long ideal, u_short l_on, u_short *l_off ) adjLampSetting() argument 777 usb_AdjustGain( Plustek_Device *dev, int fNegative ) usb_AdjustGain() argument 1202 usb_GetNewOffset( Plustek_Device *dev, u_long *pdwSum, u_long *pdwDiff, signed char *pcOffset, u_char *pIdeal, u_long channel, signed char cAdjust ) usb_GetNewOffset() argument 1449 usb_GetDarkShading( Plustek_Device *dev, u_short *pwDest, HiLoDef *pSrce, u_long dwPixels, u_long dwAdd, int iOffset ) usb_GetDarkShading() argument 1721 usb_CalSortHighlight( Plustek_Device *dev, ScanParam *sp, u_long hilight, u_long shading_lines ) usb_CalSortHighlight() argument 1772 usb_CalSortShadow( Plustek_Device *dev, ScanParam *sp, u_long hilight, u_long shadow, u_long shading_lines ) usb_CalSortShadow() argument 1811 usb_procHighlightAndShadow( Plustek_Device *dev, ScanParam *sp, u_long hilight, u_long shadow, u_long shading_lines ) usb_procHighlightAndShadow() argument 3005 get_ptrs(Plustek_Device *dev, u_short *buf, u_long offs, u_short **r, u_short **g, u_short **b) global() argument 3046 usb_DownloadShadingData( Plustek_Device *dev, u_char what ) global() argument [all...] |
| H A D | rts8891.c | 1072 struct Rts8891_Device *dev = session->dev; sane_start() local 1396 Rts8891_Device *dev = session->dev; compute_parameters() local 1712 struct Rts8891_Device *dev; sane_read() local 2101 struct Rts8891_Device *dev = session->dev; sane_cancel() local 2172 Rts8891_Device *dev; sane_close() local 2266 struct Rts8891_Device *dev, *nextdev; sane_exit() local 2920 set_lamp_brightness(struct Rts8891_Device *dev, int level) set_lamp_brightness() argument 2975 init_lamp(struct Rts8891_Device *dev) init_lamp() argument 3014 find_origin(struct Rts8891_Device *dev, SANE_Bool * changed) find_origin() argument 3332 find_margin(struct Rts8891_Device *dev) find_margin() argument 3514 initialize_device(struct Rts8891_Device *dev) initialize_device() argument 3698 init_registers(struct Rts8891_Device *dev) init_registers() argument 4025 init_device(struct Rts8891_Device *dev) init_device() argument 4510 detect_device(struct Rts8891_Device *dev) detect_device() argument 4607 dark_calibration(struct Rts8891_Device *dev, int mode, int light) dark_calibration() argument 4862 gain_calibration(struct Rts8891_Device *dev, int mode, int light) gain_calibration() argument 5223 offset_calibration(struct Rts8891_Device *dev, int mode, int light) offset_calibration() argument 5450 setup_shading_calibration(struct Rts8891_Device *dev, int mode, int *light, int *status1, SANE_Byte * regs) setup_shading_calibration() argument 6128 shading_calibration(struct Rts8891_Device *dev, SANE_Bool color, int mode, int light) shading_calibration() argument 6284 struct Rts8891_Device *dev = session->dev; send_calibration_data() local 6516 struct Rts8891_Device *dev = session->dev; move_to_scan_area() local 6555 struct Rts8891_Device *dev = session->dev; setup_scan_registers() local 7622 struct Rts8891_Device *dev = session->dev; write_scan_registers() local 7655 park_head(struct Rts8891_Device *dev, SANE_Bool wait) park_head() argument [all...] |
| H A D | snapscan.h | 338 SANE_Device dev; member
|
| H A D | kodakaio.c | 1422 k_dev_init(Kodak_Device *dev, const char *devname, int conntype) in k_dev_init() argument 1442 struct Kodak_Device *dev = s->hw; k_set_model() local 1476 Kodak_Device *dev = s->hw; k_set_device() local 1500 Kodak_Device *dev = s->hw; k_discover_capabilities() local 2153 scanner_create(struct Kodak_Device *dev, SANE_Status *status) scanner_create() argument 2175 struct Kodak_Device *dev; device_detect() local 2492 attach_one_usb(const char *dev) attach_one_usb() argument 2499 attach_one_net(const char *dev, unsigned int model) attach_one_net() argument 2602 Kodak_Device *dev, *next; free_devices() local 2653 Kodak_Device *dev, *s, *prev=0; sane_get_devices() local [all...] |
| H A D | microtek.c | 2121 Microtek_Device *dev; attach_scanner() local 2190 attach_one(const char *dev) attach_one() argument 3105 Microtek_Device *dev; sane_get_devices() local 3135 Microtek_Device *dev; sane_open() local [all...] |
| H A D | microtek.h | 256 Microtek_Device *dev; /* raw device info */ member
|
| H A D | niash.c | 134 SANE_Device dev; member 480 int dev = 0; /* 0 percent deviation in cal value as default */ in _WaitForLamp() local [all...] |
| H A D | pieusb_specific.c | 211 Pieusb_Device_Definition *dev; in sanei_pieusb_find_device_callback() local 310 pieusb_initialize_device_definition(Pieusb_Device_Definition* dev, Pieusb_Scanner_Properties* inq, const char* devicename, SANE_Word vendor_id, SANE_Word product_id) pieusb_initialize_device_definition() argument 503 pieusb_print_inquiry(Pieusb_Device_Definition * dev) pieusb_print_inquiry() argument [all...] |
| H A D | qcam.c | 1486 QC_Device *dev, *next; in sane_exit() local 1509 QC_Device *dev; in sane_get_devices() local 1539 QC_Device *dev; sane_open() local [all...] |
| H A D | sharp.c | 1216 get_max_scan_size(int fd, SHARP_Device *dev, int mode) get_max_scan_size() argument 1282 SHARP_Device *dev; attach() local 2565 SHARP_Device *dev, *next; sane_exit() local 2588 SHARP_Device *dev; sane_get_devices() local 2613 SHARP_Device *dev; sane_open() local [all...] |
| /third_party/backends/backend/genesys/ |
| H A D | low.cpp | 109 void sanei_genesys_set_buffer_address(Genesys_Device* dev, std::uint32_t addr) in sanei_genesys_set_buffer_address() argument 136 Status scanner_read_status(Genesys_Device& dev) in scanner_read_status() argument 181 scanner_read_reliable_status(Genesys_Device& dev) scanner_read_reliable_status() argument 190 scanner_read_print_status(Genesys_Device& dev) scanner_read_print_status() argument 206 scanner_register_rw_clear_bits(Genesys_Device& dev, std::uint16_t address, std::uint8_t mask) scanner_register_rw_clear_bits() argument 211 scanner_register_rw_set_bits(Genesys_Device& dev, std::uint16_t address, std::uint8_t mask) scanner_register_rw_set_bits() argument 216 scanner_register_rw_bits(Genesys_Device& dev, std::uint16_t address, std::uint8_t value, std::uint8_t mask) scanner_register_rw_bits() argument 228 sanei_genesys_read_valid_words(Genesys_Device* dev, unsigned int* words) sanei_genesys_read_valid_words() argument 272 sanei_genesys_read_scancnt(Genesys_Device* dev, unsigned int* words) sanei_genesys_read_scancnt() argument 300 sanei_genesys_is_buffer_empty(Genesys_Device* dev) sanei_genesys_is_buffer_empty() argument 322 wait_until_buffer_non_empty(Genesys_Device* dev, bool check_status_twice) wait_until_buffer_non_empty() argument 341 wait_until_has_valid_words(Genesys_Device* dev) wait_until_has_valid_words() argument 359 sanei_genesys_read_data_from_scanner(Genesys_Device* dev, std::uint8_t* data, size_t size) sanei_genesys_read_data_from_scanner() argument 371 read_unshuffled_image_from_scanner(Genesys_Device* dev, const ScanSession& session, std::size_t total_bytes) read_unshuffled_image_from_scanner() argument 443 read_shuffled_image_from_scanner(Genesys_Device* dev, const ScanSession& session) read_shuffled_image_from_scanner() argument 540 sanei_genesys_read_feed_steps(Genesys_Device* dev, unsigned int* steps) sanei_genesys_read_feed_steps() argument 565 sanei_genesys_set_lamp_power(Genesys_Device* dev, const Genesys_Sensor& sensor, Genesys_Register_Set& regs, bool set) sanei_genesys_set_lamp_power() argument 638 get_gamma_table(Genesys_Device* dev, const Genesys_Sensor& sensor, int color) get_gamma_table() argument 658 generate_gamma_buffer(Genesys_Device* dev, const Genesys_Sensor& sensor, int bits, int max, int size) generate_gamma_buffer() argument 722 sanei_genesys_send_gamma_table(Genesys_Device* dev, const Genesys_Sensor& sensor) sanei_genesys_send_gamma_table() argument 759 compute_session_pixel_offsets(const Genesys_Device* dev, ScanSession& s, const Genesys_Sensor& sensor) compute_session_pixel_offsets() argument 812 session_adjust_output_pixels(unsigned output_pixels, const Genesys_Device& dev, const Genesys_Sensor& sensor, unsigned output_xresolution, unsigned output_yresolution, bool adjust_output_pixels) session_adjust_output_pixels() argument 899 compute_session(const Genesys_Device* dev, ScanSession& s, const Genesys_Sensor& sensor) compute_session() argument 1129 build_image_pipeline(const Genesys_Device& dev, const ScanSession& session, unsigned pipeline_index, bool log_image_data) build_image_pipeline() argument 1283 setup_image_pipeline(Genesys_Device& dev, const ScanSession& session) setup_image_pipeline() argument 1403 sanei_genesys_asic_init(Genesys_Device* dev) sanei_genesys_asic_init() argument 1477 scanner_start_action(Genesys_Device& dev, bool start_motor) scanner_start_action() argument 1646 sanei_genesys_wait_for_home(Genesys_Device* dev) sanei_genesys_wait_for_home() argument 1766 sanei_genesys_get_lowest_ydpi(Genesys_Device *dev) sanei_genesys_get_lowest_ydpi() argument 1777 sanei_genesys_get_lowest_dpi(Genesys_Device *dev) sanei_genesys_get_lowest_dpi() argument 1792 sanei_genesys_is_compatible_calibration(Genesys_Device* dev, const ScanSession& session, const Genesys_Calibration_Cache* cache, bool for_overwrite) sanei_genesys_is_compatible_calibration() argument [all...] |