Searched refs:device (Results 1 - 25 of 856) sorted by relevance

1234567891011>>

/haiku/src/libs/compat/freebsd_network/
H A Dmii.c10 #include "device.h"
19 __haiku_miibus_readreg(device_t device, int phy, int reg) argument
21 if (device->methods.miibus_readreg == NULL)
24 return device->methods.miibus_readreg(device, phy, reg);
29 __haiku_miibus_writereg(device_t device, int phy, int reg, int data) argument
31 if (device->methods.miibus_writereg == NULL)
34 return device->methods.miibus_writereg(device, phy, reg, data);
39 __haiku_miibus_statchg(device_t device) argument
47 __haiku_miibus_linkchg(device_t device) argument
55 __haiku_miibus_mediainit(device_t device) argument
[all...]
/haiku/src/add-ons/kernel/bus_managers/scsi/
H A Dqueuing.h9 Handling of bus/device blocking. Inline functions defined
26 scsi_device_info *device = request->device; local
30 ADD_CDL_LIST_HEAD( request, scsi_ccb, device->queued_reqs, );
35 scsi_device_info *device = request->device; local
39 ADD_CDL_LIST_TAIL( request, scsi_ccb, device->queued_reqs, );
44 scsi_device_info *device = request->device; local
48 REMOVE_CDL_LIST( request, device
148 scsi_unblock_device_noresume( scsi_device_info *device, bool by_SIM ) argument
171 scsi_block_device_nolock( scsi_device_info *device, bool by_SIM ) argument
[all...]
H A Ddevices.cpp25 /** free autosense request of device */
28 scsi_free_autosense_request(scsi_device_info *device) argument
32 if (device->auto_sense_request != NULL) {
33 scsi_free_ccb(device->auto_sense_request);
34 device->auto_sense_request = NULL;
37 if (device->auto_sense_area > 0) {
38 delete_area(device->auto_sense_area);
39 device->auto_sense_area = 0;
44 /** free all data of device */
47 scsi_free_device(scsi_device_info *device) argument
160 scsi_device_info *device; local
206 scsi_create_autosense_request(scsi_device_info *device) argument
268 scsi_device_info *device; local
355 scsi_uninit_device(scsi_device_info *device) argument
364 scsi_device_removed(scsi_device_info *device) argument
393 scsi_device device; local
435 scsi_put_forced_device(scsi_device_info *device) argument
454 scsi_reset_device(scsi_device_info *device) argument
467 scsi_ioctl(scsi_device_info *device, uint32 op, void *buffer, size_t length) argument
[all...]
/haiku/src/add-ons/kernel/drivers/dvb/cx23882/
H A Dcx23882_i2c.h30 status_t i2c_init(cx23882_device *device);
31 void i2c_terminate(cx23882_device *device);
H A Dcx23882_i2c.c32 cx23882_device * device = cookie; local
34 device->i2c_reg |= I2C_SCL;
36 device->i2c_reg &= ~I2C_SCL;
37 reg_write32(REG_I2C_CONTROL, device->i2c_reg);
45 cx23882_device * device = cookie; local
47 device->i2c_reg |= I2C_SDA;
49 device->i2c_reg &= ~I2C_SDA;
50 reg_write32(REG_I2C_CONTROL, device->i2c_reg);
58 cx23882_device * device = cookie; local
66 cx23882_device * device local
72 i2c_init(cx23882_device *device) argument
85 i2c_terminate(cx23882_device *device) argument
[all...]
H A Ddvb_interface.c47 dump_eeprom(cx23882_device *device)
56 res = i2c_xfer(device->i2c_bus, I2C_ADDR_EEPROM, &adr, 1, d, sizeof(d));
71 cx23882_device *device; local
77 device = malloc(sizeof(cx23882_device));
78 if (!device)
80 *cookie = device;
83 memset(device, 0, sizeof(*device));
84 device->regs_area = -1;
85 device
167 cx23882_device *device = cookie; local
199 cx23882_device *device = cookie; local
[all...]
/haiku/src/build/libroot/
H A DNodeRef.h13 dev_t device; member in struct:BPrivate::NodeRef
16 NodeRef(dev_t device = 0, ino_t node = 0)
17 : device(device),
23 : device(st.st_dev),
30 device = other.device;
36 device = other.device;
43 return (device
[all...]
/haiku/src/add-ons/kernel/file_systems/packagefs/util/
H A DNodeRef.h15 device(-1),
22 node_ref::node_ref(dev_t device, ino_t node) argument
24 device(device),
33 device(other.device),
42 return device == other.device && node == other.node;
56 if (device != other.device)
[all...]
/haiku/src/add-ons/kernel/network/devices/dialup/
H A Ddialup.cpp69 switch_to_command_mode(dialup_device* device) argument
71 if (device->state != UP)
74 if (!device->data_mode)
77 snooze(device->escape_silence);
79 ssize_t size = write(device->fd, device->escape_string,
80 strlen(device->escape_string));
81 if (size != (ssize_t)strlen(device->escape_string))
84 snooze(device->escape_silence);
85 device
114 send_command(dialup_device* device, const char* command) argument
135 read_command_reply(dialup_device* device, const char* command, char* reply, int replyMaxSize) argument
173 hangup(dialup_device* device) argument
248 dialup_device* device = (dialup_device*)_device; local
260 dialup_device* device = (dialup_device*)_device; local
347 dialup_device* device = (dialup_device*)_device; local
363 dialup_device* device = (dialup_device*)_device; local
371 dialup_device* device = (dialup_device*)_device; local
469 dialup_device* device = (dialup_device*)_device; local
529 dialup_device* device = (dialup_device*)_device; local
544 dialup_set_media(net_device* device, uint32 media) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/pegasus/
H A Ddevlist.c31 add_device_info(pegasus_dev *device) argument
33 ASSERT(device != NULL);
36 device->next = sDeviceList;
37 sDeviceList = device;
45 remove_device_info(pegasus_dev *device) argument
47 ASSERT(device != NULL);
51 if (sDeviceList == device) {
52 sDeviceList = device->next;
58 if (previous->next == device) {
59 previous->next = device
74 pegasus_dev *device; local
117 pegasus_dev *device; local
[all...]
/haiku/src/add-ons/kernel/generic/scsi_periph/
H A Ddevice.cpp9 //! Basic handling of device.
38 // this is actually an IDE device, so we ignore the prefix
40 // a bus device for those
45 // this is a real SCSI device
63 scsi_periph_device_info *device local
64 = (scsi_periph_device_info *)malloc(sizeof(*device));
65 if (device == NULL)
68 memset(device, 0, sizeof(*device));
70 mutex_init(&device
105 periph_unregister_device(scsi_periph_device_info *device) argument
[all...]
H A Dhandle.cpp19 periph_handle_open(scsi_periph_device_info *device, argument
24 // SHOW_FLOW( 3, "device=%p", device );
31 handle->device = device;
34 mutex_lock(&device->mutex);
35 ADD_DL_LIST_HEAD(handle, device->handles, );
36 mutex_unlock(&device->mutex);
57 scsi_periph_device_info *device = handle->device; local
[all...]
/haiku/src/bin/
H A Diroster.cpp15 BInputDevice *device; local
33 device = (BInputDevice *) list.ItemAt(i);
36 device->Name(),
37 device->Type() == B_POINTING_DEVICE ? "B_POINTING_DEVICE" :
38 device->Type() == B_KEYBOARD_DEVICE ? "B_KEYBOARD_DEVICE" : "B_UNDEFINED_DEVICE",
39 device->IsRunning() ? "running" : "stopped");
47 BInputDevice *device; local
50 device = find_input_device(name);
51 if (device == NULL) {
52 printf("Error finding device \"
66 BInputDevice *device; local
[all...]
/haiku/src/tests/servers/input/inputdevice/
H A Dmain.cpp22 BInputDevice *device = (BInputDevice*)list.ItemAt(i); local
23 if (device == NULL) {
24 printf("device %ld is NULL\n", i);
28 printf("device %ld %s ", i, device->Name());
29 if (device->Type() == B_POINTING_DEVICE)
31 if (device->Type() == B_KEYBOARD_DEVICE)
33 if (device->Type() == B_UNDEFINED_DEVICE)
37 device = find_input_device(device
74 BInputDevice *device = (BInputDevice*)list.ItemAt(i); local
79 BInputDevice *device = (BInputDevice*)list.ItemAt(i); local
84 BInputDevice *device = (BInputDevice*)list.ItemAt(i); local
89 BInputDevice *device = (BInputDevice*)list.ItemAt(i); local
94 BInputDevice *device = (BInputDevice*)list.ItemAt(i); local
[all...]
/haiku/src/add-ons/kernel/drivers/audio/null/
H A Dnull_hardware.c54 device_t* device = (device_t*) cookie; local
57 switch (device->playback_stream.rate) {
69 sleepTime = (device->playback_stream.buffer_length * 1000000LL) / sampleRate;
71 while (device->running) {
74 acquire_spinlock(&device->playback_stream.lock);
75 device->playback_stream.real_time = system_time();
76 device->playback_stream.frames_count += device->playback_stream.buffer_length;
77 device->playback_stream.buffer_cycle = (device
99 null_start_hardware(device_t* device) argument
110 null_stop_hardware(device_t* device) argument
[all...]
/haiku/src/bin/network/traceroute/
H A Difaddrlist.h26 char *device; member in struct:ifaddrlist
/haiku/src/add-ons/media/media-add-ons/multi_audio/
H A DMultiAudioUtility.h25 // device driver interface
26 status_t get_description(int device, multi_description* description);
28 status_t get_enabled_channels(int device, multi_channel_enable* enable);
29 status_t set_enabled_channels(int device, multi_channel_enable* enable);
31 status_t get_global_format(int device, multi_format_info* info);
32 status_t set_global_format(int device, multi_format_info* info);
33 status_t get_buffers(int device, multi_buffer_list* list);
34 status_t buffer_exchange(int device, multi_buffer_info* info);
36 status_t list_mix_controls(int device, multi_mix_control_info* info);
37 status_t get_mix(int device, multi_mix_value_inf
[all...]
/haiku/src/add-ons/kernel/drivers/network/wb840/
H A Dinterface.c36 #include "device.h"
46 write32(device->reg_base + WB_SIO, \
47 read32(device->reg_base + WB_SIO) | x)
50 write32(device->reg_base + WB_SIO, \
51 read32(device->reg_base + WB_SIO) & ~x)
57 mii_sync(struct wb_device *device) argument
66 MII_DELAY(device);
68 MII_DELAY(device);
74 mii_send(wb_device *device, uint32 bits, int count) argument
85 MII_DELAY(device);
96 wb_mii_readreg(wb_device *device, wb_mii_frame *frame) argument
186 wb_mii_writereg(wb_device *device, wb_mii_frame *frame) argument
226 wb_miibus_readreg(wb_device *device, int phy, int reg) argument
241 wb_miibus_writereg(wb_device *device, int phy, int reg, int data) argument
298 wb_eeprom_askdata(wb_device *device, int addr) argument
323 wb_eeprom_getword(wb_device *device, int addr, uint16 *dest) argument
352 wb_read_eeprom(wb_device *device, void* dest, int offset, int count, bool swap) argument
[all...]
H A Dwb840.c5 #include "device.h"
44 mii_readstatus(wb_device* device) argument
51 status = wb_miibus_readreg(device, device->phy, MII_STATUS);
78 wb_enable_interrupts(wb_device* device) argument
80 write32(device->reg_base + WB_IMR, WB_INTRS);
81 write32(device->reg_base + WB_ISR, 0xFFFFFFFF);
86 wb_disable_interrupts(wb_device* device) argument
88 write32(device->reg_base + WB_IMR, 0L);
89 write32(device
94 wb_selectPHY(wb_device* device) argument
111 wb_initPHYs(wb_device* device) argument
166 wb_init(wb_device* device) argument
206 wb_reset(wb_device *device) argument
234 wb_stop(wb_device* device) argument
257 wb_updateLink(wb_device* device) argument
288 wb_device* device = (wb_device*)arg; local
300 wb_set_rx_filter(wb_device* device) argument
310 wb_rxok(wb_device* device) argument
390 wb_device* device = (wb_device*)arg; local
494 wb_create_semaphores(wb_device* device) argument
520 wb_delete_semaphores(wb_device* device) argument
530 wb_create_rings(wb_device* device) argument
596 wb_delete_rings(wb_device* device) argument
[all...]
/haiku/src/add-ons/kernel/bus_managers/acpi/
H A DDevice.cpp19 acpi_install_notify_handler(acpi_device device, uint32 handlerType, argument
22 return install_notify_handler(device->handle, handlerType, handler,
27 acpi_remove_notify_handler(acpi_device device, uint32 handlerType, argument
30 return remove_notify_handler(device->handle, handlerType, handler);
35 acpi_install_address_space_handler(acpi_device device, uint32 spaceId, argument
38 return install_address_space_handler(device->handle, spaceId, handler,
43 acpi_remove_address_space_handler(acpi_device device, uint32 spaceId, argument
46 return remove_address_space_handler(device->handle, spaceId, handler);
51 acpi_get_object_type(acpi_device device) argument
53 return device
58 acpi_get_object(acpi_device device, const char *path, acpi_object_type **return_value) argument
72 acpi_evaluate_method(acpi_device device, const char *method, acpi_objects *args, acpi_data *returnValue) argument
80 acpi_walk_resources(acpi_device device, char *method, acpi_walk_resources_callback callback, void* context) argument
98 acpi_device_cookie *device = (acpi_device_cookie*)malloc(sizeof(*device)); local
123 acpi_device_cookie *device = (acpi_device_cookie*)cookie; local
[all...]
/haiku/src/add-ons/kernel/network/devices/loopback/
H A Dloopback.cpp38 loopback_device *device; local
51 device = new (std::nothrow) loopback_device;
52 if (device == NULL) {
57 memset(device, 0, sizeof(loopback_device));
59 strcpy(device->name, name);
60 device->flags = IFF_LOOPBACK | IFF_LINK;
61 device->type = IFT_LOOP;
62 device->mtu = 16384;
63 device->media = IFM_ACTIVE;
65 *_device = device;
79 loopback_device *device = (loopback_device *)_device; local
90 loopback_up(net_device *device) argument
97 loopback_down(net_device *device) argument
103 loopback_control(net_device *device, int32 op, void *argument, size_t length) argument
111 loopback_send_data(net_device *device, net_buffer *buffer) argument
118 loopback_set_mtu(net_device *device, size_t mtu) argument
129 loopback_set_promiscuous(net_device *device, bool promiscuous) argument
136 loopback_set_media(net_device *device, uint32 media) argument
143 loopback_add_multicast(net_device *device, const sockaddr *address) argument
150 loopback_remove_multicast(net_device *device, const sockaddr *address) argument
[all...]
/haiku/src/add-ons/kernel/network/devices/tun/
H A Dtun.cpp39 tun_device* device; local
46 device = new (std::nothrow) tun_device;
47 if (device == NULL) {
51 memset(device, 0, sizeof(tun_device));
53 strcpy(device->name, name);
54 device->flags = IFF_LINK;
55 device->type = strncmp(name, "tap", 3) ? IFT_TUN : IFT_ETHER;
56 device->mtu = 16384;
57 device->media = IFM_ACTIVE;
59 *_device = device;
67 tun_device* device = (tun_device*)_device; local
78 tun_up(net_device* device) argument
85 tun_down(net_device* device) argument
91 tun_control(net_device* device, int32 op, void* argument, size_t length) argument
99 tun_send_data(net_device* device, net_buffer* buffer) argument
106 tun_set_mtu(net_device* device, size_t mtu) argument
117 tun_set_promiscuous(net_device* device, bool promiscuous) argument
124 tun_set_media(net_device* device, uint32 media) argument
131 tun_add_multicast(net_device* device, const sockaddr* address) argument
138 tun_remove_multicast(net_device* device, const sockaddr* address) argument
[all...]
/haiku/src/add-ons/kernel/busses/scsi/usb/freecom/
H A Ddevice_info.sample17 device 0xfc01 {
/haiku/src/add-ons/kernel/busses/scsi/usb/
H A Dusb_scsi.devices25 device 0x0010 {
41 device 0x002e {
53 # requests. Doesn't perform standard reset procedures - if device hang - switch
57 device 0x1307 {
72 device 0xfc01 {
/haiku/src/servers/net/
H A DAutoconfigClient.cpp14 const char* device)
17 fDevice(device)
13 AutoconfigClient(const char* name, BMessenger target, const char* device) argument

Completed in 197 milliseconds

1234567891011>>