Searched refs:dev (Results 151 - 175 of 6298) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/dev/altera/jtag_uart/
H A Daltera_jtag_uart_fdt.c53 #include <dev/altera/jtag_uart/altera_jtag_uart.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_jtag_uart_fdt_probe(device_t dev) argument
67 if (!ofw_bus_status_okay(dev))
70 if (ofw_bus_is_compatible(dev, "altera,jtag_uart-11_0")) {
71 device_set_desc(dev, "Altera JTAG UART");
78 altera_jtag_uart_fdt_attach(device_t dev) argument
120 altera_jtag_uart_fdt_detach(device_t dev) argument
[all...]
/freebsd-11-stable/sys/dev/pst/
H A Dpst-pci.c47 #include <dev/pci/pcivar.h>
48 #include <dev/pci/pcireg.h>
50 #include "dev/pst/pst-iop.h"
53 iop_pci_probe(device_t dev) argument
56 if (pci_get_devid(dev) == 0x19628086 && pci_get_subvendor(dev) == 0x105a) {
57 device_set_desc(dev, "Promise SuperTrak SX6000 ATA RAID controller");
62 if (pci_get_devid(dev) == 0x19608086 && pci_get_subvendor(dev) == 0x105a) {
63 device_set_desc(dev, "Promis
71 iop_pci_attach(device_t dev) argument
102 iop_pci_detach(device_t dev) argument
[all...]
/freebsd-11-stable/sys/dev/virtio/
H A Dvirtio.h26 * $FreeBSD: stable/11/sys/dev/virtio/virtio.h 331722 2018-03-29 02:50:57Z eadler $
32 #include <dev/virtio/virtio_ids.h>
33 #include <dev/virtio/virtio_config.h>
65 void virtio_describe(device_t dev, const char *msg,
71 void virtio_read_ivar(device_t dev, int ivar, uintptr_t *val);
72 void virtio_write_ivar(device_t dev, int ivar, uintptr_t val);
73 uint64_t virtio_negotiate_features(device_t dev, uint64_t child_features);
74 int virtio_alloc_virtqueues(device_t dev, int flags, int nvqs,
76 int virtio_setup_intr(device_t dev, enum intr_type type);
77 int virtio_with_feature(device_t dev, uint64_
[all...]
/freebsd-11-stable/sys/dev/mlx4/mlx4_core/
H A Dmlx4_cq.c39 #include <dev/mlx4/cmd.h>
40 #include <dev/mlx4/cq.h>
54 void mlx4_cq_completion(struct mlx4_dev *dev, u32 cqn) argument
58 cq = radix_tree_lookup(&mlx4_priv(dev)->cq_table.tree,
59 cqn & (dev->caps.num_cqs - 1));
61 mlx4_dbg(dev, "Completion event for bogus CQ %08x\n", cqn);
70 void mlx4_cq_event(struct mlx4_dev *dev, u32 cqn, int event_type) argument
72 struct mlx4_cq_table *cq_table = &mlx4_priv(dev)->cq_table;
77 cq = radix_tree_lookup(&cq_table->tree, cqn & (dev->caps.num_cqs - 1));
84 mlx4_warn(dev, "Asyn
94 mlx4_SW2HW_CQ(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *mailbox, int cq_num) argument
102 mlx4_MODIFY_CQ(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *mailbox, int cq_num, u32 opmod) argument
109 mlx4_HW2SW_CQ(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *mailbox, int cq_num) argument
117 mlx4_cq_modify(struct mlx4_dev *dev, struct mlx4_cq *cq, u16 count, u16 period) argument
139 mlx4_cq_resize(struct mlx4_dev *dev, struct mlx4_cq *cq, int entries, struct mlx4_mtt *mtt) argument
165 __mlx4_cq_alloc_icm(struct mlx4_dev *dev, int *cqn) argument
192 mlx4_cq_alloc_icm(struct mlx4_dev *dev, int *cqn) argument
211 __mlx4_cq_free_icm(struct mlx4_dev *dev, int cqn) argument
221 mlx4_cq_free_icm(struct mlx4_dev *dev, int cqn) argument
237 mlx4_cq_alloc(struct mlx4_dev *dev, int nent, struct mlx4_mtt *mtt, struct mlx4_uar *uar, u64 db_rec, struct mlx4_cq *cq, unsigned vector, int collapsed, int timestamp_en) argument
312 mlx4_cq_free(struct mlx4_dev *dev, struct mlx4_cq *cq) argument
339 mlx4_init_cq_table(struct mlx4_dev *dev) argument
357 mlx4_cleanup_cq_table(struct mlx4_dev *dev) argument
[all...]
/freebsd-11-stable/sys/dev/ocs_fc/
H A Docs_pci.c31 * $FreeBSD: stable/11/sys/dev/ocs_fc/ocs_pci.c 344014 2019-02-11 16:28:04Z ram $
48 #include <dev/pci/pcireg.h>
49 #include <dev/pci/pcivar.h>
82 * @param dev device abstraction
87 ocs_pci_probe(device_t dev) argument
91 if (pci_get_vendor(dev) != PCI_VENDOR_EMULEX) {
95 switch (pci_get_device(dev)) {
109 device_set_desc(dev, desc);
115 ocs_map_bars(device_t dev, struct ocs_softc *ocs) argument
123 ocs->reg[0].res = bus_alloc_resource_any(dev, SYS_RES_MEMOR
462 ocs_pci_attach(device_t dev) argument
622 ocs_pci_detach(device_t dev) argument
672 ocs_pci_shutdown(device_t dev) argument
[all...]
/freebsd-11-stable/sys/dev/agp/
H A Dagp_apple.c42 #include <dev/agp/agppriv.h>
43 #include <dev/agp/agpreg.h>
44 #include <dev/pci/pcivar.h>
45 #include <dev/pci/pcireg.h>
69 agp_apple_probe(device_t dev) argument
72 if (resource_disabled("agp", device_get_unit(dev)))
75 if (pci_get_class(dev) != PCIC_BRIDGE
76 || pci_get_subclass(dev) != PCIS_BRIDGE_HOST)
79 if (agp_find_caps(dev) == 0)
82 if (pci_get_class(dev) !
111 agp_apple_attach(device_t dev) argument
164 agp_apple_detach(device_t dev) argument
188 agp_apple_get_aperture(device_t dev) argument
196 agp_apple_set_aperture(device_t dev, uint32_t aperture) argument
219 agp_apple_bind_page(device_t dev, vm_offset_t offset, vm_offset_t physical) argument
231 agp_apple_unbind_page(device_t dev, vm_offset_t offset) argument
243 agp_apple_flush_tlb(device_t dev) argument
[all...]
/freebsd-11-stable/sys/dev/mthca/
H A Dmthca_cmd.h244 int mthca_cmd_init(struct mthca_dev *dev);
245 void mthca_cmd_cleanup(struct mthca_dev *dev);
246 int mthca_cmd_use_events(struct mthca_dev *dev);
247 void mthca_cmd_use_polling(struct mthca_dev *dev);
248 void mthca_cmd_event(struct mthca_dev *dev, u16 token,
251 struct mthca_mailbox *mthca_alloc_mailbox(struct mthca_dev *dev,
253 void mthca_free_mailbox(struct mthca_dev *dev, struct mthca_mailbox *mailbox);
255 int mthca_SYS_EN(struct mthca_dev *dev);
256 int mthca_SYS_DIS(struct mthca_dev *dev);
257 int mthca_MAP_FA(struct mthca_dev *dev, struc
[all...]
/freebsd-11-stable/sys/dev/bhnd/nvram/
H A Dbhnd_spromvar.h35 #include <dev/bhnd/bhnd.h>
40 int bhnd_sprom_probe(device_t dev);
41 int bhnd_sprom_attach(device_t dev, bus_size_t offset);
42 int bhnd_sprom_resume(device_t dev);
43 int bhnd_sprom_suspend(device_t dev);
44 int bhnd_sprom_detach(device_t dev);
58 device_t dev; /**< sprom parent device */ member in struct:bhnd_sprom
77 device_t dev; member in struct:bhnd_sprom_softc
/freebsd-11-stable/sys/dev/aic/
H A Daic_isa.c43 #include <dev/aic/aic6360reg.h>
44 #include <dev/aic/aicvar.h>
71 aic_isa_alloc_resources(device_t dev) argument
73 struct aic_isa_softc *sc = device_get_softc(dev);
79 sc->sc_port = bus_alloc_resource_anywhere(dev, SYS_RES_IOPORT, &rid,
82 device_printf(dev, "I/O port allocation failed\n");
86 if (isa_get_irq(dev) != -1) {
88 sc->sc_irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid,
91 device_printf(dev, "IRQ allocation failed\n");
92 aic_isa_release_resources(dev);
115 aic_isa_release_resources(device_t dev) argument
130 aic_isa_probe(device_t dev) argument
175 aic_isa_attach(device_t dev) argument
205 aic_isa_detach(device_t dev) argument
[all...]
H A Daic_pccard.c42 #include <dev/aic/aicvar.h>
43 #include <dev/pccard/pccardvar.h>
72 aic_pccard_alloc_resources(device_t dev) argument
74 struct aic_pccard_softc *sc = device_get_softc(dev);
80 sc->sc_port = bus_alloc_resource_anywhere(dev, SYS_RES_IOPORT, &rid,
86 sc->sc_irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, RF_ACTIVE);
88 aic_pccard_release_resources(dev);
92 sc->sc_aic.dev = dev;
99 aic_pccard_release_resources(device_t dev) argument
112 aic_pccard_probe(device_t dev) argument
129 aic_pccard_attach(device_t dev) argument
160 aic_pccard_detach(device_t dev) argument
[all...]
/freebsd-11-stable/sys/dev/altera/pio/
H A Dpio.c48 #include <dev/fdt/fdt_common.h>
49 #include <dev/ofw/openfirm.h>
50 #include <dev/ofw/ofw_bus.h>
51 #include <dev/ofw/ofw_bus_subr.h>
57 #include <dev/altera/pio/pio.h>
71 device_t dev; member in struct:pio_softc
82 pio_setup_irq(device_t dev, void *intr_handler, void *ih_user) argument
86 sc = device_get_softc(dev);
89 if (bus_setup_intr(sc->dev, sc->res[1], INTR_TYPE_BIO | INTR_MPSAFE,
91 device_printf(sc->dev, "Unabl
99 pio_teardown_irq(device_t dev) argument
111 pio_read(device_t dev) argument
121 pio_set(device_t dev, int bit, int enable) argument
136 pio_configure(device_t dev, int dir, int mask) argument
149 pio_probe(device_t dev) argument
163 pio_attach(device_t dev) argument
[all...]
/freebsd-11-stable/sys/dev/atkbdc/
H A Datkbdreg.h42 int atkbd_probe_unit(device_t dev, int irq, int flags);
43 int atkbd_attach_unit(device_t dev, keyboard_t **kbd, int irq, int flags);
/freebsd-11-stable/lib/msun/tests/
H A Dlround_test.t8 make $executable 2>&1 > /dev/null
/freebsd-11-stable/release/picobsd/floppy.tree/etc/ppp/
H A Dppp.conf5 set device /dev/cuau1
/freebsd-11-stable/gnu/usr.bin/grep/tests/
H A Dbackref.sh11 echo "radar" | ${GREP} -e '\(.\)\(.\).\2\1' > /dev/null 2>&1
18 echo "civic" | ${GREP} -E -e '^(.?)(.?)(.?)(.?)(.?)(.?)(.?)(.?)(.?).?\9\8\7\6\5\4\3\2\1$' > /dev/null 2>&1
25 echo "123" | ${GREP} -e 'a\(.\)' -e 'b\1' > /dev/null 2>&1
32 echo "123" | ${GREP} -e '[' -e ']' > /dev/null 2>&1
/freebsd-11-stable/lib/libc/gen/
H A Ddevname.c46 devname_r(dev_t dev, mode_t type, char *buf, int len) argument
51 if (dev == NODEV || !(S_ISCHR(type) || S_ISBLK(dev))) {
58 i = sysctlbyname("kern.devname", buf, &j, &dev, sizeof (dev));
65 S_ISCHR(type) ? 'C' : 'B', (uintmax_t)dev);
70 devname(dev_t dev, mode_t type) argument
74 return (devname_r(dev, type, buf, sizeof(buf)));
/freebsd-11-stable/sys/powerpc/cpufreq/
H A Dpmufreq.c39 #include <dev/ofw/ofw_bus.h>
40 #include <dev/ofw/openfirm.h>
46 device_t dev; member in struct:pmufreq_softc
53 static int pmufreq_probe(device_t dev);
54 static int pmufreq_attach(device_t dev);
55 static int pmufreq_settings(device_t dev, struct cf_setting *sets, int *count);
56 static int pmufreq_set(device_t dev, const struct cf_setting *set);
57 static int pmufreq_get(device_t dev, struct cf_setting *set);
58 static int pmufreq_type(device_t dev, int *type);
107 pmufreq_probe(device_t dev) argument
129 pmufreq_attach(device_t dev) argument
150 pmufreq_settings(device_t dev, struct cf_setting *sets, int *count) argument
174 pmufreq_set(device_t dev, const struct cf_setting *set) argument
197 pmufreq_get(device_t dev, struct cf_setting *set) argument
212 pmufreq_type(device_t dev, int *type) argument
[all...]
/freebsd-11-stable/tests/sys/geom/class/concat/
H A D1_test.sh12 gconcat create $name /dev/$us0 /dev/$us1 /dev/$us2 || exit 1
17 size=`diskinfo /dev/concat/${name} | awk '{print $3}'`
/freebsd-11-stable/tests/sys/geom/class/mirror/
H A D1_test.sh12 gmirror label $name /dev/$us0 /dev/$us1 /dev/$us2 || exit 1
17 size=`diskinfo /dev/mirror/${name} | awk '{print $3}'`
/freebsd-11-stable/tests/sys/geom/class/stripe/
H A D1_test.sh12 gstripe create -s 16384 $name /dev/$us0 /dev/$us1 /dev/$us2 || exit 1
17 size=`diskinfo /dev/stripe/${name} | awk '{print $3}'`
/freebsd-11-stable/tools/regression/include/tgmath/
H A Dtgmath.t8 make $executable 2>&1 > /dev/null
/freebsd-11-stable/tools/regression/netinet/ipsockopt/
H A Dipsockopt.t8 make $executable 2>&1 > /dev/null
/freebsd-11-stable/tools/regression/sockets/accept_fd_leak/
H A Daccept_fd_leak.t8 make $executable 2>&1 > /dev/null
/freebsd-11-stable/tools/regression/sockets/accf_data_attach/
H A Daccf_data_attach.t8 make $executable 2>&1 > /dev/null
/freebsd-11-stable/tools/regression/sockets/kqueue/
H A Dkqueue.t8 make $executable 2>&1 > /dev/null

Completed in 183 milliseconds

1234567891011>>