Home
last modified time | relevance | path

Searched defs:cookie (Results 1 – 25 of 693) sorted by relevance

12345678910>>...28

/haiku/src/add-ons/kernel/busses/scsi/ahci/
H A Dahci_sim.cpp21 ahci_set_scsi_bus(scsi_sim_cookie cookie, scsi_bus bus) in ahci_set_scsi_bus()
28 ahci_scsi_io(scsi_sim_cookie cookie, scsi_ccb *request) in ahci_scsi_io()
38 ahci_abort_io(scsi_sim_cookie cookie, scsi_ccb *request) in ahci_abort_io()
46 ahci_reset_device(scsi_sim_cookie cookie, uchar targetID, uchar targetLUN) in ahci_reset_device()
55 ahci_terminate_io(scsi_sim_cookie cookie, scsi_ccb *request) in ahci_terminate_io()
64 ahci_path_inquiry(scsi_sim_cookie cookie, scsi_path_inquiry *info) in ahci_path_inquiry()
83 ahci_scan_bus(scsi_sim_cookie cookie) in ahci_scan_bus()
92 ahci_reset_bus(scsi_sim_cookie cookie) in ahci_reset_bus()
104 ahci_get_restrictions(scsi_sim_cookie cookie, uchar targetID, bool *isATAPI, in ahci_get_restrictions()
114 ahci_ioctl(scsi_sim_cookie cookie, uint8 targetID, uint32 op, void *buffer, in ahci_ioctl()
[all …]
/haiku/src/add-ons/kernel/bus_managers/ata/
H A DATAModule.cpp18 ata_sim_init_bus(device_node *node, void **cookie) in ata_sim_init_bus()
37 ata_sim_uninit_bus(void *cookie) in ata_sim_uninit_bus()
45 ata_sim_bus_removed(void *cookie) in ata_sim_bus_removed()
56 ata_sim_set_scsi_bus(scsi_sim_cookie cookie, scsi_bus bus) in ata_sim_set_scsi_bus()
65 ata_sim_scsi_io(scsi_sim_cookie cookie, scsi_ccb *ccb) in ata_sim_scsi_io()
80 ata_sim_abort(scsi_sim_cookie cookie, scsi_ccb *ccb) in ata_sim_abort()
92 ata_sim_reset_device(scsi_sim_cookie cookie, uchar targetId, uchar targetLun) in ata_sim_reset_device()
104 ata_sim_term_io(scsi_sim_cookie cookie, scsi_ccb *ccb) in ata_sim_term_io()
116 ata_sim_path_inquiry(scsi_sim_cookie cookie, scsi_path_inquiry *info) in ata_sim_path_inquiry()
128 ata_sim_rescan_bus(scsi_sim_cookie cookie) in ata_sim_rescan_bus()
[all …]
/haiku/src/tests/add-ons/kernel/busses/scsi/example/
H A Dexample_scsi.c60 example_init_driver(device_node_handle node, void *userCookie, void **cookie) in example_init_driver()
68 example_uninit_driver(void *cookie) in example_uninit_driver()
76 example_device_removed(device_node_handle node, void *cookie) in example_device_removed()
103 example_scsi_io(scsi_sim_cookie cookie, scsi_ccb *ccb) in example_scsi_io()
110 example_abort(scsi_sim_cookie cookie, scsi_ccb *ccbToAbort) in example_abort()
118 example_reset_device(scsi_sim_cookie cookie, uchar targetID, uchar targetLUN) in example_reset_device()
126 example_term_io(scsi_sim_cookie cookie, scsi_ccb *ccbToTerminate) in example_term_io()
134 example_path_inquiry(scsi_sim_cookie cookie, scsi_path_inquiry *inquiryData) in example_path_inquiry()
142 example_scan_bus(scsi_sim_cookie cookie) in example_scan_bus()
150 example_reset_bus(scsi_sim_cookie cookie) in example_reset_bus()
[all …]
/haiku/src/add-ons/kernel/busses/scsi/usb/
H A Dusb_scsi.c1017 uninit_module(void *cookie) in uninit_module()
1029 device_removed(device_node_handle node, void *cookie) in device_removed()
1062 scsi_io( scsi_sim_cookie cookie, scsi_ccb *ccb ) in scsi_io()
1074 abort( scsi_sim_cookie cookie, scsi_ccb *ccb_to_abort ) in abort()
1087 reset_device( scsi_sim_cookie cookie, uchar target_id, uchar target_lun ) in reset_device()
1100 term_io( scsi_sim_cookie cookie, scsi_ccb *ccb_to_terminate ) in term_io()
1113 path_inquiry( scsi_sim_cookie cookie, scsi_path_inquiry *inquiry_data ) in path_inquiry()
1126 scan_bus( scsi_sim_cookie cookie ) in scan_bus()
1139 reset_bus( scsi_sim_cookie cookie ) in reset_bus()
1151 get_restrictions(scsi_sim_cookie cookie, uchar target_id, bool *is_atapi, bool *no_autosense, uint3… in get_restrictions()
[all …]
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/
H A DVolume.cpp129 void* cookie; in GetVNodeName() local
199 Volume::DoIO(void* node, void* cookie, const IORequestInfo& requestInfo) in DoIO()
206 Volume::CancelIO(void* node, void* cookie, int32 ioRequestID) in CancelIO()
213 Volume::IterativeIOGetVecs(void* cookie, int32 requestID, off_t offset, in IterativeIOGetVecs()
221 Volume::IterativeIOFinished(void* cookie, int32 requestID, status_t status, in IterativeIOFinished()
233 Volume::IOCtl(void* node, void* cookie, uint32 command, void *buffer, in IOCtl()
241 Volume::SetFlags(void* node, void* cookie, int flags) in SetFlags()
248 Volume::Select(void* node, void* cookie, uint8 event, selectsync* sync) in Select()
255 Volume::Deselect(void* node, void* cookie, uint8 event, selectsync* sync) in Deselect()
333 void** cookie, ino_t* vnid) in Create()
[all …]
/haiku/src/system/kernel/device_manager/
H A DAbstractModuleDevice.cpp71 AbstractModuleDevice::_DoIO(void* cookie, off_t pos, in _DoIO()
90 AbstractModuleDevice::Read(void* cookie, off_t pos, void* buffer, size_t* _length) in Read()
103 AbstractModuleDevice::Write(void* cookie, off_t pos, const void* buffer, size_t* _length) in Write()
116 AbstractModuleDevice::IO(void* cookie, io_request* request) in IO()
125 AbstractModuleDevice::Control(void* cookie, int32 op, void* buffer, size_t length) in Control()
134 AbstractModuleDevice::Select(void* cookie, uint8 event, selectsync* sync) in Select()
143 AbstractModuleDevice::Deselect(void* cookie, uint8 event, selectsync* sync) in Deselect()
152 AbstractModuleDevice::Close(void* cookie) in Close()
159 AbstractModuleDevice::Free(void* cookie) in Free()
H A DBaseDevice.cpp75 BaseDevice::Read(void* cookie, off_t pos, void* buffer, size_t* _length) in Read()
82 BaseDevice::Write(void* cookie, off_t pos, const void* buffer, size_t* _length) in Write()
89 BaseDevice::IO(void* cookie, io_request* request) in IO()
96 BaseDevice::Control(void* cookie, int32 op, void* buffer, size_t length) in Control()
103 BaseDevice::Select(void* cookie, uint8 event, selectsync* sync) in Select()
110 BaseDevice::Deselect(void* cookie, uint8 event, selectsync* sync) in Deselect()
/haiku/src/tests/system/kernel/device_manager/playground/
H A Dspecific_video_driver.cpp59 uninit_driver(void* cookie) in uninit_driver()
65 register_child_devices(void* cookie) in register_child_devices()
76 device_removed(void* cookie) in device_removed()
109 device_close(void* cookie) in device_close()
116 device_free(void* cookie) in device_free()
123 device_read(void* cookie, off_t pos, void* buffer, size_t* _length) in device_read()
130 device_write(void* cookie, off_t pos, const void* buffer, size_t* _length) in device_write()
137 device_ioctl(void* cookie, int32 op, void* buffer, size_t length) in device_ioctl()
144 device_io(void* cookie, io_request* request) in device_io()
H A Ddriver.cpp66 uninit_driver(void* cookie) in uninit_driver()
72 register_child_devices(void* cookie) in register_child_devices()
83 driver_device_removed(void* cookie) in driver_device_removed()
123 device_close(void* cookie) in device_close()
130 device_free(void* cookie) in device_free()
137 device_read(void* cookie, off_t pos, void* buffer, size_t* _length) in device_read()
144 device_write(void* cookie, off_t pos, const void* buffer, size_t* _length) in device_write()
151 device_ioctl(void* cookie, int32 op, void* buffer, size_t length) in device_ioctl()
158 device_io(void* cookie, io_request* request) in device_io()
H A Dgeneric_video_driver.cpp59 uninit_driver(void* cookie) in uninit_driver()
65 register_child_devices(void* cookie) in register_child_devices()
109 device_close(void* cookie) in device_close()
116 device_free(void* cookie) in device_free()
123 device_read(void* cookie, off_t pos, void* buffer, size_t* _length) in device_read()
130 device_write(void* cookie, off_t pos, const void* buffer, size_t* _length) in device_write()
137 device_ioctl(void* cookie, int32 op, void* buffer, size_t length) in device_ioctl()
144 device_io(void* cookie, io_request* request) in device_io()
/haiku/src/add-ons/kernel/drivers/audio/emuxki/
H A Djoy.c42 joy_open(const char * name, uint32 flags, void ** cookie) in joy_open()
64 joy_close(void * cookie) in joy_close()
71 joy_free(void * cookie) in joy_free()
78 joy_control(void * cookie, uint32 iop, void * data, size_t len) in joy_control()
85 joy_read(void * cookie, off_t pos, void * data, size_t * nread) in joy_read()
92 joy_write(void * cookie, off_t pos, const void * data, size_t * nwritten) in joy_write()
H A Dmidi.c102 void ** cookie) in midi_open()
133 void * cookie) in midi_close()
142 void * cookie) in midi_free()
164 void * cookie, in midi_control()
175 void * cookie, in midi_read()
186 void * cookie, in midi_write()
/haiku/src/add-ons/kernel/drivers/audio/cmedia/
H A Djoy.c44 void ** cookie) in joy_open()
67 void * cookie) in joy_close()
75 void * cookie) in joy_free()
83 void * cookie, in joy_control()
94 void * cookie, in joy_read()
105 void * cookie, in joy_write()
/haiku/src/add-ons/kernel/drivers/audio/sb16/
H A Dhooks.c6 sb16_open (const char *name, uint32 flags, void** cookie) in sb16_open()
25 sb16_read (void* cookie, off_t position, void *buf, size_t* num_bytes) in sb16_read()
32 sb16_write (void* cookie, off_t position, const void* buffer, size_t* num_bytes) in sb16_write()
39 sb16_control (void* cookie, uint32 op, void* arg, size_t len) in sb16_control()
48 sb16_close (void* cookie) in sb16_close()
57 sb16_free (void* cookie) in sb16_free()
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/beos/
H A DBeOSKernelVolume.cpp230 BeOSKernelVolume::IOCtl(void* node, void* cookie, uint32 command, in IOCtl()
241 BeOSKernelVolume::SetFlags(void* node, void* cookie, int flags) in SetFlags()
250 BeOSKernelVolume::Select(void* node, void* cookie, uint8 event, in Select()
262 BeOSKernelVolume::Deselect(void* node, void* cookie, uint8 event, in Deselect()
370 void** cookie, ino_t* vnid) in Create()
380 BeOSKernelVolume::Open(void* node, int openMode, void** cookie) in Open()
389 BeOSKernelVolume::Close(void* node, void* cookie) in Close()
398 BeOSKernelVolume::FreeCookie(void* node, void* cookie) in FreeCookie()
407 BeOSKernelVolume::Read(void* node, void* cookie, off_t pos, void* buffer, in Read()
418 BeOSKernelVolume::Write(void* node, void* cookie, off_t pos, in Write()
[all …]
/haiku/src/add-ons/kernel/drivers/audio/ac97/geode/
H A Ddevice.cpp14 geode_open(const char *name, uint32 flags, void** cookie) in geode_open()
43 geode_read(void* cookie, off_t position, void *buf, size_t* numBytes) in geode_read()
52 geode_write(void* cookie, off_t position, const void* buffer, size_t* numBytes) in geode_write()
61 geode_control(void* cookie, uint32 op, void* arg, size_t length) in geode_control()
69 geode_close(void* cookie) in geode_close()
80 geode_free(void* cookie) in geode_free()
/haiku/src/add-ons/kernel/drivers/audio/hda/
H A Ddevice.cpp14 hda_open(const char* name, uint32 flags, void** cookie) in hda_open()
47 hda_read(void* cookie, off_t position, void* buffer, size_t* numBytes) in hda_read()
55 hda_write(void* cookie, off_t position, const void* buffer, size_t* numBytes) in hda_write()
63 hda_control(void* cookie, uint32 op, void* arg, size_t length) in hda_control()
74 hda_close(void* cookie) in hda_close()
85 hda_free(void* cookie) in hda_free()
/haiku/src/add-ons/kernel/busses/scsi/virtio/
H A Dvirtio_scsi.cpp31 set_scsi_bus(scsi_sim_cookie cookie, scsi_bus bus) in set_scsi_bus()
39 scsi_io(scsi_sim_cookie cookie, scsi_ccb *request) in scsi_io()
49 abort_io(scsi_sim_cookie cookie, scsi_ccb *request) in abort_io()
58 reset_device(scsi_sim_cookie cookie, uchar targetID, uchar targetLUN) in reset_device()
67 terminate_io(scsi_sim_cookie cookie, scsi_ccb *request) in terminate_io()
76 path_inquiry(scsi_sim_cookie cookie, scsi_path_inquiry *info) in path_inquiry()
91 scan_bus(scsi_sim_cookie cookie) in scan_bus()
100 reset_bus(scsi_sim_cookie cookie) in reset_bus()
112 get_restrictions(scsi_sim_cookie cookie, uchar targetID, bool *isATAPI, in get_restrictions()
122 ioctl(scsi_sim_cookie cookie, uint8 targetID, uint32 op, void *buffer, in ioctl()
[all …]
/haiku/src/add-ons/kernel/drivers/audio/echo/
H A Dmidi.cpp51 midi_open(const char* name, uint32 flags, void** cookie) in midi_open()
77 midi_close(void* cookie) in midi_close()
85 midi_free(void* cookie) in midi_free()
100 midi_control(void* cookie, uint32 iop, void* data, size_t len) in midi_control()
109 midi_read(void* cookie, off_t pos, void* ptr, size_t* nread) in midi_read()
134 midi_write(void* cookie, off_t pos, const void* ptr, size_t* _nwritten) in midi_write()
/haiku/src/add-ons/kernel/file_systems/layers/log_overlay/
H A Dlog_overlay.cpp129 overlay_can_page(fs_volume *volume, fs_vnode *vnode, void *cookie) in overlay_can_page()
145 overlay_read_pages(fs_volume *volume, fs_vnode *vnode, void *cookie, off_t pos, in overlay_read_pages()
159 overlay_write_pages(fs_volume *volume, fs_vnode *vnode, void *cookie, off_t pos, in overlay_write_pages()
173 overlay_io(fs_volume *volume, fs_vnode *vnode, void *cookie, in overlay_io()
187 overlay_cancel_io(fs_volume *volume, fs_vnode *vnode, void *cookie, in overlay_cancel_io()
211 overlay_ioctl(fs_volume *volume, fs_vnode *vnode, void *cookie, uint32 op, in overlay_ioctl()
223 overlay_set_flags(fs_volume *volume, fs_vnode *vnode, void *cookie, in overlay_set_flags()
234 overlay_select(fs_volume *volume, fs_vnode *vnode, void *cookie, uint8 event, in overlay_select()
246 overlay_deselect(fs_volume *volume, fs_vnode *vnode, void *cookie, uint8 event, in overlay_deselect()
372 int openMode, int perms, void **cookie, ino_t *newVnodeID) in overlay_create()
[all …]
/haiku/src/add-ons/kernel/drivers/common/
H A Dnull.c20 null_open(const char *name, uint32 flags, void **cookie) in null_open()
28 null_close(void *cookie) in null_close()
35 null_freecookie(void *cookie) in null_freecookie()
42 null_ioctl(void *cookie, uint32 op, void *buffer, size_t length) in null_ioctl()
49 null_read(void *cookie, off_t pos, void *buffer, size_t *_length) in null_read()
57 null_write(void *cookie, off_t pos, const void *buffer, size_t *_length) in null_write()
H A Dzero.c19 zero_open(const char *name, uint32 flags, void **cookie) in zero_open()
27 zero_close(void *cookie) in zero_close()
34 zero_freecookie(void *cookie) in zero_freecookie()
41 zero_ioctl(void *cookie, uint32 op, void *buffer, size_t length) in zero_ioctl()
48 zero_read(void *cookie, off_t pos, void *buffer, size_t *_length) in zero_read()
58 zero_write(void *cookie, off_t pos, const void *buffer, size_t *_length) in zero_write()
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/haiku/
H A DHaikuKernelVolume.cpp381 HaikuKernelVolume::DoIO(void* _node, void* cookie, in DoIO()
418 HaikuKernelVolume::CancelIO(void* _node, void* cookie, int32 ioRequestID) in CancelIO()
447 HaikuKernelIterativeFDIOCookie* cookie in IterativeIOGetVecs() local
471 HaikuKernelIterativeFDIOCookie* cookie in IterativeIOFinished() local
499 HaikuKernelVolume::IOCtl(void* _node, void* cookie, uint32 command, in IOCtl()
512 HaikuKernelVolume::SetFlags(void* _node, void* cookie, int flags) in SetFlags()
523 HaikuKernelVolume::Select(void* _node, void* cookie, uint8 event, in Select()
537 HaikuKernelVolume::Deselect(void* _node, void* cookie, uint8 event, in Deselect()
661 void** cookie, ino_t* vnid) in Create()
673 HaikuKernelVolume::Open(void* _node, int openMode, void** cookie) in Open()
[all …]
/haiku/src/add-ons/kernel/drivers/dvb/cx23882/
H A Dcx23882_i2c.c30 set_scl(void *cookie, int state) in set_scl()
43 set_sda(void *cookie, int state) in set_sda()
56 get_scl(void *cookie) in get_scl()
64 get_sda(void *cookie) in get_sda()
/haiku/src/add-ons/kernel/drivers/audio/null/
H A Ddriver.c51 null_audio_open (const char *name, uint32 flags, void** cookie) in null_audio_open()
60 null_audio_read (void* cookie, off_t a, void* b, size_t* num_bytes) in null_audio_read()
71 null_audio_write (void* cookie, off_t a, const void* b, size_t* num_bytes) in null_audio_write()
82 null_audio_control (void* cookie, uint32 op, void* arg, size_t len) in null_audio_control()
99 null_audio_close (void* cookie) in null_audio_close()
110 null_audio_free (void* cookie) in null_audio_free()

12345678910>>...28