Searched refs:dev (Results 226 - 250 of 6728) sorted by relevance

1234567891011>>

/freebsd-12-stable/sys/dev/stg/
H A Dtmc18c30_pccard.c57 #include <dev/pccard/pccardvar.h>
61 #include <dev/stg/tmc18c30reg.h>
62 #include <dev/stg/tmc18c30var.h>
63 #include <dev/stg/tmc18c30.h>
80 stg_pccard_probe(device_t dev) argument
84 if ((pp = pccard_product_lookup(dev, stg_products,
87 device_set_desc(dev, pp->pp_name);
94 stg_pccard_attach(device_t dev) argument
96 struct stg_softc *sc = device_get_softc(dev);
101 error = stg_alloc_resource(dev);
[all...]
/freebsd-12-stable/sys/dev/usb/controller/
H A Dgeneric_xhci.c51 #include <dev/ofw/ofw_bus.h>
52 #include <dev/ofw/ofw_bus_subr.h>
54 #include <dev/usb/usb.h>
55 #include <dev/usb/usbdi.h>
57 #include <dev/usb/usb_core.h>
58 #include <dev/usb/usb_busdma.h>
59 #include <dev/usb/usb_process.h>
60 #include <dev/usb/usb_util.h>
62 #include <dev/usb/usb_controller.h>
63 #include <dev/us
88 xhci_probe(device_t dev) argument
103 xhci_attach(device_t dev) argument
189 xhci_detach(device_t dev) argument
[all...]
H A Dehci_imx.c49 #include <dev/ofw/ofw_bus.h>
50 #include <dev/ofw/ofw_bus_subr.h>
52 #include <dev/usb/usb.h>
53 #include <dev/usb/usbdi.h>
54 #include <dev/usb/usb_busdma.h>
55 #include <dev/usb/usb_process.h>
56 #include <dev/usb/usb_controller.h>
57 #include <dev/usb/usb_bus.h>
58 #include <dev/usb/controller/ehci.h>
59 #include <dev/us
145 device_t dev; member in struct:imx_usbmisc_softc
157 imx_usbmisc_set_ctrl(device_t dev, u_int index, uint32_t bits) argument
169 imx_usbmisc_clr_ctrl(device_t dev, u_int index, uint32_t bits) argument
181 imx_usbmisc_probe(device_t dev) argument
195 imx_usbmisc_detach(device_t dev) argument
208 imx_usbmisc_attach(device_t dev) argument
268 device_t dev; member in struct:imx_ehci_softc
297 imx_ehci_probe(device_t dev) argument
311 imx_ehci_detach(device_t dev) argument
373 imx_ehci_attach(device_t dev) argument
[all...]
/freebsd-12-stable/sys/dev/rtwn/rtl8188e/
H A Dr88e_rom_defs.h22 #include <dev/rtwn/rtl8192c/r92c_rom_defs.h>
/freebsd-12-stable/sys/dev/smc/
H A Dif_smc_fdt.c46 #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))
70 if (ofw_bus_is_compatible(dev, "sms
85 smc_fdt_attach(device_t dev) argument
92 smc_fdt_detach(device_t dev) argument
[all...]
/freebsd-12-stable/sys/powerpc/mpc85xx/
H A Dds1553_bus_fdt.c49 #include <dev/ofw/ofw_bus_subr.h>
56 static int rtc_attach(device_t dev);
57 static int rtc_probe(device_t dev);
80 rtc_probe(device_t dev) argument
83 if (!ofw_bus_is_compatible(dev, "dallas,ds1553"))
86 device_set_desc(dev, "Dallas Semiconductor DS1553 RTC");
91 rtc_attach(device_t dev) argument
97 sc = device_get_softc(dev);
102 sc->res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &sc->rid,
105 device_printf(dev, "canno
[all...]
/freebsd-12-stable/sys/kern/
H A Dkern_conf.c57 static void destroy_devl(struct cdev *dev);
58 static int destroy_dev_sched_cbl(struct cdev *dev,
142 dev_ref(struct cdev *dev) argument
147 dev->si_refcount++;
152 dev_refl(struct cdev *dev) argument
156 dev->si_refcount++;
160 dev_rel(struct cdev *dev) argument
166 dev->si_refcount--;
167 KASSERT(dev->si_refcount >= 0,
168 ("dev_rel(%s) gave negative count", devtoname(dev)));
179 dev_refthread(struct cdev *dev, int *ref) argument
208 struct cdev *dev; local
248 dev_relthread(struct cdev *dev, int ref) argument
350 giant_open(struct cdev *dev, int oflags, int devtype, struct thread *td) argument
366 giant_fdopen(struct cdev *dev, int oflags, struct thread *td, struct file *fp) argument
382 giant_close(struct cdev *dev, int fflag, int devtype, struct thread *td) argument
401 struct cdev *dev; local
417 giant_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int fflag, struct thread *td) argument
433 giant_read(struct cdev *dev, struct uio *uio, int ioflag) argument
449 giant_write(struct cdev *dev, struct uio *uio, int ioflag) argument
465 giant_poll(struct cdev *dev, int events, struct thread *td) argument
481 giant_kqfilter(struct cdev *dev, struct knote *kn) argument
497 giant_mmap(struct cdev *dev, vm_ooffset_t offset, vm_paddr_t *paddr, int nprot, vm_memattr_t *memattr) argument
515 giant_mmap_single(struct cdev *dev, vm_ooffset_t *offset, vm_size_t size, vm_object_t *object, int nprot) argument
533 notify(struct cdev *dev, const char *ev, int flags) argument
553 notify_create(struct cdev *dev, int flags) argument
560 notify_destroy(struct cdev *dev) argument
711 prep_devname(struct cdev *dev, const char *fmt, va_list ap) argument
778 struct cdev *dev, *dev_new; local
876 struct cdev *dev; local
893 struct cdev *dev; local
910 struct cdev *dev; local
966 struct cdev *dev; local
1006 struct cdev *dev; local
1095 destroy_devl(struct cdev *dev) argument
1198 delist_dev_locked(struct cdev *dev) argument
1227 delist_dev(struct cdev *dev) argument
1237 destroy_dev(struct cdev *dev) argument
1247 devtoname(struct cdev *dev) argument
1314 struct cdev *dev, *ndev, *dl, *de; local
1400 struct cdev *dev; local
1436 struct cdev *dev; local
1464 destroy_dev_sched_cbl(struct cdev *dev, void (*cb)(void *), void *arg) argument
1485 destroy_dev_sched_cb(struct cdev *dev, void (*cb)(void *), void *arg) argument
1493 destroy_dev_sched(struct cdev *dev) argument
1527 struct cdev *dev; local
[all...]
/freebsd-12-stable/tools/regression/geom/
H A DRunTest.sh11 (cd MdLoad && make) > /dev/null 2>&1
16 mdconfig -d -u $MD > /dev/null 2>&1 || true
17 if [ -c /dev/md$MD ] ; then
20 if [ -c /dev/md$MD ] ; then
23 if [ -c /dev/md$MD ] ; then
24 echo "/dev/md$MD is busy" 1>&2
29 if diskinfo /dev/md${MD}* |
38 diskinfo /dev/md${MD}* > Ref/`basename $f`
42 mdconfig -d -u $MD > /dev/null 2>&1 || true
H A DRunTest.t12 (cd MdLoad && make) > /dev/null 2>&1
21 mdconfig -d -u $MD > /dev/null 2>&1 || true
22 if [ -c /dev/md$MD ] ; then
25 if [ -c /dev/md$MD ] ; then
28 if [ -c /dev/md$MD ] ; then
30 echo "/dev/md$MD is busy"
35 if diskinfo /dev/md${MD}* |
43 diskinfo /dev/md${MD}* > Ref/`basename $f`
47 mdconfig -d -u $MD > /dev/null 2>&1 || true
/freebsd-12-stable/tools/regression/usb/
H A Dusb_enum.t24 if [ -c /dev/$DEV ] && [ -r /dev/$DEV ] && usbconfig -d $DEV reset ; then
/freebsd-12-stable/tools/tools/build_option_survey/
H A Dlistallopts.sh13 make showconfig __MAKE_CONF=/dev/null SRCCONF=/dev/null |
/freebsd-12-stable/sys/dev/ahci/
H A Dahci_generic.c48 #include <dev/ahci/ahci.h>
51 #include <contrib/dev/acpica/include/acpi.h>
52 #include <dev/acpica/acpivar.h>
54 #include <dev/pci/pcivar.h>
55 #include <dev/pci/pcireg.h>
59 #include <dev/ofw/ofw_bus.h>
60 #include <dev/ofw/ofw_bus_subr.h>
70 ahci_fdt_probe(device_t dev) argument
72 struct ahci_controller *ctlr = device_get_softc(dev);
75 if (!ofw_bus_status_okay(dev))
90 ahci_acpi_probe(device_t dev) argument
116 ahci_gen_ctlr_reset(device_t dev) argument
123 ahci_gen_attach(device_t dev) argument
150 ahci_gen_detach(device_t dev) argument
[all...]
/freebsd-12-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-12-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-12-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-12-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-12-stable/sys/dev/xe/
H A Dif_xe_pccard.c53 #include <dev/xe/if_xereg.h>
54 #include <dev/xe/if_xevar.h>
56 #include <dev/pccard/pccardvar.h>
57 #include <dev/pccard/pccard_cis.h>
138 xe_cemfix(device_t dev) argument
140 struct xe_softc *sc = device_get_softc(dev);
143 DEVPRINTF(2, (dev, "cemfix\n"));
145 DEVPRINTF(1, (dev, "CEM I/O port 0x%0jx, size 0x%0jx\n",
146 bus_get_resource_start(dev, SYS_RES_IOPORT, sc->port_rid),
147 bus_get_resource_count(dev, SYS_RES_IOPOR
169 xe_pccard_product_match(device_t dev, const struct pccard_product* ent, int vpfmatch) argument
188 xe_pccard_get_product(device_t dev) argument
241 xe_pccard_attach(device_t dev) argument
326 xe_pccard_detach(device_t dev) argument
344 xe_pccard_probe(device_t dev) argument
[all...]
/freebsd-12-stable/sys/dev/agp/
H A Dagpvar.h72 enum agp_acquire_state agp_state(device_t dev);
77 void agp_get_info(device_t dev, struct agp_info *info);
83 int agp_acquire(device_t dev);
88 int agp_release(device_t dev);
92 * defined in <dev/agp/agpreg.h>
94 int agp_enable(device_t dev, u_int32_t mode);
101 void *agp_alloc_memory(device_t dev, int type, vm_size_t bytes);
106 void agp_free_memory(device_t dev, void *handle);
113 int agp_bind_memory(device_t dev, void *handle, vm_offset_t offset);
119 int agp_unbind_memory(device_t dev, voi
[all...]
/freebsd-12-stable/sys/dev/dpaa/
H A Dfman_fdt.c36 #include <dev/fdt/simplebus.h>
37 #include <dev/ofw/ofw_bus.h>
38 #include <dev/ofw/ofw_bus_subr.h>
47 static int fman_fdt_probe(device_t dev);
73 fman_fdt_probe(device_t dev) argument
76 if (!ofw_bus_is_compatible(dev, "fsl,fman"))
79 device_set_desc(dev, FFMAN_DEVSTR);
87 device_t dev; local
91 dev = sc->sc_base.dev;
[all...]
/freebsd-12-stable/sys/dev/e1000/
H A De1000_osdep.c47 pci_write_config(((struct e1000_osdep *)hw->back)->dev, reg, *value, 2);
53 *value = pci_read_config(((struct e1000_osdep *)hw->back)->dev, reg, 2);
59 pci_write_config(((struct e1000_osdep *)hw->back)->dev, PCIR_COMMAND,
66 pci_write_config(((struct e1000_osdep *)hw->back)->dev, PCIR_COMMAND,
76 device_t dev = ((struct e1000_osdep *)hw->back)->dev; local
79 pci_find_cap(dev, PCIY_EXPRESS, &offset);
80 *value = pci_read_config(dev, offset + reg, 2);
90 device_t dev = ((struct e1000_osdep *)hw->back)->dev; local
[all...]
/freebsd-12-stable/sys/dev/extres/regulator/
H A Dregulator_fixed.h32 #include <dev/gpio/gpiobusvar.h>
33 #include <dev/extres/regulator/regulator.h>
41 int regnode_fixed_register(device_t dev,
/freebsd-12-stable/sys/dev/isci/scil/
H A Dscic_sds_smp_request.h63 #include <dev/isci/scil/intel_sas.h>
64 #include <dev/isci/scil/sci_types.h>
65 #include <dev/isci/scil/scic_sds_request.h>
/freebsd-12-stable/sys/dev/sn/
H A Dif_sn_isa.c49 #include <dev/sn/if_snvar.h>
55 sn_isa_probe (device_t dev) argument
57 if (isa_get_logicalid(dev)) /* skip PnP probes */
59 if (sn_probe(dev) != 0)
65 sn_isa_attach (device_t dev) argument
67 struct sn_softc *sc = device_get_softc(dev);
70 sc->dev = dev;
71 err = sn_activate(dev);
73 sn_deactivate(dev);
[all...]
/freebsd-12-stable/sys/dev/atkbdc/
H A Datkbdc_ebus.c45 #include <dev/ofw/ofw_bus.h>
52 #include <dev/kbd/kbdreg.h>
53 #include <dev/atkbdc/atkbdreg.h>
54 #include <dev/atkbdc/atkbdc_subr.h>
55 #include <dev/atkbdc/atkbdcreg.h>
56 #include <dev/atkbdc/psm.h>
93 atkbdc_ebus_probe(device_t dev) argument
99 if (strcmp(ofw_bus_get_name(dev), "8042") != 0)
119 OF_finddevice("keyboard") != ofw_bus_get_node(dev)) {
120 device_disable(dev);
175 atkbdc_ebus_attach(device_t dev) argument
[all...]
/freebsd-12-stable/sys/powerpc/ofw/
H A Dofw_pcibus.h37 #include <dev/ofw/ofw_bus.h>
38 #include <dev/ofw/ofw_pci.h>
39 #include <dev/pci/pcivar.h>

Completed in 285 milliseconds

1234567891011>>