Lines Matching defs:instance

189  * acc_types, made by instance number instance - of the driver whose name is
190 * name, (or by the driver instance specified by * path ) to the register set
209 * instance under test is taken offline and brought back online before each test
283 if (e1->instance < e2->instance)
285 else if (e1->instance > e2->instance)
457 * Generic routine for commands that apply to a particular instance of
458 * a driver under test (e.g. activate all errdefs defined on an instance).
461 manage_instance(int fd, char *namep, int instance, int cmd)
467 errctl.instance = instance;
469 msg(8, "manage_instance: %s %d\n", namep, instance);
496 edp->instance,
1102 (void) fprintf(fp, "# %-24s%d\n", "Instance:", edp->instance);
1198 (char *)edp->name, edp->instance);
1238 errdef->instance = hdl->instance;
1271 errdef->instance, errdef->rnumber,
1313 (char *)errdef->name, errdef->instance, errdef->rnumber,
1393 hi->ed.name, hi->ed.instance,
1407 hi->ed.instance, BOFI_START);
1424 match_hinfo(struct handle_info *hp, int instance, uint_t access_type,
1429 hp->instance, instance, access_type, rnumber,
1432 if (instance != -1 && hp->instance != instance)
1461 int instance, int atype, int rset, offset_t offset, offset_t len,
1526 if (match_hinfo(hp, instance, atype, rset,
1536 hp->instance == prev->instance &&
1554 prev->instance,
1555 hp->instance, prev->rnumber,
1587 hp->instance, hp->access_type, hp->rnumber,
1680 int instance;
1695 di_instance(node) == warg->instance) {
1708 getpath(char *path, int instance, char *name, int pathlen)
1713 warg.instance = instance;
1732 * Record logsize h/w accesses of type 'edp->access_type' made by instance
1733 * 'edp->instance' of driver 'edp->name' to the register set (or dma handle)
1738 * - if 'edp->instance' is -1 all instances are checked for the criteria;
1768 int inst = edp->instance;
1843 if (inst != hdl->instance) {
1844 inst = hdl->instance;
1987 getnameinst(char *orig_path, int *instance, char *name, int namelen)
1997 *instance = di_instance(node);
2004 " [ -n name [ -i instance ] | -P path ]\n"
2010 " [ -n name [ -i instance ] | -P path ]\n"
2129 if ((errdef.instance = strtol(optarg, &str, 0)) < 0)
2130 errdef.instance = -1;
2179 if (getnameinst(optarg, &errdef.instance, buf,
2272 int fd, i, instance;
2282 errdef.instance, errdef.access_type, errdef.rnumber,
2294 if (errdef.instance == -1)
2295 instance = -1;
2297 instance = hdls->instance;
2299 if (instance != hp->instance) {
2300 instance = -1;
2305 if (instance == -1) {
2311 hp->instance, hp->access_type,
2325 errdef.instance, errdef.rnumber,