Lines Matching full:generation

266 	int generation = device->generation;  in fw_device_enable_phys_dma()  local
268 /* device->node_id, accessed below, must not be older than generation */ in fw_device_enable_phys_dma()
273 generation); in fw_device_enable_phys_dma()
551 int generation, int index, u32 *data) in read_rom() argument
556 /* device->node_id, accessed below, must not be older than generation */ in read_rom()
562 generation, device->max_speed, offset, data, 4); in read_rom()
576 * the config ROM. We do all this with a cached bus generation. If the bus
577 * generation changes under us, read_config_rom will fail and get retried.
582 static int read_config_rom(struct fw_device *device, int generation) in read_config_rom() argument
602 ret = read_rom(device, generation, i, &rom[i]); in read_config_rom()
640 if (read_rom(device, generation, 0, &dummy) == in read_config_rom()
672 ret = read_rom(device, generation, i, &rom[i]); in read_config_rom()
696 ret = read_rom(device, generation, i, &rom[i]); in read_config_rom()
976 smp_wmb(); /* update node_id before generation */ in lookup_existing_device()
977 old->generation = card->generation; in lookup_existing_device()
998 static void set_broadcast_channel(struct fw_device *device, int generation) in set_broadcast_channel() argument
1023 device->node_id, generation, device->max_speed, in set_broadcast_channel()
1042 device->node_id, generation, device->max_speed, in set_broadcast_channel()
1070 ret = read_config_rom(device, device->generation); in fw_device_init()
1149 set_broadcast_channel(device, device->generation); in fw_device_init()
1176 static int reread_config_rom(struct fw_device *device, int generation, in reread_config_rom() argument
1183 rcode = read_rom(device, generation, i, &q); in reread_config_rom()
1209 ret = reread_config_rom(device, device->generation, &changed); in fw_device_refresh()
1230 ret = read_config_rom(device, device->generation); in fw_device_refresh()
1306 device->generation = card->generation; in fw_node_event()
1314 * and generation for the device. in fw_node_event()
1336 smp_wmb(); /* update node_id before generation */ in fw_node_event()
1337 device->generation = card->generation; in fw_node_event()
1353 smp_wmb(); /* update node_id before generation */ in fw_node_event()
1354 device->generation = card->generation; in fw_node_event()