Searched refs:dev (Results 1 - 25 of 565) sorted by relevance

1234567891011>>

/haiku/src/add-ons/kernel/bus_managers/pci/arch/x86/
H A Dpci_arch_info.cpp9 pci_read_arch_info(PCIDev *dev) argument
11 pci_read_msi_info(dev);
12 pci_read_msix_info(dev);
13 pci_read_ht_mapping_info(dev);
/haiku/src/libs/compat/freebsd_iflib/compat/
H A Ddevice_if.h8 void* DEVICE_REGISTER(device_t dev);
/haiku/src/add-ons/kernel/drivers/audio/ac97/
H A Dac97.c43 bool ac97_reg_is_valid(ac97_dev *dev, uint8 reg);
44 void ac97_amp_enable(ac97_dev *dev, bool onoff);
45 void ac97_dump_capabilities(ac97_dev *dev);
46 void ac97_detect_capabilities(ac97_dev *dev);
47 void ac97_detect_rates(ac97_dev *dev);
48 void ac97_update_register_cache(ac97_dev *dev);
88 static void default_init(ac97_dev *dev);
89 static void ad1819_init(ac97_dev *dev);
90 static void ad1881_init(ac97_dev *dev);
91 static void ad1885_init(ac97_dev *dev);
243 ac97_dev *dev; local
325 ac97_detach(ac97_dev *dev) argument
344 ac97_suspend(ac97_dev *dev) argument
351 ac97_resume(ac97_dev *dev) argument
358 ac97_reg_cached_write(ac97_dev *dev, uint8 reg, uint16 value) argument
368 ac97_reg_cached_read(ac97_dev *dev, uint8 reg) argument
376 ac97_reg_uncached_write(ac97_dev *dev, uint8 reg, uint16 value) argument
385 ac97_reg_uncached_read(ac97_dev *dev, uint8 reg) argument
394 ac97_reg_update(ac97_dev *dev, uint8 reg, uint16 value) argument
406 ac97_reg_update_bits(ac97_dev *dev, uint8 reg, uint16 mask, uint16 value) argument
422 ac97_update_register_cache(ac97_dev *dev) argument
431 ac97_set_rate(ac97_dev *dev, uint8 reg, uint32 rate) argument
466 ac97_get_rate(ac97_dev *dev, uint8 reg, uint32 *rate) argument
487 ac97_set_clock(ac97_dev *dev, uint32 clock) argument
497 ac97_detect_capabilities(ac97_dev *dev) argument
551 ac97_detect_rates(ac97_dev *dev) argument
598 ac97_dump_capabilities(ac97_dev *dev) argument
669 ac97_has_capability(ac97_dev *dev, uint64 cap) argument
680 ac97_reg_is_valid(ac97_dev *dev, uint8 reg) argument
727 ac97_amp_enable(ac97_dev *dev, bool yesno) argument
756 ad1819_set_rate(ac97_dev *dev, uint8 reg, uint32 rate) argument
786 ad1819_get_rate(ac97_dev *dev, uint8 reg, uint32 *rate) argument
809 default_init(ac97_dev *dev) argument
816 ad1819_init(ac97_dev *dev) argument
840 ad1881_init(ac97_dev *dev) argument
859 ad1885_init(ac97_dev *dev) argument
870 ad1886_init(ac97_dev *dev) argument
883 ad1980_init(ac97_dev *dev) argument
903 ad1981b_init(ac97_dev *dev) argument
922 alc203_init(ac97_dev *dev) argument
931 alc650_init(ac97_dev *dev) argument
950 alc655_init(ac97_dev *dev) argument
972 alc850_init(ac97_dev *dev) argument
987 stac9708_init(ac97_dev *dev) argument
1003 stac9721_init(ac97_dev *dev) argument
1022 stac9744_init(ac97_dev *dev) argument
1041 stac9756_init(ac97_dev *dev) argument
1061 stac9758_init(ac97_dev *dev) argument
1082 tr28028_init(ac97_dev *dev) argument
1093 wm9701_init(ac97_dev *dev) argument
1107 wm9703_init(ac97_dev *dev) argument
1118 wm9704_init(ac97_dev *dev) argument
[all...]
/haiku/src/libs/compat/freebsd_network/compat/dev/pci/
H A Dpcivar.h23 int pci_enable_busmaster(device_t dev);
24 int pci_enable_io(device_t dev, int reg);
26 uint32_t pci_get_devid(device_t dev);
27 void pci_set_intpin(device_t dev, uint8_t pin);
28 uint8_t pci_get_intpin(device_t dev);
30 uint16_t pci_get_vendor(device_t dev);
31 uint16_t pci_get_device(device_t dev);
32 uint16_t pci_get_subvendor(device_t dev);
33 uint16_t pci_get_subdevice(device_t dev);
34 uint8_t pci_get_revid(device_t dev);
64 pci_get_vpd_ident(device_t dev, const char **identptr) argument
[all...]
/haiku/src/add-ons/kernel/drivers/audio/sb16/
H A Dsb16_hw.c19 hw_codec_write_byte(sb16_dev_t* dev, uint8 value) argument
25 if (!(gISA->read_io_8(dev->port + SB16_CODEC_WRITE_STATUS) & 0x80))
30 gISA->write_io_8(dev->port + SB16_CODEC_WRITE_DATA, value);
34 hw_codec_read_byte(sb16_dev_t* dev) argument
39 if (gISA->read_io_8(dev->port + SB16_CODEC_READ_STATUS) & 0x80)
44 return gISA->read_io_8(dev->port + SB16_CODEC_READ_DATA);
48 hw_codec_reg_write(sb16_dev_t* dev, uint8 index, uint8 value) argument
51 gISA->write_io_8(dev->port + SB16_MIXER_ADDRESS, index);
52 gISA->write_io_8(dev->port + SB16_MIXER_DATA, value);
56 hw_codec_reg_read(sb16_dev_t* dev, uint argument
65 hw_codec_read_version(sb16_dev_t* dev) argument
80 hw_codec_read_irq_setup(sb16_dev_t* dev) argument
98 hw_codec_read_dma_setup(sb16_dev_t* dev) argument
122 hw_codec_write_irq_setup(sb16_dev_t* dev) argument
140 hw_codec_write_dma_setup(sb16_dev_t* dev) argument
149 sb16_dev_t* dev = (sb16_dev_t*)cookie; local
193 hw_codec_reset(sb16_dev_t* dev) argument
214 hw_codec_detect(sb16_dev_t* dev) argument
234 sb16_stream_setup_buffers(sb16_dev_t* dev, sb16_stream_t* s, const char* desc) argument
240 sb16_stream_start(sb16_dev_t* dev, sb16_stream_t* s) argument
246 sb16_stream_stop(sb16_dev_t* dev, sb16_stream_t* s) argument
259 sb16_hw_init(sb16_dev_t* dev) argument
279 sb16_hw_stop(sb16_dev_t* dev) argument
284 sb16_hw_uninit(sb16_dev_t* dev) argument
[all...]
/haiku/src/add-ons/kernel/drivers/audio/ac97/ich/
H A Dac97.c37 bool ac97_reg_is_valid(ac97_dev *dev, uint8 reg);
38 void ac97_amp_enable(ac97_dev *dev, bool onoff);
39 void ac97_dump_capabilities(ac97_dev *dev);
40 void ac97_detect_capabilities(ac97_dev *dev);
41 void ac97_detect_rates(ac97_dev *dev);
42 void ac97_update_register_cache(ac97_dev *dev);
80 void default_init(ac97_dev *dev);
81 void ad1819_init(ac97_dev *dev);
82 void ad1881_init(ac97_dev *dev);
83 void ad1885_init(ac97_dev *dev);
195 ac97_dev *dev; local
245 ac97_detach(ac97_dev *dev) argument
261 ac97_suspend(ac97_dev *dev) argument
267 ac97_resume(ac97_dev *dev) argument
273 ac97_reg_cached_write(ac97_dev *dev, uint8 reg, uint16 value) argument
282 ac97_reg_cached_read(ac97_dev *dev, uint8 reg) argument
290 ac97_reg_uncached_write(ac97_dev *dev, uint8 reg, uint16 value) argument
298 ac97_reg_uncached_read(ac97_dev *dev, uint8 reg) argument
306 ac97_reg_update(ac97_dev *dev, uint8 reg, uint16 value) argument
317 ac97_reg_update_bits(ac97_dev *dev, uint8 reg, uint16 mask, uint16 value) argument
332 ac97_update_register_cache(ac97_dev *dev) argument
340 ac97_set_rate(ac97_dev *dev, uint8 reg, uint32 rate) argument
371 ac97_get_rate(ac97_dev *dev, uint8 reg, uint32 *rate) argument
391 ac97_set_clock(ac97_dev *dev, uint32 clock) argument
400 ac97_detect_capabilities(ac97_dev *dev) argument
454 ac97_detect_rates(ac97_dev *dev) argument
500 ac97_dump_capabilities(ac97_dev *dev) argument
570 ac97_has_capability(ac97_dev *dev, uint64 cap) argument
581 ac97_reg_is_valid(ac97_dev *dev, uint8 reg) argument
626 ac97_amp_enable(ac97_dev *dev, bool yesno) argument
654 ad1819_set_rate(ac97_dev *dev, uint8 reg, uint32 rate) argument
680 ad1819_get_rate(ac97_dev *dev, uint8 reg, uint32 *rate) argument
702 default_init(ac97_dev *dev) argument
707 ad1819_init(ac97_dev *dev) argument
729 ad1881_init(ac97_dev *dev) argument
746 ad1885_init(ac97_dev *dev) argument
755 ad1886_init(ac97_dev *dev) argument
766 ad1980_init(ac97_dev *dev) argument
784 alc650_init(ac97_dev *dev) argument
801 stac9708_init(ac97_dev *dev) argument
815 stac9721_init(ac97_dev *dev) argument
832 stac9744_init(ac97_dev *dev) argument
849 stac9756_init(ac97_dev *dev) argument
866 tr28028_init(ac97_dev *dev) argument
875 wm9701_init(ac97_dev *dev) argument
887 wm9703_init(ac97_dev *dev) argument
896 wm9704_init(ac97_dev *dev) argument
[all...]
/haiku/src/add-ons/kernel/bus_managers/ps2/
H A Dps2_service.h25 void ps2_service_notify_device_added(ps2_dev *dev);
26 void ps2_service_notify_device_republish(ps2_dev *dev);
27 void ps2_service_notify_device_removed(ps2_dev *dev);
H A Dps2_dev.cpp31 ps2_reset_mouse(ps2_dev* dev) argument
38 status = ps2_dev_command(dev, PS2_CMD_RESET, NULL, 0, data, 2);
45 status = ps2_dev_command(dev, PS2_CMD_RESEND, NULL, 0, data, 2);
63 ps2_dev_detect_pointing(ps2_dev* dev, device_hooks** hooks) argument
65 status_t status = ps2_reset_mouse(dev);
72 // the probe function has to set the dev name and the dev packet size
74 status = probe_trackpoint(dev);
80 status = probe_synaptics(dev);
86 status = probe_alps(dev);
162 ps2_dev* dev = &ps2_device[i]; local
180 ps2_dev* dev = &ps2_device[i]; local
190 ps2_dev_publish(ps2_dev* dev) argument
236 ps2_dev_unpublish(ps2_dev* dev) argument
257 ps2_dev_handle_int(ps2_dev* dev) argument
367 standard_command_timeout(ps2_dev* dev, uint8 cmd, const uint8* out, int out_count, uint8* in, int in_count, bigtime_t timeout) argument
493 ps2_dev_command(ps2_dev* dev, uint8 cmd, const uint8* out, int out_count, uint8* in, int in_count) argument
502 ps2_dev_command_timeout(ps2_dev* dev, uint8 cmd, const uint8* out, int out_count, uint8* in, int in_count, bigtime_t timeout) argument
510 ps2_dev_sliced_command(ps2_dev* dev, uint8 cmd) argument
[all...]
H A Dps2_trackpoint.h9 status_t probe_trackpoint(ps2_dev *dev);
H A Dps2_trackpoint.cpp27 probe_trackpoint(ps2_dev* dev) argument
32 ps2_dev_command(dev, 0xE1, NULL, 0, val, 2);
38 dev->name = kTrackpointPath[dev->idx];
39 dev->packet_size = 3;
H A Dps2_service.cpp26 ps2_dev * dev; member in struct:__anon504
43 ps2_service_notify_device_added(ps2_dev *dev) argument
47 TRACE("ps2: ps2_service_notify_device_added %s\n", dev->name);
50 cmd.dev = dev;
60 ps2_service_notify_device_republish(ps2_dev *dev) argument
64 TRACE("ps2: ps2_service_notify_device_republish %s\n", dev->name);
67 cmd.dev = dev;
77 ps2_service_notify_device_removed(ps2_dev *dev) argument
144 int dev = 4; local
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192e/usb/
H A Dr92eu_reg.h32 #include <dev/rtwn/rtl8188e/usb/r88eu_reg.h>
33 #include <dev/rtwn/rtl8192e/r92e_reg.h>
34 #include <dev/rtwn/rtl8812a/r12a_reg.h>
H A Dr92eu.h33 #include <dev/rtwn/rtl8812a/r12a.h>
34 #include <dev/rtwn/rtl8192e/r92e.h>
/haiku/src/libs/compat/freebsd_iflib/
H A Ddevice_if.c15 DEVICE_REGISTER(device_t dev) argument
17 return dev->methods.device_register(dev);
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8188e/pci/
H A Dr88ee_reg.h22 #include <dev/rtwn/rtl8192c/pci/r92ce_reg.h>
23 #include <dev/rtwn/rtl8188e/r88e_reg.h>
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8821a/usb/
H A Dr21au_reg.h32 #include <dev/rtwn/rtl8812a/usb/r12au_reg.h>
33 #include <dev/rtwn/rtl8821a/r21a_reg.h>
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8188e/usb/
H A Dr88eu_reg.h24 #include <dev/rtwn/rtl8192c/usb/r92cu_reg.h>
25 #include <dev/rtwn/rtl8188e/r88e_reg.h>
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8812a/usb/
H A Dr12au_reg.h32 #include <dev/rtwn/rtl8188e/usb/r88eu_reg.h>
33 #include <dev/rtwn/rtl8812a/r12a_reg.h>
/haiku/src/add-ons/media/media-add-ons/firewire_dv/
H A DFireWireDVAddOn.cpp47 ScanFolder("/dev/bus/fw");
82 device_info* dev = fDeviceList.ItemAt(n); local
83 if (!dev)
85 *out_info = &dev->flavor;
95 device_info* dev = fDeviceList.ItemAt(info->internal_id); local
96 if (!dev || dev->flavor.internal_id != info->internal_id) {
102 return new FireWireDVNode(this, dev->name, dev->flavor.internal_id,
103 dev
159 device_info *dev = new device_info; local
192 device_info* dev; local
[all...]
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dunix_io.c64 #define DEV_FD(dev) (*(int *)dev->d_private)
107 * @dev:
114 static int ntfs_device_unix_io_open(struct ntfs_device *dev, int flags) argument
120 if (NDevOpen(dev)) {
124 if (stat(dev->d_name, &sbuf)) {
125 ntfs_log_perror("Failed to access '%s'", dev->d_name);
129 NDevSetBlock(dev);
131 dev->d_private = ntfs_malloc(sizeof(int));
132 if (!dev
182 ntfs_device_unix_io_close(struct ntfs_device *dev) argument
223 ntfs_device_unix_io_seek(struct ntfs_device *dev, s64 offset, int whence) argument
239 ntfs_device_unix_io_read(struct ntfs_device *dev, void *buf, s64 count) argument
255 ntfs_device_unix_io_write(struct ntfs_device *dev, const void *buf, s64 count) argument
277 ntfs_device_unix_io_pread(struct ntfs_device *dev, void *buf, s64 count, s64 offset) argument
294 ntfs_device_unix_io_pwrite(struct ntfs_device *dev, const void *buf, s64 count, s64 offset) argument
313 ntfs_device_unix_io_sync(struct ntfs_device *dev) argument
336 ntfs_device_unix_io_stat(struct ntfs_device *dev, struct stat *buf) argument
351 ntfs_device_unix_io_ioctl(struct ntfs_device *dev, int request, void *argp) argument
[all...]
/haiku/src/libs/compat/freebsd_network/
H A Dshared.h37 void* (*device_register)(device_t dev);
38 int (*probe)(device_t dev);
39 int (*attach)(device_t dev);
40 int (*detach)(device_t dev);
41 int (*suspend)(device_t dev);
42 int (*resume)(device_t dev);
43 void (*shutdown)(device_t dev);
51 int (*bus_child_location_str)(device_t dev __unused, device_t child,
53 int (*bus_child_pnpinfo_str)(device_t dev __unused, device_t child,
55 void (*bus_hinted_child)(device_t dev, cons
[all...]
/haiku/src/bin/
H A Ddriveinfo.c8 static void dump_dev_size(int dev) argument
11 if (ioctl(dev, B_GET_DEVICE_SIZE, &sz, sizeof(sz)) < 0) {
18 static void dump_bios_id(int dev) argument
21 if (ioctl(dev, B_GET_BIOS_DRIVE_ID, &id, sizeof(id)) < 0) {
28 static void dump_media_status(int dev) argument
31 if (ioctl(dev, B_GET_MEDIA_STATUS, &st, sizeof(st)) < 0) {
53 static void dump_geom(int dev, bool bios) argument
57 if (ioctl(dev, bios?B_GET_BIOS_GEOMETRY:B_GET_GEOMETRY, &geom, sizeof(geom)) < 0) {
72 static void dump_partition(int dev) argument
76 if (ioctl(dev, B_GET_PARTITION_INF
89 dump_misc(int dev) argument
108 int dev; local
[all...]
/haiku/src/add-ons/kernel/bus_managers/pci/
H A Dpci.cpp714 PCIDev *dev = bus->child; local
715 while (dev) {
717 *outInfo = dev->info;
721 if (dev->child && B_OK == _GetNthInfo(dev->child, currentIndex,
724 dev = dev->next;
742 for (int dev = 0; dev < maxBusDevices; dev
1091 _DiscoverDevice(PCIBus *bus, uint8 dev, uint8 function) argument
1191 _GetBarInfo(PCIDev *dev, uint8 offset, uint32 *_address, uint32 *_size, uint8 *_flags, uint32 *_highAddress) argument
1222 _GetRomBarInfo(PCIDev *dev, uint8 offset, uint32 *_address, uint32 *_size, uint8 *_flags) argument
1243 _ReadBasicInfo(PCIDev *dev) argument
1282 _ReadHeaderInfo(PCIDev *dev) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/vt612x/
H A Dglue.c14 #include <dev/vge/if_vgereg.h>
15 #include <dev/vge/if_vgevar.h>
27 __haiku_select_miibus_driver(device_t dev) argument
35 return __haiku_probe_miibus(dev, drivers);
40 __haiku_disable_interrupts(device_t dev) argument
42 struct vge_softc *sc = device_get_softc(dev);
53 __haiku_reenable_interrupts(device_t dev) argument
55 struct vge_softc *sc = device_get_softc(dev);
/haiku/src/add-ons/kernel/drivers/network/pcnet/
H A Dglue.c12 #include <dev/le/lancereg.h>
13 #include <dev/le/lancevar.h>
14 #include <dev/le/am79900var.h>
25 __haiku_select_miibus_driver(device_t dev) argument
34 return __haiku_probe_miibus(dev, drivers);
37 int check_disable_interrupts_le(device_t dev);
38 void reenable_interrupts_le(device_t dev);
40 extern int check_disable_interrupts_pcn(device_t dev);
41 extern void reenable_interrupts_pcn(device_t dev);
61 HAIKU_CHECK_DISABLE_INTERRUPTS(device_t dev) argument
79 HAIKU_REENABLE_INTERRUPTS(device_t dev) argument
114 check_disable_interrupts_le(device_t dev) argument
[all...]

Completed in 241 milliseconds

1234567891011>>