Searched refs:dev (Results 201 - 225 of 6298) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/dev/stg/
H A Dtmc18c30_isa.c58 #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...]
H A Dtmc18c30_pccard.c55 #include <dev/pccard/pccardvar.h>
59 #include <dev/stg/tmc18c30reg.h>
60 #include <dev/stg/tmc18c30var.h>
61 #include <dev/stg/tmc18c30.h>
78 stg_pccard_probe(device_t dev) argument
82 if ((pp = pccard_product_lookup(dev, stg_products,
85 device_set_desc(dev, pp->pp_name);
92 stg_pccard_attach(device_t dev) argument
94 struct stg_softc *sc = device_get_softc(dev);
99 error = stg_alloc_resource(dev);
[all...]
/freebsd-11-stable/sys/dev/mc146818/
H A Dmc146818.c43 #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_REGB, sc->sc_regb);
95 clock_register(dev, 100000
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-stable/usr.sbin/pc-sysinstall/backend/
H A Dfunctions-mountoptical.sh63 mount | grep -q "${CDMNT} " 2>/dev/null
85 for i in `ls -1 /dev/acd* /dev/cd* /dev/scd* /dev/rscd* 2>/dev/null`
98 /sbin/umount ${CDMNT} >/dev/null 2>/dev/null
105 for i in `ls -1 /dev/da* 2>/dev/nul
[all...]
/freebsd-11-stable/tools/tools/build_option_survey/
H A Dlistallopts.sh13 make showconfig __MAKE_CONF=/dev/null SRCCONF=/dev/null |
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/profile-n/
H A Dtst.func.ksh30 $dtrace -qs /dev/stdin <<EOF
48 /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 /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 /bin/date > /dev/null
66 script | tee /dev/fd/2 | grep mtx_lock > /dev/null
/freebsd-11-stable/sys/dev/mlx5/mlx5_fpga/
H A Dxfer.h32 * $FreeBSD: stable/11/sys/dev/mlx5/mlx5_fpga/xfer.h 341572 2018-12-05 14:11:20Z slavash $
38 #include <dev/mlx5/mlx5_fpga/trans.h>
/freebsd-11-stable/sys/kern/
H A Dkern_conf.c55 static void destroy_devl(struct cdev *dev);
56 static int destroy_dev_sched_cbl(struct cdev *dev,
140 dev_ref(struct cdev *dev) argument
145 dev->si_refcount++;
150 dev_refl(struct cdev *dev) argument
154 dev->si_refcount++;
158 dev_rel(struct cdev *dev) argument
164 dev->si_refcount--;
165 KASSERT(dev->si_refcount >= 0,
166 ("dev_rel(%s) gave negative count", devtoname(dev)));
177 dev_refthread(struct cdev *dev, int *ref) argument
206 struct cdev *dev; local
244 dev_relthread(struct cdev *dev, int ref) argument
346 giant_open(struct cdev *dev, int oflags, int devtype, struct thread *td) argument
362 giant_fdopen(struct cdev *dev, int oflags, struct thread *td, struct file *fp) argument
378 giant_close(struct cdev *dev, int fflag, int devtype, struct thread *td) argument
397 struct cdev *dev; local
413 giant_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int fflag, struct thread *td) argument
429 giant_read(struct cdev *dev, struct uio *uio, int ioflag) argument
445 giant_write(struct cdev *dev, struct uio *uio, int ioflag) argument
461 giant_poll(struct cdev *dev, int events, struct thread *td) argument
477 giant_kqfilter(struct cdev *dev, struct knote *kn) argument
493 giant_mmap(struct cdev *dev, vm_ooffset_t offset, vm_paddr_t *paddr, int nprot, vm_memattr_t *memattr) argument
511 giant_mmap_single(struct cdev *dev, vm_ooffset_t *offset, vm_size_t size, vm_object_t *object, int nprot) argument
529 notify(struct cdev *dev, const char *ev, int flags) argument
549 notify_create(struct cdev *dev, int flags) argument
556 notify_destroy(struct cdev *dev) argument
704 prep_devname(struct cdev *dev, const char *fmt, va_list ap) argument
771 struct cdev *dev, *dev_new; local
869 struct cdev *dev; local
886 struct cdev *dev; local
903 struct cdev *dev; local
959 struct cdev *dev; local
999 struct cdev *dev; local
1088 destroy_devl(struct cdev *dev) argument
1185 delist_dev_locked(struct cdev *dev) argument
1214 delist_dev(struct cdev *dev) argument
1224 destroy_dev(struct cdev *dev) argument
1234 devtoname(struct cdev *dev) argument
1301 struct cdev *dev, *ndev, *dl, *de; local
1387 struct cdev *dev; local
1423 struct cdev *dev; local
1451 destroy_dev_sched_cbl(struct cdev *dev, void (*cb)(void *), void *arg) argument
1472 destroy_dev_sched_cb(struct cdev *dev, void (*cb)(void *), void *arg) argument
1480 destroy_dev_sched(struct cdev *dev) argument
1514 struct cdev *dev; local
[all...]
/freebsd-11-stable/sys/dev/pci/
H A Dpci_private.h28 * $FreeBSD: stable/11/sys/dev/pci/pci_private.h 354107 2019-10-25 22:04:05Z jhb $
51 void pci_add_children(device_t dev, int domain, int busno);
55 void pci_add_resources(device_t bus, device_t dev, int force,
57 void pci_add_resources_ea(device_t bus, device_t dev, int alloc_iov);
58 struct pci_devinfo *pci_alloc_devinfo_method(device_t dev);
59 int pci_attach(device_t dev);
60 int pci_attach_common(device_t dev);
61 int pci_detach(device_t dev);
62 int pci_rescan_method(device_t dev);
63 void pci_driver_added(device_t dev, driver_
[all...]
/freebsd-11-stable/sys/dev/acpica/
H A Dacpi_isab.c27 __FBSDID("$FreeBSD: stable/11/sys/dev/acpica/acpi_isab.c 367457 2020-11-07 18:10:59Z dim $");
41 #include <contrib/dev/acpica/include/acpi.h>
42 #include <contrib/dev/acpica/include/accommon.h>
44 #include <dev/acpica/acpivar.h>
58 static int acpi_isab_read_ivar(device_t dev, device_t child, int which,
91 acpi_isab_probe(device_t dev) argument
96 ACPI_ID_PROBE(device_get_parent(dev), dev, isa_ids) == NULL ||
97 devclass_get_device(isab_devclass, 0) != dev)
100 device_set_desc(dev, "ACP
105 acpi_isab_attach(device_t dev) argument
119 acpi_isab_read_ivar(device_t dev, device_t child, int which, uintptr_t *result) argument
[all...]
/freebsd-11-stable/sys/dev/drm2/i915/
H A Di915_gem_stolen.c32 #include <dev/drm2/drmP.h>
33 #include <dev/drm2/i915/i915_drm.h>
34 #include <dev/drm2/i915/i915_drv.h>
48 static unsigned long i915_stolen_to_physical(struct drm_device *dev) argument
66 if (INTEL_INFO(dev)->gen >= 6) {
71 pci_read_config_dword(dev->dev, 0xB0, &base);
73 } else if (INTEL_INFO(dev)->gen > 3 || IS_G33(dev)) {
75 pci_read_config_dword(dev
92 i915_warn_stolen(struct drm_device *dev) argument
98 i915_setup_compression(struct drm_device *dev, int size) argument
158 i915_cleanup_compression(struct drm_device *dev) argument
167 i915_gem_cleanup_stolen(struct drm_device *dev) argument
173 i915_gem_init_stolen(struct drm_device *dev) argument
[all...]
/freebsd-11-stable/sys/pc98/cbus/
H A Dpmc.c95 pmc_isa_alloc_resources(device_t dev) argument
97 struct pmc_isa_softc *sc = device_get_softc(dev);
103 sc->port_res = bus_alloc_resource_anywhere(dev, SYS_RES_IOPORT, &rid,
113 pmc_isa_release_resources(device_t dev) argument
115 struct pmc_isa_softc *sc = device_get_softc(dev);
118 bus_release_resource(dev, SYS_RES_IOPORT, 0, sc->port_res);
124 pmc_isa_probe(device_t dev) argument
126 struct pmc_isa_softc *sc = device_get_softc(dev);
131 if (isa_get_vendorid(dev)) {
134 if (device_get_unit(dev) >
193 pmc_isa_attach(device_t dev) argument
212 pmc_isa_detach(device_t dev) argument
[all...]
/freebsd-11-stable/usr.sbin/ppp/
H A Dether.c104 struct device dev; /* What struct physical knows about */ member in struct:etherdevice
124 struct etherdevice *dev = device2ether(p->handler); local
126 return NgSendData(p->fd, dev->hook, v, n) == -1 ? -1 : (ssize_t)n;
140 struct etherdevice *dev = device2ether(p->handler); local
143 if (r && dev->cs >= 0 && FD_ISSET(dev->cs, r)) {
144 FD_CLR(dev->cs, r);
145 log_Printf(LogTIMER, "%s: fdunset(ctrl) %d\n", p->link.name, dev->cs);
162 struct etherdevice *dev = device2ether(p->handler); local
165 if (dev
173 struct etherdevice *dev = device2ether(p->handler); local
188 struct etherdevice *dev = device2ether(p->handler); local
198 struct etherdevice *dev; local
217 ether_MessageIn(struct etherdevice *dev) argument
316 struct etherdevice *dev = device2ether(p->handler); local
352 struct etherdevice *dev = (struct etherdevice *)iov[(*niov)++].iov_base; local
381 struct etherdevice *dev = device2ether(p->handler); local
400 struct etherdevice *dev = device2ether(p->handler); local
414 struct etherdevice *dev = device2ether(p->handler); local
430 ether_Abandon(struct etherdevice *dev, struct physical *p) argument
445 struct etherdevice *dev; local
[all...]
/freebsd-11-stable/sys/dev/drm2/
H A Ddrm_agpsupport.c37 #include <dev/drm2/drmP.h>
53 int drm_agp_info(struct drm_device *dev, struct drm_agp_info *info) argument
57 if (!dev->agp || !dev->agp->acquired)
60 kern = &dev->agp->agp_info;
61 agp_get_info(dev->agp->bridge, kern);
77 int drm_agp_info_ioctl(struct drm_device *dev, void *data, argument
83 err = drm_agp_info(dev, info);
93 * \param dev DRM device that is to acquire AGP.
99 int drm_agp_acquire(struct drm_device * dev) argument
128 drm_agp_acquire_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
142 drm_agp_release(struct drm_device * dev) argument
152 drm_agp_release_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
168 drm_agp_enable(struct drm_device * dev, struct drm_agp_mode mode) argument
181 drm_agp_enable_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
201 drm_agp_alloc(struct drm_device *dev, struct drm_agp_buffer *request) argument
239 drm_agp_alloc_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
256 drm_agp_lookup_entry(struct drm_device * dev, unsigned long handle) argument
280 drm_agp_unbind(struct drm_device *dev, struct drm_agp_binding *request) argument
299 drm_agp_unbind_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
320 drm_agp_bind(struct drm_device *dev, struct drm_agp_binding *request) argument
343 drm_agp_bind_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
365 drm_agp_free(struct drm_device *dev, struct drm_agp_buffer *request) argument
386 drm_agp_free_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) argument
403 drm_agp_init(struct drm_device *dev) argument
432 drm_agp_bind_pages(struct drm_device *dev, struct page **pages, unsigned long num_pages, uint32_t gtt_offset, u32 type) argument
[all...]
/freebsd-11-stable/sys/dev/xe/
H A Dif_xe_pccard.c51 #include <dev/xe/if_xereg.h>
52 #include <dev/xe/if_xevar.h>
54 #include <dev/pccard/pccardvar.h>
55 #include <dev/pccard/pccard_cis.h>
136 xe_cemfix(device_t dev) argument
138 struct xe_softc *sc = device_get_softc(dev);
141 DEVPRINTF(2, (dev, "cemfix\n"));
143 DEVPRINTF(1, (dev, "CEM I/O port 0x%0jx, size 0x%0jx\n",
144 bus_get_resource_start(dev, SYS_RES_IOPORT, sc->port_rid),
145 bus_get_resource_count(dev, SYS_RES_IOPOR
167 xe_pccard_product_match(device_t dev, const struct pccard_product* ent, int vpfmatch) argument
186 xe_pccard_get_product(device_t dev) argument
239 xe_pccard_attach(device_t dev) argument
324 xe_pccard_detach(device_t dev) argument
342 xe_pccard_probe(device_t dev) argument
[all...]
/freebsd-11-stable/sys/dev/mlx4/mlx4_core/
H A Dmlx4_srq.c34 #include <dev/mlx4/cmd.h>
35 #include <dev/mlx4/srq.h>
43 void mlx4_srq_event(struct mlx4_dev *dev, u32 srqn, int event_type) argument
45 struct mlx4_srq_table *srq_table = &mlx4_priv(dev)->srq_table;
49 srq = radix_tree_lookup(&srq_table->tree, srqn & (dev->caps.num_srqs - 1));
54 mlx4_warn(dev, "Async event for bogus SRQ %08x\n", srqn);
64 static int mlx4_SW2HW_SRQ(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *mailbox, argument
67 return mlx4_cmd(dev, mailbox->dma, srq_num, 0,
72 static int mlx4_HW2SW_SRQ(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *mailbox, argument
75 return mlx4_cmd_box(dev,
80 mlx4_ARM_SRQ(struct mlx4_dev *dev, int srq_num, int limit_watermark) argument
86 mlx4_QUERY_SRQ(struct mlx4_dev *dev, struct mlx4_cmd_mailbox *mailbox, int srq_num) argument
93 __mlx4_srq_alloc_icm(struct mlx4_dev *dev, int *srqn) argument
120 mlx4_srq_alloc_icm(struct mlx4_dev *dev, int *srqn) argument
138 __mlx4_srq_free_icm(struct mlx4_dev *dev, int srqn) argument
147 mlx4_srq_free_icm(struct mlx4_dev *dev, int srqn) argument
162 mlx4_srq_alloc(struct mlx4_dev *dev, u32 pdn, u32 cqn, u16 xrcd, struct mlx4_mtt *mtt, u64 db_rec, struct mlx4_srq *srq) argument
222 mlx4_srq_free(struct mlx4_dev *dev, struct mlx4_srq *srq) argument
243 mlx4_srq_arm(struct mlx4_dev *dev, struct mlx4_srq *srq, int limit_watermark) argument
249 mlx4_srq_query(struct mlx4_dev *dev, struct mlx4_srq *srq, int *limit_watermark) argument
272 mlx4_init_srq_table(struct mlx4_dev *dev) argument
290 mlx4_cleanup_srq_table(struct mlx4_dev *dev) argument
297 mlx4_srq_lookup(struct mlx4_dev *dev, u32 srqn) argument
[all...]
/freebsd-11-stable/sys/dev/usb/controller/
H A Dehci_imx.c33 __FBSDID("$FreeBSD: stable/11/sys/dev/usb/controller/ehci_imx.c 346520 2019-04-22 04:07:51Z ian $");
47 #include <dev/ofw/ofw_bus.h>
48 #include <dev/ofw/ofw_bus_subr.h>
50 #include <dev/usb/usb.h>
51 #include <dev/usb/usbdi.h>
52 #include <dev/usb/usb_busdma.h>
53 #include <dev/usb/usb_process.h>
54 #include <dev/usb/usb_controller.h>
55 #include <dev/usb/usb_bus.h>
56 #include <dev/us
143 device_t dev; member in struct:imx_usbmisc_softc
155 imx_usbmisc_set_ctrl(device_t dev, u_int index, uint32_t bits) argument
167 imx_usbmisc_clr_ctrl(device_t dev, u_int index, uint32_t bits) argument
179 imx_usbmisc_probe(device_t dev) argument
193 imx_usbmisc_detach(device_t dev) argument
206 imx_usbmisc_attach(device_t dev) argument
266 device_t dev; member in struct:imx_ehci_softc
295 imx_ehci_probe(device_t dev) argument
309 imx_ehci_detach(device_t dev) argument
371 imx_ehci_attach(device_t dev) argument
[all...]
/freebsd-11-stable/sys/arm/xscale/ixp425/
H A Dcambria_fled.c38 #include <dev/iicbus/iiconf.h>
39 #include <dev/led/led.h>
51 fled_probe(device_t dev) argument
53 device_set_desc(dev, "Gateworks Cambria Front Panel LED");
64 device_t dev = arg; local
67 (void) iicbus_transfer(dev, msgs, 1);
71 fled_attach(device_t dev) argument
73 struct fled_softc *sc = device_get_softc(dev);
75 sc->sc_led = led_create(fled_cb, dev, "front");
77 fled_cb(dev,
83 fled_detach(device_t dev) argument
[all...]
/freebsd-11-stable/sys/dev/agp/
H A Dagpvar.h70 enum agp_acquire_state agp_state(device_t dev);
75 void agp_get_info(device_t dev, struct agp_info *info);
81 int agp_acquire(device_t dev);
86 int agp_release(device_t dev);
90 * defined in <dev/agp/agpreg.h>
92 int agp_enable(device_t dev, u_int32_t mode);
99 void *agp_alloc_memory(device_t dev, int type, vm_size_t bytes);
104 void agp_free_memory(device_t dev, void *handle);
111 int agp_bind_memory(device_t dev, void *handle, vm_offset_t offset);
117 int agp_unbind_memory(device_t dev, voi
[all...]
/freebsd-11-stable/sys/dev/atkbdc/
H A Datkbdc_ebus.c43 #include <dev/ofw/ofw_bus.h>
50 #include <dev/kbd/kbdreg.h>
51 #include <dev/atkbdc/atkbdreg.h>
52 #include <dev/atkbdc/atkbdc_subr.h>
53 #include <dev/atkbdc/atkbdcreg.h>
54 #include <dev/atkbdc/psm.h>
91 atkbdc_ebus_probe(device_t dev) argument
97 if (strcmp(ofw_bus_get_name(dev), "8042") != 0)
117 OF_finddevice("keyboard") != ofw_bus_get_node(dev)) {
118 device_disable(dev);
173 atkbdc_ebus_attach(device_t dev) argument
[all...]
/freebsd-11-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-11-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-11-stable/etc/rc.d/
H A Dpowerd21 sysctl dev.cpu.0.freq=`sysctl -n dev.cpu.0.freq_levels |
22 sed -e 's:/.*::'` > /dev/null

Completed in 188 milliseconds

1234567891011>>