/linux-6.3-rc2/arch/x86/kernel/ |
A D | probe_roms.c | 123 const void *rom; in find_oprom() local 128 rom = isa_bus_to_virt(res->start); in find_oprom() 202 const unsigned char *rom; in probe_roms() local 219 rom = isa_bus_to_virt(start); in probe_roms() 220 if (!romsignature(rom)) in probe_roms() 225 if (get_kernel_nofault(c, rom + 2) != 0) in probe_roms() 232 if (length && romchecksum(rom, length)) in probe_roms() 249 if (romsignature(rom)) { in probe_roms() 251 if (romchecksum(rom, length)) { in probe_roms() 259 rom = isa_bus_to_virt(start); in probe_roms() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/qxl/ |
A D | qxl_kms.c | 38 struct qxl_rom *rom = qdev->rom; in qxl_check_device() local 45 DRM_INFO("Device Version %d.%d\n", rom->id, rom->update_id); in qxl_check_device() 47 rom->log_level); in qxl_check_device() 49 rom->num_io_pages, rom->pages_offset); in qxl_check_device() 51 rom->surface0_area_size, rom->draw_area_offset); in qxl_check_device() 83 << qdev->rom->slot_gen_bits; in setup_slot() 85 high_bits <<= (64 - (qdev->rom->slot_gen_bits + qdev->rom->slot_id_bits)); in setup_slot() 167 if (!qdev->rom) { in qxl_device_init() 275 iounmap(qdev->rom); in qxl_device_init() 320 iounmap(qdev->rom); in qxl_device_fini() [all …]
|
/linux-6.3-rc2/drivers/scsi/isci/ |
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() 73 sizeof(*rom)); in isci_request_oprom() 75 memcpy_fromio(rom, in isci_request_oprom() 84 tmp = (u8 *)rom; in isci_request_oprom() 108 rom = NULL; in isci_request_oprom() 112 return rom; in isci_request_oprom() 170 struct isci_orom *rom; in isci_get_efi_var() local 222 if (memcmp(rom->hdr.signature, in isci_get_efi_var() [all …]
|
/linux-6.3-rc2/drivers/pci/ |
A D | rom.c | 90 image = rom; in pci_get_rom_size() 110 if (image >= rom + size) in pci_get_rom_size() 122 return min((size_t)(image - rom), size); in pci_get_rom_size() 140 void __iomem *rom; in pci_map_rom() local 155 rom = ioremap(start, *size); in pci_map_rom() 156 if (!rom) in pci_map_rom() 164 *size = pci_get_rom_size(pdev, rom, *size); in pci_map_rom() 168 return rom; in pci_map_rom() 171 iounmap(rom); in pci_map_rom() 187 void pci_unmap_rom(struct pci_dev *pdev, void __iomem *rom) in pci_unmap_rom() argument [all …]
|
/linux-6.3-rc2/Documentation/devicetree/bindings/leds/backlight/ |
A D | lp855x.txt | 13 - rom-addr: Register address of ROM area to be updated (u8) 14 - rom-val: Register value to be updated (u8) 30 rom-addr = /bits/ 8 <0x14>; 31 rom-val = /bits/ 8 <0xcf>; 36 rom-addr = /bits/ 8 <0x15>; 37 rom-val = /bits/ 8 <0xc7>; 42 rom-addr = /bits/ 8 <0x19>; 43 rom-val = /bits/ 8 <0x0f>; 69 rom-addr = /bits/ 8 <0x14>; 70 rom-val = /bits/ 8 <0xcf>;
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
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-6.3-rc2/drivers/w1/slaves/ |
A D | w1_therm.c | 185 uint8_t rom[9]; member 202 u8 rom[9]; member 737 if (!rom[7]) { in w1_DS18S20_convert_temp() 742 if (rom[1] == 0) in w1_DS18S20_convert_temp() 748 h = 1000*((s32)rom[7] - (s32)rom[6]); in w1_DS18S20_convert_temp() 1138 memset(info->rom, 0, sizeof(info->rom)); in convert_t() 1192 ((info->rom[1] == 0x5 && info->rom[0] == 0x50) || in convert_t() 1193 (info->rom[1] == 0x7 && info->rom[0] == 0xFF)) in convert_t() 1236 memset(info->rom, 0, sizeof(info->rom)); in conv_time_measure() 1296 memset(info->rom, 0, sizeof(info->rom)); in read_scratchpad() [all …]
|
/linux-6.3-rc2/drivers/firmware/efi/libstub/ |
A D | x86-stub.c | 50 size = romsize + sizeof(*rom); in preserve_pci_rom_image() 53 (void **)&rom); in preserve_pci_rom_image() 59 memset(rom, 0, sizeof(*rom)); in preserve_pci_rom_image() 61 rom->data.type = SETUP_PCI; in preserve_pci_rom_image() 63 rom->data.next = 0; in preserve_pci_rom_image() 64 rom->pcilen = pci->romsize; in preserve_pci_rom_image() 65 *__rom = rom; in preserve_pci_rom_image() 83 status = efi_call_proto(pci, get_location, &rom->segment, &rom->bus, in preserve_pci_rom_image() 84 &rom->device, &rom->function); in preserve_pci_rom_image() 93 efi_bs_call(free_pool, rom); in preserve_pci_rom_image() [all …]
|
/linux-6.3-rc2/arch/arm/boot/dts/ |
A D | qcom-msm8974pro-sony-xperia-shinano-castor.dts | 155 rom-val = /bits/ 8 <0xff>; 159 rom-val = /bits/ 8 <0x3f>; 163 rom-val = /bits/ 8 <0x20>; 167 rom-val = /bits/ 8 <0x5e>; 171 rom-val = /bits/ 8 <0x02>; 175 rom-val = /bits/ 8 <0x04>; 179 rom-val = /bits/ 8 <0x80>; 183 rom-val = /bits/ 8 <0xf7>; 187 rom-val = /bits/ 8 <0x80>; 191 rom-val = /bits/ 8 <0x0f>; [all …]
|
A D | qcom-apq8026-samsung-matisse-wifi.dts | 107 rom-a0h { 108 rom-addr = /bits/ 8 <0xa0>; 109 rom-val = /bits/ 8 <0x44>; 112 rom-a1h { 113 rom-addr = /bits/ 8 <0xa1>; 114 rom-val = /bits/ 8 <0x6c>; 117 rom-a5h { 118 rom-addr = /bits/ 8 <0xa5>; 119 rom-val = /bits/ 8 <0x24>;
|
/linux-6.3-rc2/drivers/zorro/ |
A D | zorro.c | 166 z->rom = zi->rom; in amiga_zorro_probe() 167 z->id = (be16_to_cpu(z->rom.er_Manufacturer) << 16) | in amiga_zorro_probe() 168 (z->rom.er_Product << 8); in amiga_zorro_probe() 184 if (error && !(z->rom.er_Type & ERTF_MEMLIST)) in amiga_zorro_probe() 191 switch (z->rom.er_Type & ERT_TYPEMASK) { in amiga_zorro_probe() 218 if (z->rom.er_Type & ERTF_MEMLIST) in amiga_zorro_probe()
|
A D | zorro-sysfs.c | 37 zorro_config_attr(type, rom.er_Type, "0x%02x\n"); 47 return sprintf(buf, "0x%08x\n", be32_to_cpu(z->rom.er_SerialNumber)); in serial_show() 92 cd.cd_Rom = z->rom; in zorro_read_config()
|
/linux-6.3-rc2/drivers/firewire/ |
A D | core-device.c | 509 u32 *rom, *stack; in read_config_rom() local 513 rom = kmalloc(sizeof(*rom) * MAX_CONFIG_ROM_SIZE + in read_config_rom() 515 if (rom == NULL) in read_config_rom() 519 memset(rom, 0, sizeof(*rom) * MAX_CONFIG_ROM_SIZE); in read_config_rom() 536 if (i == 0 && rom[i] == 0) { in read_config_rom() 606 rom[i], in read_config_rom() 608 rom[i] = 0; in read_config_rom() 635 rom[i], in read_config_rom() 637 rom[i] = 0; in read_config_rom() 640 stack[sp++] = i + rom[i]; in read_config_rom() [all …]
|
/linux-6.3-rc2/drivers/video/console/ |
A D | sticore.c | 599 font_index = sti_search_font(rom, in sti_select_font() 609 return rom->font_start; in sti_select_font() 615 struct sti_rom *rom = sti->rom->raw; in sti_dump_rom() local 620 rom->graphics_id[0], in sti_dump_rom() 621 rom->graphics_id[1], in sti_dump_rom() 622 rom->revno[0] >> 4, in sti_dump_rom() 623 rom->revno[0] & 0x0f); in sti_dump_rom() 632 font_start = sti->rom->font_start; in sti_dump_rom() 811 sti->rom = cooked; in sti_read_rom() 812 sti->rom->raw = raw; in sti_read_rom() [all …]
|
/linux-6.3-rc2/sound/isa/gus/ |
A D | gus_dram.c | 52 int rom) in snd_gus_dram_peek() argument 62 snd_gf1_write8(gus, SNDRV_GF1_GB_MEMORY_CONTROL, rom ? 0x03 : 0x01); in snd_gus_dram_peek() 84 int rom) in snd_gus_dram_read() argument 86 return snd_gus_dram_peek(gus, buffer, address, size, rom); in snd_gus_dram_read()
|
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-6.3-rc2/arch/x86/pci/ |
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-6.3-rc2/Documentation/translations/zh_CN/PCI/ |
A D | sysfs-pci.rst | 35 | |-- rom 59 rom PCI ROM资源,如果存在的话 (binary, ro) 77 只读文件是信息性的,对它们的写入将被忽略,但 "rom "文件除外。可写文件可以用来在设备上执 86 rom "文件很特别,因为它提供了对设备ROM文件的只读访问,如果有的话。然而,它在默认情况下是
|
/linux-6.3-rc2/Documentation/devicetree/bindings/rng/ |
A D | ti,omap-rom-rng.yaml | 4 $id: http://devicetree.org/schemas/rng/ti,omap-rom-rng.yaml# 19 const: nokia,n900-rom-rng 38 compatible = "nokia,n900-rom-rng";
|
/linux-6.3-rc2/arch/m68k/amiga/ |
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()
|
/linux-6.3-rc2/drivers/usb/host/ |
A D | xhci-pci-renesas.c | 54 const u32 *fw, size_t step, bool rom) in renesas_fw_download_image() argument 62 if (rom) in renesas_fw_download_image() 548 bool rom; in renesas_load_fw() local 551 rom = renesas_check_rom(pdev); in renesas_load_fw() 552 if (rom) { in renesas_load_fw() 557 rom = renesas_setup_rom(pdev, fw); in renesas_load_fw() 558 if (!rom) { in renesas_load_fw()
|
/linux-6.3-rc2/drivers/video/backlight/ |
A D | lp855x_bl.c | 347 struct lp855x_rom_data *rom; in lp855x_parse_dt() local 351 rom = devm_kcalloc(dev, rom_length, sizeof(*rom), GFP_KERNEL); in lp855x_parse_dt() 352 if (!rom) in lp855x_parse_dt() 356 of_property_read_u8(child, "rom-addr", &rom[i].addr); in lp855x_parse_dt() 357 of_property_read_u8(child, "rom-val", &rom[i].val); in lp855x_parse_dt() 362 pdata->rom_data = &rom[0]; in lp855x_parse_dt()
|
/linux-6.3-rc2/drivers/gpu/drm/mgag200/ |
A D | mgag200_g200.c | 368 unsigned char __iomem *rom; in mgag200_g200_init_refclk() local 376 rom = pci_map_rom(pdev, &size); in mgag200_g200_init_refclk() 377 if (!rom) in mgag200_g200_init_refclk() 383 memcpy_fromio(bios, rom, size); in mgag200_g200_init_refclk() 393 pci_unmap_rom(pdev, rom); in mgag200_g200_init_refclk()
|
/linux-6.3-rc2/include/linux/ |
A D | zorro.h | 30 struct ExpansionRom rom; member 77 struct ExpansionRom rom; member
|
/linux-6.3-rc2/Documentation/w1/masters/ |
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
|