| /linux/arch/arm/boot/dts/qcom/ |
| H A D | qcom-msm8974pro-sony-xperia-shinano-castor.dts | 40 rom-a0h { 41 rom-addr = /bits/ 8 <0xa0>; 42 rom-val = /bits/ 8 <0xff>; 45 rom-a1h { 46 rom-addr = /bits/ 8 <0xa1>; 47 rom-val = /bits/ 8 <0x3f>; 50 rom-a2h { 51 rom-addr = /bits/ 8 <0xa2>; 52 rom-val = /bits/ 8 <0x20>; 55 rom-a3h { [all …]
|
| H A D | qcom-msm8226-samsung-matisse-common.dtsi | 106 rom-a0h { 107 rom-addr = /bits/ 8 <0xa0>; 108 rom-val = /bits/ 8 <0x44>; 111 rom-a1h { 112 rom-addr = /bits/ 8 <0xa1>; 113 rom-val = /bits/ 8 <0x6c>; 116 rom-a5h { 117 rom-addr = /bits/ 8 <0xa5>; 118 rom-val = /bits/ 8 <0x24>;
|
| H A D | qcom-apq8026-samsung-milletwifi.dts | 113 rom-a3h { 114 rom-addr = /bits/ 8 <0xa3>; 115 rom-val = /bits/ 8 <0x5e>; 123 rom-a5h { 124 rom-addr = /bits/ 8 <0xa5>; 125 rom-val = /bits/ 8 <0x34>; 132 rom-a7h { 133 rom-addr = /bits/ 8 <0xa7>; 134 rom-val = /bits/ 8 <0xfa>;
|
| /linux/arch/x86/kernel/ |
| H A D | probe_roms.c | 123 const void *rom; in find_oprom() local 128 rom = isa_bus_to_virt(res->start); in find_oprom() 129 if (get_kernel_nofault(offset, rom + 0x18) != 0) in find_oprom() 132 if (get_kernel_nofault(vendor, rom + offset + 0x4) != 0) in find_oprom() 135 if (get_kernel_nofault(device, rom + offset + 0x6) != 0) in find_oprom() 143 if (get_kernel_nofault(list, rom + offset + 0x8) == 0 && in find_oprom() 144 get_kernel_nofault(rev, rom + offset + 0xc) == 0 && in find_oprom() 146 probe_list(pdev, vendor, rom + offset + list)) { in find_oprom() 182 static int __init romsignature(const unsigned char *rom) in romsignature() argument 184 const unsigned short * const ptr = (const unsigned short *)rom; in romsignature() [all …]
|
| /linux/drivers/pci/ |
| H A D | rom.c | 100 void __iomem *rom, size_t size, in pci_rom_header_valid() argument 103 unsigned long rom_end = (unsigned long)rom + size - 1; in pci_rom_header_valid() 123 if (image < rom || header_end > rom_end) in pci_rom_header_valid() 142 void __iomem *rom, size_t size) in pci_rom_data_struct_valid() argument 144 unsigned long rom_end = (unsigned long)rom + size - 1; in pci_rom_data_struct_valid() 161 if (pds < rom || end > rom_end) in pci_rom_data_struct_valid() 195 static size_t pci_get_rom_size(struct pci_dev *pdev, void __iomem *rom, in pci_get_rom_size() argument 202 image = rom; in pci_get_rom_size() 205 if (!pci_rom_header_valid(pdev, image, rom, size, true)) in pci_get_rom_size() 210 if (!pci_rom_data_struct_valid(pdev, pds, rom, size)) in pci_get_rom_size() [all …]
|
| /linux/drivers/scsi/isci/ |
| H A D | probe_roms.c | 44 struct isci_orom *rom = NULL; in isci_request_oprom() local 55 rom = devm_kzalloc(&pdev->dev, sizeof(*rom), GFP_KERNEL); in isci_request_oprom() 56 if (!rom) { in isci_request_oprom() 63 for (i = 0; i < len && rom; i += ISCI_OEM_SIG_SIZE) { in isci_request_oprom() 73 sizeof(*rom)); in isci_request_oprom() 75 memcpy_fromio(rom, in isci_request_oprom() 84 tmp = (u8 *)rom; in isci_request_oprom() 85 for (j = 0; j < sizeof(*rom); j++, tmp++) in isci_request_oprom() 95 if (memcmp(rom->hdr.signature, in isci_request_oprom() 108 rom = NULL; in isci_request_oprom() [all …]
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
| H A D | shadowpci.c | 29 void __iomem *rom; member 38 memcpy_fromio(bios->data + offset, priv->rom + offset, length); in pcirom_read() 48 pci_unmap_rom(priv->pdev, priv->rom); in pcirom_fini() 70 (priv->rom = pci_map_rom(pdev, &priv->size))) { in pcirom_init() 104 if (!pdev->rom || pdev->romlen == 0) in platform_init() 110 (priv->rom = ioremap(pdev->rom, pdev->romlen))) in platform_init() 123 iounmap(priv->rom); in platform_fini()
|
| /linux/drivers/w1/slaves/ |
| H A D | w1_therm.c | 163 int (*convert)(u8 rom[9]); 185 uint8_t rom[9]; member 202 u8 rom[9]; member 639 info.rom[4] &= ~W1_THERM_RESOLUTION_MASK; in w1_DS18B20_set_resolution() 640 info.rom[4] |= val; in w1_DS18B20_set_resolution() 643 ret = w1_DS18B20_write_data(sl, info.rom + 2); in w1_DS18B20_set_resolution() 656 if ((info2.rom[4] & W1_THERM_RESOLUTION_MASK) == (info.rom[4] & W1_THERM_RESOLUTION_MASK)) in w1_DS18B20_set_resolution() 674 resolution = ((info.rom[4] & W1_THERM_RESOLUTION_MASK) >> W1_THERM_RESOLUTION_SHIFT) in w1_DS18B20_get_resolution() 695 static inline int w1_DS18B20_convert_temp(u8 rom[9]) in w1_DS18B20_convert_temp() 701 bv = le16_to_cpup((__le16 *)rom); in w1_DS18B20_convert_temp() [all …]
|
| /linux/drivers/zorro/ |
| H A D | zorro.c | 162 z->rom = zi->rom; in amiga_zorro_probe() 163 z->id = (be16_to_cpu(z->rom.er_Manufacturer) << 16) | in amiga_zorro_probe() 164 (z->rom.er_Product << 8); in amiga_zorro_probe() 178 if (error && !(z->rom.er_Type & ERTF_MEMLIST)) in amiga_zorro_probe() 185 switch (z->rom.er_Type & ERT_TYPEMASK) { in amiga_zorro_probe() 212 if (z->rom.er_Type & ERTF_MEMLIST) in amiga_zorro_probe()
|
| H A D | proc.c | 46 cd.cd_Rom = z->rom; in proc_bus_zorro_read() 87 z->rom.er_Type); in zorro_seq_show()
|
| /linux/drivers/firewire/ |
| H A D | core-device.c | 656 u32 *stack, *rom __free(kfree) = NULL; in read_config_rom() 661 rom = kmalloc(sizeof(*rom) * MAX_CONFIG_ROM_SIZE + in read_config_rom() 663 if (rom == NULL) in read_config_rom() 666 stack = &rom[MAX_CONFIG_ROM_SIZE]; in read_config_rom() 667 memset(rom, 0, sizeof(*rom) * MAX_CONFIG_ROM_SIZE); in read_config_rom() 673 ret = read_rom(device, generation, speed, i, &rom[i]); in read_config_rom() 684 if (i == 0 && rom[i] == 0) in read_config_rom() 688 quirks = detect_quirks_by_bus_information_block(rom); in read_config_rom() 716 ret = read_rom(device, generation, speed, i, &rom[i]); in read_config_rom() 719 end = i + (rom[i] >> 16) + 1; in read_config_rom() [all …]
|
| /linux/arch/x86/pci/ |
| H A D | common.c | 645 struct pci_setup_rom *rom; in pcibios_device_add() local 652 data = memremap(pa_data, sizeof(*rom), MEMREMAP_WB); in pcibios_device_add() 657 rom = (struct pci_setup_rom *)data; in pcibios_device_add() 659 if ((pci_domain_nr(dev->bus) == rom->segment) && in pcibios_device_add() 660 (dev->bus->number == rom->bus) && in pcibios_device_add() 661 (PCI_SLOT(dev->devfn) == rom->device) && in pcibios_device_add() 662 (PCI_FUNC(dev->devfn) == rom->function) && in pcibios_device_add() 663 (dev->vendor == rom->vendor) && in pcibios_device_add() 664 (dev->device == rom->devid)) { in pcibios_device_add() 665 dev->rom = pa_data + in pcibios_device_add() [all …]
|
| /linux/Documentation/translations/zh_CN/PCI/ |
| H A D | sysfs-pci.rst | 35 | |-- rom 59 rom PCI ROM资源,如果存在的话 (binary, ro) 77 只读文件是信息性的,对它们的写入将被忽略,但 "rom "文件除外。可写文件可以用来在设备上执 86 rom "文件很特别,因为它提供了对设备ROM文件的只读访问,如果有的话。然而,它在默认情况下是
|
| /linux/arch/m68k/amiga/ |
| H A D | platform.c | 71 const struct ExpansionRom *rom = &zorro_autocon_init[i].rom; in z_dev_present() local 72 if (be16_to_cpu(rom->er_Manufacturer) == ZORRO_MANUF(id) && in z_dev_present() 73 rom->er_Product == ZORRO_PROD(id)) in z_dev_present()
|
| H A D | config.c | 176 dev->rom = cd->cd_Rom; in amiga_parse_bootinfo() 183 if (be16_to_cpu(dev->rom.er_Manufacturer) == ZORRO_MANUF(ZORRO_PROD_CSLAB_WARP_1260) && in amiga_parse_bootinfo() 184 dev->rom.er_Product == ZORRO_PROD(ZORRO_PROD_CSLAB_WARP_1260)) { in amiga_parse_bootinfo()
|
| /linux/sound/isa/gus/ |
| H A D | gus_mem_proc.c | 13 int rom; /* data are in ROM */ member 28 err = snd_gus_dram_read(gus, buf, pos, count, priv->rom); in snd_gf1_mem_proc_dump() 73 priv->rom = 1; in snd_gf1_mem_proc_init()
|
| /linux/drivers/usb/host/ |
| H A D | xhci-pci-renesas.c | 57 const u32 *fw, size_t step, bool rom) in renesas_fw_download_image() argument 65 if (rom) in renesas_fw_download_image() 551 bool rom; in renesas_load_fw() local 554 rom = renesas_check_rom(pdev); in renesas_load_fw() 555 if (rom) { in renesas_load_fw() 560 rom = renesas_setup_rom(pdev, fw); in renesas_load_fw() 561 if (!rom) { in renesas_load_fw()
|
| /linux/arch/arm/boot/dts/nvidia/ |
| H A D | tegra124-xiaomi-mocha.dts | 981 rom-98h { 982 rom-addr = /bits/ 8 <0x98>; 983 rom-val = /bits/ 8 <0x80>; 986 rom-9eh { 987 rom-addr = /bits/ 8 <0x9e>; 988 rom-val = /bits/ 8 <0x21>; 991 rom-a0h { 992 rom-addr = /bits/ 8 <0xa0>; 993 rom-val = /bits/ 8 <0xff>; 996 rom-a1h { [all …]
|
| /linux/include/linux/ |
| H A D | zorro.h | 30 struct ExpansionRom rom; member 77 struct ExpansionRom rom; member
|
| /linux/Documentation/w1/masters/ |
| H A D | ds2490.rst | 36 1 reset bus, 2 write the match rom command and slave rom id, 3 block 37 write and read data. The write buffer needs to have the match rom 38 command and slave rom id prepended to the front of the requested
|
| /linux/Documentation/PCI/ |
| H A D | sysfs-pci.rst | 24 | |-- rom 50 rom PCI ROM resource, if present (binary, ro) 69 the exception of the 'rom' file. Writable files can be used to perform 83 The 'rom' file is special in that it provides read-only access to the device's 87 that the device must be enabled for a rom read to return data successfully.
|
| /linux/arch/x86/include/asm/ |
| H A D | probe_roms.h | 7 extern void pci_unmap_biosrom(void __iomem *rom);
|
| /linux/arch/arm64/boot/dts/nvidia/ |
| H A D | tegra210-p2371-2180.dts | 65 rom-13h { 66 rom-addr = /bits/ 8 <0x13>; 67 rom-val = /bits/ 8 <0x01>; 71 rom-14h { 72 rom-addr = /bits/ 8 <0x14>; 73 rom-val = /bits/ 8 <0x87>;
|
| /linux/drivers/net/ethernet/qlogic/qlcnic/ |
| H A D | qlcnic_minidump.c | 563 struct __mem *rom = &entry->region.mem; in qlcnic_read_rom() local 565 fl_addr = rom->addr; in qlcnic_read_rom() 566 size = rom->size / 4; in qlcnic_read_rom() 585 return rom->size; in qlcnic_read_rom() 1020 struct __mem *rom = &entry->region.mem; in qlcnic_83xx_dump_rom() local 1022 fl_addr = rom->addr; in qlcnic_83xx_dump_rom() 1023 size = rom->size / 4; in qlcnic_83xx_dump_rom() 1027 return rom->size; in qlcnic_83xx_dump_rom()
|
| /linux/arch/arm/boot/dts/samsung/ |
| H A D | exynos4212-tab3.dtsi | 244 rom-a3h { 245 rom-addr = /bits/ 8 <0xa3>; 246 rom-val = /bits/ 8 <0x5e>; 249 rom-a5h { 250 rom-addr = /bits/ 8 <0xa5>; 251 rom-val = /bits/ 8 <0x34>; 254 rom-a7h { 255 rom-addr = /bits/ 8 <0xa7>; 256 rom-val = /bits/ 8 <0xfa>;
|