Searched refs:port_xstat (Results 1 – 2 of 2) sorted by relevance
35 snprintf(device->port_xstat[index].stat.name, in opdl_xstats_init()36 sizeof(device->port_xstat[index].stat.name), in opdl_xstats_init()40 device->port_xstat[index].id = index; in opdl_xstats_init()56 memset(device->port_xstat, in opdl_xstats_uninit()58 sizeof(device->port_xstat)); in opdl_xstats_uninit()91 device->port_xstat[j + port_idx].stat.name); in opdl_xstats_get_names()92 ids[j] = device->port_xstat[j + port_idx].id; in opdl_xstats_get_names()128 values[i] = *(device->port_xstat[ids[i]].value); in opdl_xstats_get()149 device->port_xstat[i].stat.name, in opdl_xstats_get_by_name()153 if (device->port_xstat[i].value) in opdl_xstats_get_by_name()[all …]
251 struct opdl_xstats_entry port_xstat[OPDL_MAX_PORT_XSTAT_NUM]; member