Lines Matching refs:isl_oid

55 struct oid_t isl_oid[] = {  variable
246 if (isl_oid[i].flags & OID_FLAG_CACHED) { in mgt_init()
247 priv->mib[i] = kmalloc(isl_oid[i].size * in mgt_init()
248 (isl_oid[i].range + 1), in mgt_init()
253 isl_oid[i].size * (isl_oid[i].range + 1)); in mgt_init()
431 BUG_ON(extra > isl_oid[n].range); in mgt_set_request()
437 dlen = isl_oid[n].size; in mgt_set_request()
440 oid = isl_oid[n].oid + extra; in mgt_set_request()
446 mgt_cpu_to_le(isl_oid[n].flags & OID_FLAG_TYPE, _data); in mgt_set_request()
476 mgt_le_to_cpu(isl_oid[n].flags & OID_FLAG_TYPE, data); in mgt_set_request()
493 dlen = isl_oid[n].size; in mgt_set_varlen()
494 oid = isl_oid[n].oid; in mgt_set_varlen()
496 mgt_cpu_to_le(isl_oid[n].flags & OID_FLAG_TYPE, data); in mgt_set_varlen()
512 mgt_le_to_cpu(isl_oid[n].flags & OID_FLAG_TYPE, data); in mgt_set_varlen()
531 BUG_ON(extra > isl_oid[n].range); in mgt_get_request()
539 dlen = isl_oid[n].size; in mgt_get_request()
542 oid = isl_oid[n].oid + extra; in mgt_get_request()
565 if ((isl_oid[n].flags & OID_FLAG_TYPE) == OID_TYPE_U32) in mgt_get_request()
574 mgt_le_to_cpu(isl_oid[n].flags & OID_FLAG_TYPE, in mgt_get_request()
584 if (reslen > isl_oid[n].size) in mgt_get_request()
588 oid, reslen, isl_oid[n].size); in mgt_get_request()
601 struct oid_t *t = &(isl_oid[l[i]]); in mgt_commit_list()
635 memcpy(priv->mib[n], data, isl_oid[n].size); in mgt_set()
636 mgt_cpu_to_le(isl_oid[n].flags & OID_FLAG_TYPE, priv->mib[n]); in mgt_set()
646 memcpy(res, priv->mib[n], isl_oid[n].size); in mgt_get()
647 mgt_le_to_cpu(isl_oid[n].flags & OID_FLAG_TYPE, res); in mgt_get()
683 isl_oid[GEN_OID_MACADDRESS].oid, NULL, in mgt_update_addr()
684 isl_oid[GEN_OID_MACADDRESS].size, &res); in mgt_update_addr()
785 if (isl_oid[i].oid == oid) in mgt_oidtonum()
796 switch (isl_oid[n].flags & OID_FLAG_TYPE) { in mgt_response_to_str()
894 for (i = 0; i < isl_oid[n].size; i++) in mgt_response_to_str()