/haiku/src/bin/pcmcia-cs/ |
H A D | dump_cisreg.c | 85 sprintf(fn, "/dev/bus/pcmcia/sock/%d", sock); 89 "/var/lib/pcmcia", "/var/run", "/dev", "/tmp", NULL 93 dev_t dev = (major<<8) + sock; 97 if (mknod(fn, (S_IFCHR|S_IREAD|S_IWRITE), dev) == 0) {
|
H A D | pack_cis.c | 239 *c = (d->dev[i].type<<4); 240 c += pack_speed(d->dev[i].speed, c); 241 sz = d->dev[i].size/512;
|
H A D | yacc_cis.y | 140 $$->device.dev[$$->device.ndev].type = $2; 141 $$->device.dev[$$->device.ndev].speed = $3; 142 $$->device.dev[$$->device.ndev].size = $5; 152 $$->device.dev[$$->device.ndev].type = $2; 153 $$->device.dev[$$->device.ndev].speed = $3; 154 $$->device.dev[$$->device.ndev].size = $5;
|
/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/build/libbe/storage/ |
H A D | Entry.cpp | 79 later use of the entry_ref will fail if \p dev is not a valid device or \p dir 80 is a not a directory on \p dev. 82 \param dev the device on which the entry's parent directory resides 86 entry_ref::entry_ref(dev_t dev, ino_t dir, const char *name) argument 88 device(dev),
|
/haiku/src/build/libroot/ |
H A D | fs_darwin.cpp | 316 mknodat(int fd, const char *path, mode_t mode, dev_t dev) argument 320 return mknod(path, mode, dev); 333 return mknod(fullPath, mode, dev);
|
H A D | remapped_functions.h | 40 int _haiku_build_mknodat(int fd, const char* name, mode_t mode, dev_t dev);
|
/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/kits/storage/ |
H A D | Entry.cpp | 46 entry_ref::entry_ref(dev_t dev, ino_t dir, const char* name) argument 48 device(dev),
|
H A D | Volume.cpp | 121 ref.device = info.dev;
|
/haiku/src/libs/compat/freebsd_iflib/compat/ |
H A D | device_if.h | 8 void* DEVICE_REGISTER(device_t dev);
|
/haiku/src/libs/compat/freebsd_iflib/ |
H A D | device_if.c | 15 DEVICE_REGISTER(device_t dev) argument 17 return dev->methods.device_register(dev);
|
/haiku/src/libs/compat/freebsd_network/compat/dev/led/ |
H A D | led.h | 27 led_destroy(struct cdev* dev) argument
|
/haiku/src/libs/compat/freebsd_network/compat/dev/mii/ |
H A D | mii_bitbang.h | 50 int mii_bitbang_readreg(device_t dev, mii_bitbang_ops_t ops, 52 void mii_bitbang_sync(device_t dev, mii_bitbang_ops_t ops); 53 void mii_bitbang_writereg(device_t dev, mii_bitbang_ops_t ops,
|
H A D | miivar.h | 186 int __haiku_miibus_readreg(device_t dev, int phy, int reg); 187 int __haiku_miibus_writereg(device_t dev, int phy, int reg, int data); 188 void __haiku_miibus_statchg(device_t dev); 189 void __haiku_miibus_linkchg(device_t dev); 190 void __haiku_miibus_mediainit(device_t dev); 192 #define MIIBUS_READREG(dev, phy, reg) \ 193 __haiku_miibus_readreg((dev), (phy), (reg)) 195 #define MIIBUS_WRITEREG(dev, phy, reg, value) \ 196 __haiku_miibus_writereg((dev), (phy), (reg), (value)) 198 #define MIIBUS_STATCHG(dev) \ [all...] |
/haiku/src/libs/compat/freebsd_network/ |
H A D | fbsd_mii.c | 59 #include <dev/mii/mii.h> 60 #include <dev/mii/miivar.h> 123 miibus_probe(device_t dev) argument 126 device_set_desc(dev, "MII bus"); 132 miibus_attach(device_t dev) argument 140 mii = device_get_softc(dev); 141 if (device_get_children(dev, &children, &nchildren) == 0) { 149 device_printf(dev, "cannot get children\n"); 152 ivars = device_get_ivars(dev); 160 return (bus_generic_attach(dev)); 164 miibus_detach(device_t dev) argument 177 miibus_print_child(device_t dev, device_t child) argument 191 miibus_read_ivar(device_t dev, device_t child __unused, int which, uintptr_t *result) argument 236 miibus_hinted_child(device_t dev, const char *name, int unit) argument 290 miibus_readreg(device_t dev, int phy, int reg) argument 299 miibus_writereg(device_t dev, int phy, int reg, int data) argument 308 miibus_statchg(device_t dev) argument 321 miibus_linkchg(device_t dev) argument 343 miibus_mediainit(device_t dev) argument 367 mii_attach(device_t dev, device_t *miibus, if_t ifp, ifm_change_cb_t ifmedia_upd, ifm_stat_cb_t ifmedia_sts, int capmask, int phyloc, int offloc, int flags) argument [all...] |
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 | fbsd_mii_physubr.c | 51 #include <dev/mii/mii.h> 52 #include <dev/mii/miivar.h> 539 mii_phy_detach(device_t dev) argument 543 sc = device_get_softc(dev); 571 mii_phy_dev_probe(device_t dev, const struct mii_phydesc *mpd, int mrv) argument 574 mpd = mii_phy_match(device_get_ivars(dev), mpd); 576 device_set_desc(dev, mpd->mpd_name); 583 mii_phy_dev_attach(device_t dev, u_int flags, const struct mii_phy_funcs *mpf, argument 590 sc = device_get_softc(dev); 591 ma = device_get_ivars(dev); [all...] |
H A D | mii.c | 15 #include <compat/dev/mii/miivar.h>
|
H A D | shared.h | 37 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/preferences/virtualmemory/ |
H A D | SettingsWindow.cpp | 377 node.device = info.dev;
|
/haiku/src/system/libroot/posix/sys/ |
H A D | mknod.c | 14 mknod(const char *name, mode_t mode, dev_t dev) argument 22 mknodat(int fd, const char *name, mode_t mode, dev_t dev) argument
|
/haiku/src/tests/system/libroot/os/ |
H A D | FindDirectoryTest.cpp | 16 dev_t dev = -1; local 19 dev = dev_for_path(argv[1]); 23 status_t err = find_directory((directory_which)i, dev, false, buffer, B_PATH_NAME_LENGTH);
|
/haiku/3rdparty/kallisti5/ |
H A D | validateBootstrapRepo | 40 grep "REVISION=\"$REV\"" $RECIPE > /dev/null
|
/haiku/3rdparty/korli/ |
H A D | generate_ids_from_drivers.sh | 25 sed -e 's/#include.*//g' $TOPDIR/$driverPath/dev/$bsdname/if_${bsdname}.c | awk '/VENDORID_.*,$/ { printf("%s\t", $0); next } 1' | gcc -E -include $TOPDIR/$driverPath/dev/$headername/if_${headername}${5}.h - | sed -E -n "/${bsdname}_${table}\[/,/^$/p" | sed -r -e 's/.*0x([^ ,]+), 0x([^ ,]+).*/\1\t\2/' -e '/^[[:alnum:]]/!d' | awk -F'\t' -v driverPath=$driverPath 'NF > 1 { printf "pci %s %s .... .... ...... : CONFIG__UNKNOWN__ : %s\n", $1, $2, driverPath }' | uniq 37 sed -e 's/#include.*//g' $TOPDIR/$driverPath/dev/$bsdname/if_${bsdname}${sourcesuffix}.c | awk '/VENDORID_.*,$/ { printf("%s\t", $0); next } 1' | gcc -E -include $TOPDIR/$driverPath/dev/$headername/if_${headername}${headersuffix}.h - | sed -E -n "/${bsdname}_${table}\[/,/^\};$/p" | sed -e 's/0X/0x/g' | sed -r -e 's/[^0x]*0x([^ ,]+), 0x([^ ,]+).*/\1\t\2/' -e '/^[[:alnum:]]/!d' | awk -F'\t' -v driverPath=$driverPath 'NF > 1 { printf "pci %s %s .... .... ...... : CONFIG__UNKNOWN__ : %s\n", $1, $2, driverPath }' | sort | uniq 55 sed -e 's/#include.*//g' $TOPDIR/$driverPath/dev/$bsdname/if_dcreg.h > /tmp/if_dcreg.h 57 sed -e 's/#include.*//g' $TOPDIR/$driverPath/dev/$bsdname/if_${bsdname}.c | awk '/VENDORID_.*,$/ { printf("%s\t", $0); next } 1' | gcc -E -include /tmp/if_dcreg.h - | sed -E -n "/${bsdname}_devs\[|${bsdname}_products\[|${bsdname}_ident_table\[/,/^$/p" | sed -r -e 's/[^0x]*0x([^ ,]+).*0x([^\)]+)\).*/\1\t\2/' -e '/^[[:alnum:]]/!d' | awk -F'\t' -v driverPath=$driverPath 'NF > 1 { printf "pci %s %s .... .... ...... : CONFIG__UNKNOWN__ : %s\n", $1, $2, driverPath }' | uniq 65 sed -e 's/#include.*//g' $TOPDIR/$driverPath/dev/$bsdname/igc_hw.h > /tmp/igc_hw.h 66 sed -e 's/#include.*//g' $TOPDIR/$driverPath/dev/$bsdname/if_igc.c | gcc -E -include /tmp/igc_hw.h - | sed -E -n "/igc_vendor_info_array\[/,/PVID_END/p" | sed -r -e 's/.*0x([^ ,]+), 0x([^,]+),.*/\1\t\2/' -e '/^[[:alnum:]]/!d' | awk -F'\t' -v driverPath=$driverPath 'NF > 1 { printf "pci %s %s .... .... ...... : CONFIG__UNKNOWN__ : %s\n", $1, $2, driverPath }' 76 sed -e 's/#include.*//g' $TOPDIR/$driverPath/dev/$bsdname/e1000_hw.h > /tmp/e1000_hw.h 77 sed -e 's/#include.*//g' $TOPDIR/$driverPath/dev/ [all...] |