/third_party/FreeBSD/sys/arm/arm/ |
H A D | nexus.c | 114 struct resource_list *res_list = get_resource_list(devclass_name); in add_resource() local 115 if (res_list == NULL) { in add_resource() 118 resource_list_add(res_list, type, unit, start, end, count); in add_resource() 174 struct resource_list *res_list = NULL; in nexus_alloc_resource() local 178 res_list = get_resource_list(devclass_get_name(dc)); in nexus_alloc_resource() 179 if (res_list == NULL) { in nexus_alloc_resource() 182 struct resource_list_entry *rle = resource_list_find(res_list, type, *rid); in nexus_alloc_resource()
|
/third_party/backends/backend/ |
H A D | epsonds-ops.c | 40 dev->res_list = malloc(sizeof(SANE_Word)); in eds_dev_init() 41 dev->res_list[0] = 0; in eds_dev_init() 64 || (dev->res_list[0] == 0 && dev->dpi_range.min == 0) in eds_dev_post_init() 69 source_list_add - source_list, dev->res_list[0], dev->depth_list[0]); in eds_dev_post_init() 95 dev->res_list[0]++; in eds_add_resolution() 96 dev->res_list = realloc(dev->res_list, in eds_add_resolution() 97 (dev->res_list[0] + 1) * in eds_add_resolution() 99 if (dev->res_list == NULL) in eds_add_resolution() 102 dev->res_list[de in eds_add_resolution() [all...] |
H A D | epson2-ops.c | 174 dev->res_list = NULL; in e2_dev_init() 234 last = dev->res_list[dev->res_list_size - 1]; in e2_dev_post_init() 253 last = dev->res_list[dev->res_list_size - 1]; in e2_dev_post_init() 286 memcpy(&(dev->resolution_list[1]), dev->res_list, in e2_dev_post_init() 391 dev->res_list = (SANE_Int *) realloc(dev->res_list, in e2_add_resolution() 397 if (dev->res_list == NULL) in e2_add_resolution() 400 dev->res_list[dev->res_list_size - 1] = (SANE_Int) r; in e2_add_resolution() 579 dev->dpi_range.min = dev->res_list[0]; in e2_discover_capabilities() 580 dev->dpi_range.max = dev->res_list[de in e2_discover_capabilities() [all...] |
H A D | u12-if.c | 444 dev->res_list = (SANE_Int *) in u12if_getCaps() 448 if (NULL == dev->res_list) { in u12if_getCaps() 458 dev->res_list[dev->res_list_size - 1] = (SANE_Int)cntr; in u12if_getCaps()
|
H A D | kodakaio.h | 70 SANE_Int *res_list; /* list of resolutions */ member
|
H A D | plustek_pp.c | 1077 dev->res_list = (SANE_Int *)calloc(((lens.rDpiX.wMax -_DEF_DPI)/25 + 1), in attach() 1080 if (NULL == dev->res_list) { in attach() 1090 dev->res_list[dev->res_list_size - 1] = (SANE_Int)cntr; in attach() 1262 if( dev->res_list ) in sane_exit() 1263 free( dev->res_list ); in sane_exit() 1496 int min_d = s->hw->res_list[s->hw->res_list_size - 1]; in sane_control_option() 1501 int d = abs(v - s->hw->res_list[n]); in sane_control_option() 1505 best = s->hw->res_list[n]; in sane_control_option()
|
H A D | epsonds.h | 120 SANE_Int *res_list; /* list of resolutions */ member
|
H A D | magicolor.h | 111 SANE_Int *res_list; /* list of resolutions */ member
|
H A D | epson.h | 191 SANE_Int *res_list; /* list of resolutions */ member
|
H A D | plustek.h | 353 SANE_Int *res_list; /* to hold the available phys. */ member
|
H A D | u12.h | 237 SANE_Int *res_list; /* to hold the available phys. */ member
|
H A D | epson.c | 5959 s->hw->res_list = in get_identity_information() 5962 if (NULL == s->hw->res_list) in get_identity_information() 5985 s->hw->res_list = in get_identity_information() 5986 (SANE_Int *) realloc (s->hw->res_list, in get_identity_information() 5989 if (NULL == s->hw->res_list) in get_identity_information() 5995 s->hw->res_list[s->hw->res_list_size - 1] = (SANE_Int) val; in get_identity_information() 6035 s->hw->res_list = in get_identity_information() 6036 (SANE_Int *) realloc (s->hw->res_list, in get_identity_information() 6039 if (NULL == s->hw->res_list) in get_identity_information() 6045 s->hw->res_list[ in get_identity_information() [all...] |
H A D | magicolor.c | 1201 if ( s->val[OPT_RESOLUTION].w == s->hw->cap->res_list[rs] ) in mc_set_scanning_parameters() 2363 SANE_Word *res_list; in init_options() local 2426 res_list = malloc((s->hw->cap->res_list_size + 1) * sizeof(SANE_Word)); in init_options() 2427 if (res_list == NULL) { in init_options() 2430 *(res_list) = s->hw->cap->res_list_size; in init_options() 2431 memcpy(&(res_list[1]), s->hw->cap->res_list, s->hw->cap->res_list_size * sizeof(SANE_Word)); in init_options() 2432 s->opt[OPT_RESOLUTION].constraint.word_list = res_list; in init_options()
|
H A D | u12.c | 1044 if( dev->res_list ) in sane_exit() 1045 free( dev->res_list ); in sane_exit() 1272 int min_d = s->hw->res_list[s->hw->res_list_size - 1]; in sane_control_option() 1277 int d = abs(v - s->hw->res_list[n]); in sane_control_option() 1281 best = s->hw->res_list[n]; in sane_control_option()
|
H A D | canon_dr.c | 2331 s->res_list[++i] = 60; in sane_get_option_descriptor() 2334 s->res_list[++i] = 75; in sane_get_option_descriptor() 2337 s->res_list[++i] = 100; in sane_get_option_descriptor() 2340 s->res_list[++i] = 120; in sane_get_option_descriptor() 2343 s->res_list[++i] = 150; in sane_get_option_descriptor() 2346 s->res_list[++i] = 160; in sane_get_option_descriptor() 2349 s->res_list[++i] = 180; in sane_get_option_descriptor() 2352 s->res_list[++i] = 200; in sane_get_option_descriptor() 2355 s->res_list[++i] = 240; in sane_get_option_descriptor() 2358 s->res_list[ in sane_get_option_descriptor() [all...] |
H A D | plustek.c | 1359 dev->res_list = (SANE_Int *) in attach() 1363 if (NULL == dev->res_list) { in attach() 1373 dev->res_list[dev->res_list_size - 1] = (SANE_Int)cntr; in attach() 1615 if( dev->res_list ) in sane_exit() 1616 free( dev->res_list ); in sane_exit() 1983 int min_d = dev->res_list[dev->res_list_size - 1]; in sane_control_option() 1988 int d = abs(v - dev->res_list[n]); in sane_control_option() 1992 best = dev->res_list[n]; in sane_control_option()
|
H A D | kodakaio.c | 1601 if ( dpi == s->hw->cap->res_list[rs] ) in k_set_scanning_parameters() 2728 SANE_Word *res_list; in init_options() local 2809 res_list = malloc((s->hw->cap->res_list_size + 1) * sizeof(SANE_Word)); in init_options() 2810 if (res_list == NULL) { in init_options() 2813 *(res_list) = s->hw->cap->res_list_size; in init_options() 2814 memcpy(&(res_list[1]), s->hw->cap->res_list, s->hw->cap->res_list_size * sizeof(SANE_Word)); in init_options() 2815 s->opt[OPT_RESOLUTION].constraint.word_list = res_list; in init_options()
|
H A D | epson2.h | 333 SANE_Int *res_list; /* list of resolutions */ member
|
H A D | plustek-pp.h | 555 SANE_Int *res_list; /* to hold the available phys. */ member
|
H A D | canon_dr.h | 299 SANE_Int res_list[17]; member
|
H A D | fujitsu.h | 366 SANE_Int res_list[17]; member
|
H A D | hp5590.c | 88 res_list[] = { 6, 100, 200, 300, 600, 1200, 2400 }; variable 642 ptr->dpi = res_list[1]; in sane_open() 751 opts[HP5590_OPT_RESOLUTION].constraint.word_list = res_list; in sane_open()
|
H A D | hp3500.c | 213 static SANE_Int res_list[] = variable 1012 opt->constraint.word_list = res_list; in init_options()
|
H A D | fujitsu.c | 2970 s->res_list[++i] = reses[j]; in sane_get_option_descriptor() 2973 s->res_list[0] = i; in sane_get_option_descriptor() 2976 opt->constraint.word_list = s->res_list; in sane_get_option_descriptor()
|
H A D | epsonds.c | 1969 s->opt[OPT_RESOLUTION].constraint.word_list = s->hw->res_list; in init_options() 1970 s->val[OPT_RESOLUTION].w = s->hw->res_list[1]; in init_options()
|