Searched refs:dev (Results 651 - 675 of 6298) sorted by relevance

<<21222324252627282930>>

/freebsd-11-stable/sys/x86/cpufreq/
H A Dhwpstate.c64 #include <contrib/dev/acpica/include/acpi.h>
66 #include <dev/acpica/acpivar.h>
90 #define HWPSTATE_DEBUG(dev, msg...) \
93 device_printf(dev, msg); \
105 device_t dev; member in struct:hwpstate_softc
111 static int hwpstate_probe(device_t dev);
112 static int hwpstate_attach(device_t dev);
113 static int hwpstate_detach(device_t dev);
114 static int hwpstate_set(device_t dev, const struct cf_setting *cf);
115 static int hwpstate_get(device_t dev, struc
165 hwpstate_goto_pstate(device_t dev, int id) argument
231 hwpstate_set(device_t dev, const struct cf_setting *cf) argument
251 hwpstate_get(device_t dev, struct cf_setting *cf) argument
274 hwpstate_settings(device_t dev, struct cf_setting *sets, int *count) argument
299 hwpstate_type(device_t dev, int *type) argument
335 hwpstate_probe(device_t dev) argument
406 hwpstate_attach(device_t dev) argument
413 hwpstate_get_info_from_msr(device_t dev) argument
470 hwpstate_get_info_from_acpi_perf(device_t dev, device_t perf_dev) argument
515 hwpstate_detach(device_t dev) argument
523 hwpstate_shutdown(device_t dev) argument
[all...]
/freebsd-11-stable/sys/arm/mv/
H A Drtc.c48 #include <dev/ofw/ofw_bus.h>
49 #include <dev/ofw/ofw_bus_subr.h>
58 device_t dev; member in struct:mv_rtc_softc
67 static int mv_rtc_probe(device_t dev);
68 static int mv_rtc_attach(device_t dev);
70 static int mv_rtc_gettime(device_t dev, struct timespec *ts);
71 static int mv_rtc_settime(device_t dev, struct timespec *ts);
97 mv_rtc_probe(device_t dev) argument
100 if (!ofw_bus_status_okay(dev))
103 if (!ofw_bus_is_compatible(dev, "mrv
111 mv_rtc_attach(device_t dev) argument
129 mv_rtc_gettime(device_t dev, struct timespec *ts) argument
155 mv_rtc_settime(device_t dev, struct timespec *ts) argument
[all...]
/freebsd-11-stable/sys/arm/samsung/exynos/
H A Dchrome_ec_spi.c46 #include <dev/ofw/openfirm.h>
47 #include <dev/ofw/ofw_bus.h>
48 #include <dev/ofw/ofw_bus_subr.h>
54 #include <dev/spibus/spi.h>
55 #include <dev/spibus/spibusvar.h>
63 device_t dev; member in struct:ec_softc
77 device_printf(sc->dev, "Error: failed to get the GPIO dev\n");
93 ec_probe(device_t dev) argument
96 device_set_desc(dev, "Chromeboo
189 ec_attach(device_t dev) argument
202 ec_detach(device_t dev) argument
[all...]
H A Dexynos5_pmu.c45 #include <dev/ofw/openfirm.h>
46 #include <dev/ofw/ofw_bus.h>
47 #include <dev/ofw/ofw_bus_subr.h>
71 device_t dev; member in struct:pmu_softc
89 pmu_probe(device_t dev) argument
92 if (!ofw_bus_status_okay(dev))
95 if (ofw_bus_search_compatible(dev, compat_data)->ocd_data != 0) {
96 device_set_desc(dev, "Samsung Exynos 5 Power Management Unit");
143 pmu_attach(device_t dev) argument
147 sc = device_get_softc(dev);
[all...]
/freebsd-11-stable/sys/arm/amlogic/aml8726/
H A Daml8726_ccm.c48 #include <dev/fdt/fdt_common.h>
49 #include <dev/ofw/ofw_bus.h>
50 #include <dev/ofw/ofw_bus_subr.h>
57 device_t dev; member in struct:aml8726_ccm_softc
71 mtx_init(&(sc)->mtx, device_get_nameunit((sc)->dev), \
89 node = ofw_bus_get_node(sc->dev);
95 device_printf(sc->dev, "missing functions attribute in FDT\n");
108 device_printf(sc->dev,
150 aml8726_ccm_probe(device_t dev) argument
153 if (!ofw_bus_status_okay(dev))
165 aml8726_ccm_attach(device_t dev) argument
201 aml8726_ccm_detach(device_t dev) argument
[all...]
/freebsd-11-stable/sys/mips/atheros/
H A Dpcf2123_rtc.c44 #include <dev/spibus/spi.h>
53 device_t dev; member in struct:pcf2123_rtc_softc
56 static int pcf2123_rtc_probe(device_t dev);
57 static int pcf2123_rtc_attach(device_t dev);
59 static int pcf2123_rtc_gettime(device_t dev, struct timespec *ts);
60 static int pcf2123_rtc_settime(device_t dev, struct timespec *ts);
63 pcf2123_rtc_probe(device_t dev) argument
66 device_set_desc(dev, "PCF2123 SPI RTC");
71 pcf2123_rtc_attach(device_t dev) argument
79 sc = device_get_softc(dev);
101 pcf2123_rtc_gettime(device_t dev, struct timespec *ts) argument
141 pcf2123_rtc_settime(device_t dev, struct timespec *ts) argument
[all...]
/freebsd-11-stable/sys/mips/mediatek/
H A Dmtk_sysctl.c43 #include <dev/ofw/openfirm.h>
44 #include <dev/ofw/ofw_bus.h>
45 #include <dev/ofw/ofw_bus_subr.h>
49 #include <dev/fdt/fdt_common.h>
52 device_t dev; member in struct:mtk_sysctl_softc
76 mtx_init(&(sc)->mtx, device_get_nameunit((sc)->dev), \
81 mtk_sysctl_probe(device_t dev) argument
84 if (!ofw_bus_status_okay(dev))
87 if (ofw_bus_search_compatible(dev, compat_data)->ocd_data == 0)
90 device_set_desc(dev, "MT
98 mtk_sysctl_attach(device_t dev) argument
128 mtk_sysctl_detach(device_t dev) argument
[all...]
H A Dmtk_intr_v1.c53 #include <dev/fdt/fdt_common.h>
54 #include <dev/ofw/openfirm.h>
55 #include <dev/ofw/ofw_bus.h>
56 #include <dev/ofw/ofw_bus_subr.h>
108 mtk_pic_probe(device_t dev) argument
111 if (!ofw_bus_status_okay(dev))
114 if (ofw_bus_search_compatible(dev, compat_data)->ocd_data == 0)
117 device_set_desc(dev, "MTK Interrupt Controller (v2)");
136 pic_xref(device_t dev) argument
138 return (OF_xref_from_node(ofw_bus_get_node(dev)));
165 mtk_pic_attach(device_t dev) argument
274 mtk_pic_map_intr(device_t dev, struct intr_map_data *data, struct intr_irqsrc **isrcp) argument
298 mtk_pic_enable_intr(device_t dev, struct intr_irqsrc *isrc) argument
307 mtk_pic_disable_intr(device_t dev, struct intr_irqsrc *isrc) argument
316 mtk_pic_pre_ithread(device_t dev, struct intr_irqsrc *isrc) argument
323 mtk_pic_post_ithread(device_t dev, struct intr_irqsrc *isrc) argument
330 mtk_pic_post_filter(device_t dev, struct intr_irqsrc *isrc) argument
[all...]
H A Dmtk_intr_v2.c53 #include <dev/fdt/fdt_common.h>
54 #include <dev/ofw/openfirm.h>
55 #include <dev/ofw/ofw_bus.h>
56 #include <dev/ofw/ofw_bus_subr.h>
103 mtk_pic_probe(device_t dev) argument
106 if (!ofw_bus_status_okay(dev))
109 if (ofw_bus_search_compatible(dev, compat_data)->ocd_data == 0)
112 device_set_desc(dev, "MTK Interrupt Controller (v2)");
131 pic_xref(device_t dev) argument
133 return (OF_xref_from_node(ofw_bus_get_node(dev)));
160 mtk_pic_attach(device_t dev) argument
269 mtk_pic_map_intr(device_t dev, struct intr_map_data *data, struct intr_irqsrc **isrcp) argument
293 mtk_pic_enable_intr(device_t dev, struct intr_irqsrc *isrc) argument
302 mtk_pic_disable_intr(device_t dev, struct intr_irqsrc *isrc) argument
311 mtk_pic_pre_ithread(device_t dev, struct intr_irqsrc *isrc) argument
318 mtk_pic_post_ithread(device_t dev, struct intr_irqsrc *isrc) argument
325 mtk_pic_post_filter(device_t dev, struct intr_irqsrc *isrc) argument
[all...]
/freebsd-11-stable/sys/dev/pci/
H A Dpci_pci.c32 __FBSDID("$FreeBSD: stable/11/sys/dev/pci/pci_pci.c 360275 2020-04-24 16:40:42Z mav $");
51 #include <dev/pci/pcivar.h>
52 #include <dev/pci/pcireg.h>
53 #include <dev/pci/pci_private.h>
54 #include <dev/pci/pcib_private.h>
58 static int pcib_probe(device_t dev);
59 static int pcib_suspend(device_t dev);
60 static int pcib_resume(device_t dev);
61 static int pcib_power_for_sleep(device_t pcib, device_t dev,
63 static int pcib_ari_get_id(device_t pcib, device_t dev,
191 device_t dev; local
455 device_t dev; local
555 device_t dev; local
596 pcib_setup_secbus(device_t dev, struct pcib_secbus *bus, int min_count) argument
663 pcib_free_secbus(device_t dev, struct pcib_secbus *bus) argument
812 device_t dev; local
838 device_t dev; local
869 device_t dev; local
891 device_t dev; local
923 device_t dev; local
977 device_t dev; local
1004 device_t dev; local
1154 device_t dev; local
1209 device_t dev; local
1232 device_t dev; local
1248 device_t dev; local
1269 device_t dev; local
1291 device_t dev; local
1344 device_t dev; local
1360 device_t dev; local
1453 device_t dev; local
1472 device_t dev; local
1493 pcib_probe(device_t dev) argument
1504 pcib_attach_common(device_t dev) argument
1700 pcib_attach_child(device_t dev) argument
1722 pcib_attach(device_t dev) argument
1730 pcib_detach(device_t dev) argument
1763 pcib_suspend(device_t dev) argument
1771 pcib_resume(device_t dev) argument
1779 pcib_bridge_init(device_t dev) argument
1794 pcib_child_present(device_t dev, device_t child) argument
1810 pcib_read_ivar(device_t dev, device_t child, int which, uintptr_t *result) argument
1826 pcib_write_ivar(device_t dev, device_t child, int which, uintptr_t value) argument
2220 pcib_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
2321 pcib_release_resource(device_t dev, device_t child, int type, int rid, struct resource *r) argument
2344 pcib_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
2535 pcib_maxslots(device_t dev) argument
2541 pcib_ari_maxslots(device_t dev) argument
2554 pcib_ari_maxfuncs(device_t dev) argument
2588 pcib_read_config(device_t dev, u_int b, u_int s, u_int f, u_int reg, int width) argument
2611 pcib_write_config(device_t dev, u_int b, u_int s, u_int f, u_int reg, uint32_t val, int width) argument
2629 pcib_route_interrupt(device_t pcib, device_t dev, int pin) argument
2663 pcib_alloc_msi(device_t pcib, device_t dev, int count, int maxcount, int *irqs) argument
2677 pcib_release_msi(device_t pcib, device_t dev, int count, int *irqs) argument
2687 pcib_alloc_msix(device_t pcib, device_t dev, int *irq) argument
2700 pcib_release_msix(device_t pcib, device_t dev, int irq) argument
2710 pcib_map_msi(device_t pcib, device_t dev, int irq, uint64_t *addr, uint32_t *data) argument
2727 pcib_power_for_sleep(device_t pcib, device_t dev, int *pstate) argument
2746 pcib_ari_get_id(device_t pcib, device_t dev, enum pci_id_type type, uintptr_t *id) argument
2781 pcib_try_enable_ari(device_t pcib, device_t dev) argument
2834 pcib_reset_child(device_t dev, device_t child, int flags) argument
[all...]
/freebsd-11-stable/sys/xen/xenbus/
H A Dxenbus.c68 * \param dev The XenBus device for which we are constructing an error path.
76 error_path(device_t dev) argument
79 + strlen(xenbus_get_node(dev)) + 1,M_XENBUS, M_WAITOK);
82 strcpy(path_buffer + strlen("error/"), xenbus_get_node(dev));
106 xenbus_dev_verror(device_t dev, int err, const char *fmt, va_list ap) argument
119 device_printf(dev, "Error %s\n", printf_buffer);
120 path_buffer = error_path(dev);
124 xenbus_get_node(dev), printf_buffer);
130 xenbus_get_node(dev), printf_buffer);
142 xenbus_dev_error(device_t dev, in argument
152 xenbus_dev_vfatal(device_t dev, int err, const char *fmt, va_list ap) argument
160 xenbus_dev_fatal(device_t dev, int err, const char *fmt, ...) argument
170 xenbus_grant_ring(device_t dev, unsigned long ring_mfn, grant_ref_t *refp) argument
198 xenbus_dev_is_online(device_t dev) argument
215 xenbus_localend_changed(device_t dev, const char *path) argument
[all...]
/freebsd-11-stable/sys/dev/drm2/
H A DdrmP.h36 __FBSDID("$FreeBSD: stable/11/sys/dev/drm2/drmP.h 331017 2018-03-15 19:08:33Z kevans $");
90 #include <dev/agp/agpvar.h>
93 #include <dev/pci/pcivar.h>
94 #include <dev/pci/pcireg.h>
98 #include <dev/drm2/drm.h>
99 #include <dev/drm2/drm_sarea.h>
101 #include <dev/drm2/drm_atomic.h>
102 #include <dev/drm2/drm_linux_list.h>
103 #include <dev/drm2/drm_gem_names.h>
105 #include <dev/drm
592 struct drm_device *dev; member in struct:drm_gem_object
937 struct drm_device *dev; member in struct:drm_minor
1069 device_t dev; /* Device instance from newbus */ member in struct:drm_device
1138 drm_core_check_feature(struct drm_device *dev, int feature) argument
1144 drm_dev_to_irq(struct drm_device *dev) argument
1151 drm_core_has_AGP(struct drm_device *dev) argument
1160 drm_core_has_MTRR(struct drm_device *dev) argument
1467 struct drm_device *dev = obj->dev; local
1543 drm_core_findmap(struct drm_device *dev, unsigned int token) argument
1841 drm_agp_bind_pages(struct drm_device *dev, struct page **pages, unsigned long num_pages, uint32_t gtt_offset, uint32_t type) argument
1850 drm_agp_init(struct drm_device *dev) argument
1855 drm_agp_clear(struct drm_device *dev) argument
1859 drm_agp_acquire(struct drm_device *dev) argument
1864 drm_agp_acquire_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
1870 drm_agp_release(struct drm_device *dev) argument
1875 drm_agp_release_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
1881 drm_agp_enable(struct drm_device *dev, struct drm_agp_mode mode) argument
1887 drm_agp_enable_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
1893 drm_agp_info(struct drm_device *dev, struct drm_agp_info *info) argument
1899 drm_agp_info_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
1905 drm_agp_alloc(struct drm_device *dev, struct drm_agp_buffer *request) argument
1911 drm_agp_alloc_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
1917 drm_agp_free(struct drm_device *dev, struct drm_agp_buffer *request) argument
1923 drm_agp_free_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
1929 drm_agp_unbind(struct drm_device *dev, struct drm_agp_binding *request) argument
1935 drm_agp_unbind_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
1941 drm_agp_bind(struct drm_device *dev, struct drm_agp_binding *request) argument
1947 drm_agp_bind_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
[all...]
/freebsd-11-stable/sys/dev/drm2/i915/
H A Dintel_fb.c31 #include <dev/drm2/drmP.h>
32 #include <dev/drm2/drm_crtc.h>
33 #include <dev/drm2/drm_fb_helper.h>
34 #include <dev/drm2/i915/intel_drv.h>
35 #include <dev/drm2/i915/i915_drm.h>
36 #include <dev/drm2/i915/i915_drv.h>
57 struct drm_device *dev = ifbdev->helper.dev; local
58 struct drm_i915_private *dev_priv = dev->dev_private;
79 obj = i915_gem_alloc_object(dev, siz
163 intel_fbdev_destroy(struct drm_device *dev, struct intel_fbdev *ifbdev) argument
189 intel_fbdev_init(struct drm_device *dev) argument
218 intel_fbdev_fini(struct drm_device *dev) argument
229 intel_fbdev_set_suspend(struct drm_device *dev, int state) argument
242 intel_fb_output_poll_changed(struct drm_device *dev) argument
248 intel_fb_restore_mode(struct drm_device *dev) argument
[all...]
/freebsd-11-stable/sys/dev/an/
H A Dif_an_pci.c83 #include <dev/pci/pcireg.h>
84 #include <dev/pci/pcivar.h>
86 #include <dev/an/if_aironet_ieee.h>
87 #include <dev/an/if_anreg.h>
119 an_probe_pci(device_t dev) argument
125 vid = pci_get_vendor(dev);
126 did = pci_get_device(dev);
131 device_set_desc(dev, t->an_name);
141 an_attach_pci(dev)
142 device_t dev;
239 an_suspend_pci(device_t dev) argument
247 an_resume_pci(device_t dev) argument
[all...]
/freebsd-11-stable/usr.sbin/ppp/
H A Datm.c66 struct device dev; /* What struct physical knows about */ member in struct:atmdevice
102 struct atmdevice *dev = device2atm(p->handler); local
104 free(dev);
148 struct atmdevice *dev = (struct atmdevice *)iov[(*niov)++].iov_base; local
150 dev = realloc(dev, sizeof *dev); /* Reduce to the correct size */
151 if (dev == NULL) {
153 (int)(sizeof *dev));
158 memcpy(&dev
171 struct atmdevice *dev; local
210 struct atmdevice *dev; local
[all...]
/freebsd-11-stable/tests/sys/geom/class/mirror/
H A D11_test.sh17 dd if=/dev/random of=$m1 bs=$ddbs count=1024 >/dev/null 2>&1
18 dd if=/dev/zero of=$m2 bs=$ddbs count=1024 >/dev/null 2>&1
23 gmirror label $name /dev/$us0
24 gmirror insert $name /dev/$us1
35 dd if=/dev/mirror/$name of=$tmp1 iseek=512 bs=$ddbs count=1 >/dev/null 2>&1
36 dd if=/dev/$us1 of=$tmp2 iseek=512 bs=$ddbs count=1 >/dev/nul
[all...]
/freebsd-11-stable/sys/dev/drm/
H A DdrmP.h35 __FBSDID("$FreeBSD: stable/11/sys/dev/drm/drmP.h 331017 2018-03-15 19:08:33Z kevans $");
94 #include <dev/agp/agpvar.h>
97 #include <dev/pci/pcivar.h>
98 #include <dev/pci/pcireg.h>
102 #include "dev/drm/drm.h"
103 #include "dev/drm/drm_atomic.h"
104 #include "dev/drm/drm_internal.h"
105 #include "dev/drm/drm_linux_list.h"
198 #define DRM_LOCK() mtx_lock(&dev->dev_lock)
199 #define DRM_UNLOCK() mtx_unlock(&dev
416 struct drm_device *dev; member in struct:drm_file
701 drm_core_check_feature(struct drm_device *dev, int feature) argument
708 drm_core_has_AGP(struct drm_device *dev) argument
977 drm_core_ioremap_wc(struct drm_local_map *map, struct drm_device *dev) argument
982 drm_core_ioremap(struct drm_local_map *map, struct drm_device *dev) argument
987 drm_core_ioremapfree(struct drm_local_map *map, struct drm_device *dev) argument
994 drm_core_findmap(struct drm_device *dev, unsigned long offset) argument
[all...]
/freebsd-11-stable/sys/dev/if_ndis/
H A Dif_ndis_pccard.c34 __FBSDID("$FreeBSD: stable/11/sys/dev/if_ndis/if_ndis_pccard.c 368650 2020-12-14 22:53:19Z brooks $");
56 #include <dev/usb/usb.h>
57 #include <dev/usb/usbdi.h>
66 #include <dev/if_ndis/if_ndisvar.h>
68 #include <dev/pccard/pccardvar.h>
121 ndis_devcompare(bustype, t, dev)
124 device_t dev;
132 error = pccard_get_product_str(dev, &prodstr);
135 error = pccard_get_vendor_str(dev, &vendstr);
142 device_set_desc(dev,
312 ndis_detach_pccard(device_t dev) argument
[all...]
/freebsd-11-stable/sys/pc98/pc98/
H A Dcanbus.c99 static void set_ioresource(device_t dev);
100 static void delete_ioresource(device_t dev);
154 canbus_probe(device_t dev) argument
158 set_ioresource(dev);
159 if(alloc_ioresource(dev))
161 flag = canbus_read(dev, NULL, CANBE_SOUND_INTR_ADDR);
162 release_ioresource(dev);
165 device_printf(dev, "probe flag = 0x%x\n", flag);
169 device_printf(dev, "Device Not Found\n");
172 device_set_desc(dev, "CanB
178 canbus_attach(device_t dev) argument
205 canbus_detach(device_t dev) argument
225 canbus_print_child(device_t dev, device_t child) argument
256 canbus_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
264 canbus_activate_resource( device_t dev, device_t child, int type, int rid, struct resource *res) argument
272 canbus_deactivate_resource( device_t dev, device_t child, int type, int rid, struct resource *res) argument
280 canbus_release_resource( device_t dev, device_t child, int type, int rid, struct resource *res) argument
288 canbus_set_resource( device_t dev, device_t child, int type, int rid, rman_res_t start, rman_res_t count) argument
302 canbus_delete_resource(device_t dev, device_t child, int type, int rid) argument
313 canbus_read(device_t dev, device_t child, int reg) argument
322 canbus_write(device_t dev, device_t child, int reg, u_int8_t val) argument
331 canbus_write_multi(device_t dev, device_t child, int reg, const int count, const u_int8_t *vals) argument
346 canbus_delay(device_t dev, device_t child) argument
362 set_ioresource(device_t dev) argument
379 delete_ioresource(device_t dev) argument
391 alloc_ioresource(device_t dev) argument
416 release_ioresource(device_t dev) argument
426 print_all_resources(device_t dev) argument
[all...]
/freebsd-11-stable/sys/dev/isci/scil/
H A Dscif_sas_controller.h68 #include <dev/isci/scil/sci_types.h>
69 #include <dev/isci/scil/sci_abstract_list.h>
70 #include <dev/isci/scil/sci_controller_constants.h>
71 #include <dev/isci/scil/sci_memory_descriptor_list.h>
72 #include <dev/isci/scil/sci_base_controller.h>
73 #include <dev/isci/scil/scif_controller.h>
74 #include <dev/isci/scil/scif_config_parameters.h>
75 #include <dev/isci/scil/scif_sas_domain.h>
76 #include <dev/isci/scil/scif_sas_io_request.h>
77 #include <dev/isc
[all...]
/freebsd-11-stable/sys/dev/gpio/
H A Dgpiobacklight.c43 #include <dev/fdt/fdt_common.h>
44 #include <dev/ofw/ofw_bus.h>
46 #include <dev/gpio/gpiobusvar.h>
91 gpiobacklight_probe(device_t dev) argument
94 if (!ofw_bus_is_compatible(dev, "gpio-backlight"))
97 device_set_desc(dev, "GPIO backlight");
103 gpiobacklight_attach(device_t dev) argument
110 sc = device_get_softc(dev);
112 if ((node = ofw_bus_get_node(dev)) == -1)
120 gpio_pin_get_by_ofw_idx(dev, nod
141 gpiobacklight_detach(device_t dev) argument
[all...]
/freebsd-11-stable/sys/dev/wi/
H A Dif_wi_macio.c59 #include <dev/ofw/ofw_bus.h>
60 #include <dev/ofw/openfirm.h>
73 #include <dev/wi/if_wavelan_ieee.h>
74 #include <dev/wi/if_wireg.h>
75 #include <dev/wi/if_wivar.h>
102 wi_macio_probe(device_t dev) argument
107 name = ofw_bus_get_name(dev);
114 compat = ofw_bus_get_compat(dev);
119 device_set_desc(dev, "Apple Airport");
124 wi_macio_attach(device_t dev) argument
[all...]
/freebsd-11-stable/sys/x86/xen/
H A Dxen_nexus.c38 #include <contrib/dev/acpica/include/acpi.h>
40 #include <dev/acpica/acpivar.h>
56 nexus_xen_probe(device_t dev) argument
66 nexus_xen_attach(device_t dev) argument
72 bus_generic_probe(dev);
80 acpi_dev = BUS_ADD_CHILD(dev, 10, "acpi", 0);
85 error = bus_generic_attach(dev);
93 nexus_xen_config_intr(device_t dev, int irq, enum intr_trigger trig, argument
112 nexus_xen_alloc_msix(device_t pcib, device_t dev, int *irq) argument
115 return (xen_msix_alloc(dev, ir
119 nexus_xen_release_msix(device_t pcib, device_t dev, int irq) argument
126 nexus_xen_alloc_msi(device_t pcib, device_t dev, int count, int maxcount, int *irqs) argument
133 nexus_xen_release_msi(device_t pcib, device_t dev, int count, int *irqs) argument
140 nexus_xen_map_msi(device_t pcib, device_t dev, int irq, uint64_t *addr, uint32_t *data) argument
[all...]
/freebsd-11-stable/sys/arm/freescale/imx/
H A Dimx6_src.c41 #include <dev/ofw/ofw_bus.h>
42 #include <dev/ofw/ofw_bus_subr.h>
52 device_t dev; member in struct:src_softc
100 src_detach(device_t dev) argument
104 sc = device_get_softc(dev);
107 bus_release_resource(dev, SYS_RES_MEMORY, 0, sc->mem_res);
113 src_attach(device_t dev) argument
118 sc = device_get_softc(dev);
123 sc->mem_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid,
126 device_printf(dev, "Canno
144 src_probe(device_t dev) argument
[all...]
/freebsd-11-stable/etc/rc.d/
H A Drandom27 dd if=/dev/random of="$f" bs=4096 count=1 status=none &&
37 if dd if="$f" of=/dev/random bs=4096 2>/dev/null ; then
50 ${SYSCTL} kern.random.harvest.mask=${harvest_mask} > /dev/null
56 if [ ! -w /dev/random ] ; then
57 warn "/dev/random is not writeable"
61 # Reseed /dev/random with previously stored entropy.
94 # Write some entropy so when the machine reboots /dev/random
102 rm -f ${entropy_file} 2> /dev/null
105 if touch ${entropy_file} 2> /dev/nul
[all...]

Completed in 329 milliseconds

<<21222324252627282930>>