Searched refs:devices (Results 1 - 12 of 12) sorted by relevance

/gem5/src/dev/i2c/
H A DI2C.py51 devices = VectorParam.I2CDevice([], "Devices") variable in class:I2CBus
H A Dbus.cc59 vector<I2CDevice*> devs = p->devices;
61 for (auto d : p->devices) {
62 devices[d->i2cAddr()] = d;
82 * this device one bit at a time. To facilitate making new i2c devices,
102 /* Most i2c devices expect something special (e.g., command,
106 for (auto& d : devices) {
119 // This may not perfectly mimic physical i2c devices but the important
129 assert(devices.find(i2cAddr) != devices.end());
132 message = devices[i2cAdd
[all...]
H A Dbus.hh95 * Key used to access a device in the slave devices map. This
105 * All the slave i2c devices that are connected to this
109 std::map<uint8_t, I2CDevice*> devices; member in class:I2CBus
/gem5/configs/example/arm/
H A Dfs_bigLITTLE.py60 import devices
61 from devices import AtomicCluster, KvmCluster
85 class BigCluster(devices.CpuCluster):
88 cpu_config = [ CpuConfig.get("O3_ARM_v7a_3"), devices.L1I, devices.L1D,
89 devices.WalkCache, devices.L2 ]
93 class LittleCluster(devices.CpuCluster):
96 cpu_config = [ CpuConfig.get("MinorCPU"), devices.L1I, devices
[all...]
H A Dstarter_fs.py62 import devices
77 devices.L1I, devices.L1D,
78 devices.WalkCache,
79 devices.L2),
106 system = devices.SimpleSystem(want_caches,
114 # Add the PCI devices we need for this system. The base system
115 # doesn't have any PCI devices by default since they are assumed
125 # Attach the PCI devices to the system. The helper method in the
126 # system assigns a unique PCI bus ID to each of the devices an
[all...]
H A Dstarter_se.py61 import devices
71 devices.L1I, devices.L1D,
72 devices.WalkCache,
73 devices.L2),
93 # devices module.
112 self.cpu_cluster = devices.CpuCluster(self,
/gem5/src/dev/pci/
H A Dhost.cc62 auto map_entry = devices.emplace(bus_addr, device);
77 auto device = devices.find(addr);
78 return device != devices.end() ? device->second : nullptr;
84 auto device = devices.find(addr);
85 return device != devices.end() ? device->second : nullptr;
H A Dhost.hh53 * The PCI host describes the interface between PCI devices and a
58 * <li>Expose a configuration memory space that allows devices to
66 * PCI devices need to register themselves with a PCI host using the
87 * Callback interface from PCI devices to the host.
243 /** Currently registered PCI devices */
244 std::map<PciBusAddr, PciDevice *> devices; member in class:PciHost
255 * address, size and mapping between memory addresses and PCI devices
/gem5/tests/test-progs/gpu-hello/src/
H A Dgpu-hello.cpp55 cl_device_id *devices; variable
151 // 3a. Get # of devices
160 devices = (cl_device_id *)malloc(deviceListSize);
161 if (devices == 0) {
162 printf("Error: No devices found.\n");
166 devices, NULL);
173 commandQueue = clCreateCommandQueue(context, devices[0], 0, &status);
191 status = clBuildProgram(program, 1, devices, NULL, NULL, NULL);
/gem5/src/dev/arm/
H A Drv_ctrl.cc173 auto it_dev(devices.find(req & CFG_CTRL_ADDR_MASK));
174 if (it_dev == devices.end()) {
229 if (devices.find(addr) != devices.end()) {
235 devices[addr] = handler;
H A DRealView.py282 This subsystem describes a subset of the devices that sit behind the
318 This subsystem describes a subset of the devices that sit behind the
562 def _attach_io(self, devices, *args, **kwargs):
563 for d in devices:
566 def _attach_clk(self, devices, clkdomain):
567 for d in devices:
666 # Attach I/O devices that are on chip and also set the appropriate
690 # Attach I/O devices to specified bus object. Can't do this
770 ### On-chip devices ###
783 devices
[all...]
H A Drv_ctrl.hh193 std::map<uint32_t, Device *> devices; member in class:RealViewCtrl

Completed in 20 milliseconds