Lines Matching refs:location
89 static int sn_hwperf_location_to_bpos(char *location, in sn_hwperf_location_to_bpos() argument
95 if (sscanf(location, "%03d%c%02d#%d", in sn_hwperf_location_to_bpos()
99 if (sscanf(location, "%03d%c%02d^%02d#%d", in sn_hwperf_location_to_bpos()
106 static int sn_hwperf_geoid_to_cnode(char *location) in sn_hwperf_geoid_to_cnode() argument
114 if (sn_hwperf_location_to_bpos(location, &rack, &bay, &slot, &slab)) in sn_hwperf_geoid_to_cnode()
143 return sn_hwperf_geoid_to_cnode(obj->location); in sn_hwperf_obj_to_cnode()
443 seq_printf(s, "%s %d %s %s asic %s", slabname, ordinal, obj->location, in sn_topology_show()
479 i, obj->location, slice, in sn_topology_show()
515 ordinal+pt, obj->location, ptdata[pt].port); in sn_topology_show()
541 p->location, ptdata[pt].conn_port, in sn_topology_show()
769 snprintf(cpuobj->location, in sn_hwperf_ioctl()
770 sizeof(cpuobj->location), in sn_hwperf_ioctl()
771 "%s%c", objs[i].location, in sn_hwperf_ioctl()