/kernel/linux/linux-5.10/drivers/firewire/ |
H A D | core-card.c | 90 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[ in generate_config_rom() [all...] |
H A D | core-device.c | 137 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() 375 (int)(unit->directory - device->config_rom)); in rom_index_show() 392 memcpy(buf, device->config_rom, length); in config_rom_show() 406 device->config_rom[3], device->config_rom[4]); in guid_show() 450 fw_csr_iterator_init(&ci, &device->config_rom[5]); in units_show() 467 __ATTR_RO(config_rom), 647 old_rom = device->config_rom; in read_config_rom() [all...] |
H A D | core.h | 61 const __be32 *config_rom, size_t length); 73 const __be32 *config_rom, size_t length);
|
/kernel/linux/linux-6.6/drivers/firewire/ |
H A D | core-card.c | 90 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[ in generate_config_rom() [all...] |
H A D | core-device.c | 137 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() [all...] |
/kernel/linux/linux-6.6/sound/firewire/tascam/ |
H A D | tascam.c | 47 const u32 *config_rom = fw_dev->config_rom; in identify_model() local 60 c = config_rom[28 + i / 4] >> (24 - 8 * (i % 4)); in identify_model() 81 fw_dev->config_rom[3], fw_dev->config_rom[4], in identify_model()
|
/kernel/linux/linux-5.10/sound/firewire/tascam/ |
H A D | tascam.c | 47 const u32 *config_rom = fw_dev->config_rom; in identify_model() local 60 c = config_rom[28 + i / 4] >> (24 - 8 * (i % 4)); in identify_model() 81 fw_dev->config_rom[3], fw_dev->config_rom[4], in identify_model()
|
/kernel/linux/linux-5.10/sound/firewire/oxfw/ |
H A D | oxfw.c | 74 err = fw_csr_string(fw_dev->config_rom + 5, CSR_VENDOR, in name_card() 111 fw_dev->config_rom[3], fw_dev->config_rom[4], in name_card() 165 fw_csr_iterator_init(&it, fw_dev->config_rom + 5); in detect_quirks()
|
H A D | oxfw-hwdep.c | 80 *(__be32 *)&info.guid[0] = cpu_to_be32(dev->config_rom[3]); in hwdep_get_info() 81 *(__be32 *)&info.guid[4] = cpu_to_be32(dev->config_rom[4]); in hwdep_get_info()
|
/kernel/linux/linux-5.10/sound/firewire/dice/ |
H A D | dice.c | 61 if (device->config_rom[3] != ((vendor << 8) | category) || in check_dice_category() 62 device->config_rom[4] >> 22 != model) in check_dice_category() 116 fw_csr_string(dev->config_rom + 5, CSR_VENDOR, vendor, sizeof(vendor)); in dice_card_strings() 121 vendor, model, dev->config_rom[4] & 0x3fffff, in dice_card_strings()
|
H A D | dice-hwdep.c | 80 *(__be32 *)&info.guid[0] = cpu_to_be32(dev->config_rom[3]); in hwdep_get_info() 81 *(__be32 *)&info.guid[4] = cpu_to_be32(dev->config_rom[4]); in hwdep_get_info()
|
/kernel/linux/linux-6.6/sound/firewire/oxfw/ |
H A D | oxfw.c | 75 err = fw_csr_string(fw_dev->config_rom + 5, CSR_VENDOR, in name_card() 114 fw_dev->config_rom[3], fw_dev->config_rom[4], in name_card() 180 fw_csr_iterator_init(&it, fw_dev->config_rom + 5); in detect_quirks()
|
H A D | oxfw-hwdep.c | 78 *(__be32 *)&info.guid[0] = cpu_to_be32(dev->config_rom[3]); in hwdep_get_info() 79 *(__be32 *)&info.guid[4] = cpu_to_be32(dev->config_rom[4]); in hwdep_get_info()
|
/kernel/linux/linux-5.10/sound/firewire/digi00x/ |
H A D | digi00x.c | 38 fw_dev->config_rom[3], fw_dev->config_rom[4], in name_card()
|
H A D | digi00x-hwdep.c | 88 *(__be32 *)&info.guid[0] = cpu_to_be32(dev->config_rom[3]); in hwdep_get_info() 89 *(__be32 *)&info.guid[4] = cpu_to_be32(dev->config_rom[4]); in hwdep_get_info()
|
/kernel/linux/linux-5.10/sound/firewire/bebob/ |
H A D | bebob_hwdep.c | 81 *(__be32 *)&info.guid[0] = cpu_to_be32(dev->config_rom[3]); in hwdep_get_info() 82 *(__be32 *)&info.guid[4] = cpu_to_be32(dev->config_rom[4]); in hwdep_get_info()
|
/kernel/linux/linux-5.10/sound/firewire/fireface/ |
H A D | ff-hwdep.c | 80 *(__be32 *)&info.guid[0] = cpu_to_be32(dev->config_rom[3]); in hwdep_get_info() 81 *(__be32 *)&info.guid[4] = cpu_to_be32(dev->config_rom[4]); in hwdep_get_info()
|
/kernel/linux/linux-5.10/sound/firewire/motu/ |
H A D | motu-hwdep.c | 87 *(__be32 *)&info.guid[0] = cpu_to_be32(dev->config_rom[3]); in hwdep_get_info() 88 *(__be32 *)&info.guid[4] = cpu_to_be32(dev->config_rom[4]); in hwdep_get_info()
|
/kernel/linux/linux-6.6/sound/firewire/bebob/ |
H A D | bebob_hwdep.c | 79 *(__be32 *)&info.guid[0] = cpu_to_be32(dev->config_rom[3]); in hwdep_get_info() 80 *(__be32 *)&info.guid[4] = cpu_to_be32(dev->config_rom[4]); in hwdep_get_info()
|
/kernel/linux/linux-6.6/sound/firewire/dice/ |
H A D | dice-hwdep.c | 80 *(__be32 *)&info.guid[0] = cpu_to_be32(dev->config_rom[3]); in hwdep_get_info() 81 *(__be32 *)&info.guid[4] = cpu_to_be32(dev->config_rom[4]); in hwdep_get_info()
|
H A D | dice.c | 66 if (device->config_rom[3] != ((vendor << 8) | category) || in check_dice_category() 67 device->config_rom[4] >> 22 != model) in check_dice_category() 121 fw_csr_string(dev->config_rom + 5, CSR_VENDOR, vendor, sizeof(vendor)); in dice_card_strings() 126 vendor, model, dev->config_rom[4] & 0x3fffff, in dice_card_strings()
|
/kernel/linux/linux-6.6/sound/firewire/digi00x/ |
H A D | digi00x-hwdep.c | 88 *(__be32 *)&info.guid[0] = cpu_to_be32(dev->config_rom[3]); in hwdep_get_info() 89 *(__be32 *)&info.guid[4] = cpu_to_be32(dev->config_rom[4]); in hwdep_get_info()
|
H A D | digi00x.c | 38 fw_dev->config_rom[3], fw_dev->config_rom[4], in name_card()
|
/kernel/linux/linux-6.6/sound/firewire/fireface/ |
H A D | ff-hwdep.c | 97 *(__be32 *)&info.guid[0] = cpu_to_be32(dev->config_rom[3]); in hwdep_get_info() 98 *(__be32 *)&info.guid[4] = cpu_to_be32(dev->config_rom[4]); in hwdep_get_info()
|
/kernel/linux/linux-6.6/sound/firewire/motu/ |
H A D | motu.c | 50 fw_dev->config_rom[3], fw_dev->config_rom[4], in name_card()
|