Lines Matching defs:dev

72     HpDevice		dev;
237 if ( !FAILED( sanei_hp_scsi_new(&scsi, this->dev->sanedev.name)) )
281 switch (sanei_hp_optset_scanmode(this->dev->options, this->data)) {
304 *out8 = sanei_hp_optset_output_8bit (this->dev->options, this->data);
321 *out8 = sanei_hp_optset_output_8bit (this->dev->options, this->data);
347 sanei_hp_handle_new (HpDevice dev)
354 if (!(new->data = sanei_hp_data_dup(dev->data)))
360 new->dev = dev;
373 if (sanei_hp_scsi_new(&scsi,this->dev->sanedev.name)==SANE_STATUS_GOOD &&
390 return sanei_hp_optset_saneoption(this->dev->options, this->data, optnum);
410 RETURN_IF_FAIL( sanei_hp_scsi_new(&scsi, this->dev->sanedev.name) );
412 immediate = sanei_hp_optset_isImmediate(this->dev->options, optnum);
414 status = sanei_hp_optset_control(this->dev->options, this->data,
442 status = sanei_hp_optset_guessParameters(this->dev->options,
447 if (!strcmp("C5100A", this->dev->sanedev.model)) {
451 if (!FAILED( sanei_hp_scsi_new(&scsi, this->dev->sanedev.name) )) {
479 RETURN_IF_FAIL( sanei_hp_scsi_new(&scsi, this->dev->sanedev.name) );
481 status = sanei_hp_optset_download(this->dev->options, this->data, scsi);
496 sanei_hp_optset_mirror_vert (this->dev->options, this->data, scsi);
500 scl = sanei_hp_optset_scan_type (this->dev->options, this->data);
523 if ( (sanei_hp_device_support_get (this->dev->sanedev.name,
526 && (sanei_hp_device_support_get (this->dev->sanedev.name,
539 else if ( sanei_hp_device_support_get (this->dev->sanedev.name,
628 status = sanei_hp_optset_start_wait(this->dev->options, this->data);
711 if ( sanei_hp_scsi_new(&scsi, this->dev->sanedev.name) == SANE_STATUS_GOOD )
713 hpinfo = sanei_hp_device_info_get ( this->dev->sanedev.name );
734 (int)this->dev->compat);
736 && (this->dev->compat & HP_COMPAT_OJ_1150C) )