Lines Matching refs:isl_oid

45 struct oid_t isl_oid[] = {  variable
234 if (isl_oid[i].flags & OID_FLAG_CACHED) { in mgt_init()
235 priv->mib[i] = kcalloc(isl_oid[i].size, in mgt_init()
236 (isl_oid[i].range + 1), in mgt_init()
416 BUG_ON(extra > isl_oid[n].range); in mgt_set_request()
422 dlen = isl_oid[n].size; in mgt_set_request()
425 oid = isl_oid[n].oid + extra; in mgt_set_request()
431 mgt_cpu_to_le(isl_oid[n].flags & OID_FLAG_TYPE, _data); in mgt_set_request()
461 mgt_le_to_cpu(isl_oid[n].flags & OID_FLAG_TYPE, data); in mgt_set_request()
478 dlen = isl_oid[n].size; in mgt_set_varlen()
479 oid = isl_oid[n].oid; in mgt_set_varlen()
481 mgt_cpu_to_le(isl_oid[n].flags & OID_FLAG_TYPE, data); in mgt_set_varlen()
497 mgt_le_to_cpu(isl_oid[n].flags & OID_FLAG_TYPE, data); in mgt_set_varlen()
516 BUG_ON(extra > isl_oid[n].range); in mgt_get_request()
524 dlen = isl_oid[n].size; in mgt_get_request()
527 oid = isl_oid[n].oid + extra; in mgt_get_request()
550 if ((isl_oid[n].flags & OID_FLAG_TYPE) == OID_TYPE_U32) in mgt_get_request()
559 mgt_le_to_cpu(isl_oid[n].flags & OID_FLAG_TYPE, in mgt_get_request()
569 if (reslen > isl_oid[n].size) in mgt_get_request()
573 oid, reslen, isl_oid[n].size); in mgt_get_request()
586 struct oid_t *t = &(isl_oid[l[i]]); in mgt_commit_list()
620 memcpy(priv->mib[n], data, isl_oid[n].size); in mgt_set()
621 mgt_cpu_to_le(isl_oid[n].flags & OID_FLAG_TYPE, priv->mib[n]); in mgt_set()
631 memcpy(res, priv->mib[n], isl_oid[n].size); in mgt_get()
632 mgt_le_to_cpu(isl_oid[n].flags & OID_FLAG_TYPE, res); in mgt_get()
668 isl_oid[GEN_OID_MACADDRESS].oid, NULL, in mgt_update_addr()
669 isl_oid[GEN_OID_MACADDRESS].size, &res); in mgt_update_addr()
770 if (isl_oid[i].oid == oid) in mgt_oidtonum()
781 switch (isl_oid[n].flags & OID_FLAG_TYPE) { in mgt_response_to_str()
878 for (i = 0; i < isl_oid[n].size; i++) in mgt_response_to_str()