/haiku/src/add-ons/kernel/drivers/audio/sb16/ |
H A D | sb16_multi_audio.c | 155 dprintf("%s: playback: %" B_PRId32 " buffers, %" B_PRIu32 " channels, %" B_PRIu32 " samples\n", 158 dprintf("%s: record: %" B_PRId32 " buffers, %" B_PRIu32 " channels, %" B_PRIu32 " samples\n", 189 dprintf("%s: Error setting up playback buffers (%s)\n", __func__, strerror(rc)); 197 dprintf("%s: Error setting up recording buffers (%s)\n", __func__, strerror(rc)); 209 = (char*)dev->playback_stream.buffers[bidx] + (playback_sample_size * cidx); 222 = (char*)dev->record_stream.buffers[bidx] + (record_sample_size * cidx); 261 dprintf("%s: %d buffers processed\n", __func__, debug_buffers_exchanged);
|
H A D | driver.h | 27 void* buffers[STRMAXBUF]; member in struct:__anon538
|
/haiku/src/add-ons/kernel/drivers/audio/ac97/geode/ |
H A D | geode_multi.cpp | 664 TRACE("playback: %" B_PRId32 " buffers, %" B_PRId32 " channels, %" B_PRIu32 " samples\n", 667 TRACE("record: %" B_PRId32 " buffers, %" B_PRId32 " channels, %" B_PRIu32 " samples\n", 671 /* Determine what buffers we return given the request */ 713 dprintf("geode: Error setting up playback buffers: %s\n", 728 dprintf("geode: Error setting up recording buffers: %s\n", 743 = (char*)controller->playback_stream->buffers[i] 758 = (char*)controller->record_stream->buffers[i] 833 dprintf("%s: %d buffers processed\n", __func__, debug_buffers_exchanged);
|
H A D | geode_controller.cpp | 304 /* Calculate total size of all buffers (aligned to size of B_PAGE_SIZE) */ 308 /* Allocate memory for buffers */ 309 stream->buffer_area = create_area("geode buffers", (void**)&buffer, 326 dprintf("%s(%s): Allocated %" B_PRId32 " bytes for %" B_PRIu32 " buffers\n", __func__, desc, 331 stream->buffers[index] = buffer + (index * bufferSize);
|
H A D | driver.h | 120 uint8* buffers[STREAM_MAX_BUFFERS]; member in struct:geode_stream
|
/haiku/src/add-ons/kernel/drivers/audio/null/ |
H A D | null_multi.c | 225 // and initialize the virtual buffers properly 232 dprintf("null_audio %s: Error setting up playback buffers (%s)\n", 243 dprintf("null_audio %s: Error setting up recording buffers (%s)\n", 256 = (char*)device->playback_stream.buffers[bidx] + (playback_sample_size * cidx); 269 = (char*)device->record_stream.buffers[bidx] + (record_sample_size * cidx); 324 dprintf("null_audio: %s: %d buffers processed\n",
|
H A D | null_hardware.c | 33 // Get the correct address for setting up the buffers 36 stream->buffers[i] = buffer + (i * buffer_size);
|
/haiku/src/add-ons/kernel/drivers/disk/nvme/ |
H A D | nvme_disk.cpp | 296 // allocate DMA buffers 297 int buffers = info->qpair_count * 2; local 308 err = info->dma_resource.Init(restrictions, B_PAGE_SIZE, buffers, buffers); 315 info->dma_buffers_sem = create_sem(buffers, "nvme buffers sem"); 317 TRACE_ERROR("failed to create DMA buffers semaphore!\n");
|
/haiku/src/add-ons/kernel/drivers/audio/hda/ |
H A D | hda_controller.cpp | 531 Programs the controller hardware to make use of these buffers (the DMA 886 // Calculate total size of all buffers (aligned to size of B_PAGE_SIZE) 890 // Allocate memory for buffers 892 stream->buffer_area = create_area("hda buffers", (void**)&buffer, 915 " buffers\n", __func__, desc, alloc, stream->num_buffers); 919 stream->buffers[index] = buffer + (index * stream->buffer_size);
|
H A D | driver.h | 53 (verb/response) buffers for communication. 167 uint8* buffers[STREAM_MAX_BUFFERS]; member in struct:hda_stream
|
H A D | hda_multi_audio.cpp | 967 TRACE("playback: %" B_PRId32 " buffers, %" B_PRId32 " channels, %" B_PRIu32 970 TRACE("record: %" B_PRId32 " buffers, %" B_PRId32 " channels, %" B_PRIu32 974 /* Determine what buffers we return given the request */ 1022 dprintf("hda: Error setting up playback buffers: %s\n", 1037 dprintf("hda: Error setting up recording buffers: %s\n", 1052 descs[channelIndex].base = (char*)audioGroup->playback_stream->buffers[i] 1072 descs[channelIndex].base = (char*)audioGroup->record_stream->buffers[i] 1161 dprintf("%s: %d buffers processed\n", __func__, debugBuffersExchanged);
|
/haiku/src/add-ons/kernel/busses/usb/ |
H A D | xhci.h | 39 void** buffers; member in struct:xhci_td
|
H A D | xhci.cpp | 1342 // create a series of buffers as requested by our caller. 1346 result->buffers = (void**)calloc(bufferCount, 1350 fStack->AllocateChunk((void **)&result->buffers, &dummy, 1353 if (result->buffers == NULL) { 1358 result->buffer_addrs = (phys_addr_t*)&result->buffers[bufferCount]; 1362 // Optimization: If the requested total size of all buffers is less 1367 if (fStack->AllocateChunk(&result->buffers[0], 1375 result->buffers[i] = (void*)((addr_t)(result->buffers[i - 1]) 1383 if (fStack->AllocateChunk(&result->buffers[ [all...] |
/haiku/src/add-ons/kernel/network/stack/ |
H A D | utility.cpp | 177 list_init(&fifo->buffers); 200 list_add_item(&fifo->buffers, buffer); 237 net_buffer* buffer = (net_buffer*)list_get_first_item(&fifo->buffers); 248 list_remove_item(&fifo->buffers, buffer); 289 net_buffer* buffer = (net_buffer*)list_remove_head_item(&fifo->buffers);
|
H A D | net_buffer.cpp | 136 struct list buffers; member in struct:net_buffer_private 327 out.Print("net buffer merge: buffers: %p + %p, after: %s " 620 while ((node = (data_node*)list_get_next_item(&buffer->buffers, node)) 658 kprintf("allocated net buffers: %7" B_PRId32 " / %7" B_PRId32 ", peak %7" 676 data_node* node = (data_node*)list_get_first_item(&buffer->buffers); 684 node = (data_node*)list_get_next_item(&buffer->buffers, node); 1015 data_node* node = (data_node*)list_get_first_item(&buffer->buffers); 1017 node = (data_node*)list_get_next_item(&buffer->buffers, node); 1041 data_node* node = (data_node*)list_get_first_item(&source->buffers); 1053 node = (data_node*)list_get_next_item(&source->buffers, nod [all...] |
/haiku/src/kits/media/ |
H A D | BufferConsumer.cpp | 289 BBuffer *buffers[buffer_count]; local 291 if (group->GetBufferList(buffer_count, buffers) != B_OK) 294 command->buffers[i] = buffers[i]->ID(); 429 // We no longer need to cache the buffers requested by the other end
|
H A D | SharedBufferList.cpp | 276 // the buffers that don't fit the request 316 // And mark all buffers with the same ID as requested in 423 /*! Returns exactly \a bufferCount buffers from the group specified via its 428 BBuffer** buffers) 439 buffers[found++] = fInfos[i].buffer; 478 // find buffers with same id, but belonging to other groups 427 GetBufferList(sem_id groupReclaimSem, int32 bufferCount, BBuffer** buffers) argument
|
H A D | BufferGroup.cpp | 71 area_id bufferArea = create_area("some buffers area", &startAddress, 106 BBufferGroup::BBufferGroup(int32 count, const media_buffer_id* buffers) argument 119 info.buffer = buffers[i]; 261 // requesting of new buffers 296 // requesting of new buffers 321 BBuffer* buffers[fBufferCount]; 322 status_t status = GetBufferList(fBufferCount, buffers); 327 status = message->AddInt32(name, int32(buffers[i]->ID()));
|
H A D | BufferProducer.cpp | 274 ? new BBufferGroup(command->buffer_count, command->buffers)
|
/haiku/src/libs/compat/freebsd_network/ |
H A D | usb.cpp | 248 usb_page_cache* buffers; member in struct:usb_xfer 329 xfer->buffers = NULL; 354 if (xfer->buffers != NULL) { 356 free(xfer->buffers[i].buffer); 357 free(xfer->buffers); 438 if (xfer->buffers == NULL) 439 xfer->buffers = (usb_page_cache*)calloc(xfer->max_frame_count, sizeof(usb_page_cache)); 441 usb_page_cache* cache = &xfer->buffers[frindex];
|
/haiku/src/apps/cortex/support/ |
H A D | SoundUtils.cpp | 121 // secs * ( (frames/sec) / (frames/buffer) ) = secs * (buffers/sec) = buffers 122 int buffers = 0; local 124 buffers = (int) ceil(us_to_s(duration)*(format.frame_rate/frames_per_buffer(format))); 126 return buffers;
|
/haiku/headers/private/media/ |
H A D | SharedBufferList.h | 51 BBuffer** buffers);
|
/haiku/src/add-ons/kernel/drivers/graphics/radeon/ |
H A D | CP_setup.c | 13 - 253 indirect buffers a 4k (1024 dwords) 277 // mark all buffers as being finished 332 // ring and indirect buffers can be either in AGP or PCI GART 407 SHOW_ERROR0( 0, "Cannot allocate buffers for status information" ); 453 true, &cp->buffers.mem_handle, &offset ); 456 SHOW_ERROR0( 0, "Cannot allocate indirect buffers" ); 460 cp->buffers.mem_type = memory_type; 461 cp->buffers.mem_offset = offset; 462 cp->buffers.vm_start = MEM2GC( memory_type, cp->buffers [all...] |
/haiku/src/add-ons/accelerants/radeon/ |
H A D | CP.c | 81 // mark all indirect buffers that have been processed as being free; 93 // mark all sent indirect buffers as free 94 while( cp->buffers.oldest != -1 ) { 96 &cp->buffers.buffers[cp->buffers.oldest]; 112 cp->buffers.newest = -1; 115 oldest_buffer->next = cp->buffers.free_list; 116 cp->buffers.free_list = cp->buffers [all...] |
/haiku/headers/os/media/ |
H A D | BufferGroup.h | 25 const media_buffer_id* buffers);
|