/haiku/src/add-ons/kernel/drivers/network/ether/vt612x/ |
H A D | glue.c | 14 #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/ether/pcnet/ |
H A D | glue.c | 12 #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...] |
H A D | glue_pcn.c | 9 #include <dev/pcn/if_pcnreg.h> 12 int check_disable_interrupts_pcn(device_t dev); 13 void reenable_interrupts_pcn(device_t dev); 17 check_disable_interrupts_pcn(device_t dev) argument 19 struct pcn_softc *sc = device_get_softc(dev); 45 reenable_interrupts_pcn(device_t dev) argument 47 struct pcn_softc *sc = device_get_softc(dev);
|
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8188e/ |
H A D | r88e_rom_defs.h | 22 #include <dev/rtwn/rtl8192c/r92c_rom_defs.h>
|
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/beos/ |
H A D | fs_cache.h | 22 extern _IMPEXP_KERNEL void beos_force_cache_flush(int dev, 24 extern _IMPEXP_KERNEL int beos_flush_blocks(int dev, off_t bnum, int nblocks); 25 extern _IMPEXP_KERNEL int beos_flush_device(int dev, int warn_locked); 29 extern _IMPEXP_KERNEL int beos_remove_cached_device_blocks(int dev, 32 extern _IMPEXP_KERNEL void *beos_get_block(int dev, off_t bnum, int bsize); 33 extern _IMPEXP_KERNEL void *beos_get_empty_block(int dev, off_t bnum, 35 extern _IMPEXP_KERNEL int beos_release_block(int dev, off_t bnum); 36 extern _IMPEXP_KERNEL int beos_mark_blocks_dirty(int dev, off_t bnum, 40 extern _IMPEXP_KERNEL int beos_cached_read(int dev, off_t bnum, void *data, 42 extern _IMPEXP_KERNEL int beos_cached_write(int dev, off_ [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/ |
H A D | e1000_osdep.c | 47 pci_write_config(((struct e1000_osdep *)hw->back)->dev, reg, *value, 2); 53 *value = pci_read_config(((struct e1000_osdep *)hw->back)->dev, reg, 2); 59 pci_write_config(((struct e1000_osdep *)hw->back)->dev, PCIR_COMMAND, 66 pci_write_config(((struct e1000_osdep *)hw->back)->dev, PCIR_COMMAND, 76 device_t dev = ((struct e1000_osdep *)hw->back)->dev; local 79 pci_find_cap(dev, PCIY_EXPRESS, &offset); 80 *value = pci_read_config(dev, offset + reg, 2); 90 device_t dev = ((struct e1000_osdep *)hw->back)->dev; local [all...] |
/haiku/src/libs/compat/freebsd_network/ |
H A D | fbsd_mii_bitbang.c | 44 #include <dev/mii/mii.h> 45 #include <dev/mii/mii_bitbang.h> 49 static void mii_bitbang_sendbits(device_t dev, mii_bitbang_ops_t ops, 54 ops->mbo_write(dev, (x)); \ 58 #define MREAD ops->mbo_read(dev) 72 mii_bitbang_sync(device_t dev, mii_bitbang_ops_t ops) argument 92 mii_bitbang_sendbits(device_t dev, mii_bitbang_ops_t ops, uint32_t data, argument 118 mii_bitbang_readreg(device_t dev, mii_bitbang_ops_t ops, int phy, int reg) argument 122 mii_bitbang_sync(dev, ops); 124 mii_bitbang_sendbits(dev, op 166 mii_bitbang_writereg(device_t dev, mii_bitbang_ops_t ops, int phy, int reg, int val) argument [all...] |
H A D | usb_util.c | 10 #include <dev/usb/usb.h> 11 #include <dev/usb/usbdi.h> 18 device_set_usb_desc(device_t dev) argument 25 if (dev == NULL) { 29 uaa = device_get_ivars(dev);
|
/haiku/src/add-ons/media/media-add-ons/dvb/ |
H A D | DVBMediaAddon.cpp | 58 ScanFolder("/dev/dvb"); 91 device_info *dev = (device_info *)fDeviceList.ItemAt(n); local 92 if (!dev) 94 *out_info = &dev->flavor; 104 device_info *dev = (device_info *)fDeviceList.ItemAt(info->internal_id); local 105 if (!dev || dev->flavor.internal_id != info->internal_id) { 111 return new DVBMediaNode(this, dev->name, dev->flavor.internal_id, dev 213 device_info *dev = new device_info; local 251 device_info *dev; local [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8335/dev/malo/ |
H A D | if_malo_pci.c | 36 __FBSDID("$FreeBSD: releng/12.0/sys/dev/malo/if_malo_pci.c 326255 2017-11-27 14:52:40Z pfg $"); 61 #include <dev/malo/if_malo.h> 63 #include <dev/pci/pcivar.h> 64 #include <dev/pci/pcireg.h> 134 malo_pci_probe(device_t dev) argument 140 vendor = pci_get_vendor(dev); 141 devid = pci_get_device(dev); 146 device_set_desc(dev, mp->mp_name); 155 malo_pci_attach(device_t dev) argument 158 struct malo_pci_softc *psc = device_get_softc(dev); 272 malo_pci_detach(device_t dev) argument 304 malo_pci_shutdown(device_t dev) argument 314 malo_pci_suspend(device_t dev) argument 324 malo_pci_resume(device_t dev) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ |
H A D | if_ath_pci.c | 33 __FBSDID("$FreeBSD: releng/12.0/sys/dev/ath/if_ath_pci.c 336069 2018-07-07 15:55:58Z imp $"); 63 #include <dev/ath/if_athvar.h> 65 #include <dev/pci/pcivar.h> 66 #include <dev/pci/pcireg.h> 141 ath_pci_probe_device(device_t dev, const struct pci_device_id *dev_table, int nentries) argument 147 vendor_id = pci_get_vendor(dev); 148 device_id = pci_get_device(dev); 149 sub_vendor_id = pci_get_subvendor(dev); 150 sub_device_id = pci_get_subdevice(dev); 184 ath_pci_setup(device_t dev) argument 224 ath_pci_probe(device_t dev) argument 237 ath_pci_attach(device_t dev) argument 383 ath_pci_detach(device_t dev) argument 418 ath_pci_shutdown(device_t dev) argument 427 ath_pci_suspend(device_t dev) argument 437 ath_pci_resume(device_t dev) argument [all...] |
H A D | if_ath_ahb.c | 34 __FBSDID("$FreeBSD: releng/12.0/sys/dev/ath/if_ath_ahb.c 326255 2017-11-27 14:52:40Z pfg $"); 65 #include <dev/ath/if_athvar.h> 95 ath_ahb_probe(device_t dev) argument 103 if (resource_int_value(device_get_name(dev), device_get_unit(dev), 108 if (resource_int_value(device_get_name(dev), device_get_unit(dev), 113 device_printf(dev, "Vendor=0x%04x, Device=0x%04x\n", 121 device_set_desc(dev, devname); 136 ath_ahb_attach(device_t dev) argument 273 ath_ahb_detach(device_t dev) argument 303 ath_ahb_shutdown(device_t dev) argument 312 ath_ahb_suspend(device_t dev) argument 322 ath_ahb_resume(device_t dev) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/dec21xxx/ |
H A D | glue.c | 24 int check_disable_interrupts_dc(device_t dev); 25 void reenable_interrupts_dc(device_t dev); 27 extern int check_disable_interrupts_de(device_t dev); 28 extern void reenable_interrupts_de(device_t dev); 53 __haiku_select_miibus_driver(device_t dev) argument 64 return __haiku_probe_miibus(dev, drivers); 69 HAIKU_CHECK_DISABLE_INTERRUPTS(device_t dev) argument 71 uint16 name = *(uint16*)dev->device_name; 74 return check_disable_interrupts_dc(dev); 76 return check_disable_interrupts_de(dev); 87 HAIKU_REENABLE_INTERRUPTS(device_t dev) argument 105 check_disable_interrupts_dc(device_t dev) argument 139 reenable_interrupts_dc(device_t dev) argument [all...] |
H A D | glue_de.c | 21 int check_disable_interrupts_de(device_t dev); 22 void reenable_interrupts_de(device_t dev); 26 check_disable_interrupts_de(device_t dev) argument 28 struct tulip_softc *sc = device_get_softc(dev); 60 reenable_interrupts_de(device_t dev) argument 62 struct tulip_softc *sc = device_get_softc(dev);
|
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | device.c | 120 struct ntfs_device *dev; local 127 dev = ntfs_malloc(sizeof(struct ntfs_device)); 128 if (dev) { 129 if (!(dev->d_name = strdup(name))) { 131 free(dev); 135 dev->d_ops = dops; 136 dev->d_state = state; 137 dev->d_private = priv_data; 138 dev->d_heads = -1; 139 dev 155 ntfs_device_free(struct ntfs_device *dev) argument 176 ntfs_device_sync(struct ntfs_device *dev) argument 208 ntfs_pread(struct ntfs_device *dev, const s64 pos, s64 count, void *b) argument 258 ntfs_pwrite(struct ntfs_device *dev, const s64 pos, s64 count, const void *b) argument 332 ntfs_mst_pread(struct ntfs_device *dev, const s64 pos, s64 count, const u32 bksize, void *b) argument 389 ntfs_mst_pwrite(struct ntfs_device *dev, const s64 pos, s64 count, const u32 bksize, void *b) argument 510 ntfs_device_offset_valid(struct ntfs_device *dev, s64 ofs) argument 532 ntfs_device_size_get(struct ntfs_device *dev, int block_size) argument 652 ntfs_device_partition_start_sector_get(struct ntfs_device *dev) argument 673 ntfs_device_get_geo(struct ntfs_device *dev) argument 812 ntfs_device_heads_get(struct ntfs_device *dev) argument 842 ntfs_device_sectors_per_track_get(struct ntfs_device *dev) argument 871 ntfs_device_sector_size_get(struct ntfs_device *dev) argument 928 ntfs_device_block_size_set(struct ntfs_device *dev, int block_size __attribute__((unused))) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/aironetwifi/dev/an/ |
H A D | if_an_isa.c | 43 __FBSDID("$FreeBSD: releng/12.0/sys/dev/an/if_an_isa.c 327102 2017-12-23 06:49:27Z imp $"); 74 #include <dev/an/if_aironet_ieee.h> 75 #include <dev/an/if_anreg.h> 86 an_probe_isa(device_t dev) argument 90 error = ISA_PNP_PROBE(device_get_parent(dev), dev, an_ids); 94 error = an_probe(dev); 95 an_release_resources(dev); 99 error = an_alloc_irq(dev, 0, 0); 100 an_release_resources(dev); 107 an_attach_isa(device_t dev) argument [all...] |
/haiku/src/add-ons/kernel/bus_managers/pci/ |
H A D | pci_module.cpp | 52 ResolveBDF(uint8 virtualBus, uint8 device, uint8 function, PCIDev*& dev) argument 60 dev = gPCI->FindDevice(domain, bus, device, function); 61 if (dev == NULL) 96 PCIDev* dev; 97 if (ResolveBDF(bus, device, function, dev) < B_OK) 99 return gPCI->GetMSICount(dev); 103 PCIDev* dev; 104 CHECK_RET(ResolveBDF(bus, device, function, dev)); 105 return gPCI->ConfigureMSI(dev, count, startVector); 108 PCIDev* dev; [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8363/dev/mwl/ |
H A D | if_mwl_pci.c | 35 __FBSDID("$FreeBSD: releng/12.0/sys/dev/mwl/if_mwl_pci.c 326255 2017-11-27 14:52:40Z pfg $"); 67 #include <dev/mwl/if_mwlvar.h> 69 #include <dev/pci/pcivar.h> 70 #include <dev/pci/pcireg.h> 116 mwl_pci_probe(device_t dev) argument 120 ident = mwl_pci_lookup(pci_get_vendor(dev), pci_get_device(dev)); 122 device_set_desc(dev, ident->name); 129 mwl_pci_attach(device_t dev) argument 131 struct mwl_pci_softc *psc = device_get_softc(dev); 220 mwl_pci_detach(device_t dev) argument 244 mwl_pci_shutdown(device_t dev) argument 253 mwl_pci_suspend(device_t dev) argument 263 mwl_pci_resume(device_t dev) argument [all...] |
/haiku/src/add-ons/kernel/drivers/audio/sb16/ |
H A D | hooks.c | 8 sb16_dev_t* dev = &device; local 11 if (dev->opened) 14 rc = sb16_hw_init(dev); 18 dev->opened++; 20 *cookie = dev; 50 sb16_dev_t* dev = (sb16_dev_t*)cookie; local 51 sb16_hw_stop(dev); 59 sb16_dev_t* dev = (sb16_dev_t*)cookie; local 60 sb16_hw_uninit(dev); 61 --dev [all...] |
H A D | sb16_multi_audio.c | 28 get_description(sb16_dev_t* dev, multi_description* data) argument 66 get_enabled_channels(sb16_dev_t* dev, multi_channel_enable* data) argument 78 get_global_format(sb16_dev_t* dev, multi_format_info* data) argument 84 data->output.format = dev->playback_stream.sampleformat; 85 data->output.rate = dev->playback_stream.samplerate; 87 data->input.format = dev->record_stream.sampleformat; 88 data->input.rate = dev->record_stream.samplerate; 94 set_global_format(sb16_dev_t* dev, multi_format_info* data) argument 96 dev->playback_stream.sampleformat = data->output.format; 97 dev 122 list_mix_controls(sb16_dev_t* dev, multi_mix_control_info * data) argument 135 list_mix_connections(sb16_dev_t* dev, multi_mix_connection_info * data) argument 141 list_mix_channels(sb16_dev_t* dev, multi_mix_channel_info *data) argument 147 get_buffers(sb16_dev_t* dev, multi_buffer_list* data) argument 232 buffer_exchange(sb16_dev_t* dev, multi_buffer_info* data) argument 268 buffer_force_stop(sb16_dev_t* dev) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/ralinkwifi/dev/ral/ |
H A D | if_ral_pci.c | 49 #include <dev/pci/pcireg.h> 50 #include <dev/pci/pcivar.h> 52 #include <dev/ral/rt2560var.h> 53 #include <dev/ral/rt2661var.h> 54 #include <dev/ral/rt2860var.h> 186 ral_pci_probe(device_t dev) argument 191 if (pci_get_vendor(dev) == ident->vendor && 192 pci_get_device(dev) == ident->device) { 193 device_set_desc(dev, ident->name); 201 ral_pci_attach(device_t dev) argument 273 ral_pci_detach(device_t dev) argument 297 ral_pci_shutdown(device_t dev) argument 307 ral_pci_suspend(device_t dev) argument 317 ral_pci_resume(device_t dev) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/broadcom43xx/dev/bwi/ |
H A D | if_bwi_pci.c | 33 __FBSDID("$FreeBSD: releng/12.0/sys/dev/bwi/if_bwi_pci.c 338948 2018-09-26 17:12:14Z imp $"); 67 #include <dev/pci/pcivar.h> 68 #include <dev/pci/pcireg.h> 70 #include <dev/bwi/if_bwivar.h> 71 #include <dev/bwi/if_bwireg.h> 72 #include <dev/bwi/bitops.h> 106 bwi_pci_probe(device_t dev) argument 111 did = pci_get_device(dev); 112 vid = pci_get_vendor(dev); 116 device_set_desc(dev, 124 bwi_pci_attach(device_t dev) argument 193 bwi_pci_detach(device_t dev) argument 213 bwi_pci_shutdown(device_t dev) argument 222 bwi_pci_suspend(device_t dev) argument 232 bwi_pci_resume(device_t dev) argument [all...] |
/haiku/src/add-ons/kernel/bus_managers/ps2/ |
H A D | ps2_standard_mouse.cpp | 92 ps2_set_sample_rate(ps2_dev* dev, uint8 rate) argument 94 return ps2_dev_command(dev, PS2_CMD_SET_SAMPLE_RATE, &rate, 1, NULL, 0); 176 if (!cookie->dev->active) { 183 cookie->dev->packet_size) != cookie->dev->packet_size) { 200 standard_mouse_disconnect(ps2_dev* dev) argument 203 INFO("ps2: ps2_standard_mouse_disconnect %s\n", dev->name); 204 if (dev->flags & PS2_FLAG_OPEN) 205 release_sem(((standard_mouse_cookie*)dev->cookie)->standard_mouse_sem); 216 standard_mouse_handle_int(ps2_dev* dev) argument 264 probe_standard_mouse(ps2_dev* dev) argument 320 ps2_dev* dev = NULL; local [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/broadcom440x/ |
H A D | glue.c | 24 __haiku_select_miibus_driver(device_t dev) argument 31 return __haiku_probe_miibus(dev, drivers); 36 __haiku_disable_interrupts(device_t dev) argument 38 struct bfe_softc *sc = device_get_softc(dev); 59 __haiku_reenable_interrupts(device_t dev) argument 61 struct bfe_softc *sc = device_get_softc(dev);
|
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi2200/ |
H A D | glue.c | 17 #include <dev/iwi/if_iwireg.h> 18 #include <dev/iwi/if_iwivar.h> 33 HAIKU_CHECK_DISABLE_INTERRUPTS(device_t dev) argument 35 struct iwi_softc* sc = (struct iwi_softc*)device_get_softc(dev); 51 HAIKU_REENABLE_INTERRUPTS(device_t dev) argument 53 struct iwi_softc* sc = (struct iwi_softc*)device_get_softc(dev);
|