Searched refs:dev (Results 126 - 150 of 5985) sorted by relevance

1234567891011>>

/freebsd-11.0-release/tests/sys/geom/class/eli/
H A Ddetach_l_test.sh13 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
31 if [ -c /dev/md${no}.eli ]; then
36 dd if=/dev/md${no}.eli of=/dev/nul
[all...]
/freebsd-11.0-release/contrib/ntp/scripts/build/
H A DcheckChangeLog9 dev) ;;
17 dev---)
21 dev*)
/freebsd-11.0-release/usr.sbin/bsdinstall/scripts/
H A Dumount41 umount $BSDINSTALL_CHROOT/dev 2>/dev/null
42 umount -F $TMP_FSTAB -a 2>/dev/null
/freebsd-11.0-release/sys/arm/ti/am335x/
H A Dam335x_pmic.c45 #include <dev/iicbus/iicbus.h>
46 #include <dev/iicbus/iiconf.h>
48 #include <dev/ofw/openfirm.h>
49 #include <dev/ofw/ofw_bus.h>
50 #include <dev/ofw/ofw_bus_subr.h>
78 am335x_pmic_read(device_t dev, uint8_t addr, uint8_t *data, uint8_t size) argument
80 struct am335x_pmic_softc *sc = device_get_softc(dev);
85 return (iicbus_transfer(dev, msg, 2));
89 am335x_pmic_write(device_t dev, uint8_t address, uint8_t *data, uint8_t size) argument
92 struct am335x_pmic_softc *sc = device_get_softc(dev);
140 am335x_pmic_probe(device_t dev) argument
158 am335x_pmic_dump_chgconfig(device_t dev) argument
211 am335x_pmic_setvo(device_t dev, uint8_t vo) argument
224 device_t dev = (device_t)xdev; local
294 am335x_pmic_attach(device_t dev) argument
321 device_t dev; local
[all...]
/freebsd-11.0-release/sys/dev/drm2/
H A Ddrm_fops.c38 __FBSDID("$FreeBSD: releng/11.0/sys/dev/drm2/drm_fops.c 288653 2015-10-04 07:45:36Z adrian $");
40 #include <dev/drm2/drmP.h>
43 DRM_STRUCTPROC *p, struct drm_device *dev);
45 static int drm_setup(struct drm_device * dev) argument
50 if (dev->driver->firstopen) {
51 ret = dev->driver->firstopen(dev);
56 atomic_set(&dev->ioctl_count, 0);
57 atomic_set(&dev->vma_count, 0);
59 if (drm_core_check_feature(dev, DRIVER_HAVE_DM
124 struct drm_device *dev = NULL; local
180 drm_open_helper(struct cdev *kdev, int flags, int fmt, DRM_STRUCTPROC *p, struct drm_device *dev) argument
290 drm_master_release(struct drm_device *dev, struct drm_file *file_priv) argument
303 struct drm_device *dev = file_priv->minor->dev; local
340 struct drm_device *dev = file_priv->minor->dev; local
502 struct drm_device *dev; local
547 struct drm_device *dev; local
561 struct drm_device *dev; local
592 struct drm_device *dev; local
[all...]
H A Ddrm_memory.c37 __FBSDID("$FreeBSD: releng/11.0/sys/dev/drm2/drm_memory.c 280183 2015-03-17 18:50:33Z dumbbell $");
39 #include <dev/drm2/drmP.h>
43 struct drm_device * dev)
95 struct drm_device * dev)
102 void drm_core_ioremap(struct drm_local_map *map, struct drm_device *dev) argument
104 if (drm_core_has_AGP(dev) &&
105 dev->agp && dev->agp->cant_use_aperture && map->type == _DRM_AGP)
106 map->handle = agp_remap(map->offset, map->size, dev);
112 void drm_core_ioremap_wc(struct drm_local_map *map, struct drm_device *dev) argument
42 agp_remap(unsigned long offset, unsigned long size, struct drm_device * dev) argument
94 agp_remap(unsigned long offset, unsigned long size, struct drm_device * dev) argument
123 drm_core_ioremapfree(struct drm_local_map *map, struct drm_device *dev) argument
[all...]
/freebsd-11.0-release/sys/dev/ata/
H A Data-isa.c28 __FBSDID("$FreeBSD: releng/11.0/sys/dev/ata/ata-isa.c 296137 2016-02-27 03:38:01Z jhibbits $");
45 #include <dev/ata/ata-all.h>
60 ata_isa_probe(device_t dev) argument
67 if (ISA_PNP_PROBE(device_get_parent(dev), dev, ata_ids) == ENXIO)
72 if (!(io = bus_alloc_resource_anywhere(dev, SYS_RES_IOPORT, &rid,
77 if (bus_get_resource(dev, SYS_RES_IOPORT, ATA_CTLADDR_RID, &tmp, &tmp)) {
78 bus_set_resource(dev, SYS_RES_IOPORT, ATA_CTLADDR_RID,
84 if (!(ctlio = bus_alloc_resource_anywhere(dev, SYS_RES_IOPORT, &rid,
86 bus_release_resource(dev, SYS_RES_IOPOR
99 ata_isa_attach(device_t dev) argument
148 ata_isa_detach(device_t dev) argument
167 ata_isa_suspend(device_t dev) argument
178 ata_isa_resume(device_t dev) argument
[all...]
/freebsd-11.0-release/sys/dev/ed/
H A Dif_ed_isa.c30 __FBSDID("$FreeBSD: releng/11.0/sys/dev/ed/if_ed_isa.c 298307 2016-04-19 23:37:24Z pfg $");
51 #include <dev/ed/if_edvar.h>
52 #include <dev/ed/if_edreg.h>
73 ed_isa_probe_Novell(device_t dev) argument
75 struct ed_softc *sc = device_get_softc(dev);
76 int flags = device_get_flags(dev);
79 err = ed_probe_Novell(dev, 0, flags);
97 ed_isa_probe(device_t dev) argument
99 struct ed_softc *sc = device_get_softc(dev);
100 int flags = device_get_flags(dev);
161 ed_isa_attach(device_t dev) argument
[all...]
/freebsd-11.0-release/sys/dev/bhnd/bcma/
H A Dbcma_bhndb.c31 __FBSDID("$FreeBSD: releng/11.0/sys/dev/bhnd/bcma/bcma_bhndb.c 300445 2016-05-23 03:47:44Z adrian $");
38 #include <dev/bhnd/bhnd_ids.h>
39 #include <dev/bhnd/bhndb/bhndbvar.h>
40 #include <dev/bhnd/bhndb/bhndb_hwdata.h>
52 bcma_bhndb_probe(device_t dev) argument
57 cid = BHNDB_GET_CHIPID(device_get_parent(dev), dev);
62 return (bcma_probe(dev));
66 bcma_bhndb_attach(device_t dev) argument
74 sc = device_get_softc(dev);
108 bcma_bhndb_suspend_child(device_t dev, device_t child) argument
134 bcma_bhndb_resume_child(device_t dev, device_t child) argument
159 BHNDB_SUSPEND_RESOURCE(device_get_parent(dev), dev, local
[all...]
H A Dbcma_nexus.c30 * $FreeBSD: releng/11.0/sys/dev/bhnd/bcma/bcma_nexus.c 301698 2016-06-08 21:38:51Z landonf $
34 __FBSDID("$FreeBSD: releng/11.0/sys/dev/bhnd/bcma/bcma_nexus.c 301698 2016-06-08 21:38:51Z landonf $");
45 #include <dev/bhnd/bhnd_ids.h>
46 #include <dev/bhnd/bhnd_nexusvar.h>
47 #include <dev/bhnd/cores/chipc/chipcreg.h>
65 bcma_nexus_probe(device_t dev) argument
70 sc = device_get_softc(dev);
74 if ((error = bhnd_nexus_read_chipid(dev, &sc->bcma_cid)))
80 if ((error = bcma_probe(dev)) > 0) {
81 device_printf(dev, "erro
89 bcma_nexus_attach(device_t dev) argument
119 bcma_nexus_get_chipid(device_t dev, device_t child) argument
[all...]
/freebsd-11.0-release/sys/dev/pci/
H A Dhostb_pci.c28 __FBSDID("$FreeBSD: releng/11.0/sys/dev/pci/hostb_pci.c 298955 2016-05-03 03:41:25Z pfg $");
35 #include <dev/pci/pcivar.h>
36 #include <dev/pci/pcireg.h>
46 pci_hostb_probe(device_t dev) argument
50 id = pci_get_devid(dev);
62 if (pci_get_class(dev) == PCIC_BRIDGE &&
63 pci_get_subclass(dev) == PCIS_BRIDGE_HOST) {
64 device_set_desc(dev, "Host to PCI bridge");
65 device_quiet(dev);
72 pci_hostb_attach(device_t dev) argument
90 pci_hostb_read_ivar(device_t dev, device_t child, int which, uintptr_t *result) argument
97 pci_hostb_write_ivar(device_t dev, device_t child, int which, uintptr_t value) argument
104 pci_hostb_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
112 pci_hostb_release_resource(device_t dev, device_t child, int type, int rid, struct resource *r) argument
122 pci_hostb_read_config(device_t dev, device_t child, int reg, int width) argument
129 pci_hostb_write_config(device_t dev, device_t child, int reg, uint32_t val, int width) argument
137 pci_hostb_enable_busmaster(device_t dev, device_t child) argument
146 pci_hostb_disable_busmaster(device_t dev, device_t child) argument
155 pci_hostb_enable_io(device_t dev, device_t child, int space) argument
164 pci_hostb_disable_io(device_t dev, device_t child, int space) argument
173 pci_hostb_set_powerstate(device_t dev, device_t child, int state) argument
182 pci_hostb_get_powerstate(device_t dev, device_t child) argument
191 pci_hostb_assign_interrupt(device_t dev, device_t child) argument
200 pci_hostb_find_cap(device_t dev, device_t child, int capability, int *capreg) argument
208 pci_hostb_find_extcap(device_t dev, device_t child, int capability, int *capreg) argument
216 pci_hostb_find_htcap(device_t dev, device_t child, int capability, int *capreg) argument
[all...]
H A Deisa_pci.c32 __FBSDID("$FreeBSD: releng/11.0/sys/dev/pci/eisa_pci.c 284086 2015-06-06 17:04:36Z marcel $");
43 #include <dev/pci/pcivar.h>
44 #include <dev/pci/pcireg.h>
46 static int eisab_probe(device_t dev);
47 static int eisab_attach(device_t dev);
79 eisab_probe(device_t dev) argument
86 if ((pci_get_class(dev) == PCIC_BRIDGE) &&
87 (pci_get_subclass(dev) == PCIS_BRIDGE_EISA))
93 switch (pci_get_devid(dev)) {
102 device_set_desc(dev, "PC
109 eisab_attach(device_t dev) argument
[all...]
/freebsd-11.0-release/sys/dev/altera/atse/
H A Dif_atse_nexus.c32 __FBSDID("$FreeBSD: releng/11.0/sys/dev/altera/atse/if_atse_nexus.c 257336 2013-10-29 13:48:41Z nwhitehorn $");
52 #include <dev/mii/mii.h>
53 #include <dev/mii/miivar.h>
55 #include <dev/altera/atse/if_atsereg.h>
68 atse_resource_int(device_t dev, const char *resname, int *v) argument
72 error = resource_int_value(device_get_name(dev), device_get_unit(dev),
76 device_printf(dev, "could not fetch '%s' hint\n", resname);
84 atse_resource_long(device_t dev, const char *resname, long *v) argument
88 error = resource_long_value(device_get_name(dev), device_get_uni
100 atse_probe_nexus(device_t dev) argument
137 atse_attach_nexus(device_t dev) argument
[all...]
/freebsd-11.0-release/sys/compat/linuxkpi/common/include/linux/
H A Ddevice.h58 void (*dev_release)(struct device *dev);
59 char * (*devnode)(struct device *dev, umode_t *mode);
68 void (*release)(struct device *dev);
129 #define dev_err(dev, fmt, ...) device_printf((dev)->bsddev, fmt, ##__VA_ARGS__)
130 #define dev_warn(dev, fmt, ...) device_printf((dev)->bsddev, fmt, ##__VA_ARGS__)
131 #define dev_info(dev, fmt, ...) device_printf((dev)->bsddev, fmt, ##__VA_ARGS__)
132 #define dev_notice(dev, fm
137 dev_get_drvdata(const struct device *dev) argument
144 dev_set_drvdata(struct device *dev, void *data) argument
151 get_device(struct device *dev) argument
161 dev_name(const struct device *dev) argument
171 put_device(struct device *dev) argument
208 device_initialize(struct device *dev) argument
225 device_add(struct device *dev) argument
236 device_create_release(struct device *dev) argument
246 struct device *dev = NULL; local
288 struct device *dev; local
298 device_register(struct device *dev) argument
329 device_unregister(struct device *dev) argument
345 device_del(struct device *dev) argument
410 device_create_file(struct device *dev, const struct device_attribute *attr) argument
419 device_remove_file(struct device *dev, const struct device_attribute *attr) argument
444 dev_to_node(struct device *dev) argument
[all...]
/freebsd-11.0-release/sys/dev/drm/
H A Di915_drv.h31 __FBSDID("$FreeBSD: releng/11.0/sys/dev/drm/i915_drv.h 298955 2016-05-03 03:41:25Z pfg $");
36 #include "dev/drm/drm_mm.h"
37 #include "dev/drm/i915_reg.h"
110 struct drm_device *dev; member in struct:drm_i915_private
420 extern void i915_kernel_lost_context(struct drm_device * dev);
423 extern int i915_driver_open(struct drm_device *dev, struct drm_file *file_priv);
424 extern void i915_driver_lastclose(struct drm_device * dev);
425 extern void i915_driver_preclose(struct drm_device *dev,
427 extern void i915_driver_postclose(struct drm_device *dev,
429 extern int i915_driver_device_is_agp(struct drm_device * dev);
[all...]
H A Dmga_irq.c35 __FBSDID("$FreeBSD: releng/11.0/sys/dev/drm/mga_irq.c 190023 2009-03-19 08:36:08Z rnoland $");
37 #include "dev/drm/drmP.h"
38 #include "dev/drm/drm.h"
39 #include "dev/drm/mga_drm.h"
40 #include "dev/drm/mga_drv.h"
42 u32 mga_get_vblank_counter(struct drm_device *dev, int crtc) argument
45 (drm_mga_private_t *) dev->dev_private;
58 struct drm_device *dev = (struct drm_device *) arg; local
59 drm_mga_private_t *dev_priv = (drm_mga_private_t *) dev->dev_private;
69 drm_handle_vblank(dev,
98 mga_enable_vblank(struct drm_device *dev, int crtc) argument
113 mga_disable_vblank(struct drm_device *dev, int crtc) argument
128 mga_driver_fence_wait(struct drm_device * dev, unsigned int *sequence) argument
150 mga_driver_irq_preinstall(struct drm_device * dev) argument
160 mga_driver_irq_postinstall(struct drm_device * dev) argument
173 mga_driver_irq_uninstall(struct drm_device * dev) argument
[all...]
H A Dr128_irq.c34 __FBSDID("$FreeBSD: releng/11.0/sys/dev/drm/r128_irq.c 189130 2009-02-28 02:37:55Z rnoland $");
36 #include "dev/drm/drmP.h"
37 #include "dev/drm/drm.h"
38 #include "dev/drm/r128_drm.h"
39 #include "dev/drm/r128_drv.h"
41 u32 r128_get_vblank_counter(struct drm_device *dev, int crtc) argument
43 const drm_r128_private_t *dev_priv = dev->dev_private;
53 struct drm_device *dev = (struct drm_device *) arg; local
54 drm_r128_private_t *dev_priv = (drm_r128_private_t *) dev->dev_private;
63 drm_handle_vblank(dev,
69 r128_enable_vblank(struct drm_device *dev, int crtc) argument
82 r128_disable_vblank(struct drm_device *dev, int crtc) argument
96 r128_driver_irq_preinstall(struct drm_device * dev) argument
106 r128_driver_irq_postinstall(struct drm_device * dev) argument
111 r128_driver_irq_uninstall(struct drm_device * dev) argument
[all...]
/freebsd-11.0-release/sys/mips/mediatek/
H A Dmtk_reset.c36 #include <dev/fdt/fdt_common.h>
37 #include <dev/ofw/openfirm.h>
38 #include <dev/ofw/ofw_bus.h>
39 #include <dev/ofw/ofw_bus_subr.h>
54 mtk_reset_probe(device_t dev) argument
57 if (!ofw_bus_status_okay(dev))
60 if (ofw_bus_search_compatible(dev, compat_data)->ocd_data == 0)
63 device_set_desc(dev, "MTK Reset Controller");
69 mtk_reset_attach(device_t dev) argument
72 if (device_get_unit(dev) !
86 mtk_reset_set(device_t dev, int index, int value) argument
105 mtk_reset_assert(device_t dev, int index) argument
112 mtk_reset_deassert(device_t dev, int index) argument
[all...]
/freebsd-11.0-release/sys/dev/smc/
H A Dif_smc_fdt.c28 __FBSDID("$FreeBSD: releng/11.0/sys/dev/smc/if_smc_fdt.c 271377 2014-09-10 10:59:17Z andrew $");
46 #include <dev/smc/if_smcvar.h>
48 #include <dev/mii/mii.h>
49 #include <dev/mii/miivar.h>
51 #include <dev/fdt/fdt_common.h>
52 #include <dev/ofw/openfirm.h>
53 #include <dev/ofw/ofw_bus.h>
54 #include <dev/ofw/ofw_bus_subr.h>
63 smc_fdt_probe(device_t dev) argument
67 if (!ofw_bus_status_okay(dev))
85 smc_fdt_attach(device_t dev) argument
101 smc_fdt_detach(device_t dev) argument
[all...]
/freebsd-11.0-release/sys/dev/aic/
H A Daic_cbus.c28 __FBSDID("$FreeBSD: releng/11.0/sys/dev/aic/aic_cbus.c 298431 2016-04-21 19:40:10Z pfg $");
43 #include <dev/aic/aic6360reg.h>
44 #include <dev/aic/aicvar.h>
87 aic_isa_alloc_resources(device_t dev) argument
89 struct aic_isa_softc *sc = device_get_softc(dev);
93 if ((isa_get_logicalid(dev) == 0xa180a3b8) ||
94 (AIC_TYPE98(device_get_flags(dev)) == AIC98_NEC100))
102 sc->sc_port = isa_alloc_resourcev(dev, SYS_RES_IOPORT, &rid,
105 device_printf(dev, "I/O port allocation failed\n");
111 if (isa_get_irq(dev) !
139 aic_isa_release_resources(device_t dev) argument
154 aic_isa_probe(device_t dev) argument
198 aic_isa_attach(device_t dev) argument
228 aic_isa_detach(device_t dev) argument
[all...]
/freebsd-11.0-release/sys/dev/xen/pci/
H A Dxen_acpi_pci.c28 __FBSDID("$FreeBSD: releng/11.0/sys/dev/xen/pci/xen_acpi_pci.c 297679 2016-04-07 17:15:16Z jhb $");
37 #include <contrib/dev/acpica/include/acpi.h>
38 #include <contrib/dev/acpica/include/accommon.h>
40 #include <dev/acpica/acpivar.h>
41 #include <dev/acpica/acpi_pcivar.h>
44 #include <dev/pci/pcireg.h>
45 #include <dev/pci/pcivar.h>
46 #include <dev/pci/pci_private.h>
56 xen_acpi_pci_probe(device_t dev) argument
61 if (acpi_get_handle(dev)
70 xen_acpi_pci_child_added(device_t dev, device_t child) argument
[all...]
/freebsd-11.0-release/sys/dev/altera/jtag_uart/
H A Daltera_jtag_uart_fdt.c32 __FBSDID("$FreeBSD: releng/11.0/sys/dev/altera/jtag_uart/altera_jtag_uart_fdt.c 261410 2014-02-02 19:17:28Z ian $");
53 #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, "Alter
78 altera_jtag_uart_fdt_attach(device_t dev) argument
120 altera_jtag_uart_fdt_detach(device_t dev) argument
[all...]
/freebsd-11.0-release/sys/dev/cm/
H A Dif_cm_isa.c4 __FBSDID("$FreeBSD: releng/11.0/sys/dev/cm/if_cm_isa.c 296137 2016-02-27 03:38:01Z jhibbits $");
52 #include <dev/cm/smc90cx6reg.h>
53 #include <dev/cm/smc90cx6var.h>
59 cm_isa_probe(dev)
60 device_t dev;
62 struct cm_softc *sc = device_get_softc(dev);
67 dev, SYS_RES_IOPORT, &rid, CM_IO_PORTS, RF_ACTIVE);
72 cm_release_resources(dev);
78 dev, SYS_RES_MEMORY, &rid, CM_MEM_SIZE, RF_ACTIVE);
80 cm_release_resources(dev);
123 cm_isa_detach(device_t dev) argument
[all...]
/freebsd-11.0-release/sys/dev/pst/
H A Dpst-pci.c30 __FBSDID("$FreeBSD: releng/11.0/sys/dev/pst/pst-pci.c 274678 2014-11-18 21:58:57Z jhb $");
47 #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)
71 iop_pci_attach(device_t dev) argument
102 iop_pci_detach(device_t dev) argument
[all...]
/freebsd-11.0-release/sys/dev/agp/
H A Dagp_apple.c28 __FBSDID("$FreeBSD: releng/11.0/sys/dev/agp/agp_apple.c 273963 2014-11-02 11:26:37Z tijl $");
42 #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)
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...]

Completed in 134 milliseconds

1234567891011>>