Lines Matching refs:id
39 static struct w1_master * w1_alloc_dev(u32 id, int slave_count, int slave_ttl,
65 dev->id = id;
79 dev_set_name(&dev->dev, "w1_bus_master%u", dev->id);
80 snprintf(dev->name, sizeof(dev->name), "w1_bus_master%u", dev->id);
107 int id, found;
131 /* Search for the first available id (starting at 1). */
132 id = 0;
134 ++id;
137 if (entry->id == id) {
144 dev = w1_alloc_dev(id, w1_max_slave_count, w1_max_slave_ttl,
175 msg.id.mst.id = dev->id;
216 msg.id.mst.id = dev->id;