/haiku-fatelf/src/add-ons/kernel/drivers/audio/ac97/ichaudio/ |
H A D | io.c | 35 status_t ich_codec_wait(ichaudio_cookie *cookie); 38 ich_reg_read_8(ichaudio_cookie *cookie, int regno) argument 41 ASSERT(((cookie->flags & TYPE_ICH4) != 0 && regno <= 255) || regno <= 63); 42 if (cookie->flags & TYPE_ICH4) 43 return *(uint8 *)((char *)cookie->mbbar + regno); 45 return cookie->pci->read_io_8(cookie->nabmbar + regno); 49 ich_reg_read_16(ichaudio_cookie *cookie, int regno) argument 52 ASSERT(((cookie->flags & TYPE_ICH4) != 0 && regno <= 255) || regno <= 63); 53 if (cookie 60 ich_reg_read_32(ichaudio_cookie *cookie, int regno) argument 72 ich_reg_write_8(ichaudio_cookie *cookie, int regno, uint8 value) argument 84 ich_reg_write_16(ichaudio_cookie *cookie, int regno, uint16 value) argument 96 ich_reg_write_32(ichaudio_cookie *cookie, int regno, uint32 value) argument 108 ich_codec_wait(ichaudio_cookie *cookie) argument 123 ichaudio_cookie *cookie = (ichaudio_cookie *)_cookie; local 142 ichaudio_cookie *cookie = (ichaudio_cookie *)_cookie; local [all...] |
H A D | io.h | 33 uint8 ich_reg_read_8(ichaudio_cookie *cookie, int regno); 34 uint16 ich_reg_read_16(ichaudio_cookie *cookie, int regno); 35 uint32 ich_reg_read_32(ichaudio_cookie *cookie, int regno); 37 void ich_reg_write_8(ichaudio_cookie *cookie, int regno, uint8 value); 38 void ich_reg_write_16(ichaudio_cookie *cookie, int regno, uint16 value); 39 void ich_reg_write_32(ichaudio_cookie *cookie, int regno, uint32 value);
|
H A D | ichaudio.c | 5 status_t ichaudio_attach(audio_drv_t *drv, void **cookie); 6 status_t ichaudio_powerctl(audio_drv_t *drv, void *cookie, int op); 7 status_t ichaudio_detach(audio_drv_t *drv, void *cookie); 8 status_t ichaudio_stream_attach(audio_drv_t *drv, void *cookie, int stream_id); 9 status_t ichaudio_stream_detach(audio_drv_t *drv, void *cookie, int stream_id); 10 status_t ichaudio_stream_control(audio_drv_t *drv, void *cookie, int stream_id, int op); 11 status_t ichaudio_stream_set_buffers(audio_drv_t *drv, void *cookie, int stream_id, uint32 *buffer_size, stream_buffer_desc_t *desc); 12 status_t ichaudio_stream_set_frame_rate(audio_drv_t *drv, void *cookie, int stream_id, uint32 *frame_rate); 14 void stream_reset(ichaudio_cookie *cookie, uint32 regbase); 95 ichaudio_cookie *cookie; local 279 ichaudio_cookie *cookie = (ichaudio_cookie *)_cookie; local 301 stream_reset(ichaudio_cookie *cookie, uint32 regbase) argument 323 ichaudio_cookie *cookie = (ichaudio_cookie *) _cookie; local 357 ichaudio_cookie *cookie = (ichaudio_cookie *)_cookie; local 378 ichaudio_cookie *cookie = (ichaudio_cookie *)_cookie; local [all...] |
/haiku-fatelf/src/add-ons/kernel/drivers/dvb/cx23882/ |
H A D | dvb_interface.h | 30 status_t interface_attach(void **cookie, const pci_info *info); 31 void interface_detach(void *cookie); 32 status_t interface_ioctl(void *cookie, uint32 op, void *arg, size_t len);
|
/haiku-fatelf/headers/os/drivers/ |
H A D | interrupt_controller.h | 24 status_t (*get_controller_info)(void *cookie,
27 status_t (*enable_io_interrupt)(void *cookie, int irq, int type);
28 status_t (*disable_io_interrupt)(void *cookie, int irq);
35 int (*acknowledge_io_interrupt)(void *cookie);
|
/haiku-fatelf/src/add-ons/media/plugins/matroska/ |
H A D | matroska_reader.cpp | 239 mkv_cookie *cookie = new mkv_cookie; local 240 *_cookie = cookie; 244 cookie->stream = streamNumber; 245 cookie->buffer = 0; 246 cookie->buffer_size = 0; 247 cookie->track_info = mkv_GetTrackInfo(fFile, streamNumber); 248 cookie->file = 0; 250 // TRACE("Number: %d\n", cookie->track_info->Number); 251 // TRACE("Type: %d\n", cookie->track_info->Type); 252 // TRACE("TrackOverlay: %d\n", cookie 287 SetupVideoCookie(mkv_cookie *cookie) argument 364 SetupAudioCookie(mkv_cookie *cookie) argument 421 SetupTextCookie(mkv_cookie *cookie) argument 431 mkv_cookie *cookie = (mkv_cookie *)_cookie; local 447 mkv_cookie *cookie = (mkv_cookie *)_cookie; local 460 Seek(void *cookie, uint32 flags, int64 *frame, bigtime_t *time) argument 497 FindKeyFrame(void* cookie, uint32 flags, int64* frame, bigtime_t* time) argument 544 mkv_cookie *cookie = (mkv_cookie *)_cookie; local [all...] |
/haiku-fatelf/src/add-ons/kernel/drivers/audio/cmedia/ |
H A D | joy.c | 14 static status_t joy_open(const char *name, uint32 flags, void **cookie); 15 static status_t joy_close(void *cookie); 16 static status_t joy_free(void *cookie); 17 static status_t joy_control(void *cookie, uint32 op, void *data, size_t len); 18 static status_t joy_read(void *cookie, off_t pos, void *data, size_t *len); 19 static status_t joy_write(void *cookie, off_t pos, const void *data, size_t *len); 44 void ** cookie) 51 *cookie = NULL; 61 return (*gameport->open_hook)(cards[ix].joy.driver, flags, cookie); 67 void * cookie) 41 joy_open( const char * name, uint32 flags, void ** cookie) argument 66 joy_close( void * cookie) argument 74 joy_free( void * cookie) argument 82 joy_control( void * cookie, uint32 iop, void * data, size_t len) argument 93 joy_read( void * cookie, off_t pos, void * data, size_t * nread) argument 104 joy_write( void * cookie, off_t pos, const void * data, size_t * nwritten) argument [all...] |
H A D | midi.c | 57 static status_t midi_open(const char *name, uint32 flags, void **cookie); 58 static status_t midi_close(void *cookie); 59 static status_t midi_free(void *cookie); 60 static status_t midi_control(void *cookie, uint32 op, void *data, size_t len); 61 static status_t midi_read(void *cookie, off_t pos, void *data, size_t *len); 62 static status_t midi_write(void *cookie, off_t pos, const void *data, size_t *len); 82 void ** cookie) 89 *cookie = NULL; 101 ret = (*mpu401->open_hook)(cards[ix].midi.driver, flags, cookie); 103 cards[ix].midi.cookie 79 midi_open( const char * name, uint32 flags, void ** cookie) argument 112 midi_close( void * cookie) argument 121 midi_free( void * cookie) argument 143 midi_control( void * cookie, uint32 iop, void * data, size_t len) argument 154 midi_read( void * cookie, off_t pos, void * ptr, size_t * nread) argument 165 midi_write( void * cookie, off_t pos, const void * ptr, size_t * nwritten) argument [all...] |
/haiku-fatelf/src/add-ons/kernel/drivers/audio/emuxki/ |
H A D | joy.c | 17 static status_t joy_open(const char *name, uint32 flags, void **cookie); 18 static status_t joy_close(void *cookie); 19 static status_t joy_free(void *cookie); 20 static status_t joy_control(void *cookie, uint32 op, void *data, size_t len); 21 static status_t joy_read(void *cookie, off_t pos, void *data, size_t *len); 22 static status_t joy_write(void *cookie, off_t pos, const void *data, size_t *len); 42 joy_open(const char * name, uint32 flags, void ** cookie) argument 49 *cookie = NULL; 59 return (*gameport->open_hook)(cards[ix].joy.driver, flags, cookie); 64 joy_close(void * cookie) argument 71 joy_free(void * cookie) argument 78 joy_control(void * cookie, uint32 iop, void * data, size_t len) argument 85 joy_read(void * cookie, off_t pos, void * data, size_t * nread) argument 92 joy_write(void * cookie, off_t pos, const void * data, size_t * nwritten) argument [all...] |
H A D | midi.c | 77 static status_t midi_open(const char *name, uint32 flags, void **cookie); 78 static status_t midi_close(void *cookie); 79 static status_t midi_free(void *cookie); 80 static status_t midi_control(void *cookie, uint32 op, void *data, size_t len); 81 static status_t midi_read(void *cookie, off_t pos, void *data, size_t *len); 82 static status_t midi_write(void *cookie, off_t pos, const void *data, size_t *len); 102 void ** cookie) 109 *cookie = NULL; 121 ret = (*mpu401->open_hook)(cards[ix].midi.driver, flags, cookie); 123 cards[ix].midi.cookie 99 midi_open( const char * name, uint32 flags, void ** cookie) argument 132 midi_close( void * cookie) argument 141 midi_free( void * cookie) argument 163 midi_control( void * cookie, uint32 iop, void * data, size_t len) argument 174 midi_read( void * cookie, off_t pos, void * ptr, size_t * nread) argument 185 midi_write( void * cookie, off_t pos, const void * ptr, size_t * nwritten) argument [all...] |
/haiku-fatelf/src/tests/kits/media/soundplayer/ |
H A D | SimplePlayerTest.cpp | 26 cookie_record* cookie = (cookie_record*)_cookie; 33 buf[i + j] = cookie->value; 36 if (cookie->direction == 1.0 && cookie->value >= 1.0) 37 cookie->direction = -1.0; 38 else if (cookie->direction == -1.0 && cookie->value <= -1.0) 39 cookie->direction = 1.0; 41 cookie->value += cookie 51 cookie_record cookie; local [all...] |
/haiku-fatelf/src/add-ons/kernel/bus_managers/ps2/ |
H A D | ps2_standard_mouse.cpp | 92 ps2_packet_to_movement(standard_mouse_cookie *cookie, uint8 packet[], argument 102 if (buttons != 0 && cookie->buttons_state == 0) { 103 if (cookie->click_last_time + cookie->click_speed > currentTime) 104 cookie->click_count++; 106 cookie->click_count = 1; 108 cookie->click_last_time = currentTime; 111 cookie->buttons_state = buttons; 113 if (cookie->flags & F_MOUSE_TYPE_INTELLIMOUSE) { 119 if (cookie 154 standard_mouse_read_event(standard_mouse_cookie *cookie, mouse_movement *movement) argument 209 standard_mouse_cookie *cookie = (standard_mouse_cookie*)dev->cookie; local 328 standard_mouse_cookie *cookie; local 417 standard_mouse_cookie *cookie = (standard_mouse_cookie*)_cookie; local 438 standard_mouse_cookie *cookie = (standard_mouse_cookie*)_cookie; local 445 standard_mouse_read(void *cookie, off_t pos, void *buffer, size_t *_length) argument 453 standard_mouse_write(void *cookie, off_t pos, const void *buffer, size_t *_length) argument 464 standard_mouse_cookie *cookie = (standard_mouse_cookie*)_cookie; local [all...] |
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/ |
H A D | ntfsdir.c | 42 dircookie *cookie = (dircookie*)_dirent; local 48 || cookie->show_sys_files) { 60 new_entry->ent->d_dev = cookie->dev_id; 65 if(cookie->cache_root == NULL || cookie->entry == NULL) { 66 cookie->cache_root = new_entry; 67 cookie->entry = cookie->cache_root; 68 cookie->entry->next = NULL; 70 cookie 88 dircookie *cookie = (dircookie*)_cookie; local 117 dircookie *cookie = NULL; local 158 fs_closedir(fs_volume *_vol, fs_vnode *_node, void *cookie) argument 170 dircookie *cookie = (dircookie*)_cookie; local 247 dircookie *cookie = (dircookie*)_cookie; local [all...] |
/haiku-fatelf/src/add-ons/kernel/drivers/audio/ac97/ich/ |
H A D | ac97_multi.h | 31 status_t multi_control(void *cookie, uint32 op, void *data, size_t length);
|
/haiku-fatelf/src/system/kernel/device_manager/ |
H A D | AbstractModuleDevice.cpp | 69 AbstractModuleDevice::Read(void* cookie, off_t pos, void* buffer, size_t* _length) argument 71 return Module()->read(cookie, pos, buffer, _length); 76 AbstractModuleDevice::Write(void* cookie, off_t pos, const void* buffer, size_t* _length) argument 78 return Module()->write(cookie, pos, buffer, _length); 83 AbstractModuleDevice::IO(void* cookie, io_request* request) argument 85 return Module()->io(cookie, request); 90 AbstractModuleDevice::Control(void* cookie, int32 op, void* buffer, size_t length) argument 92 return Module()->control(cookie, op, buffer, length); 97 AbstractModuleDevice::Select(void* cookie, uint8 event, selectsync* sync) argument 99 return Module()->select(cookie, even 104 Deselect(void* cookie, uint8 event, selectsync* sync) argument 111 Close(void* cookie) argument 118 Free(void* cookie) argument [all...] |
/haiku-fatelf/src/add-ons/kernel/drivers/power/acpi_button/ |
H A D | acpi_button.c | 39 acpi_button_open (const char *name, uint32 flags, void** cookie) argument 42 *cookie = (void *)ACPI_EVENT_POWER_BUTTON; 44 *cookie = (void *)ACPI_EVENT_SLEEP_BUTTON; 48 acpi->enable_fixed_event((uint32)(cookie)); 59 acpi_button_read (void* cookie, off_t position, void *buf, size_t* num_bytes) argument 64 *((uint8 *)(buf)) = acpi->fixed_event_status((uint32)(cookie)) ? 1 : 0; 66 acpi->reset_fixed_event((uint32)(cookie)); 78 acpi_button_write (void* cookie, off_t position, const void* buffer, size_t* num_bytes) argument 89 acpi_button_control (void* cookie, uint32 op, void* arg, size_t len) argument 100 acpi_button_close (void* cookie) argument 112 acpi_button_free(void* cookie) argument [all...] |
/haiku-fatelf/src/apps/devices/ |
H A D | dm_wrapper.h | 16 status_t get_root(device_node_cookie *cookie); 17 status_t get_child(device_node_cookie *cookie); 18 status_t get_next_child(device_node_cookie *cookie);
|
/haiku-fatelf/src/bin/listdev/ |
H A D | dm_wrapper.h | 15 status_t get_root(device_node_cookie *cookie); 16 status_t get_child(device_node_cookie *cookie); 17 status_t get_next_child(device_node_cookie *cookie);
|
/haiku-fatelf/src/system/libroot/posix/stdio/ |
H A D | stdio.c | 48 __sread(cookie, buf, n) 49 void *cookie; 53 register FILE *fp = cookie; 66 __swrite(cookie, buf, n) 67 void *cookie; 71 register FILE *fp = cookie; 81 __sseek(cookie, offset, whence) 82 void *cookie; 86 register FILE *fp = cookie; 100 __sclose(cookie) [all...] |
/haiku-fatelf/src/add-ons/kernel/busses/scsi/ahci/ |
H A D | ahci_sim.cpp | 21 ahci_set_scsi_bus(scsi_sim_cookie cookie, scsi_bus bus) argument 28 ahci_scsi_io(scsi_sim_cookie cookie, scsi_ccb *request) argument 30 FLOW("ahci_scsi_io, cookie %p, path_id %u, target_id %u, target_lun %u\n", 31 cookie, request->path_id, request->target_id, request->target_lun); 32 static_cast<AHCIController *>(cookie)->ExecuteRequest(request); 38 ahci_abort_io(scsi_sim_cookie cookie, scsi_ccb *request) argument 40 TRACE("ahci_abort_io, cookie %p\n", cookie); 41 return static_cast<AHCIController *>(cookie)->AbortRequest(request); 46 ahci_reset_device(scsi_sim_cookie cookie, ucha argument 55 ahci_terminate_io(scsi_sim_cookie cookie, scsi_ccb *request) argument 64 ahci_path_inquiry(scsi_sim_cookie cookie, scsi_path_inquiry *info) argument 83 ahci_scan_bus(scsi_sim_cookie cookie) argument 92 ahci_reset_bus(scsi_sim_cookie cookie) argument 104 ahci_get_restrictions(scsi_sim_cookie cookie, uchar targetID, bool *isATAPI, bool *noAutoSense, uint32 *maxBlocks) argument 114 ahci_ioctl(scsi_sim_cookie cookie, uint8 targetID, uint32 op, void *buffer, size_t length) argument 160 ahci_sim_uninit_bus(void *cookie) argument 171 ahci_sim_bus_removed(void *cookie) argument [all...] |
/haiku-fatelf/src/add-ons/media/plugins/avi_reader/ |
H A D | avi_reader.cpp | 150 avi_cookie *cookie = new(std::nothrow) avi_cookie; local 151 if (!cookie) 153 *_cookie = cookie; 155 cookie->stream = streamNumber; 156 cookie->buffer = 0; 157 cookie->buffer_size = 0; 158 cookie->is_audio = false; 159 cookie->is_video = false; 160 cookie->byte_pos = 0; 161 cookie 341 avi_cookie *cookie = (avi_cookie *)_cookie; local 354 avi_cookie *cookie = (avi_cookie *)_cookie; local 369 avi_cookie *cookie = (avi_cookie *)_cookie; local 399 avi_cookie *cookie = (avi_cookie *)_cookie; local 424 avi_cookie *cookie = (avi_cookie *)_cookie; local [all...] |
/haiku-fatelf/src/add-ons/kernel/drivers/audio/sb16/ |
H A D | hooks.c | 6 sb16_open (const char *name, uint32 flags, void** cookie) argument 20 *cookie = dev; 25 sb16_read (void* cookie, off_t position, void *buf, size_t* num_bytes) argument 32 sb16_write (void* cookie, off_t position, const void* buffer, size_t* num_bytes) argument 39 sb16_control (void* cookie, uint32 op, void* arg, size_t len) argument 41 if (cookie) 42 return multi_audio_control(cookie, op, arg, len); 48 sb16_close (void* cookie) argument 50 sb16_dev_t* dev = (sb16_dev_t*)cookie; 57 sb16_free (void* cookie) argument [all...] |
/haiku-fatelf/src/bin/network/wget/src/ |
H A D | cookies.c | 32 cookie patch submitted by Tomasz Wegrzanowski. 34 This implements the client-side cookie support, as specified 60 /* Declarations of `struct cookie' and the most basic functions. */ 62 /* Cookie jar serves as cookie storage and a means of retrieving 64 in a linked list called "chain". A cookie chain can be reached by 65 looking up the domain in the cookie jar's chains_by_domain table. 69 course, when sending a cookie to `www.google.com', one must search 94 struct cookie { 95 char *domain; /* domain of the cookie */ 97 char *path; /* path prefix of the cookie */ 93 struct cookie { struct 127 struct cookie *cookie = xnew0 (struct cookie); local 149 delete_cookie(struct cookie *cookie) argument 173 find_matching_cookie(struct cookie_jar *jar, struct cookie *cookie, struct cookie **prevptr) argument 207 store_cookie(struct cookie_jar *jar, struct cookie *cookie) argument 279 discard_matching_cookie(struct cookie_jar *jar, struct cookie *cookie) argument 346 struct cookie *cookie = cookie_new (); local 656 struct cookie *cookie; local 825 cookie_matches_url(const struct cookie *cookie, const char *host, int port, const char *path, bool secflag, int *path_goodness) argument 870 struct cookie *cookie; member in struct:weighed_cookie 965 struct cookie *cookie; local 1142 struct cookie *cookie; local 1266 struct cookie *cookie = iter.value; local [all...] |
/haiku-fatelf/src/add-ons/kernel/drivers/audio/ac97/geode/ |
H A D | device.cpp | 14 geode_open(const char *name, uint32 flags, void** cookie) argument 37 *cookie = controller; 43 geode_read(void* cookie, off_t position, void *buf, size_t* numBytes) argument 52 geode_write(void* cookie, off_t position, const void* buffer, size_t* numBytes) argument 61 geode_control(void* cookie, uint32 op, void* arg, size_t length) argument 63 geode_controller* controller = (geode_controller*)cookie; 69 geode_close(void* cookie) argument 71 geode_controller* controller = (geode_controller*)cookie; 80 geode_free(void* cookie) argument 82 geode_controller* controller = (geode_controller*)cookie; [all...] |
/haiku-fatelf/src/add-ons/kernel/drivers/audio/hda/ |
H A D | device.cpp | 14 hda_open(const char* name, uint32 flags, void** cookie) argument 37 *cookie = controller; 43 hda_read(void* cookie, off_t position, void* buffer, size_t* numBytes) argument 51 hda_write(void* cookie, off_t position, const void* buffer, size_t* numBytes) argument 59 hda_control(void* cookie, uint32 op, void* arg, size_t length) argument 61 hda_controller* controller = (hda_controller*)cookie; 70 hda_close(void* cookie) argument 72 hda_controller* controller = (hda_controller*)cookie; 81 hda_free(void* cookie) argument 83 hda_controller* controller = (hda_controller*)cookie; [all...] |