/haiku/src/add-ons/kernel/drivers/graphics/3dfx/ |
H A D | driver.cpp | 83 static status_t device_close(void* dev); 84 static status_t device_free(void* dev); 85 static status_t device_read(void* dev, off_t pos, void* buf, size_t* len); 86 static status_t device_write(void* dev, off_t pos, const void* buf, 88 static status_t device_ioctl(void* dev, uint32 msg, void* buf, size_t len); 435 device_read(void* dev, off_t pos, void* buf, size_t* len) argument 438 (void)dev; 448 device_write(void* dev, off_t pos, const void* buf, size_t* len) argument 451 (void)dev; 461 device_close(void* dev) argument 471 device_free(void* dev) argument 500 device_ioctl(void* dev, uint32 msg, void* buffer, size_t bufferLength) argument [all...] |
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | win32_io.c | 1196 * @dev: a pointer to the NTFS_DEVICE to open 1199 * @dev->d_name must hold the device name, the rest is ignored. 1206 static int ntfs_device_win32_open(struct ntfs_device *dev, int flags) argument 1214 if (NDevOpen(dev)) { 1219 numparams = sscanf(dev->d_name, "/dev/hd%c%u", &drive_char, &part); 1221 && (dev->d_name[1] == ':') 1222 && (dev->d_name[2] == '\0')) { 1223 drive_char = dev->d_name[0]; 1229 ntfs_log_debug("win32_open(%s) -> file.\n", dev 1282 ntfs_device_win32_seek(struct ntfs_device *dev, s64 offset, int whence) argument 1443 ntfs_device_win32_read(struct ntfs_device *dev, void *b, s64 count) argument 1530 ntfs_device_win32_close(struct ntfs_device *dev) argument 1576 ntfs_device_win32_sync(struct ntfs_device *dev) argument 1635 ntfs_device_win32_write(struct ntfs_device *dev, const void *b, s64 count) argument 1768 ntfs_device_win32_stat(struct ntfs_device *dev, struct stat *buf) argument 1810 ntfs_win32_hdio_getgeo(struct ntfs_device *dev, struct hd_geometry *argp) argument 1833 ntfs_win32_blksszget(struct ntfs_device *dev,int *argp) argument 1850 ntfs_device_win32_ioctl(struct ntfs_device *dev, unsigned long request, void *argp) argument 1906 ntfs_device_win32_pread(struct ntfs_device *dev, void *b, s64 count, s64 offset) argument 1926 ntfs_device_win32_pwrite(struct ntfs_device *dev, const void *b, s64 count, s64 offset) argument 2020 ntfs_device_win32_ftruncate(struct ntfs_device *dev, s64 size) argument [all...] |
H A D | ioctl.c | 91 struct ntfs_device *dev = vol->dev; local 100 if (dev->d_ops->ioctl(dev, BLKDISCARD, range) == -1) { 144 char path1[40]; /* holds "/sys/dev/block/%d:%d" */ 149 if (stat(vol->dev->d_name, &statbuf) == -1) { 151 vol->dev->d_name); 156 * /sys/dev/block/MAJOR:MINOR/discard_alignment 157 * /sys/dev/block/MAJOR:MINOR/queue/discard_granularity 158 * /sys/dev/bloc [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/dec21xxx/dev/dc/ |
H A D | dcphy.c | 36 __FBSDID("$FreeBSD: releng/12.0/sys/dev/dc/dcphy.c 325966 2017-11-18 14:26:50Z pfg $"); 62 #include <dev/mii/mii.h> 63 #include <dev/mii/miivar.h> 69 #include <dev/pci/pcivar.h> 71 #include <dev/dc/if_dcreg.h> 126 dcphy_probe(device_t dev) argument 130 ma = device_get_ivars(dev); 140 device_set_desc(dev, "Intel 21143 NWAY media interface"); 146 dcphy_attach(device_t dev) argument 152 sc = device_get_softc(dev); [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/sis19x/dev/sge/ |
H A D | if_sge.c | 86 #include <dev/mii/mii.h> 87 #include <dev/mii/miivar.h> 89 #include <dev/pci/pcireg.h> 90 #include <dev/pci/pcivar.h> 92 #include <dev/sge/if_sgereg.h> 270 device_t bus, dev = NULL; 291 dev = kids[i]; 292 if (pci_get_class(dev) == PCIC_BRIDGE && 293 pci_get_subclass(dev) == PCIS_BRIDGE_ISA) { 296 if (pci_get_vendor(dev) 334 sge_miibus_readreg(device_t dev, int phy, int reg) argument 358 sge_miibus_writereg(device_t dev, int phy, int reg, int data) argument 381 sge_miibus_statchg(device_t dev) argument 533 sge_probe(device_t dev) argument 555 sge_attach(device_t dev) argument 672 sge_detach(device_t dev) argument 711 sge_shutdown(device_t dev) argument 723 sge_suspend(device_t dev) argument 738 sge_resume(device_t dev) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/3com/dev/xl/ |
H A D | if_xl.c | 36 __FBSDID("$FreeBSD: releng/12.0/sys/dev/xl/if_xl.c 338948 2018-09-26 17:12:14Z imp $"); 133 #include <dev/mii/mii.h> 134 #include <dev/mii/mii_bitbang.h> 135 #include <dev/mii/miivar.h> 137 #include <dev/pci/pcireg.h> 138 #include <dev/pci/pcivar.h> 147 #include <dev/xl/if_xlreg.h> 385 xl_mii_bitbang_read(device_t dev) argument 390 sc = device_get_softc(dev); 404 xl_mii_bitbang_write(device_t dev, uint32_ argument 417 xl_miibus_readreg(device_t dev, int phy, int reg) argument 430 xl_miibus_writereg(device_t dev, int phy, int reg, int data) argument 445 xl_miibus_statchg(device_t dev) argument 487 xl_miibus_mediainit(device_t dev) argument 904 xl_probe(device_t dev) argument 1068 xl_attach(device_t dev) argument 1566 xl_detach(device_t dev) argument 3252 xl_shutdown(device_t dev) argument 3259 xl_suspend(device_t dev) argument 3274 xl_resume(device_t dev) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/rtl8139/dev/rl/ |
H A D | if_rl.c | 34 __FBSDID("$FreeBSD: releng/12.0/sys/dev/rl/if_rl.c 338951 2018-09-26 19:41:00Z imp $"); 116 #include <dev/mii/mii.h> 117 #include <dev/mii/mii_bitbang.h> 118 #include <dev/mii/miivar.h> 120 #include <dev/pci/pcireg.h> 121 #include <dev/pci/pcivar.h> 130 #include <dev/rl/if_rlreg.h> 362 rl_mii_bitbang_read(device_t dev) argument 367 sc = device_get_softc(dev); 380 rl_mii_bitbang_write(device_t dev, uint32_ argument 392 rl_miibus_readreg(device_t dev, int phy, int reg) argument 438 rl_miibus_writereg(device_t dev, int phy, int reg, int data) argument 480 rl_miibus_statchg(device_t dev) argument 586 rl_probe(device_t dev) argument 636 rl_attach(device_t dev) argument 869 rl_detach(device_t dev) argument 1962 rl_suspend(device_t dev) argument 1983 rl_resume(device_t dev) argument 2028 rl_shutdown(device_t dev) argument [all...] |
/haiku/src/add-ons/media/media-add-ons/finepix_webcam/FinePixUSBKit/ |
H A D | FinePix.cpp | 173 status_t FinePix::DeviceAdded(BUSBDevice *dev) argument 185 if (dev->VendorID() == USB_FUJIFILM_VENDOR_ID) 189 if (cam_supp[j].product == dev->ProductID()) 203 if (dev->SetConfiguration(dev->ConfigurationAt(0)) == 0) 205 camera = dev; 238 void FinePix::DeviceRemoved(BUSBDevice *dev) argument 243 if (dev == camera)
|
/haiku/src/kits/interface/ |
H A D | Input.cpp | 39 BInputDevice *dev = new (std::nothrow) BInputDevice; 40 if (dev == NULL) 49 dev->_SetNameAndType(device, (input_device_type)type); 51 return dev; 75 BInputDevice *dev = new (std::nothrow) BInputDevice; local 76 if (dev != NULL) { 77 dev->_SetNameAndType(name, (input_device_type)type); 78 list->AddItem(dev);
|
/haiku/src/add-ons/kernel/drivers/network/ether/pcnet/dev/mii/ |
H A D | nsphy.c | 60 __FBSDID("$FreeBSD: releng/12.0/sys/dev/mii/nsphy.c 326255 2017-11-27 14:52:40Z pfg $"); 79 #include <dev/mii/mii.h> 80 #include <dev/mii/miivar.h> 83 #include <dev/mii/nsphyreg.h> 125 nsphy_probe(device_t dev) argument 128 return (mii_phy_dev_probe(dev, nsphys, BUS_PROBE_DEFAULT)); 132 nsphy_attach(device_t dev) argument 140 if (mii_dev_mac_match(dev,"pcn")) 142 mii_phy_dev_attach(dev, flags, &nsphy_funcs, 1);
|
/haiku/src/libs/compat/freebsd_network/ |
H A D | device.h | 95 pci_info* get_device_pci_info(device_t dev); 101 void device_sprintf_name(device_t dev, const char *format, ...)
|
H A D | fbsd_usb_error.c | 45 #include <dev/usb/usb.h> 46 #include <dev/usb/usbdi.h>
|
/haiku/src/libs/compat/freebsd_network/compat/dev/usb/ |
H A D | usb.h | 16 #include <dev/usb/usb_endian.h> 17 #include <dev/usb/usb_haiku.h>
|
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8188e/pci/ |
H A D | r88ee_rx.c | 47 #include <dev/rtwn/if_rtwnvar.h> 48 #include <dev/rtwn/if_rtwn_debug.h> 50 #include <dev/rtwn/pci/rtwn_pci_var.h> 52 #include <dev/rtwn/rtl8188e/pci/r88ee.h> 53 #include <dev/rtwn/rtl8188e/pci/r88ee_reg.h>
|
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192c/ |
H A D | r92c_rx.c | 47 #include <dev/rtwn/if_rtwnreg.h> 48 #include <dev/rtwn/if_rtwnvar.h> 49 #include <dev/rtwn/if_rtwn_ridx.h> 51 #include <dev/rtwn/rtl8192c/r92c.h> 52 #include <dev/rtwn/rtl8192c/r92c_rx_desc.h>
|
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8812a/usb/ |
H A D | r12au_init.c | 53 #include <dev/rtwn/if_rtwnreg.h> 54 #include <dev/rtwn/if_rtwnvar.h> 56 #include <dev/rtwn/rtl8812a/r12a_var.h> 58 #include <dev/rtwn/rtl8812a/usb/r12au.h> 59 #include <dev/rtwn/rtl8812a/usb/r12au_reg.h>
|
/haiku/src/add-ons/kernel/drivers/video/usb_vision/ |
H A D | usb_vision.c | 24 status_t usb_vision_device_added(const usb_device *dev, void **cookie); 160 //(*usb->send_request)(uvd->dev, req_type, 295 (*usb->set_configuration)(uvd->dev, uci); 340 status_t usb_vision_device_added(const usb_device *dev, void **cookie){ argument 345 TRACE_FUNCALLS("usb_vision_device_added:%08x cookie:%08x\n", dev, cookie); 347 udd = (*usb->get_device_descriptor)(dev); 356 for(cfg_idx = 0; (uci = (*usb->get_nth_configuration)(dev, cfg_idx)) != NULL; cfg_idx++){ 360 uvd->dev = dev; 362 *cookie = (void *)dev; [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/rdc/dev/vte/ |
H A D | if_vte.c | 33 __FBSDID("$FreeBSD: releng/12.0/sys/dev/vte/if_vte.c 333813 2018-05-18 20:13:34Z mmacy $"); 64 #include <dev/mii/mii.h> 65 #include <dev/mii/miivar.h> 67 #include <dev/pci/pcireg.h> 68 #include <dev/pci/pcivar.h> 72 #include <dev/vte/if_vtereg.h> 73 #include <dev/vte/if_vtevar.h> 173 vte_miibus_readreg(device_t dev, int phy, int reg) argument 178 sc = device_get_softc(dev); 197 vte_miibus_writereg(device_t dev, in argument 220 vte_miibus_statchg(device_t dev) argument 327 vte_find_ident(device_t dev) argument 343 vte_probe(device_t dev) argument 377 vte_attach(device_t dev) argument 505 vte_detach(device_t dev) argument 936 vte_shutdown(device_t dev) argument 943 vte_suspend(device_t dev) argument 960 vte_resume(device_t dev) argument [all...] |
/haiku/src/add-ons/kernel/drivers/input/wacom/ |
H A D | wacom.c | 44 usb_device dev; member in struct:wacom_device 109 add_device(usb_device dev) argument 125 conf = usb->get_configuration(dev); 126 DPRINTF_INFO((ID "add_device(%ld, %p)\n", dev, conf)); 131 udd = usb->get_device_descriptor(dev); 139 conf = usb->get_nth_configuration(dev, 0); 180 device->dev = dev; 187 if ((st = usb->set_configuration(dev, conf)) != B_OK) { 197 if ((st = usb->set_alt_interface(dev, i 317 device_added(usb_device dev, void** cookie) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/ipro100/dev/fxp/ |
H A D | if_fxp.c | 33 __FBSDID("$FreeBSD: releng/12.0/sys/dev/fxp/if_fxp.c 338948 2018-09-26 17:12:14Z imp $"); 78 #include <dev/pci/pcivar.h> 79 #include <dev/pci/pcireg.h> /* for PCIM_CMD_xxx */ 81 #include <dev/mii/mii.h> 82 #include <dev/mii/miivar.h> 84 #include <dev/fxp/if_fxpreg.h> 85 #include <dev/fxp/if_fxpvar.h> 86 #include <dev/fxp/rcvbundl.h> 217 static int fxp_probe(device_t dev); 218 static int fxp_attach(device_t dev); 380 fxp_find_ident(device_t dev) argument 403 fxp_probe(device_t dev) argument 429 fxp_attach(device_t dev) argument 1010 fxp_detach(device_t dev) argument 1051 fxp_shutdown(device_t dev) argument 1068 fxp_suspend(device_t dev) argument 1104 fxp_resume(device_t dev) argument 2775 fxp_miibus_readreg(device_t dev, int phy, int reg) argument 2795 fxp_miibus_writereg(device_t dev, int phy, int reg, int value) argument 2814 fxp_miibus_statchg(device_t dev) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8188e/ |
H A D | r88e_rx.c | 48 #include <dev/rtwn/if_rtwnreg.h> 49 #include <dev/rtwn/if_rtwnvar.h> 51 #include <dev/rtwn/if_rtwn_debug.h> 52 #include <dev/rtwn/if_rtwn_ridx.h> 54 #include <dev/rtwn/rtl8192c/r92c.h> 55 #include <dev/rtwn/rtl8188e/r88e.h> 56 #include <dev/rtwn/rtl8188e/r88e_rx_desc.h>
|
/haiku/src/bin/ |
H A D | trash.cpp | 59 dev_t dev = -1; local 64 dev = dev_for_path(f); 65 err = find_directory(B_TRASH_DIRECTORY, dev, false, trash_dir, B_PATH_NAME_LENGTH); 127 dev_t dev; local 129 for (dev = 0; ; ) { 130 if (next_dev(&dev) < B_OK) 133 err = find_directory(B_TRASH_DIRECTORY, dev, false, trash_dir, B_PATH_NAME_LENGTH);
|
/haiku/src/add-ons/kernel/drivers/network/ether/attansic_l1/dev/mii/ |
H A D | atphy.c | 31 __FBSDID("$FreeBSD: releng/12.0/sys/dev/mii/atphy.c 326255 2017-11-27 14:52:40Z pfg $"); 47 #include <dev/mii/mii.h> 48 #include <dev/mii/miivar.h> 51 #include <dev/mii/atphyreg.h> 97 atphy_probe(device_t dev) argument 100 return (mii_phy_dev_probe(dev, atphys, BUS_PROBE_DEFAULT)); 104 atphy_attach(device_t dev) argument 107 mii_phy_dev_attach(dev, MIIF_NOMANPAUSE, &atphy_funcs, 1);
|
/haiku/src/add-ons/kernel/drivers/network/ether/nforce/dev/mii/ |
H A D | ciphy.c | 36 __FBSDID("$FreeBSD: releng/12.0/sys/dev/mii/ciphy.c 325966 2017-11-18 14:26:50Z pfg $"); 53 #include <dev/mii/mii.h> 54 #include <dev/mii/miivar.h> 57 #include <dev/mii/ciphyreg.h> 110 ciphy_probe(device_t dev) argument 113 return (mii_phy_dev_probe(dev, ciphys, BUS_PROBE_DEFAULT)); 117 ciphy_attach(device_t dev) argument 120 mii_phy_dev_attach(dev, MIIF_NOISOLATE | MIIF_NOMANPAUSE,
|
/haiku/src/add-ons/kernel/drivers/network/ether/via_rhine/dev/mii/ |
H A D | ciphy.c | 36 __FBSDID("$FreeBSD: releng/12.0/sys/dev/mii/ciphy.c 325966 2017-11-18 14:26:50Z pfg $"); 53 #include <dev/mii/mii.h> 54 #include <dev/mii/miivar.h> 57 #include <dev/mii/ciphyreg.h> 110 ciphy_probe(device_t dev) argument 113 return (mii_phy_dev_probe(dev, ciphys, BUS_PROBE_DEFAULT)); 117 ciphy_attach(device_t dev) argument 120 mii_phy_dev_attach(dev, MIIF_NOISOLATE | MIIF_NOMANPAUSE,
|