/freebsd-11.0-release/sys/dev/mc146818/ |
H A D | mc146818var.h | 26 * $FreeBSD: releng/11.0/sys/dev/mc146818/mc146818var.h 201009 2009-12-25 22:58:43Z marius $ 46 u_int (*sc_mcread)(device_t dev, u_int reg); 47 void (*sc_mcwrite)(device_t dev, u_int reg, u_int val); 49 u_int (*sc_getcent)(device_t dev); 50 void (*sc_setcent)(device_t dev, u_int cent); 54 u_int mc146818_def_read(device_t dev, u_int reg); 55 void mc146818_def_write(device_t dev, u_int reg, u_int val); 62 int mc146818_getsecs(device_t dev, int *secp); 64 int mc146818_gettime(device_t dev, struct timespec *ts); 65 int mc146818_settime(device_t dev, struc [all...] |
/freebsd-11.0-release/sys/mips/sibyte/ |
H A D | ata_zbbus.c | 43 #include <dev/ata/ata-all.h> 50 ata_zbbus_probe(device_t dev) argument 53 return (ata_probe(dev)); 57 ata_zbbus_attach(device_t dev) argument 63 ch = device_get_softc(dev); 70 io = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, RF_ACTIVE); 81 resource_int_value(device_get_name(dev), device_get_unit(dev), 84 device_printf(dev, "using a register shift of %d\n", regshift); 87 resource_int_value(device_get_name(dev), device_get_uni 114 ata_zbbus_detach(device_t dev) argument 132 ata_zbbus_suspend(device_t dev) argument 143 ata_zbbus_resume(device_t dev) argument [all...] |
/freebsd-11.0-release/share/examples/ses/srcs/ |
H A D | sesd.c | 60 int fd, polltime, dev, nodaemon, clear, c; local 93 for (dev = optind; dev < a; dev++) 94 carray[dev] = (encioc_enc_status_t) -1; 99 for (dev = optind; dev < a; dev++) { 100 fd = open(v[dev], O_RDWR); 102 perror(v[dev]); [all...] |
/freebsd-11.0-release/sys/boot/common/ |
H A D | disk.c | 55 struct disk_devdesc *dev; member in struct:print_args 78 disk_lookup(struct disk_devdesc *dev) argument 85 if (entry->d_dev != dev->d_dev || 86 entry->d_unit != dev->d_unit) 88 dev->d_opendata = entry->od; 89 if (entry->d_slice == dev->d_slice && 90 entry->d_partition == dev->d_partition) { 91 dev->d_offset = entry->d_offset; 92 DEBUG("%s offset %lld", disk_fmtdev(dev), 93 (long long)dev 105 disk_insert(struct disk_devdesc *dev) argument 135 struct disk_devdesc dev; local 176 struct disk_devdesc *dev; local 227 disk_print(struct disk_devdesc *dev, char *prefix, int verbose) argument 241 disk_read(struct disk_devdesc *dev, void *buf, off_t offset, u_int blocks) argument 254 disk_write(struct disk_devdesc *dev, void *buf, off_t offset, u_int blocks) argument 267 disk_ioctl(struct disk_devdesc *dev, u_long cmd, void *buf) argument 277 disk_open(struct disk_devdesc *dev, off_t mediasize, u_int sectorsize, u_int flags) argument 417 disk_close(struct disk_devdesc *dev) argument 434 struct disk_devdesc dev; local 461 disk_fmtdev(struct disk_devdesc *dev) argument 485 disk_parsedev(struct disk_devdesc *dev, const char *devspec, const char **path) argument [all...] |
/freebsd-11.0-release/sys/dev/etherswitch/arswitch/ |
H A D | arswitch_reg.c | 26 * $FreeBSD: releng/11.0/sys/dev/etherswitch/arswitch/arswitch_reg.c 292738 2015-12-26 02:31:39Z adrian $ 47 #include <dev/iicbus/iic.h> 48 #include <dev/iicbus/iiconf.h> 49 #include <dev/iicbus/iicbus.h> 50 #include <dev/mii/mii.h> 51 #include <dev/mii/miivar.h> 52 #include <dev/mdio/mdio.h> 54 #include <dev/etherswitch/etherswitch.h> 56 #include <dev/etherswitch/arswitch/arswitchreg.h> 57 #include <dev/etherswitc 65 arswitch_split_setpage(device_t dev, uint32_t addr, uint16_t *phy, uint16_t *reg) argument 88 arswitch_readreg16(device_t dev, int addr) argument 100 arswitch_writereg16(device_t dev, int addr, int data) argument 118 arswitch_writedbg(device_t dev, int phy, uint16_t dbg_addr, uint16_t dbg_data) argument 128 arswitch_writemmd(device_t dev, int phy, uint16_t dbg_addr, uint16_t dbg_data) argument 138 arswitch_reg_read32(device_t dev, int phy, int reg) argument 148 arswitch_reg_write32(device_t dev, int phy, int reg, uint32_t value) argument 174 arswitch_readreg(device_t dev, int addr) argument 183 arswitch_writereg(device_t dev, int addr, int value) argument 202 arswitch_readreg_lsb(device_t dev, int addr) argument 209 arswitch_readreg_msb(device_t dev, int addr) argument 216 arswitch_writereg_lsb(device_t dev, int addr, int data) argument 223 arswitch_writereg_msb(device_t dev, int addr, int data) argument 230 arswitch_modifyreg(device_t dev, int addr, int mask, int set) argument 244 arswitch_waitreg(device_t dev, int addr, int mask, int val, int timeout) argument [all...] |
/freebsd-11.0-release/tests/sys/geom/class/eli/ |
H A D | onetime_d_test.sh | 13 if [ -c /dev/md${no}.eli ]; then 19 dd if=/dev/md${no}.eli of=/dev/null 2>/dev/null 21 if [ -c /dev/md${no}.eli ]; then 26 true > /dev/md${no}.eli 28 if [ ! -c /dev/md${no}.eli ]; then
|
H A D | attach_d_test.sh | 13 dd if=/dev/random of=${keyfile} bs=512 count=16 >/dev/null 2>&1 17 if [ -c /dev/md${no}.eli ]; then 23 dd if=/dev/md${no}.eli of=/dev/null 2>/dev/null 25 if [ -c /dev/md${no}.eli ]; then 30 true > /dev/md${no}.eli 32 if [ ! -c /dev/md${no}.eli ]; then
|
/freebsd-11.0-release/tests/sys/geom/class/nop/ |
H A D | 2_test.sh | 11 dd if=/dev/random of=${src} bs=1m count=1 >/dev/null 2>&1 15 gnop create /dev/${us} || exit 1 17 dd if=${src} of=/dev/${us}.nop bs=1m count=1 >/dev/null 2>&1 18 dd if=/dev/${us}.nop of=${dst} bs=1m count=1 >/dev/null 2>&1
|
/freebsd-11.0-release/tools/tools/nanobsd/Files/root/ |
H A D | updatep2 | 39 if mount | grep ${NANO_DRIVE}s2 > /dev/null ; then 46 dd if=/dev/zero of=/dev/${NANO_DRIVE}s2 bs=1m count=1 > /dev/null 2>&1 49 dd of=/dev/${NANO_DRIVE}s2 obs=64k 52 fsck_ffs -n /dev/${NANO_DRIVE}s2a 56 mount /dev/${NANO_DRIVE}s2a /mnt
|
/freebsd-11.0-release/tools/tools/nanobsd/gateworks/Files/root/ |
H A D | updatep2 | 39 if mount | grep ${NANO_DRIVE}s2 > /dev/null ; then 46 dd if=/dev/zero of=/dev/${NANO_DRIVE}s2 bs=1m count=1 > /dev/null 2>&1 49 dd of=/dev/${NANO_DRIVE}s2 obs=64k 52 fsck_ffs -n /dev/${NANO_DRIVE}s2 56 mount /dev/${NANO_DRIVE}s2 /mnt
|
/freebsd-11.0-release/tools/tools/nanobsd/pcengines/Files/root/ |
H A D | updatep2 | 39 if mount | grep ${NANO_DRIVE}s2 > /dev/null ; then 46 dd if=/dev/zero of=/dev/${NANO_DRIVE}s2 bs=1m count=1 > /dev/null 2>&1 49 dd of=/dev/${NANO_DRIVE}s2 obs=64k 52 fsck_ffs -n /dev/${NANO_DRIVE}s2a 56 mount /dev/${NANO_DRIVE}s2a /mnt
|
/freebsd-11.0-release/sys/ofed/drivers/net/mlx4/ |
H A D | qp.c | 52 void mlx4_qp_event(struct mlx4_dev *dev, u32 qpn, int event_type) argument 54 struct mlx4_qp_table *qp_table = &mlx4_priv(dev)->qp_table; 59 qp = __mlx4_qp_lookup(dev, qpn); 66 mlx4_dbg(dev, "Async event for none existent QP %08x\n", qpn); 77 static int is_master_qp0(struct mlx4_dev *dev, struct mlx4_qp *qp, int *real_qp0, int *proxy_qp0) argument 81 u32 pf_proxy_offset = dev->phys_caps.base_proxy_sqpn + 8 * mlx4_master_func_num(dev); 84 *real_qp0 = qp->qpn >= dev->phys_caps.base_sqpn && 85 qp->qpn <= dev->phys_caps.base_sqpn + 1; 90 static int __mlx4_qp_modify(struct mlx4_dev *dev, struc argument 205 mlx4_qp_modify(struct mlx4_dev *dev, struct mlx4_mtt *mtt, enum mlx4_qp_state cur_state, enum mlx4_qp_state new_state, struct mlx4_qp_context *context, enum mlx4_qp_optpar optpar, int sqd_event, struct mlx4_qp *qp) argument 216 __mlx4_qp_reserve_range(struct mlx4_dev *dev, int cnt, int align, int *base, u8 flags) argument 238 mlx4_qp_reserve_range(struct mlx4_dev *dev, int cnt, int align, int *base, u8 flags) argument 262 __mlx4_qp_release_range(struct mlx4_dev *dev, int base_qpn, int cnt) argument 272 mlx4_qp_release_range(struct mlx4_dev *dev, int base_qpn, int cnt) argument 292 __mlx4_qp_alloc_icm(struct mlx4_dev *dev, int qpn) argument 336 mlx4_qp_alloc_icm(struct mlx4_dev *dev, int qpn) argument 349 __mlx4_qp_free_icm(struct mlx4_dev *dev, int qpn) argument 361 mlx4_qp_free_icm(struct mlx4_dev *dev, int qpn) argument 375 mlx4_qp_alloc(struct mlx4_dev *dev, int qpn, struct mlx4_qp *qp) argument 409 mlx4_qp_remove(struct mlx4_dev *dev, struct mlx4_qp *qp) argument 420 mlx4_qp_free(struct mlx4_dev *dev, struct mlx4_qp *qp) argument 430 mlx4_CONF_SPECIAL_QP(struct mlx4_dev *dev, u32 base_qpn) argument 436 mlx4_init_qp_table(struct mlx4_dev *dev) argument 555 mlx4_cleanup_qp_table(struct mlx4_dev *dev) argument 564 mlx4_qp_query(struct mlx4_dev *dev, struct mlx4_qp *qp, struct mlx4_qp_context *context) argument 585 mlx4_qp_to_ready(struct mlx4_dev *dev, struct mlx4_mtt *mtt, struct mlx4_qp_context *context, struct mlx4_qp *qp, enum mlx4_qp_state *qp_state) argument [all...] |
/freebsd-11.0-release/crypto/heimdal/lib/hx509/ |
H A D | test_query.in | 48 PKCS12:$srcdir/data/test.p12 >/dev/null 2>/dev/null || exit 1 54 FILE:$srcdir/data/kdc.crt >/dev/null 2>/dev/null || exit 1 59 PKCS12:$srcdir/data/test.p12 >/dev/null 2>/dev/null || exit 1 65 PKCS12:$srcdir/data/test.p12 >/dev/null 2>/dev/null || exit 1 71 PKCS12:$srcdir/data/test.p12 >/dev/null 2>/dev/nul [all...] |
/freebsd-11.0-release/sys/dev/drm/ |
H A D | drm_agpsupport.c | 32 __FBSDID("$FreeBSD: releng/11.0/sys/dev/drm/drm_agpsupport.c 283999 2015-06-04 20:36:16Z jhb $"); 39 #include "dev/drm/drmP.h" 41 #include <dev/agp/agpreg.h> 42 #include <dev/pci/pcireg.h> 46 drm_device_find_capability(struct drm_device *dev, int cap) argument 49 return (pci_find_cap(dev->device, cap, NULL) == 0); 52 int drm_device_is_agp(struct drm_device *dev) argument 54 if (dev->driver->device_is_agp != NULL) { 60 ret = (*dev->driver->device_is_agp)(dev); 68 drm_device_is_pcie(struct drm_device *dev) argument 73 drm_agp_info(struct drm_device * dev, struct drm_agp_info *info) argument 95 drm_agp_info_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 109 drm_agp_acquire_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 116 drm_agp_acquire(struct drm_device *dev) argument 131 drm_agp_release_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 138 drm_agp_release(struct drm_device * dev) argument 147 drm_agp_enable(struct drm_device *dev, struct drm_agp_mode mode) argument 159 drm_agp_enable_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 169 drm_agp_alloc(struct drm_device *dev, struct drm_agp_buffer *request) argument 212 drm_agp_alloc_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 229 drm_agp_lookup_entry(struct drm_device *dev, void *handle) argument 240 drm_agp_unbind(struct drm_device *dev, struct drm_agp_binding *request) argument 262 drm_agp_unbind_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 277 drm_agp_bind(struct drm_device *dev, struct drm_agp_binding *request) argument 303 drm_agp_bind_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 318 drm_agp_free(struct drm_device *dev, struct drm_agp_buffer *request) argument 348 drm_agp_free_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument [all...] |
/freebsd-11.0-release/sys/dev/altera/sdcard/ |
H A D | altera_sdcard_fdt.c | 32 __FBSDID("$FreeBSD: releng/11.0/sys/dev/altera/sdcard/altera_sdcard_fdt.c 261410 2014-02-02 19:17:28Z ian $"); 53 #include <dev/altera/sdcard/altera_sdcard.h> 55 #include <dev/fdt/fdt_common.h> 56 #include <dev/ofw/openfirm.h> 57 #include <dev/ofw/ofw_bus.h> 58 #include <dev/ofw/ofw_bus_subr.h> 64 altera_sdcard_fdt_probe(device_t dev) argument 67 if (!ofw_bus_status_okay(dev)) 70 if (ofw_bus_is_compatible(dev, "altera,sdcard_11_2011")) { 71 device_set_desc(dev, "Alter 78 altera_sdcard_fdt_attach(device_t dev) argument 97 altera_sdcard_fdt_detach(device_t dev) argument [all...] |
/freebsd-11.0-release/sys/dev/ata/chipsets/ |
H A D | ata-cypress.c | 28 __FBSDID("$FreeBSD: releng/11.0/sys/dev/ata/chipsets/ata-cypress.c 280393 2015-03-23 19:47:52Z mav $"); 47 #include <dev/pci/pcivar.h> 48 #include <dev/pci/pcireg.h> 49 #include <dev/ata/ata-all.h> 50 #include <dev/ata/ata-pci.h> 54 static int ata_cypress_chipinit(device_t dev); 55 static int ata_cypress_setmode(device_t dev, int target, int mode); 62 ata_cypress_probe(device_t dev) argument 64 struct ata_pci_controller *ctlr = device_get_softc(dev); 73 if (pci_get_devid(dev) 84 ata_cypress_chipinit(device_t dev) argument 96 ata_cypress_setmode(device_t dev, int target, int mode) argument [all...] |
H A D | ata-netcell.c | 28 __FBSDID("$FreeBSD: releng/11.0/sys/dev/ata/chipsets/ata-netcell.c 280393 2015-03-23 19:47:52Z mav $"); 47 #include <dev/pci/pcivar.h> 48 #include <dev/pci/pcireg.h> 49 #include <dev/ata/ata-all.h> 50 #include <dev/ata/ata-pci.h> 54 static int ata_netcell_chipinit(device_t dev); 55 static int ata_netcell_ch_attach(device_t dev); 56 static int ata_netcell_setmode(device_t dev, int target, int mode); 62 ata_netcell_probe(device_t dev) argument 64 struct ata_pci_controller *ctlr = device_get_softc(dev); 75 ata_netcell_chipinit(device_t dev) argument 88 ata_netcell_ch_attach(device_t dev) argument 104 ata_netcell_setmode(device_t dev, int target, int mode) argument [all...] |
/freebsd-11.0-release/sys/dev/terasic/de4led/ |
H A D | terasic_de4led_fdt.c | 32 __FBSDID("$FreeBSD: releng/11.0/sys/dev/terasic/de4led/terasic_de4led_fdt.c 261410 2014-02-02 19:17:28Z ian $"); 50 #include <dev/fdt/fdt_common.h> 51 #include <dev/ofw/openfirm.h> 52 #include <dev/ofw/ofw_bus.h> 53 #include <dev/ofw/ofw_bus_subr.h> 55 #include <dev/terasic/de4led/terasic_de4led.h> 62 terasic_de4led_fdt_probe(device_t dev) argument 65 if (!ofw_bus_status_okay(dev)) 68 if (ofw_bus_is_compatible(dev, "sri-cambridge,de4led")) { 69 device_set_desc(dev, "Terasi 76 terasic_de4led_fdt_attach(device_t dev) argument 95 terasic_de4led_fdt_detach(device_t dev) argument [all...] |
/freebsd-11.0-release/sys/dev/pms/RefTisa/sallsdk/spc/ |
H A D | saglobal.h | 21 * $FreeBSD: releng/11.0/sys/dev/pms/RefTisa/sallsdk/spc/saglobal.h 285242 2015-07-07 13:17:02Z achim $ 34 #include <dev/pms/freebsd/driver/common/osenv.h> 35 #include <dev/pms/freebsd/driver/common/ostypes.h> 36 #include <dev/pms/freebsd/driver/common/osdebug.h> 38 #include <dev/pms/RefTisa/tisa/sassata/common/ossa.h> 40 #include <dev/pms/RefTisa/sallsdk/api/sa.h> 41 #include <dev/pms/RefTisa/sallsdk/api/saosapi.h> 43 #include <dev/pms/RefTisa/sallsdk/spc/sallist.h> 44 #include <dev/pms/RefTisa/sallsdk/spc/sadefs.h> 45 #include <dev/pm [all...] |
/freebsd-11.0-release/sys/dev/pcf/ |
H A D | pcf_ebus.c | 31 __FBSDID("$FreeBSD: releng/11.0/sys/dev/pcf/pcf_ebus.c 233018 2012-03-15 22:53:39Z nwhitehorn $"); 75 #include <dev/ofw/ofw_bus.h> 76 #include <dev/ofw/openfirm.h> 83 #include <dev/iicbus/iiconf.h> 84 #include <dev/pcf/pcfvar.h> 119 pcf_ebus_probe(device_t dev) argument 128 if (strcmp("i2c", ofw_bus_get_name(dev)) == 0) { 129 compat = ofw_bus_get_compat(dev); 131 device_set_desc(dev, "PCF8584 I2C bus controller"); 139 pcf_ebus_attach(device_t dev) argument 227 pcf_ebus_detach(device_t dev) argument [all...] |
/freebsd-11.0-release/sys/sparc64/sparc64/ |
H A D | rtc.c | 49 #include <dev/ofw/ofw_bus.h> 58 #include <dev/mc146818/mc146818reg.h> 59 #include <dev/mc146818/mc146818var.h> 126 static u_int pc87317_getcent(device_t dev); 127 static void pc87317_setcent(device_t dev, u_int cent); 130 rtc_ebus_probe(device_t dev) argument 133 if (strcmp(ofw_bus_get_name(dev), "rtc") == 0) { 135 if (ofw_bus_get_compat(dev) != NULL && 136 strcmp(ofw_bus_get_compat(dev), "bq4802") == 0) 138 device_set_desc(dev, RTC_DES 152 rtc_isa_probe(device_t dev) argument 163 rtc_attach(device_t dev) argument 235 pc87317_getcent(device_t dev) argument 246 pc87317_setcent(device_t dev, u_int cent) argument [all...] |
/freebsd-11.0-release/etc/rc.d/ |
H A D | serial | 53 comcontrol /dev/tty${dc}${i} dtrwait 300 drainwait $drainwait 54 stty < /dev/tty${dc}${i}.init -clocal crtscts hupcl 9600 reprint ^R 55 stty < /dev/tty${dc}${i}.lock -clocal -crtscts -hupcl 0 56 stty < /dev/cua${dc}${i}.init -clocal crtscts hupcl 9600 reprint ^R 57 stty < /dev/cua${dc}${i}.lock -clocal -crtscts -hupcl 0 69 stty < /dev/tty${dc}${i}.init reprint undef 70 stty < /dev/cua${dc}${i}.init reprint undef 72 stty < /dev/tty${dc}${i}.lock clocal 75 stty < /dev/tty${dc}${i}.lock 300 76 stty < /dev/cu [all...] |
/freebsd-11.0-release/gnu/usr.bin/grep/tests/ |
H A D | options.sh | 16 echo "abababccccccd" | ${GREP} -E -e 'c{3}' > /dev/null 2>&1 23 echo "abababccccccd" | ${GREP} -G -e 'c\{3\}' > /dev/null 2>&1 30 echo "abababccccccd" | ${GREP} -F -e 'c\{3\}' > /dev/null 2>&1
|
/freebsd-11.0-release/sys/dev/pci/ |
H A D | ignore_pci.c | 29 __FBSDID("$FreeBSD: releng/11.0/sys/dev/pci/ignore_pci.c 284086 2015-06-06 17:04:36Z marcel $"); 41 #include <dev/pci/pcivar.h> 43 static int ignore_pci_probe(device_t dev); 63 ignore_pci_probe(device_t dev) argument 65 switch (pci_get_devid(dev)) { 67 device_set_desc(dev, "ignored"); 68 device_quiet(dev);
|
/freebsd-11.0-release/sys/dev/altera/avgen/ |
H A D | altera_avgen_nexus.c | 32 __FBSDID("$FreeBSD: releng/11.0/sys/dev/altera/avgen/altera_avgen_nexus.c 295883 2016-02-22 09:10:23Z skra $"); 53 #include <dev/altera/avgen/altera_avgen.h> 56 altera_avgen_nexus_probe(device_t dev) argument 59 device_set_desc(dev, "Generic Altera Avalon device attachment"); 64 altera_avgen_nexus_attach(device_t dev) argument 71 sc = device_get_softc(dev); 72 sc->avg_dev = dev; 73 sc->avg_unit = device_get_unit(dev); 84 error = resource_int_value(device_get_name(dev), device_get_unit(dev), 116 altera_avgen_nexus_detach(device_t dev) argument [all...] |