Searched refs:info (Results 1 - 25 of 1432) sorted by relevance

1234567891011>>

/haiku/src/tests/kits/app/bhandler/
H A DLockLooperTestCommon.cpp23 TLockLooperInfo* info = (TLockLooperInfo*)data; local
26 info->LockLooper();
29 info->UnlockTest();
32 info->LockThread();
/haiku/src/system/libroot/posix/signal/
H A Dpsiginfo.cpp11 psiginfo(const siginfo_t* info, const char* message) argument
13 psignal(info->si_signo, message);
H A Dsigwaitinfo.cpp11 sigwaitinfo(const sigset_t* set, siginfo_t* info) argument
13 return sigtimedwait(set, info, NULL);
/haiku/src/system/libroot/posix/time/
H A Dclock.cpp18 thread_info info; local
19 get_thread_info(find_thread(NULL), &info); local
21 return (clock_t)((info.kernel_time + info.user_time)
29 thread_info info; local
30 get_thread_info(find_thread(NULL), &info); local
32 return (clock_t)((info.kernel_time + info.user_time)
/haiku/src/add-ons/kernel/drivers/graphics/intel_extreme/
H A Dpower.cpp26 intel_en_gating(intel_info &info) argument
31 if (info.pci->device_id == 0x2a02 || info.pci->device_id == 0x2a12) {
33 write32(info, 0x6204, (1L << 29));
34 } else if (info.device_type.InGroup(INTEL_GROUP_SNB)) {
36 write32(info, 0x42020, (1L << 28) | (1L << 7) | (1L << 5));
37 } else if (info.device_type.InGroup(INTEL_GROUP_IVB)) {
39 write32(info, 0x42020, (1L << 28));
40 } else if (info.device_type.InGroup(INTEL_GROUP_VLV)) {
42 write32(info, VLV_DISPLAY_BAS
69 intel_en_downclock(intel_info &info) argument
[all...]
H A Ddriver.h29 get_pci_config(pci_info* info, uint8 offset, uint8 size) argument
31 return gPCI->read_pci_config(info->bus, info->device, info->function,
37 set_pci_config(pci_info* info, uint8 offset, uint8 size, uint32 value) argument
39 gPCI->write_pci_config(info->bus, info->device, info->function, offset,
45 read16(intel_info &info, uint32 encodedRegister) argument
47 return *(volatile uint16*)(info
54 read32(intel_info &info, uint32 encodedRegister) argument
63 write16(intel_info &info, uint32 encodedRegister, uint16 value) argument
72 write32(intel_info &info, uint32 encodedRegister, uint32 value) argument
[all...]
H A Dintel_extreme.cpp73 release_vblank_sem(intel_info &info) argument
76 if (get_sem_count(info.shared_info->vblank_sem, &count) == B_OK
78 release_sem_etc(info.shared_info->vblank_sem, -count,
92 * \param info Intel_extreme driver information
98 intel_get_interrupt_mask(intel_info& info, int pipes, bool enable) argument
101 bool hasPCH = info.pch_info != INTEL_PCH_NONE;
107 if (info.device_type.InGroup(INTEL_GROUP_SNB))
116 if (info.device_type.InGroup(INTEL_GROUP_SNB))
126 if (hasPCH && !info.device_type.InGroup(INTEL_GROUP_SNB))
133 if (enable && (info
144 intel_info &info = *(intel_info*)data; local
208 init_interrupt_handler(intel_info &info) argument
302 intel_free_memory(intel_info &info, addr_t base) argument
309 intel_allocate_memory(intel_info &info, size_t size, size_t alignment, uint32 flags, addr_t* _base, phys_addr_t* _physicalBase) argument
318 intel_extreme_init(intel_info &info) argument
556 intel_extreme_uninit(intel_info &info) argument
[all...]
/haiku/src/tests/servers/input/portspy/
H A DPortSpy.cpp10 port_info info; local
14 if (B_OK == get_port_info(port_num, &info) )
19 (unsigned int)info.port,
20 (unsigned int)info.team,
21 info.name);
/haiku/src/system/libroot/os/arch/x86_64/
H A Dsystem_info.cpp14 get_cpuid(cpuid_info* info, uint32 eax, uint32 cpuNum) argument
16 __cpuid_count(eax, 0, info->regs.eax, info->regs.ebx, info->regs.ecx,
17 info->regs.edx);
/haiku/src/add-ons/kernel/bus_managers/config_manager/arch/m68k/
H A Dconfig_manager_arch.c14 int config_manager_scan_hardcoded(struct device_info **info, int32 *count) argument
17 return atari_hardcoded(info, count);
/haiku/src/add-ons/kernel/bus_managers/pci/
H A Dpci_info.cpp33 print_pci2pci_bridge_info(const pci_info *info, bool verbose) argument
36 info->u.h1.subsystem_id, info->u.h1.subsystem_vendor_id));
38 " secondary_latency %02x\n", info->u.h1.primary_bus,
39 info->u.h1.secondary_bus, info->u.h1.subordinate_bus, info->u.h1.secondary_latency));
40 uint32 io_base = ((uint32)info->u.h1.io_base & 0xf0) << 8;
41 if (info->u.h1.io_base & 1)
42 io_base += ((uint32)info
83 print_pci2cardbus_bridge_info(const pci_info *info, bool verbose) argument
105 print_generic_info(const pci_info *info, bool verbose) argument
125 print_capabilities(const pci_info *info) argument
181 print_extended_capabilities(const pci_info *info) argument
220 print_info_basic(const pci_info *info, bool verbose) argument
286 pci_info info; local
[all...]
/haiku/src/add-ons/kernel/drivers/graphics/radeon_hd/
H A Dradeon_hd.cpp45 mapAtomBIOS(radeon_info &info, uint32 romBase, uint32 romSize) argument
86 info.rom_area = create_area("radeon hd AtomBIOS",
87 (void**)&info.atom_buffer, B_ANY_KERNEL_ADDRESS,
91 if (info.rom_area < 0) {
98 memset((void*)info.atom_buffer, 0, romSize);
100 memcpy(info.atom_buffer, (void*)rom, romSize);
104 romHeader = RADEON_BIOS16(info.atom_buffer, 0x48);
105 romValid = !memcmp(&info.atom_buffer[romHeader + 4], "ATOM", 4)
106 || !memcmp(&info.atom_buffer[romHeader + 4], "MOTA", 4);
109 set_area_protection(info
121 radeon_hd_getbios(radeon_info &info) argument
200 radeon_hd_getbios_ni(radeon_info &info) argument
268 radeon_hd_getbios_r700(radeon_info &info) argument
341 radeon_hd_getbios_r600(radeon_info &info) argument
450 radeon_hd_getbios_avivo(radeon_info &info) argument
533 radeon_hd_init(radeon_info &info) argument
748 radeon_hd_uninit(radeon_info &info) argument
[all...]
H A Dsensors.h17 int32 radeon_thermal_query(radeon_info &info);
/haiku/src/add-ons/kernel/bus_managers/pci/arch/x86/
H A Dpci_msi.cpp27 ht_mapping_info *info = &device->arch_info.ht_mapping; local
28 if (!info->ht_mapping_capable)
31 bool enabled = (info->control_value & PCI_ht_command_msi_enable) != 0;
34 info->control_value &= ~PCI_ht_command_msi_enable;
36 if ((address >> 20) != (info->address_value >> 20))
39 info->control_value |= PCI_ht_command_msi_enable;
41 gPCI->WriteConfig(device, info->capability_offset + PCI_ht_command, 2,
42 info->control_value);
53 ht_mapping_info *info = &device->arch_info.ht_mapping;
54 info
425 msix_info *info = &device->arch_info.msix; local
502 msix_info *info = &device->arch_info.msix; local
[all...]
/haiku/src/system/libroot/posix/sys/
H A Duname.c22 uname(struct utsname *info) argument
31 if (!info) {
38 strlcpy(info->sysname, "Haiku", sizeof(info->sysname));
42 snprintf(info->version, sizeof(info->version), "%s ", haikuRevision);
44 info->version[0] = '\0';
45 strlcat(info->version, systemInfo.kernel_build_date, sizeof(info->version));
46 strlcat(info
[all...]
H A Dgetrusage.c17 team_usage_info info; local
19 if (get_team_usage_info(B_CURRENT_TEAM, who, &info) != B_OK) {
24 rusage->ru_utime.tv_sec = info.user_time / 1000000;
25 rusage->ru_utime.tv_usec = info.user_time % 1000000;
27 rusage->ru_stime.tv_sec = info.kernel_time / 1000000;
28 rusage->ru_stime.tv_usec = info.kernel_time % 1000000;
/haiku/src/tests/add-ons/kernel/kernelland_emu/
H A Ddevice_manager.cpp24 devfs_publish_partition(const char *path, const partition_info *info) argument
26 if (info == NULL)
29 printf("publish partition: %s (device \"%s\", size %Ld)\n", path, info->device, info->size);
/haiku/src/add-ons/kernel/drivers/audio/ac97/geode/
H A Ddriver.cpp23 pci_info info; local
29 for (i = 0; gPci->get_nth_pci_info(i, &info) == B_OK; i++) {
30 if ((info.vendor_id == AMD_VENDOR_ID
31 && info.device_id == AMD_CS5536_AUDIO_DEVICE_ID)
32 || (info.vendor_id == NS_VENDOR_ID
33 && info.device_id == NS_CS5535_AUDIO_DEVICE_ID)) {
48 pci_info info; local
56 for (i = 0; gPci->get_nth_pci_info(i, &info) == B_OK
58 if ((info.vendor_id == AMD_VENDOR_ID
59 && info
[all...]
/haiku/src/add-ons/kernel/interrupt_controllers/openpic/
H A Dopenpic.cpp117 openpic_read(openpic_info *info, int reg) argument
119 return B_SWAP_INT32(info->pci->read_io_32(info->device,
120 info->virtual_registers + reg));
125 openpic_write(openpic_info *info, int reg, uint32 val) argument
127 info->pci->write_io_32(info->device, info->virtual_registers + reg,
133 openpic_read_irq(openpic_info *info, int cpu) argument
135 return openpic_read(info, OPENPIC_IAC
140 openpic_eoi(openpic_info *info, int cpu) argument
149 openpic_enable_irq(openpic_info *info, int irq, int type) argument
166 openpic_disable_irq(openpic_info *info, int irq) argument
177 openpic_set_priority(openpic_info *info, int cpu, int pri) argument
189 openpic_init(openpic_info *info) argument
337 openpic_info *info = new(nothrow) openpic_info; local
412 openpic_info *info = (openpic_info*)cookie; local
459 openpic_info *info = (openpic_info*)cookie; local
470 openpic_info *info = (openpic_info*)cookie; local
481 openpic_info *info = (openpic_info*)cookie; local
[all...]
/haiku/src/tests/kits/game/direct_window_info_test/
H A Ddwinfo.cpp9 //TODO: Return more info like B_CLIPPING_MODIFIED, etc.
56 virtual void DirectConnected(direct_buffer_info *info) argument
61 area_id areaId = area_for(info);
66 printf("buffer state: %s\n", state_to_string(info->buffer_state));
67 printf("bits: %p\n", info->bits);
68 printf("pci_bits: %p\n", info->pci_bits);
69 printf("bytes_per_row: %ld\n", info->bytes_per_row);
70 printf("bits_per_pixel: %lu\n", info->bits_per_pixel);
71 printf("pixel_format: %d\n", info->pixel_format);
72 printf("buffer_layout: %s\n", layout_to_string(info
[all...]
/haiku/src/bin/
H A Dvmstat.cpp69 system_info info; local
70 status_t status = get_system_info(&info);
72 fprintf(stderr, "%s: cannot get system info: %s\n", kProgramName,
77 printf("max memory:\t\t%" B_PRIu64 "\n", info.max_pages * B_PAGE_SIZE);
78 printf("free memory:\t\t%" B_PRIu64 "\n", info.free_memory);
79 printf("needed memory:\t\t%" B_PRIu64 "\n", info.needed_memory);
81 info.block_cache_pages * B_PAGE_SIZE);
83 info.max_swap_pages * B_PAGE_SIZE);
85 info.free_swap_pages * B_PAGE_SIZE);
86 printf("page faults:\t\t%" B_PRIu32 "\n", info
[all...]
/haiku/src/system/libroot/posix/stdlib/
H A Dexit.cpp61 // Grab the next info from the array.
63 AtExitInfo* info = &fInfos[fFirstUnused++]; local
64 info->block = this;
65 return info;
72 void FreeInfo(AtExitInfo* info) argument
74 fFreeList.Add(info);
93 inline bool operator()(const AtExitInfo* info) const
95 return info->dsoHandle == fDSOHandle;
111 inline bool operator()(const AtExitInfo* info) const
113 addr_t address = (addr_t)info
153 AtExitInfo* info = sAtExitInfoStack.Head(); local
219 AtExitInfo* info = block->AllocateInfo(); local
[all...]
/haiku/src/tests/system/kernel/file_corruption/fs/
H A DTransaction.cpp108 NodeInfo* info = it.Next();) {
109 status_t error = info->node->Flush(*this);
169 NodeInfo* info = it.Next();) {
170 info->node->RevertNodeData(info->oldNodeData);
203 NodeInfo* info = _GetNodeInfo(node); local
204 if (info != NULL)
207 info = new(std::nothrow) NodeInfo;
208 if (info == NULL)
214 info
250 NodeInfo* info = _GetNodeInfo(node); local
267 NodeInfo* info = _GetNodeInfo(node); local
280 NodeInfo* info = _GetNodeInfo(node); local
294 BlockInfo* info = fBlockInfos.Lookup(blockIndex); local
334 BlockInfo* info = fBlockInfos.Lookup(blockIndex); local
381 _DeleteNodeInfoAndUnlock(NodeInfo* info, bool failed) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/virtio/
H A Dvirtio_net.cpp92 virtio_net_driver_info* info; member in struct:__anon8
172 virtio_net_drain_queues(virtio_net_driver_info* info) argument
175 while (info->virtio->queue_dequeue(info->txQueues[0], (void**)&buf, NULL))
176 info->txFreeList.Add(buf);
178 while (info->virtio->queue_dequeue(info->rxQueues[0], NULL, NULL))
181 while (info->rxFullList.RemoveHead() != NULL)
189 virtio_net_rx_enqueue_buf(virtio_net_driver_info* info, BufInfo* buf) argument
198 status_t status = info
219 virtio_net_driver_info* info = (virtio_net_driver_info*)_info; local
420 virtio_net_driver_info* info = (virtio_net_driver_info*)_cookie; local
456 virtio_net_driver_info* info = (virtio_net_driver_info*)_info; local
498 virtio_net_driver_info* info = handle->info; local
513 virtio_net_driver_info* info = handle->info; local
524 virtio_net_driver_info* info = (virtio_net_driver_info*)cookie; local
535 virtio_net_driver_info* info = handle->info; local
582 virtio_net_driver_info* info = (virtio_net_driver_info*)cookie; local
594 virtio_net_driver_info* info = handle->info; local
654 virtio_net_driver_info* info = handle->info; local
766 virtio_net_driver_info* info = (virtio_net_driver_info*)malloc( local
784 virtio_net_driver_info* info = (virtio_net_driver_info*)_cookie; local
793 virtio_net_driver_info* info = (virtio_net_driver_info*)_cookie; local
[all...]
/haiku/src/tests/servers/app/newerClipping/drawing/
H A DDirectWindowBuffer.cpp68 DirectWindowBuffer::SetTo(direct_buffer_info* info) argument
72 if (info) {
73 int32 xOffset = info->window_bounds.left;
74 int32 yOffset = info->window_bounds.top;
76 for (int32 i = 0; i < info->clip_list_count; i++) {
77 fWindowClipping.Include(info->clip_list[i]);
79 fBytesPerRow = info->bytes_per_row;
80 fBits = (void*)info->bits;
81 fFormat = info->pixel_format;
82 // fBounds = info
[all...]

Completed in 177 milliseconds

1234567891011>>