Home
last modified time | relevance | path

Searched refs:devmax (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/drivers/input/mouse/
Dbcm5974.c173 int devmax; /* device maximum reading */ member
322 return x * p->dim / (p->devmax - p->devmin); in int2scale()
350 cfg->w.devmin, cfg->w.devmax, 0, 0); in setup_events_to_report()
352 cfg->w.devmin, cfg->w.devmax, 0, 0); in setup_events_to_report()
355 cfg->w.devmin, cfg->w.devmax, 0, 0); in setup_events_to_report()
357 cfg->w.devmin, cfg->w.devmax, 0, 0); in setup_events_to_report()
364 cfg->x.devmin, cfg->x.devmax, 0, 0); in setup_events_to_report()
366 cfg->y.devmin, cfg->y.devmax, 0, 0); in setup_events_to_report()
412 cfg->y.devmin + cfg->y.devmax - raw2int(f->abs_y)); in report_finger_data()
458 abs_y = int2bound(&c->y, c->y.devmax - raw_y); in report_tp_state()
/linux-2.6.39/drivers/infiniband/hw/ipath/
Dipath_file_ops.c1665 int ret = 0, i, prefunit = -1, devmax; in find_best_unit() local
1669 devmax = ipath_count_units(&npresent, &nup, &maxofallports); in find_best_unit()
1716 devmax = prefunit + 1; in find_best_unit()
1719 for (ndev = prefunit != -1 ? prefunit : 0; ndev < devmax; in find_best_unit()
1750 devmax = ipath_count_units(NULL, NULL, in find_best_unit()
1770 int devmax, ndev, i; in find_shared_port() local
1773 devmax = ipath_count_units(NULL, NULL, NULL); in find_shared_port()
1775 for (ndev = 0; ndev < devmax; ndev++) { in find_shared_port()
/linux-2.6.39/drivers/infiniband/hw/qib/
Dqib_file_ops.c1364 int ret = 0, devmax, npresent, nup, ndev, dusable = 0, i; in get_a_ctxt() local
1367 devmax = qib_count_units(&npresent, &nup); in get_a_ctxt()
1380 for (ndev = 0; ndev < devmax; ndev++) { in get_a_ctxt()
1410 for (ndev = 0; ndev < devmax; ndev++) { in get_a_ctxt()
1430 int devmax, ndev, i; in find_shared_ctxt() local
1433 devmax = qib_count_units(NULL, NULL); in find_shared_ctxt()
1435 for (ndev = 0; ndev < devmax; ndev++) { in find_shared_ctxt()