Searched refs:cbmem_entry (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/firmware/google/ |
| H A D | cbmem.c | 23 struct cbmem_entry { struct 28 static struct cbmem_entry *to_cbmem_entry(struct kobject *kobj) in to_cbmem_entry() argument 37 struct cbmem_entry *entry = to_cbmem_entry(kobj); in mem_read() 47 struct cbmem_entry *entry = to_cbmem_entry(kobj); in mem_write() 64 return sysfs_emit(buf, "0x%llx\n", cbdev->cbmem_entry.address); in address_show() 73 return sysfs_emit(buf, "0x%x\n", cbdev->cbmem_entry.entry_size); in size_show() 100 struct cbmem_entry *entry; in cbmem_entry_probe() 107 entry->mem_file_buf = devm_memremap(&dev->dev, dev->cbmem_entry.address, in cbmem_entry_probe() 108 dev->cbmem_entry.entry_size, in cbmem_entry_probe() 113 entry->size = dev->cbmem_entry.entry_size; in cbmem_entry_probe()
|
| H A D | coreboot_table.c | 161 if (region_intersects(device->cbmem_entry.address, in coreboot_table_populate() 162 device->cbmem_entry.entry_size, in coreboot_table_populate() 165 region_intersects(device->cbmem_entry.address, in coreboot_table_populate() 166 device->cbmem_entry.entry_size, in coreboot_table_populate() 173 device->cbmem_entry.id); in coreboot_table_populate()
|