Searched refs:dev (Results 176 - 200 of 5985) sorted by relevance

1234567891011>>

/freebsd-11.0-release/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.0-release/usr.sbin/pc-sysinstall/backend-query/
H A Dxkeyboard-layouts.sh42 echo $line | grep '! ' >/dev/null 2>/dev/null
53 echo $line | grep '! layout' >/dev/null 2>/dev/null
H A Dxkeyboard-models.sh36 echo $line | grep '! ' >/dev/null 2>/dev/null
49 echo $line | grep '! model' >/dev/null 2>/dev/null
/freebsd-11.0-release/sys/isa/
H A Dvga_isa.c56 #include <dev/fb/fbreg.h>
57 #include <dev/fb/vgareg.h>
63 vga_suspend(device_t dev) argument
68 sc = device_get_softc(dev);
80 device_printf(dev, "saving %d bytes of video state\n", nbytes);
82 device_printf(dev, "failed to save state (nbytes=%d)\n",
96 device_printf(dev, "saving color palette\n");
98 device_printf(dev, "failed to save palette\n");
105 vga_resume(device_t dev) argument
109 sc = device_get_softc(dev);
160 isavga_probe(device_t dev) argument
187 isavga_attach(device_t dev) argument
227 isavga_suspend(device_t dev) argument
240 isavga_resume(device_t dev) argument
251 isavga_open(struct cdev *dev, int flag, int mode, struct thread *td) argument
257 isavga_close(struct cdev *dev, int flag, int mode, struct thread *td) argument
263 isavga_read(struct cdev *dev, struct uio *uio, int flag) argument
269 isavga_write(struct cdev *dev, struct uio *uio, int flag) argument
275 isavga_ioctl(struct cdev *dev, u_long cmd, caddr_t arg, int flag, struct thread *td) argument
281 isavga_mmap(struct cdev *dev, vm_ooffset_t offset, vm_paddr_t *paddr, int prot, vm_memattr_t *memattr) argument
319 vgapm_probe(device_t dev) argument
329 vgapm_attach(device_t dev) argument
339 vgapm_suspend(device_t dev) argument
356 vgapm_resume(device_t dev) argument
[all...]
/freebsd-11.0-release/sys/dev/bhnd/cores/pcie2/
H A Dbhnd_pcie2_hostb.c31 __FBSDID("$FreeBSD: releng/11.0/sys/dev/bhnd/cores/pcie2/bhnd_pcie2_hostb.c 301697 2016-06-08 21:31:33Z landonf $");
66 #include <dev/bhnd/bhnd.h>
68 #include <dev/pci/pcireg.h>
69 #include <dev/pci/pcivar.h>
105 bhnd_pcie2_hostb_attach(device_t dev) argument
110 sc = device_get_softc(dev);
111 sc->dev = dev;
112 sc->quirks = bhnd_device_quirks(dev, bhnd_pcie2_devs,
116 sc->pci_dev = bhnd_find_bridge_root(dev, devclass_fin
145 bhnd_pcie2_hostb_detach(device_t dev) argument
160 bhnd_pcie2_hostb_suspend(device_t dev) argument
175 bhnd_pcie2_hostb_resume(device_t dev) argument
[all...]
/freebsd-11.0-release/sys/dev/virtio/
H A Dvirtio.h26 * $FreeBSD: releng/11.0/sys/dev/virtio/virtio.h 267522 2014-06-16 04:25:04Z bryanv $
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.0-release/sys/arm/mv/
H A Dmv_ts.c39 #include <dev/fdt/fdt_common.h>
40 #include <dev/ofw/ofw_bus.h>
41 #include <dev/ofw/ofw_bus_subr.h>
57 ts_probe(device_t dev) argument
61 if (!ofw_bus_status_okay(dev))
64 if (!ofw_bus_is_compatible(dev, "mrvl,ts"))
71 device_printf(dev, "unsupported SoC (ID: 0x%08X)!\n", d);
74 device_set_desc(dev, "Marvell Thermal Sensor");
98 device_t dev; local
103 dev
137 ts_attach(device_t dev) argument
159 ts_detach(device_t dev) argument
[all...]
/freebsd-11.0-release/sys/sparc64/pci/
H A Dofw_pcib.c32 * from: FreeBSD: src/sys/dev/pci/pci_pci.c,v 1.3 2000/12/13
47 #include <dev/ofw/ofw_bus.h>
48 #include <dev/ofw/openfirm.h>
50 #include <dev/pci/pcireg.h>
51 #include <dev/pci/pcivar.h>
52 #include <dev/pci/pcib_private.h>
92 ofw_pcib_probe(device_t dev) argument
100 if ((pci_get_class(dev) == PCIC_BRIDGE) &&
101 (pci_get_subclass(dev) == PCIS_BRIDGE_PCI) &&
102 ofw_bus_get_node(dev) !
119 ofw_pcib_attach(device_t dev) argument
[all...]
/freebsd-11.0-release/sys/dev/puc/
H A Dpuc_pci.c61 __FBSDID("$FreeBSD: releng/11.0/sys/dev/puc/puc_pci.c 267992 2014-06-28 03:56:17Z hselasky $");
76 #include <dev/pci/pcireg.h>
77 #include <dev/pci/pcivar.h>
79 #include <dev/puc/puc_cfg.h>
80 #include <dev/puc/puc_bfe.h>
87 puc_pci_match(device_t dev, const struct puc_cfg *desc) argument
92 vendor = pci_get_vendor(dev);
93 device = pci_get_device(dev);
94 subvendor = pci_get_subvendor(dev);
95 subdevice = pci_get_subdevice(dev);
115 puc_pci_probe(device_t dev) argument
129 puc_pci_attach(device_t dev) argument
154 puc_pci_detach(device_t dev) argument
[all...]
/freebsd-11.0-release/sys/ofed/drivers/infiniband/hw/mthca/
H A Dmthca_mr.c190 static u32 mthca_alloc_mtt_range(struct mthca_dev *dev, int order, argument
198 if (mthca_is_memfree(dev))
199 if (mthca_table_get_range(dev, dev->mr_table.mtt_table, seg,
208 static struct mthca_mtt *__mthca_alloc_mtt(struct mthca_dev *dev, int size, argument
223 for (i = dev->limits.mtt_seg_size / 8; i < size; i <<= 1)
226 mtt->first_seg = mthca_alloc_mtt_range(dev, mtt->order, buddy);
235 struct mthca_mtt *mthca_alloc_mtt(struct mthca_dev *dev, int size) argument
237 return __mthca_alloc_mtt(dev, size, &dev
240 mthca_free_mtt(struct mthca_dev *dev, struct mthca_mtt *mtt) argument
254 __mthca_write_mtt(struct mthca_dev *dev, struct mthca_mtt *mtt, int start_index, u64 *buffer_list, int list_len) argument
306 mthca_write_mtt_size(struct mthca_dev *dev) argument
322 mthca_tavor_write_mtt_seg(struct mthca_dev *dev, struct mthca_mtt *mtt, int start_index, u64 *buffer_list, int list_len) argument
336 mthca_arbel_write_mtt_seg(struct mthca_dev *dev, struct mthca_mtt *mtt, int start_index, u64 *buffer_list, int list_len) argument
361 mthca_write_mtt(struct mthca_dev *dev, struct mthca_mtt *mtt, int start_index, u64 *buffer_list, int list_len) argument
408 hw_index_to_key(struct mthca_dev *dev, u32 ind) argument
416 key_to_hw_index(struct mthca_dev *dev, u32 key) argument
424 adjust_key(struct mthca_dev *dev, u32 key) argument
432 mthca_mr_alloc(struct mthca_dev *dev, u32 pd, int buffer_size_shift, u64 iova, u64 total_size, u32 access, struct mthca_mr *mr) argument
522 mthca_mr_alloc_notrans(struct mthca_dev *dev, u32 pd, u32 access, struct mthca_mr *mr) argument
529 mthca_mr_alloc_phys(struct mthca_dev *dev, u32 pd, u64 *buffer_list, int buffer_size_shift, int list_len, u64 iova, u64 total_size, u32 access, struct mthca_mr *mr) argument
555 mthca_free_region(struct mthca_dev *dev, u32 lkey) argument
563 mthca_free_mr(struct mthca_dev *dev, struct mthca_mr *mr) argument
582 mthca_fmr_alloc(struct mthca_dev *dev, u32 pd, u32 access, struct mthca_fmr *mr) argument
701 mthca_free_fmr(struct mthca_dev *dev, struct mthca_fmr *fmr) argument
744 struct mthca_dev *dev = to_mdev(ibfmr->device); local
785 struct mthca_dev *dev = to_mdev(ibfmr->device); local
827 mthca_tavor_fmr_unmap(struct mthca_dev *dev, struct mthca_fmr *fmr) argument
837 mthca_arbel_fmr_unmap(struct mthca_dev *dev, struct mthca_fmr *fmr) argument
847 mthca_init_mr_table(struct mthca_dev *dev) argument
971 mthca_cleanup_mr_table(struct mthca_dev *dev) argument
[all...]
/freebsd-11.0-release/contrib/dialog/samples/
H A Dsetup-edit5 input=`tempfile 2>/dev/null` || input=/tmp/input$$
6 output=`tempfile 2>/dev/null` || output=/tmp/test$$
/freebsd-11.0-release/contrib/dma/
H A Dget-version.sh5 gitver=$(git describe 2>/dev/null | tr - .)
6 filever=$(cat ${file} 2>/dev/null)
/freebsd-11.0-release/contrib/groff/
H A Dmdate.sh12 if ls -L /dev/null 1>/dev/null 2>&1; then ls -L -l $1; else ls -l $1; fi
/freebsd-11.0-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/profile-n/
H A Dtst.func.ksh30 $dtrace -qs /dev/stdin <<EOF
48 /usr/bin/date > /dev/null
70 script | tee /dev/fd/2 | grep mtx_lock > /dev/null
H A Dtst.mod.ksh30 $dtrace -qs /dev/stdin <<EOF
48 /usr/bin/date > /dev/null
66 script | tee /dev/fd/2 | grep kernel > /dev/null
H A Dtst.sym.ksh30 $dtrace -qs /dev/stdin <<EOF
48 /usr/bin/date > /dev/null
66 script | tee /dev/fd/2 | grep mtx_lock > /dev/null
/freebsd-11.0-release/sys/dev/ixl/
H A Dixl_pf_iov.h33 /*$FreeBSD: releng/11.0/sys/dev/ixl/ixl_pf_iov.h 303967 2016-08-11 19:13:30Z sbruno $*/
43 #include <dev/pci/pci_iov.h>
50 int ixl_iov_init(device_t dev, uint16_t num_vfs, const nvlist_t *params);
51 void ixl_iov_uninit(device_t dev);
52 int ixl_add_vf(device_t dev, uint16_t vfnum, const nvlist_t *params);
/freebsd-11.0-release/sys/dev/mc146818/
H A Dmc146818.c28 __FBSDID("$FreeBSD: releng/11.0/sys/dev/mc146818/mc146818.c 272894 2014-10-10 14:17:42Z bapt $");
43 #include <dev/mc146818/mc146818reg.h>
44 #include <dev/mc146818/mc146818var.h>
52 mc146818_attach(device_t dev) argument
56 sc = device_get_softc(dev);
59 device_printf(dev, "%s: mutex not initialized\n", __func__);
80 if (((*sc->sc_mcread)(dev, MC_REGD) & MC_REGD_VRT) == 0) {
82 device_printf(dev, "%s: battery low\n", __func__);
87 (*sc->sc_mcwrite)(dev, MC_REGA, sc->sc_rega);
92 (*sc->sc_mcwrite)(dev, MC_REG
105 mc146818_gettime(device_t dev, struct timespec *ts) argument
156 mc146818_getsecs(device_t dev, int *secp) argument
191 mc146818_settime(device_t dev, struct timespec *ts) argument
242 mc146818_def_read(device_t dev, u_int reg) argument
252 mc146818_def_write(device_t dev, u_int reg, u_int val) argument
271 mc146818_def_getcent(device_t dev) argument
280 mc146818_def_setcent(device_t dev, u_int cent) argument
[all...]
/freebsd-11.0-release/sys/dev/drm/
H A Dradeon_irq.c34 __FBSDID("$FreeBSD: releng/11.0/sys/dev/drm/radeon_irq.c 197603 2009-09-28 22:37:07Z rnoland $");
36 #include "dev/drm/drmP.h"
37 #include "dev/drm/drm.h"
38 #include "dev/drm/radeon_drm.h"
39 #include "dev/drm/radeon_drv.h"
41 void radeon_irq_set_state(struct drm_device *dev, u32 mask, int state) argument
43 drm_radeon_private_t *dev_priv = dev->dev_private;
50 if (dev->irq_enabled)
54 static void r500_vbl_irq_set_state(struct drm_device *dev, u32 mask, int state) argument
56 drm_radeon_private_t *dev_priv = dev
67 radeon_enable_vblank(struct drm_device *dev, int crtc) argument
102 radeon_disable_vblank(struct drm_device *dev, int crtc) argument
190 struct drm_device *dev = (struct drm_device *) arg; local
256 radeon_emit_irq(struct drm_device * dev) argument
274 radeon_wait_irq(struct drm_device * dev, int swi_nr) argument
294 radeon_get_vblank_counter(struct drm_device *dev, int crtc) argument
323 radeon_irq_emit(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
351 radeon_irq_wait(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
366 radeon_driver_irq_preinstall(struct drm_device * dev) argument
384 radeon_driver_irq_postinstall(struct drm_device * dev) argument
400 radeon_driver_irq_uninstall(struct drm_device * dev) argument
419 radeon_vblank_crtc_get(struct drm_device *dev) argument
426 radeon_vblank_crtc_set(struct drm_device *dev, int64_t value) argument
[all...]
/freebsd-11.0-release/sys/dev/acpica/
H A Dacpi_isab.c28 __FBSDID("$FreeBSD: releng/11.0/sys/dev/acpica/acpi_isab.c 227843 2011-11-22 21:28:20Z marius $");
42 #include <contrib/dev/acpica/include/acpi.h>
43 #include <contrib/dev/acpica/include/accommon.h>
45 #include <dev/acpica/acpivar.h>
59 static int acpi_isab_read_ivar(device_t dev, device_t child, int which,
92 acpi_isab_probe(device_t dev) argument
97 ACPI_ID_PROBE(device_get_parent(dev), dev, isa_ids) == NULL ||
98 devclass_get_device(isab_devclass, 0) != dev)
101 device_set_desc(dev, "ACP
106 acpi_isab_attach(device_t dev) argument
120 acpi_isab_read_ivar(device_t dev, device_t child, int which, uintptr_t *result) argument
[all...]
/freebsd-11.0-release/sys/dev/etherswitch/
H A Dmiiproxy.h26 * $FreeBSD: releng/11.0/sys/dev/etherswitch/miiproxy.h 234861 2012-05-01 06:11:38Z adrian $
35 device_t mii_attach_proxy(device_t dev);
/freebsd-11.0-release/sys/modules/hyperv/storvsc/
H A DMakefile3 .PATH: ${.CURDIR}/../../../dev/hyperv/storvsc
10 CFLAGS+= -I${.CURDIR}/../../../dev/hyperv/include \
11 -I${.CURDIR}/../../../dev/hyperv/vmbus \
12 -I${.CURDIR}/../../../dev/hyperv/storvsc
/freebsd-11.0-release/sys/modules/aic7xxx/aicasm/
H A DMakefile3 MAKESRCPATH= ${.CURDIR}/../../../dev/aic7xxx/aicasm
7 .include "${.CURDIR}/../../../dev/aic7xxx/aicasm/Makefile"
/freebsd-11.0-release/sys/modules/ath_ahb/
H A DMakefile32 .PATH: ${.CURDIR}/../../dev/ath
33 .PATH: ${.CURDIR}/../../dev/ath/ath_hal
39 CFLAGS+= -I. -I${.CURDIR}/../../dev/ath -I${.CURDIR}/../../dev/ath/ath_hal
/freebsd-11.0-release/sys/dev/stg/
H A Dtmc18c30_isa.c42 __FBSDID("$FreeBSD: releng/11.0/sys/dev/stg/tmc18c30_isa.c 274760 2014-11-20 20:50:05Z jhb $");
58 #include <dev/stg/tmc18c30reg.h>
59 #include <dev/stg/tmc18c30var.h>
60 #include <dev/stg/tmc18c30.h>
63 stg_isa_probe(device_t dev) argument
65 struct stg_softc *sc = device_get_softc(dev);
70 error = stg_alloc_resource(dev);
75 if (stg_probe(dev) == 0) {
76 stg_release_resource(dev);
80 stg_release_resource(dev);
86 stg_isa_attach(device_t dev) argument
[all...]

Completed in 302 milliseconds

1234567891011>>