Home
last modified time | relevance | path

Searched refs:instance_count (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/platform/x86/
H A Dwmi.c53 u8 instance_count; member
309 return wblock->gblock.instance_count; in wmidev_instance_count()
369 if (block->instance_count <= instance) in wmidev_evaluate_method()
410 if (block->instance_count <= instance) in __query_block()
537 if (block->instance_count <= instance) in wmi_set_block()
565 pr_info("\tinstance_count: %d\n", g->instance_count); in wmi_dump_wdg()
804 return sysfs_emit(buf, "%d\n", (int)wblock->gblock.instance_count); in instance_count_show()
806 static DEVICE_ATTR_RO(instance_count);
948 if (_IOC_NR(cmd) >= wblock->gblock.instance_count) in wmi_ioctl()
1288 if (!gblock[i].instance_count) { in parse_wdg()
/openbmc/linux/drivers/net/ethernet/altera/
H A Daltera_tse_main.c48 static atomic_t instance_count = ATOMIC_INIT(~0); variable
635 atomic_add_return(1, &instance_count)); in altera_tse_phy_get_addr_mdio_create()