Searched refs:dev (Results 251 - 275 of 6728) sorted by relevance

<<11121314151617181920>>

/freebsd-12-stable/sys/powerpc/powermac/
H A Dvcoregpio.c42 #include <dev/ofw/ofw_bus.h>
43 #include <dev/ofw/openfirm.h>
70 vcoregpio_probe(device_t dev) argument
72 const char *name = ofw_bus_get_name(dev);
77 device_set_desc(dev, "CPU Core Voltage Control");
82 vcoregpio_attach(device_t dev) argument
84 EVENTHANDLER_REGISTER(cpufreq_pre_change, vcoregpio_pre_change, dev,
86 EVENTHANDLER_REGISTER(cpufreq_post_change, vcoregpio_post_change, dev,
93 vcoregpio_pre_change(device_t dev, const struct cf_level *level) argument
100 macgpio_write(dev, GPIO_DDR_OUTPU
106 vcoregpio_post_change(device_t dev, const struct cf_level *level) argument
[all...]
/freebsd-12-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-12-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}'`
H A D7_test.sh18 dd if=/dev/random of=${src} bs=$ddbs count=$nblocks2 >/dev/null 2>&1
20 graid3 label $name /dev/${us0} /dev/${us1} /dev/${us2} || exit 1
23 dd if=${src} of=/dev/raid3/${name} bs=$ddbs count=$nblocks2 >/dev/null 2>&1
29 dd if=/dev/zero of=/dev/${us2} bs=512 count=`expr $nblocks1 + 1` >/dev/nul
[all...]
H A D9_test.sh18 dd if=/dev/random of=${src} bs=$ddbs count=$nblocks2 >/dev/null 2>&1
20 graid3 label $name /dev/${us0} /dev/${us1} /dev/${us2} || exit 1
27 dd if=/dev/zero of=/dev/${us2} bs=512 count=`expr $nblocks1 + 1` >/dev/null 2>&1
28 dd if=${src} of=/dev/raid3/${name} bs=$ddbs count=$nblocks2 >/dev/nul
[all...]
/freebsd-12-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-12-stable/libexec/rc/rc.d/
H A Dpowerd21 sysctl dev.cpu.0.freq=`sysctl -n dev.cpu.0.freq_levels |
22 sed -e 's:/.*::'` > /dev/null
/freebsd-12-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-12-stable/crypto/openssh/regress/
H A Dagent-timeout.sh9 eval `${SSHAGENT} -s` > /dev/null
16 ${SSHADD} -t ${SSHAGENT_TIMEOUT} $OBJ/$t > /dev/null 2>&1
21 n=`${SSHADD} -l 2> /dev/null | wc -l`
29 ${SSHADD} -l 2> /dev/null | grep 'The agent has no identities.' >/dev/null
35 ${SSHAGENT} -k > /dev/null
/freebsd-12-stable/sbin/fdisk/
H A Druntest.sh6 if [ ! -c /dev/${MD} ] ; then
14 dd if=/dev/zero of=tmp count=1 > /dev/null 2>&1
15 ./fdisk -b tmp -I $MD > /dev/null 2>&1
18 c=`dd if=/dev/${MD} count=1 2>/dev/null | md5`
/freebsd-12-stable/usr.sbin/diskinfo/
H A DMakefile11 ./${PROG} /dev/ad4 md50
12 ./${PROG} -v /dev/ad4 md50
13 ./${PROG} -t /dev/ad4
/freebsd-12-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-12-stable/sys/kern/
H A Dsubr_bus.c76 SYSCTL_ROOT_NODE(OID_AUTO, dev, CTLFLAG_RW, NULL, NULL);
178 static void print_device_short(device_t dev, int indent);
179 static void print_device(device_t dev, int indent);
180 void print_device_tree_short(device_t dev, int indent);
181 void print_device_tree(device_t dev, int indent);
209 * dev sysctl tree
259 device_t dev = (device_t)arg1; local
267 value = dev->desc ? dev->desc : "";
270 value = dev
293 device_sysctl_init(device_t dev) argument
333 device_sysctl_update(device_t dev) argument
343 device_sysctl_fini(device_t dev) argument
447 devopen(struct cdev *dev, int oflags, int devtype, struct thread *td) argument
462 devclose(struct cdev *dev, int fflag, int devtype, struct thread *td) argument
484 devread(struct cdev *dev, struct uio *uio, int ioflag) argument
515 devioctl(struct cdev *dev, u_long cmd, caddr_t data, int fflag, struct thread *td) argument
548 devpoll(struct cdev *dev, int events, struct thread *td) argument
565 devkqfilter(struct cdev *dev, struct knote *kn) argument
719 devaddq(const char *type, const char *what, device_t dev) argument
773 devadded(device_t dev) argument
783 devremoved(device_t dev) argument
796 devnomatch(device_t dev) argument
1207 device_t dev; local
1337 device_t dev; local
1442 device_t dev; local
1640 devclass_alloc_unit(devclass_t dc, device_t dev, int *unitp) argument
1649 BUS_HINT_DEVICE_UNIT(device_get_parent(dev), dev, dc->name, local
1725 devclass_add_device(devclass_t dc, device_t dev) argument
1763 devclass_delete_device(devclass_t dc, device_t dev) argument
1797 device_t dev; local
1856 device_print_child(device_t dev, device_t child) argument
1885 device_add_child(device_t dev, const char *name, int unit) argument
1911 device_add_child_ordered(device_t dev, u_int order, const char *name, int unit) argument
1963 device_delete_child(device_t dev, device_t child) argument
2007 device_delete_children(device_t dev) argument
2041 device_find_child(device_t dev, const char *classname, int unit) argument
2068 first_matching_driver(devclass_t dc, device_t dev) argument
2079 next_matching_driver(devclass_t dc, device_t dev, driverlink_t last) argument
2095 device_probe_child(device_t dev, device_t child) argument
2274 device_get_parent(device_t dev) argument
2296 device_get_children(device_t dev, device_t **devlistp, int *devcountp) argument
2333 device_get_driver(device_t dev) argument
2343 device_get_devclass(device_t dev) argument
2353 device_get_name(device_t dev) argument
2366 device_get_nameunit(device_t dev) argument
2375 device_get_unit(device_t dev) argument
2384 device_get_desc(device_t dev) argument
2393 device_get_flags(device_t dev) argument
2399 device_get_sysctl_ctx(device_t dev) argument
2405 device_get_sysctl_tree(device_t dev) argument
2416 device_print_prettyname(device_t dev) argument
2433 device_printf(device_t dev, const char * fmt, ...) argument
2449 device_set_desc_internal(device_t dev, const char* desc, int copy) argument
2479 device_set_desc(device_t dev, const char* desc) argument
2491 device_set_desc_copy(device_t dev, const char* desc) argument
2500 device_set_flags(device_t dev, uint32_t flags) argument
2512 device_get_softc(device_t dev) argument
2524 device_set_softc(device_t dev, void *softc) argument
2556 device_claim_softc(device_t dev) argument
2572 device_get_ivars(device_t dev) argument
2583 device_set_ivars(device_t dev, void * ivars) argument
2594 device_get_state(device_t dev) argument
2603 device_enable(device_t dev) argument
2612 device_disable(device_t dev) argument
2621 device_busy(device_t dev) argument
2636 device_unbusy(device_t dev) argument
2655 device_quiet(device_t dev) argument
2664 device_quiet_children(device_t dev) argument
2673 device_verbose(device_t dev) argument
2682 device_has_quiet_children(device_t dev) argument
2691 device_is_quiet(device_t dev) argument
2700 device_is_enabled(device_t dev) argument
2709 device_is_alive(device_t dev) argument
2719 device_is_attached(device_t dev) argument
2728 device_is_suspended(device_t dev) argument
2738 device_set_devclass(device_t dev, const char *classname) argument
2769 device_set_devclass_fixed(device_t dev, const char *classname) argument
2791 device_set_driver(device_t dev, driver_t *driver) argument
2861 device_probe(device_t dev) argument
2895 device_probe_and_attach(device_t dev) argument
2933 device_attach(device_t dev) argument
2996 device_detach(device_t dev) argument
3052 device_quiesce(device_t dev) argument
3073 device_shutdown(device_t dev) argument
3087 device_set_unit(device_t dev, int unit) argument
3670 bus_generic_add_child(device_t dev, u_int order, const char *name, int unit) argument
3685 bus_generic_probe(device_t dev) argument
3716 bus_generic_attach(device_t dev) argument
3735 bus_delayed_attach_children(device_t dev) argument
3751 bus_generic_detach(device_t dev) argument
3779 bus_generic_shutdown(device_t dev) argument
3800 bus_generic_suspend_child(device_t dev, device_t child) argument
3818 bus_generic_resume_child(device_t dev, device_t child) argument
3837 bus_generic_suspend(device_t dev) argument
3870 bus_generic_resume(device_t dev) argument
3893 bus_helper_reset_post(device_t dev, int flags) argument
3911 bus_helper_reset_prepare_rollback(device_t dev, device_t child, int flags) argument
3938 bus_helper_reset_prepare(device_t dev, int flags) argument
3980 bus_print_child_header(device_t dev, device_t child) argument
4003 bus_print_child_footer(device_t dev, device_t child) argument
4016 bus_print_child_domain(device_t dev, device_t child) argument
4036 bus_generic_print_child(device_t dev, device_t child) argument
4053 bus_generic_read_ivar(device_t dev, device_t child, int index, uintptr_t * result) argument
4065 bus_generic_write_ivar(device_t dev, device_t child, int index, uintptr_t value) argument
4077 bus_generic_get_resource_list(device_t dev, device_t child) argument
4090 bus_generic_driver_added(device_t dev, driver_t *driver) argument
4113 bus_generic_new_pass(device_t dev) argument
4139 bus_generic_setup_intr(device_t dev, device_t child, struct resource *irq, int flags, driver_filter_t *filter, driver_intr_t *intr, void *arg, void **cookiep) argument
4157 bus_generic_teardown_intr(device_t dev, device_t child, struct resource *irq, void *cookie) argument
4173 bus_generic_suspend_intr(device_t dev, device_t child, struct resource *irq) argument
4188 bus_generic_resume_intr(device_t dev, device_t child, struct resource *irq) argument
4203 bus_generic_adjust_resource(device_t dev, device_t child, int type, struct resource *r, rman_res_t start, rman_res_t end) argument
4220 bus_generic_alloc_resource(device_t dev, device_t child, int type, int *rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) argument
4237 bus_generic_release_resource(device_t dev, device_t child, int type, int rid, struct resource *r) argument
4254 bus_generic_activate_resource(device_t dev, device_t child, int type, int rid, struct resource *r) argument
4271 bus_generic_deactivate_resource(device_t dev, device_t child, int type, int rid, struct resource *r) argument
4288 bus_generic_map_resource(device_t dev, device_t child, int type, struct resource *r, struct resource_map_request *args, struct resource_map *map) argument
4306 bus_generic_unmap_resource(device_t dev, device_t child, int type, struct resource *r, struct resource_map *map) argument
4322 bus_generic_bind_intr(device_t dev, device_t child, struct resource *irq, int cpu) argument
4339 bus_generic_config_intr(device_t dev, int irq, enum intr_trigger trig, enum intr_polarity pol) argument
4356 bus_generic_describe_intr(device_t dev, device_t child, struct resource *irq, void *cookie, const char *descr) argument
4374 bus_generic_get_cpus(device_t dev, device_t child, enum cpu_sets op, size_t setsize, cpuset_t *cpuset) argument
4391 bus_generic_get_dma_tag(device_t dev, device_t child) argument
4407 bus_generic_get_bus_tag(device_t dev, device_t child) argument
4425 bus_generic_rl_get_resource(device_t dev, device_t child, int type, int rid, rman_res_t *startp, rman_res_t *countp) argument
4456 bus_generic_rl_set_resource(device_t dev, device_t child, int type, int rid, rman_res_t start, rman_res_t count) argument
4479 bus_generic_rl_delete_resource(device_t dev, device_t child, int type, int rid) argument
4500 bus_generic_rl_release_resource(device_t dev, device_t child, int type, int rid, struct resource *r) argument
4524 bus_generic_rl_alloc_resource(device_t dev, device_t child, int type, int *rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) argument
4548 bus_generic_child_present(device_t dev, device_t child) argument
4554 bus_generic_get_domain(device_t dev, device_t child, int *domain) argument
4570 bus_null_rescan(device_t dev) argument
4585 bus_alloc_resources(device_t dev, struct resource_spec *rs, struct resource **res) argument
4604 bus_release_resources(device_t dev, const struct resource_spec *rs, struct resource **res) argument
4624 bus_alloc_resource(device_t dev, int type, int *rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) argument
4643 bus_adjust_resource(device_t dev, int type, struct resource *r, rman_res_t start, rman_res_t end) argument
4658 bus_activate_resource(device_t dev, int type, int rid, struct resource *r) argument
4672 bus_deactivate_resource(device_t dev, int type, int rid, struct resource *r) argument
4686 bus_map_resource(device_t dev, int type, struct resource *r, struct resource_map_request *args, struct resource_map *map) argument
4701 bus_unmap_resource(device_t dev, int type, struct resource *r, struct resource_map *map) argument
4716 bus_release_resource(device_t dev, int type, int rid, struct resource *r) argument
4733 bus_setup_intr(device_t dev, struct resource *r, int flags, driver_filter_t filter, driver_intr_t handler, void *arg, void **cookiep) argument
4756 bus_teardown_intr(device_t dev, struct resource *r, void *cookie) argument
4770 bus_suspend_intr(device_t dev, struct resource *r) argument
4784 bus_resume_intr(device_t dev, struct resource *r) argument
4798 bus_bind_intr(device_t dev, struct resource *r, int cpu) argument
4813 bus_describe_intr(device_t dev, struct resource *irq, void *cookie, const char *fmt, ...) argument
4834 bus_set_resource(device_t dev, int type, int rid, rman_res_t start, rman_res_t count) argument
4848 bus_get_resource(device_t dev, int type, int rid, rman_res_t *startp, rman_res_t *countp) argument
4862 bus_get_resource_start(device_t dev, int type, int rid) argument
4882 bus_get_resource_count(device_t dev, int type, int rid) argument
4902 bus_delete_resource(device_t dev, int type, int rid) argument
4904 BUS_DELETE_RESOURCE(device_get_parent(dev), dev, type, rid); local
4964 bus_get_cpus(device_t dev, enum cpu_sets op, size_t setsize, cpuset_t *cpuset) argument
4981 bus_get_dma_tag(device_t dev) argument
4998 bus_get_bus_tag(device_t dev) argument
5015 bus_get_domain(device_t dev, int *domain) argument
5022 root_resume(device_t dev) argument
5035 root_print_child(device_t dev, device_t child) argument
5046 root_setup_intr(device_t dev, device_t child, struct resource *irq, int flags, driver_filter_t *filter, driver_intr_t *intr, void *arg, void **cookiep) argument
5063 root_child_present(device_t dev, device_t child) argument
5069 root_get_cpus(device_t dev, device_t child, enum cpu_sets op, size_t setsize, cpuset_t *cpuset) argument
5262 print_device_short(device_t dev, int indent) argument
5283 print_device(device_t dev, int indent) argument
5299 print_device_tree_short(device_t dev, int indent) argument
5315 print_device_tree(device_t dev, int indent) argument
5443 device_t dev; local
5529 bus_free_resource(device_t dev, int type, struct resource *r) argument
5539 device_t dev; local
5556 device_t dev; local
5596 device_gen_nomatch(device_t dev) argument
5647 device_t dev; local
5955 _gone_in_dev(device_t dev, int major, const char *msg) argument
5971 device_t dev; local
5989 device_t dev; local
[all...]
/freebsd-12-stable/sys/dev/mii/
H A Dmii_bitbang.c46 #include <dev/mii/mii.h>
47 #include <dev/mii/mii_bitbang.h>
51 static void mii_bitbang_sendbits(device_t dev, mii_bitbang_ops_t ops,
56 ops->mbo_write(dev, (x)); \
60 #define MREAD ops->mbo_read(dev)
74 mii_bitbang_sync(device_t dev, mii_bitbang_ops_t ops) argument
94 mii_bitbang_sendbits(device_t dev, mii_bitbang_ops_t ops, uint32_t data, argument
120 mii_bitbang_readreg(device_t dev, mii_bitbang_ops_t ops, int phy, int reg) argument
124 mii_bitbang_sync(dev, ops);
126 mii_bitbang_sendbits(dev, op
168 mii_bitbang_writereg(device_t dev, mii_bitbang_ops_t ops, int phy, int reg, int val) argument
[all...]
/freebsd-12-stable/sys/dev/sbni/
H A Dif_sbni_isa.c50 #include <dev/sbni/if_sbnireg.h>
51 #include <dev/sbni/if_sbnivar.h>
75 sbni_probe_isa(device_t dev) argument
80 error = ISA_PNP_PROBE(device_get_parent(dev), dev, sbni_ids);
84 sc = device_get_softc(dev);
86 sc->io_res = bus_alloc_resource_anywhere(dev, SYS_RES_IOPORT,
99 device_set_desc(dev, "Granch SBNI12/ISA adapter");
105 sbni_attach_isa(device_t dev) argument
111 sc = device_get_softc(dev);
[all...]
/freebsd-12-stable/sys/dev/altera/atse/
H A Dif_atse_nexus.c54 #include <dev/mii/mii.h>
55 #include <dev/mii/miivar.h>
57 #include <dev/altera/atse/if_atsereg.h>
70 atse_resource_int(device_t dev, const char *resname, int *v) argument
74 error = resource_int_value(device_get_name(dev), device_get_unit(dev),
78 device_printf(dev, "could not fetch '%s' hint\n", resname);
86 atse_resource_long(device_t dev, const char *resname, long *v) argument
90 error = resource_long_value(device_get_name(dev), device_get_unit(dev),
102 atse_probe_nexus(device_t dev) argument
111 atse_attach_nexus(device_t dev) argument
[all...]
/freebsd-12-stable/sys/arm/annapurna/alpine/
H A Dalpine_pci.c44 #include <dev/ofw/openfirm.h>
45 #include <dev/ofw/ofw_bus.h>
46 #include <dev/ofw/ofw_bus_subr.h>
47 #include <dev/pci/pci_host_generic.h>
48 #include <dev/pci/pci_host_generic_fdt.h>
49 #include <dev/pci/pcivar.h>
50 #include <dev/pci/pcireg.h>
91 al_pcib_probe(device_t dev) argument
94 if (!ofw_bus_status_okay(dev))
97 if (!ofw_bus_search_compatible(dev, compat_dat
106 al_pcib_attach(device_t dev) argument
120 al_pcib_fixup(device_t dev) argument
[all...]
/freebsd-12-stable/sys/arm/mv/
H A Dmv_ts.c41 #include <dev/ofw/ofw_bus.h>
42 #include <dev/ofw/ofw_bus_subr.h>
58 ts_probe(device_t dev) argument
62 if (!ofw_bus_status_okay(dev))
65 if (!ofw_bus_is_compatible(dev, "mrvl,ts"))
72 device_printf(dev, "unsupported SoC (ID: 0x%08X)!\n", d);
75 device_set_desc(dev, "Marvell Thermal Sensor");
99 device_t dev; local
104 dev = (device_t)arg1;
105 sc = device_get_softc(dev);
138 ts_attach(device_t dev) argument
160 ts_detach(device_t dev) argument
[all...]
/freebsd-12-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
121 drm_set_busid(struct drm_device *dev) argument
146 drm_getmap(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
182 drm_getclient(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
209 drm_getstats(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
237 drm_setversion(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
282 drm_noop(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
[all...]
/freebsd-12-stable/sys/dev/if_ndis/
H A Dif_ndis_pci.c60 #include <dev/pci/pcireg.h>
61 #include <dev/pci/pcivar.h>
62 #include <dev/usb/usb.h>
63 #include <dev/usb/usbdi.h>
70 #include <dev/if_ndis/if_ndisvar.h>
113 ndis_devcompare(bustype, t, dev)
116 device_t dev;
124 vid = pci_get_vendor(dev);
125 did = pci_get_device(dev);
126 subsys = pci_get_subdevice(dev);
[all...]
/freebsd-12-stable/sys/dev/ata/
H A Data-pci.c47 #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>
62 ata_pci_probe(device_t dev) argument
64 struct ata_pci_controller *ctlr = device_get_softc(dev);
68 if (pci_get_class(dev) != PCIC_STORAGE)
72 if (pci_get_subclass(dev) != PCIS_STORAGE_IDE)
75 sprintf(buffer, "%s ATA controller", ata_pcivendor2str(dev));
76 device_set_desc_copy(dev, buffe
84 ata_pci_attach(device_t dev) argument
138 ata_pci_detach(device_t dev) argument
172 ata_pci_suspend(device_t dev) argument
184 ata_pci_resume(device_t dev) argument
196 ata_pci_read_ivar(device_t dev, device_t child, int which, uintptr_t *result) argument
203 ata_pci_write_ivar(device_t dev, device_t child, int which, uintptr_t value) argument
210 ata_pci_read_config(device_t dev, device_t child, int reg, int width) argument
217 ata_pci_write_config(device_t dev, device_t child, int reg, uint32_t val, int width) argument
225 ata_pci_alloc_resource(device_t dev, device_t child, int type, int *rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) argument
286 ata_pci_release_resource(device_t dev, device_t child, int type, int rid, struct resource *r) argument
331 ata_pci_setup_intr(device_t dev, device_t child, struct resource *irq, int flags, driver_filter_t *filter, driver_intr_t *function, void *argument, void **cookiep) argument
360 ata_pci_teardown_intr(device_t dev, device_t child, struct resource *irq, void *cookie) argument
382 ata_generic_setmode(device_t dev, int target, int mode) argument
389 ata_generic_chipinit(device_t dev) argument
400 ata_pci_ch_attach(device_t dev) argument
439 ata_pci_ch_detach(device_t dev) argument
454 ata_pci_status(device_t dev) argument
479 ata_pci_hw(device_t dev) argument
522 ata_pci_dmareset(device_t dev) argument
538 ata_pci_dmainit(device_t dev) argument
549 ata_pci_dmafini(device_t dev) argument
556 ata_pci_print_child(device_t dev, device_t child) argument
569 ata_pci_child_location_str(device_t dev, device_t child, char *buf, size_t buflen) argument
625 ata_pcichannel_probe(device_t dev) argument
636 ata_pcichannel_attach(device_t dev) argument
659 ata_pcichannel_detach(device_t dev) argument
678 ata_pcichannel_suspend(device_t dev) argument
697 ata_pcichannel_resume(device_t dev) argument
713 ata_pcichannel_reset(device_t dev) argument
730 ata_pcichannel_setmode(device_t dev, int target, int mode) argument
741 ata_pcichannel_getrev(device_t dev, int target) argument
784 ata_legacy(device_t dev) argument
812 ata_setup_interrupt(device_t dev, void *intr_func) argument
848 ata_set_desc(device_t dev) argument
860 ata_match_chip(device_t dev, const struct ata_chip_id *index) argument
876 ata_find_chip(device_t dev, const struct ata_chip_id *index, int slot) argument
901 ata_pcivendor2str(device_t dev) argument
[all...]
/freebsd-12-stable/sys/dev/gem/
H A Dif_gem_sbus.c54 #include <dev/ofw/ofw_bus.h>
62 #include <dev/gem/if_gemreg.h>
63 #include <dev/gem/if_gemvar.h>
102 gem_sbus_probe(device_t dev) argument
105 if (strcmp(ofw_bus_get_name(dev), "network") == 0 &&
106 ofw_bus_get_compat(dev) != NULL &&
107 strcmp(ofw_bus_get_compat(dev), "SUNW,sbus-gem") == 0) {
108 device_set_desc(dev, "Sun GEM Gigabit Ethernet");
123 gem_sbus_attach(device_t dev) argument
129 sc = device_get_softc(dev);
184 gem_sbus_detach(device_t dev) argument
197 gem_sbus_suspend(device_t dev) argument
205 gem_sbus_resume(device_t dev) argument
[all...]
/freebsd-12-stable/sys/dev/pcf/
H A Denvctrl.c53 #include <dev/ofw/ofw_bus.h>
60 #include <dev/iicbus/iicbus.h>
61 #include <dev/iicbus/iiconf.h>
62 #include <dev/pcf/pcfvar.h>
98 envctrl_probe(device_t dev) argument
101 if (strcmp("SUNW,envctrl", ofw_bus_get_name(dev)) == 0) {
102 device_set_desc(dev, "EBus SUNW,envctrl");
109 envctrl_attach(device_t dev) argument
114 sc = DEVTOSOFTC(dev);
115 mtx_init(&sc->pcf_lock, device_get_nameunit(dev), "pc
169 envctrl_detach(device_t dev) argument
[all...]
/freebsd-12-stable/sys/dev/mlx4/mlx4_core/
H A Dmlx4_sense.c37 #include <dev/mlx4/cmd.h>
41 int mlx4_SENSE_PORT(struct mlx4_dev *dev, int port, argument
47 err = mlx4_cmd_imm(dev, 0, &out_param, port, 0,
51 mlx4_err(dev, "Sense command failed for port: %d\n", port);
56 mlx4_err(dev, "Sense returned illegal value: 0x%llx\n", (long long)out_param);
64 void mlx4_do_sense_ports(struct mlx4_dev *dev, argument
68 struct mlx4_sense *sense = &mlx4_priv(dev)->sense;
72 for (i = 1; i <= dev->caps.num_ports; i++) {
75 dev->caps.possible_type[i] == MLX4_PORT_TYPE_AUTO) {
76 err = mlx4_SENSE_PORT(dev,
96 struct mlx4_dev *dev = sense->dev; local
119 mlx4_start_sense(struct mlx4_dev *dev) argument
134 mlx4_stop_sense(struct mlx4_dev *dev) argument
146 mlx4_sense_init(struct mlx4_dev *dev) argument
[all...]
/freebsd-12-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 247 milliseconds

<<11121314151617181920>>