Lines Matching refs:name

103                      const char *name, const HpDeviceInfo *info);
105 static HpOption hp_optset_getByName (HpOptSet this, const char * name);
132 const char * name;
346 optd->name = desc->name;
443 DBG(10, "hp_option_program: name=%s, enable=0x%08lx, program=0x%08lx\n",
444 this->descriptor->name, (long)this->descriptor->enable,
506 DBG(10,"hp_option_imm_set: %s\n", this->descriptor->name);
530 this->descriptor->name, sane_strstatus(status));
581 DBG(10,"hp_option_set: %s%s\n", this->descriptor->name, sval);
586 this->descriptor->name, sane_strstatus(status));
594 DBG(3, "option_set: %s: value unchanged\n",this->descriptor->name);
612 DBG(3, "option_set: %s: info=0x%lx\n",this->descriptor->name,
672 DBG(5, "hp_option_reprogram: %s\n", this->descriptor->name);
684 DBG(5, "hp_option_reprobe: %s\n", this->descriptor->name);
707 return this->descriptor->name[0] == '_';
1017 if (!choice->name)
1039 if (!choice->name)
1072 this->descriptor->name, val, minval, maxval);
1120 if (choices && !choices->name) /* FIXME: hack */
1155 this->descriptor->name, val, minval, maxval);
1157 this->descriptor->name);
1164 val, this->descriptor->name);
1168 if (choices && !choices->name) /* FIXME: hack */
1203 if (choices && !choices->name) /* FIXME: hack */
1275 if (choices && !choices->name) /* FIXME: hack */
1311 this->descriptor->name, val, minval, maxval);
1320 if (choices && !choices->name) /* FIXME: hack */
1364 if (choices && !choices->name) /* FIXME: hack */
2873 #define SCANNER_OPTION(name,type,unit) \
2874 PASTE(SANE_NAME_,name), \
2875 PASTE(SANE_TITLE_,name), \
2876 PASTE(SANE_DESC_,name), \
2881 #define CONSTANT_OPTION(name,type,unit) \
2882 PASTE(SANE_NAME_,name), \
2883 PASTE(SANE_TITLE_,name), \
2884 PASTE(SANE_DESC_,name), \
2889 #define INTERNAL_OPTION(name,type,unit) \
2890 PASTE(HP_NAME_,name), "", "", \
2895 #define OPTION_GROUP(name) "", name, "", SANE_TYPE_GROUP, SANE_UNIT_NONE, 0
2897 #define ADVANCED_GROUP(name) \
2898 "", name, "", SANE_TYPE_GROUP, SANE_UNIT_NONE, SANE_CAP_ADVANCED
3541 hp_optset_getByName (HpOptSet this, const char * name)
3548 if (strcmp((*optp)->descriptor->name, name) == 0)
3792 hp_optset_isEnabled (HpOptSet this, HpData data, const char *name,
3797 optpt = hp_optset_getByName (this, name);
3834 (this->options[i])->descriptor->name);
3844 this->options[i]->descriptor->name);
3905 DBG(8, "sanei_hp_optset_new: %s\n", desc->name);
3909 && hp_optset_getByName(this, desc->name))
3918 DBG(1, "Option '%s': probe failed: %s\n", desc->name,
3966 DBG(3,"sanei_hp_optset_control: %s\n", opt ? opt->descriptor->name : "");