Lines Matching defs:generation

231 	int generation = device->generation;
233 /* device->node_id, accessed below, must not be older than generation */
238 generation);
473 int generation, int index, u32 *data)
478 /* device->node_id, accessed below, must not be older than generation */
484 generation, device->max_speed, offset, data, 4);
498 * the config ROM. We do all this with a cached bus generation. If the bus
499 * generation changes under us, read_config_rom will fail and get retried.
504 static int read_config_rom(struct fw_device *device, int generation)
524 ret = read_rom(device, generation, i, &rom[i]);
562 if (read_rom(device, generation, 0, &dummy) ==
594 ret = read_rom(device, generation, i, &rom[i]);
618 ret = read_rom(device, generation, i, &rom[i]);
898 smp_wmb(); /* update node_id before generation */
899 old->generation = card->generation;
920 static void set_broadcast_channel(struct fw_device *device, int generation)
945 device->node_id, generation, device->max_speed,
964 device->node_id, generation, device->max_speed,
992 ret = read_config_rom(device, device->generation);
1071 set_broadcast_channel(device, device->generation);
1098 static int reread_config_rom(struct fw_device *device, int generation,
1105 rcode = read_rom(device, generation, i, &q);
1131 ret = reread_config_rom(device, device->generation, &changed);
1152 ret = read_config_rom(device, device->generation);
1228 device->generation = card->generation;
1236 * and generation for the device.
1258 smp_wmb(); /* update node_id before generation */
1259 device->generation = card->generation;
1275 smp_wmb(); /* update node_id before generation */
1276 device->generation = card->generation;