Searched refs:dev (Results 226 - 250 of 6298) sorted by relevance

1234567891011>>

/freebsd-11-stable/gnu/usr.bin/grep/tests/
H A Dfile.sh20 echo "miles" | ${GREP} -i -E -f patfile > /dev/null 2>&1
27 echo "GNU" | ${GREP} -G -f patfile > /dev/null 2>&1
34 echo "ridar" | ${GREP} -F -f patfile > /dev/null 2>&1
44 echo "abbcd" | ${GREP} -F -f patfile > /dev/null 2>&1
50 cp /dev/null patfile
53 echo "abbcd" | ${GREP} -F -f patfile > /dev/null 2>&1
/freebsd-11-stable/sys/powerpc/ofw/
H A Dofw_pcibus.h35 #include <dev/ofw/ofw_bus.h>
36 #include <dev/ofw/ofw_pci.h>
37 #include <dev/pci/pcivar.h>
/freebsd-11-stable/sys/powerpc/powermac/
H A Dvcoregpio.c40 #include <dev/ofw/ofw_bus.h>
41 #include <dev/ofw/openfirm.h>
68 vcoregpio_probe(device_t dev) argument
70 const char *name = ofw_bus_get_name(dev);
75 device_set_desc(dev, "CPU Core Voltage Control");
80 vcoregpio_attach(device_t dev) argument
82 EVENTHANDLER_REGISTER(cpufreq_pre_change, vcoregpio_pre_change, dev,
84 EVENTHANDLER_REGISTER(cpufreq_post_change, vcoregpio_post_change, dev,
91 vcoregpio_pre_change(device_t dev, const struct cf_level *level) argument
98 macgpio_write(dev, GPIO_DDR_OUTPU
104 vcoregpio_post_change(device_t dev, const struct cf_level *level) argument
[all...]
/freebsd-11-stable/sys/xen/
H A Dxen_pci.h32 void xen_pci_enable_msi_method(device_t dev, device_t child, uint64_t address,
34 void xen_pci_disable_msi_method(device_t dev, device_t child);
35 void xen_pci_child_added_method(device_t dev, device_t child);
/freebsd-11-stable/tests/sys/geom/class/raid3/
H A D1_test.sh12 graid3 label $name /dev/${us0} /dev/${us1} /dev/${us2} 2>/dev/null || exit 1
17 mediasize=`diskinfo /dev/raid3/${name} | awk '{print $3}'`
23 sectorsize=`diskinfo /dev/raid3/${name} | awk '{print $2}'`
/freebsd-11-stable/tests/sys/geom/class/shsec/
H A D1_test.sh12 gshsec label $name /dev/${us0} /dev/${us1} /dev/${us2} 2>/dev/null || exit 1
17 mediasize=`diskinfo /dev/shsec/${name} | awk '{print $3}'`
23 sectorsize=`diskinfo /dev/shsec/${name} | awk '{print $2}'`
/freebsd-11-stable/sys/dev/isci/scil/
H A Dscic_sds_smp_request.h61 #include <dev/isci/scil/intel_sas.h>
62 #include <dev/isci/scil/sci_types.h>
63 #include <dev/isci/scil/scic_sds_request.h>
/freebsd-11-stable/sys/dev/e1000/
H A De1000_osdep.c46 pci_write_config(((struct e1000_osdep *)hw->back)->dev, reg, *value, 2);
52 *value = pci_read_config(((struct e1000_osdep *)hw->back)->dev, reg, 2);
58 pci_write_config(((struct e1000_osdep *)hw->back)->dev, PCIR_COMMAND,
65 pci_write_config(((struct e1000_osdep *)hw->back)->dev, PCIR_COMMAND,
75 device_t dev = ((struct e1000_osdep *)hw->back)->dev; local
78 pci_find_cap(dev, PCIY_EXPRESS, &offset);
79 *value = pci_read_config(dev, offset + reg, 2);
89 device_t dev = ((struct e1000_osdep *)hw->back)->dev; local
[all...]
/freebsd-11-stable/sys/dev/extres/clk/
H A Dclk_bus.c36 #include <dev/fdt/simplebus.h>
38 #include <dev/ofw/openfirm.h>
39 #include <dev/ofw/ofw_bus_subr.h>
46 ofw_clkbus_probe(device_t dev) argument
50 name = ofw_bus_get_name(dev);
55 device_set_desc(dev, "OFW clocks bus");
61 ofw_clkbus_attach(device_t dev) argument
67 sc = device_get_softc(dev);
68 node = ofw_bus_get_node(dev);
69 simplebus_init(dev, nod
[all...]
/freebsd-11-stable/sys/dev/extres/regulator/
H A Dregulator_bus.c36 #include <dev/fdt/simplebus.h>
38 #include <dev/ofw/openfirm.h>
39 #include <dev/ofw/ofw_bus_subr.h>
46 ofw_regulator_bus_probe(device_t dev) argument
50 name = ofw_bus_get_name(dev);
53 device_set_desc(dev, "OFW regulators bus");
59 ofw_regulator_bus_attach(device_t dev) argument
64 sc = device_get_softc(dev);
65 node = ofw_bus_get_node(dev);
66 simplebus_init(dev, nod
[all...]
H A Dregulator_fixed.h32 #include <dev/gpio/gpiobusvar.h>
33 #include <dev/extres/regulator/regulator.h>
41 int regnode_fixed_register(device_t dev,
/freebsd-11-stable/sys/dev/sn/
H A Dif_sn_isa.c47 #include <dev/sn/if_snvar.h>
53 sn_isa_probe (device_t dev) argument
55 if (isa_get_logicalid(dev)) /* skip PnP probes */
57 if (sn_probe(dev) != 0)
63 sn_isa_attach (device_t dev) argument
65 struct sn_softc *sc = device_get_softc(dev);
68 sc->dev = dev;
69 err = sn_activate(dev);
71 sn_deactivate(dev);
[all...]
/freebsd-11-stable/usr.sbin/diskinfo/
H A DMakefile11 ./${PROG} /dev/ad4 md50
12 ./${PROG} -v /dev/ad4 md50
13 ./${PROG} -t /dev/ad4
/freebsd-11-stable/sys/dev/uart/
H A Duart_bus_pccard.c27 __FBSDID("$FreeBSD: stable/11/sys/dev/uart/uart_bus_pccard.c 340145 2018-11-04 23:28:56Z mmacy $");
38 #include <dev/pccard/pccard_cis.h>
39 #include <dev/pccard/pccardvar.h>
41 #include <dev/uart/uart.h>
42 #include <dev/uart/uart_bus.h>
46 static int uart_pccard_probe(device_t dev);
47 static int uart_pccard_attach(device_t dev);
67 uart_pccard_probe(device_t dev) argument
73 error = pccard_get_function(dev, &fcn);
88 uart_pccard_attach(device_t dev) argument
[all...]
/freebsd-11-stable/usr.sbin/ppp/
H A Dudp.c71 struct device dev; /* What struct physical knows about */ member in struct:udpdevice
87 struct udpdevice *dev = device2udp(p->handler); local
90 switch (dev->connected) {
97 ret = sendto(p->fd, v, n, 0, (struct sockaddr *)&dev->sock,
98 sizeof dev->sock);
101 if (dev->connected == UDP_MAYBEUNCONNECTED) {
103 dev->connected = UDP_CONNECTED;
106 dev->connected = UDP_UNCONNECTED;
115 struct udpdevice *dev = device2udp(p->handler); local
118 if (dev
136 struct udpdevice *dev = device2udp(p->handler); local
182 struct udpdevice *dev = (struct udpdevice *)iov[(*niov)++].iov_base; local
204 struct udpdevice *dev; local
258 struct udpdevice *dev; local
[all...]
/freebsd-11-stable/sys/arm/ti/am335x/
H A Dam335x_pwmss.c44 #include <dev/fdt/fdt_common.h>
45 #include <dev/fdt/simplebus.h>
46 #include <dev/ofw/openfirm.h>
47 #include <dev/ofw/ofw_bus.h>
48 #include <dev/ofw/ofw_bus_subr.h>
82 am335x_pwmss_probe(device_t dev) argument
85 if (!ofw_bus_status_okay(dev))
88 if (!ofw_bus_is_compatible(dev, "ti,am33xx-pwmss"))
91 device_set_desc(dev, "AM335x PWM");
97 am335x_pwmss_attach(device_t dev) argument
154 am335x_pwmss_detach(device_t dev) argument
[all...]
/freebsd-11-stable/sys/dev/mii/
H A Dmii_bitbang.c44 #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...]
/freebsd-11-stable/sys/mips/atheros/
H A Dar71xx_fixup.c53 #include <dev/pci/pcivar.h>
54 #include <dev/pci/pcireg.h>
56 #include <dev/pci/pcib_private.h>
75 ar71xx_pci_slot_create_eeprom_firmware(device_t dev, u_int bus, u_int slot, argument
83 device_printf(dev, "EEPROM firmware: 0x%lx @ %d bytes\n",
88 device_printf(dev,
103 device_get_name(dev), device_get_unit(dev), bus, slot, func);
106 device_printf(dev, "%s: firmware_register (%s) failed\n",
111 device_printf(dev, "devic
[all...]
/freebsd-11-stable/sys/dev/snc/
H A Dif_snc_pccard.c56 #include <dev/snc/dp83932var.h>
57 #include <dev/snc/if_sncvar.h>
58 #include <dev/snc/if_sncreg.h>
60 #include <dev/pccard/pccardvar.h>
61 #include <dev/pccard/pccard_cis.h>
101 snc_pccard_detach(device_t dev) argument
103 struct snc_softc *sc = device_get_softc(dev);
107 device_printf(dev, "already unloaded\n");
116 bus_teardown_intr(dev, sc->irq, sc->irq_handle);
117 snc_release_resources(dev);
126 snc_pccard_probe(device_t dev) argument
139 snc_pccard_attach(device_t dev) argument
[all...]
/freebsd-11-stable/sys/dev/sbni/
H A Dif_sbni_isa.c30 __FBSDID("$FreeBSD: stable/11/sys/dev/sbni/if_sbni_isa.c 315221 2017-03-14 02:06:03Z pfg $");
50 #include <dev/sbni/if_sbnireg.h>
51 #include <dev/sbni/if_sbnivar.h>
78 sbni_probe_isa(device_t dev) argument
83 error = ISA_PNP_PROBE(device_get_parent(dev), dev, sbni_ids);
87 sc = device_get_softc(dev);
89 sc->io_res = bus_alloc_resource_anywhere(dev, SYS_RES_IOPORT,
102 device_set_desc(dev, "Granch SBNI12/ISA adapter");
108 sbni_attach_isa(device_t dev) argument
[all...]
/freebsd-11-stable/tools/boot/
H A Dinstall-boot.sh24 dev=$1
27 gpart show $dev | tail +2 | awk '$4 == "'$part'" { print $3; }'
31 dev=$1
34 idx=$(find-part $dev "freebsd-boot")
38 doit gpart bootcode -b ${gpt0} -p ${gptzfs2} -i $idx $dev
43 dev=$1
46 idx=$(find-part $dev "freebsd-boot")
50 doit gpart bootcode -b ${gpt0} -p ${gpt2} -i $idx $dev
55 dev=$1
59 s=$(findpart $dev "freebs
[all...]
/freebsd-11-stable/sys/dev/drm/
H A Ddrm_ioctl.c39 #include "dev/drm/drmP.h"
47 int drm_getunique(struct drm_device *dev, void *data, argument
52 if (u->unique_len >= dev->unique_len) {
53 if (DRM_COPY_TO_USER(u->unique, dev->unique, dev->unique_len))
56 u->unique_len = dev->unique_len;
64 int drm_setunique(struct drm_device *dev, void *data, argument
96 if ((domain != dev->pci_domain) ||
97 (bus != dev->pci_bus) ||
98 (slot != dev
120 drm_set_busid(struct drm_device *dev) argument
145 drm_getmap(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
181 drm_getclient(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
208 drm_getstats(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
236 drm_setversion(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
281 drm_noop(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
[all...]
/freebsd-11-stable/sys/dev/if_ndis/
H A Dif_ndis_pci.c34 __FBSDID("$FreeBSD: stable/11/sys/dev/if_ndis/if_ndis_pci.c 368650 2020-12-14 22:53:19Z brooks $");
58 #include <dev/pci/pcireg.h>
59 #include <dev/pci/pcivar.h>
60 #include <dev/usb/usb.h>
61 #include <dev/usb/usbdi.h>
68 #include <dev/if_ndis/if_ndisvar.h>
111 ndis_devcompare(bustype, t, dev)
114 device_t dev;
122 vid = pci_get_vendor(dev);
123 did = pci_get_device(dev);
[all...]
/freebsd-11-stable/sys/dev/pcf/
H A Denvctrl.c51 #include <dev/ofw/ofw_bus.h>
58 #include <dev/iicbus/iicbus.h>
59 #include <dev/iicbus/iiconf.h>
60 #include <dev/pcf/pcfvar.h>
96 envctrl_probe(device_t dev) argument
99 if (strcmp("SUNW,envctrl", ofw_bus_get_name(dev)) == 0) {
100 device_set_desc(dev, "EBus SUNW,envctrl");
107 envctrl_attach(device_t dev) argument
112 sc = DEVTOSOFTC(dev);
113 mtx_init(&sc->pcf_lock, device_get_nameunit(dev), "pc
167 envctrl_detach(device_t dev) argument
[all...]
/freebsd-11-stable/tests/sys/geom/class/mirror/
H A D2_test.sh15 dd if=/dev/random of=${src} bs=$ddbs count=$nblocks2 >/dev/null 2>&1
21 gmirror label -b $balance $name /dev/${us0} /dev/${us1} /dev/${us2} || exit 1
24 dd if=${src} of=/dev/mirror/${name} bs=$ddbs count=$nblocks2 >/dev/null 2>&1
26 dd if=/dev/mirror/${name} of=${dst} bs=$ddbs count=$nblocks2 >/dev/null 2>&1
32 dd if=/dev/
[all...]

Completed in 170 milliseconds

1234567891011>>