Home
last modified time | relevance | path

Searched refs:config_rom (Results 1 – 7 of 7) sorted by relevance

/drivers/firewire/
Dcore-card.c90 static void generate_config_rom(struct fw_card *card, __be32 *config_rom) in generate_config_rom() argument
104 config_rom[0] = cpu_to_be32( in generate_config_rom()
106 config_rom[1] = cpu_to_be32(BIB_BUS_NAME); in generate_config_rom()
107 config_rom[2] = cpu_to_be32( in generate_config_rom()
113 config_rom[3] = cpu_to_be32(card->guid >> 32); in generate_config_rom()
114 config_rom[4] = cpu_to_be32(card->guid); in generate_config_rom()
117 config_rom[6] = cpu_to_be32(NODE_CAPABILITIES); in generate_config_rom()
124 config_rom[i++] = cpu_to_be32(desc->immediate); in generate_config_rom()
125 config_rom[i] = cpu_to_be32(desc->key | (j - i)); in generate_config_rom()
131 config_rom[5] = cpu_to_be32((i - 5 - 1) << 16); in generate_config_rom()
[all …]
Dcore-device.c137 get_ids(&fw_parent_device(unit)->config_rom[5], id); in get_modalias_ids()
261 dir = fw_device(dev)->config_rom + 5; in show_immediate()
294 dir = fw_device(dev)->config_rom + 5; in show_text_leaf()
374 return sysfs_emit(buf, "%td\n", unit->directory - device->config_rom); in rom_index_show()
391 memcpy(buf, device->config_rom, length); in config_rom_show()
404 ret = sysfs_emit(buf, "0x%08x%08x\n", device->config_rom[3], device->config_rom[4]); in guid_show()
448 fw_csr_iterator_init(&ci, &device->config_rom[5]); in units_show()
465 __ATTR_RO(config_rom),
645 old_rom = device->config_rom; in read_config_rom()
653 device->config_rom = new_rom; in read_config_rom()
[all …]
Dcore.h61 const __be32 *config_rom, size_t length);
73 const __be32 *config_rom, size_t length);
Dohci.c219 __be32 *config_rom; member
1582 (void *) ohci->config_rom + i, length); in handle_local_rom()
2083 if (ohci->next_config_rom != ohci->config_rom) { in bus_reset_work()
2084 free_rom = ohci->config_rom; in bus_reset_work()
2087 ohci->config_rom = ohci->next_config_rom; in bus_reset_work()
2098 be32_to_cpu(ohci->config_rom[2])); in bus_reset_work()
2099 ohci->config_rom[0] = ohci->next_header; in bus_reset_work()
2328 const __be32 *config_rom, size_t length) in ohci_enable() argument
2445 if (config_rom) { in ohci_enable()
2451 copy_config_rom(ohci->next_config_rom, config_rom, length); in ohci_enable()
[all …]
Dsbp2.c1145 tgt->guid = (u64)device->config_rom[3] << 32 | device->config_rom[4]; in sbp2_probe()
1157 tgt->directory_id = ((unit->directory - device->config_rom) * 4 in sbp2_probe()
Dnet.c1412 peer->guid = (u64)device->config_rom[3] << 32 | device->config_rom[4]; in fwnet_add_peer()
Dcore-cdev.c461 client->device->config_rom, min(want, have)); in ioctl_get_info()