Searched refs:dev (Results 326 - 350 of 6298) sorted by relevance

<<11121314151617181920>>

/freebsd-11-stable/sys/dev/sio/
H A Dsio_pccard.c42 #include <dev/pccard/pccard_cis.h>
43 #include <dev/pccard/pccardvar.h>
45 #include <dev/sio/siovar.h>
47 static int sio_pccard_attach(device_t dev);
48 static int sio_pccard_probe(device_t dev);
66 sio_pccard_probe(device_t dev) argument
71 error = pccard_get_function(dev, &fcn);
86 sio_pccard_attach(device_t dev) argument
91 SET_FLAG(dev, SET_IFTYPE(COM_IF_MODEM_CARD));
95 if ((err = sioprobe(dev,
[all...]
/freebsd-11-stable/sys/dev/uart/
H A Duart_bus_ebus.c28 __FBSDID("$FreeBSD: stable/11/sys/dev/uart/uart_bus_ebus.c 340145 2018-11-04 23:28:56Z mmacy $");
36 #include <dev/ofw/ofw_bus.h>
43 #include <dev/uart/uart.h>
44 #include <dev/uart/uart_bus.h>
45 #include <dev/uart/uart_cpu.h>
47 static int uart_ebus_probe(device_t dev);
64 uart_ebus_probe(device_t dev) argument
70 sc = device_get_softc(dev);
73 nm = ofw_bus_get_name(dev);
74 cmpt = ofw_bus_get_compat(dev);
[all...]
/freebsd-11-stable/stand/uboot/lib/
H A Ddisk.c49 printf("%s%d: ", dev->dd.d_dev->dv_name, dev->dd.d_unit); \
68 #define SI(dev) (stor_info[(dev)->dd.d_unit])
148 struct disk_devdesc *dev = (struct disk_devdesc *)devdata; local
158 if (size % SI(dev).bsize) {
161 size, SI(dev).bsize);
164 bcount = size / SI(dev).bsize;
168 err = stor_readdev(dev, blk + dev
179 struct disk_devdesc *dev; local
189 stor_opendev(struct disk_devdesc *dev) argument
212 struct disk_devdesc *dev; local
219 stor_readdev(struct disk_devdesc *dev, daddr_t blk, size_t size, char *buf) argument
243 struct disk_devdesc dev; local
277 struct disk_devdesc *dev; local
[all...]
/freebsd-11-stable/sys/arm/xscale/ixp425/
H A Duart_bus_ixp425.c38 #include <dev/pci/pcivar.h>
39 #include <dev/ic/ns16550.h>
41 #include <dev/uart/uart.h>
42 #include <dev/uart/uart_bus.h>
43 #include <dev/uart/uart_cpu.h>
50 static int uart_ixp425_probe(device_t dev);
68 uart_ixp425_probe(device_t dev) argument
71 int unit = device_get_unit(dev);
74 sc = device_get_softc(dev);
79 device_printf(dev, "rcl
[all...]
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_pack_dev.c115 dev_t dev = 0; local
118 dev = apd_makedev(numbers[0], numbers[1]);
119 if ((unsigned long)major(dev) != numbers[0])
121 else if ((unsigned long)minor(dev) != numbers[1])
125 return (dev);
132 dev_t dev = 0; local
135 dev = makedev_netbsd(numbers[0], numbers[1]);
136 if ((unsigned long)major_netbsd(dev) != numbers[0])
138 else if ((unsigned long)minor_netbsd(dev) != numbers[1])
142 return (dev);
154 dev_t dev = 0; local
176 dev_t dev = 0; local
198 dev_t dev = 0; local
220 dev_t dev = 0; local
242 dev_t dev = 0; local
266 dev_t dev = 0; local
[all...]
/freebsd-11-stable/sys/dev/cfi/
H A Dcfi_bus_fdt.c42 #include <dev/cfi/cfi_var.h>
43 #include <dev/ofw/ofw_bus.h>
44 #include <dev/ofw/ofw_bus_subr.h>
67 cfi_fdt_probe(device_t dev) argument
70 if (!ofw_bus_status_okay(dev))
73 if (!ofw_bus_is_compatible(dev, "cfi-flash"))
76 return (cfi_probe(dev));
/freebsd-11-stable/sys/dev/cs/
H A Dif_csvar.h37 device_t dev; member in struct:cs_softc
73 int cs_alloc_port(device_t dev, int rid, int size);
74 int cs_alloc_irq(device_t dev, int rid);
75 int cs_attach(device_t dev);
76 int cs_cs89x0_probe(device_t dev);
77 int cs_detach(device_t dev);
78 void cs_release_resources(device_t dev);
/freebsd-11-stable/sys/arm/mv/armada38x/
H A Drtc.c49 #include <dev/ofw/ofw_bus.h>
50 #include <dev/ofw/ofw_bus_subr.h>
69 device_t dev; member in struct:mv_rtc_softc
74 static int mv_rtc_probe(device_t dev);
75 static int mv_rtc_attach(device_t dev);
76 static int mv_rtc_detach(device_t dev);
78 static int mv_rtc_gettime(device_t dev, struct timespec *ts);
79 static int mv_rtc_settime(device_t dev, struct timespec *ts);
107 mv_rtc_probe(device_t dev) argument
110 if (!ofw_bus_status_okay(dev))
122 mv_rtc_attach(device_t dev) argument
147 mv_rtc_detach(device_t dev) argument
161 mv_rtc_gettime(device_t dev, struct timespec *ts) argument
188 mv_rtc_settime(device_t dev, struct timespec *ts) argument
[all...]
/freebsd-11-stable/sys/dev/bhnd/bhndb/
H A Dbhnd_bhndb.c38 #include <dev/bhnd/bhnd_ids.h>
39 #include <dev/bhnd/bhnd.h>
49 bhnd_bhndb_read_board_info(device_t dev, device_t child, argument
55 if ((error = bhnd_bus_generic_read_board_info(dev, child, info)))
59 return (BHNDB_POPULATE_BOARD_INFO(device_get_parent(dev), dev, info));
63 bhnd_bhndb_get_attach_type(device_t dev, device_t child) argument
/freebsd-11-stable/sys/dev/bhnd/cores/chipc/
H A Dchipc_cfi.c43 #include <dev/cfi/cfi_var.h>
52 chipc_cfi_probe(device_t dev) argument
57 sc = device_get_softc(dev);
60 if ((error = cfi_probe(dev)) > 0)
63 device_set_desc(dev, "Broadcom ChipCommon CFI");
68 chipc_cfi_attach(device_t dev) argument
71 return (cfi_attach(dev));
/freebsd-11-stable/sys/dev/ata/chipsets/
H A Data-marvell.c47 #include <dev/pci/pcivar.h>
48 #include <dev/pci/pcireg.h>
49 #include <dev/ata/ata-all.h>
50 #include <dev/ata/ata-pci.h>
54 static int ata_marvell_chipinit(device_t dev);
55 static int ata_marvell_ch_attach(device_t dev);
56 static int ata_marvell_setmode(device_t dev, int target, int mode);
57 static int ata_marvell_dummy_chipinit(device_t dev);
86 ata_marvell_probe(device_t dev) argument
88 struct ata_pci_controller *ctlr = device_get_softc(dev);
120 ata_marvell_chipinit(device_t dev) argument
144 ata_marvell_ch_attach(device_t dev) argument
157 ata_marvell_setmode(device_t dev, int target, int mode) argument
174 ata_marvell_dummy_chipinit(device_t dev) argument
[all...]
/freebsd-11-stable/etc/rc.d/
H A Dsavecore28 if [ ! -L /dev/dumpdev ]; then
31 dumpdev=`/bin/realpath /dev/dumpdev`
59 local dev
63 dev=
66 dev="${dumpdev}"
70 if savecore -C "${dev}" >/dev/null; then
/freebsd-11-stable/sys/powerpc/cpufreq/
H A Ddfs.c40 device_t dev; member in struct:dfs_softc
45 static int dfs_probe(device_t dev);
46 static int dfs_attach(device_t dev);
47 static int dfs_settings(device_t dev, struct cf_setting *sets, int *count);
48 static int dfs_set(device_t dev, const struct cf_setting *set);
49 static int dfs_get(device_t dev, struct cf_setting *set);
50 static int dfs_type(device_t dev, int *type);
112 dfs_probe(device_t dev) argument
117 device_set_desc(dev, "Dynamic Frequency Switching");
122 dfs_attach(device_t dev) argument
141 dfs_settings(device_t dev, struct cf_setting *sets, int *count) argument
166 dfs_set(device_t dev, const struct cf_setting *set) argument
194 dfs_get(device_t dev, struct cf_setting *set) argument
219 dfs_type(device_t dev, int *type) argument
[all...]
/freebsd-11-stable/sys/dev/isci/scil/
H A Dsati_synchronize_cache.c64 #include <dev/isci/scil/sati_synchronize_cache.h>
65 #include <dev/isci/scil/sati_callbacks.h>
66 #include <dev/isci/scil/sati_util.h>
67 #include <dev/isci/scil/sati_translator_sequence.h>
69 #include <dev/isci/scil/intel_ata.h>
70 #include <dev/isci/scil/intel_scsi.h>
71 #include <dev/isci/scil/intel_sat.h>
H A Dscif_sas_internal_io_request.h69 #include <dev/isci/scil/scif_io_request.h>
70 #include <dev/isci/scil/sci_base_request.h>
71 #include <dev/isci/scil/scif_sas_request.h>
72 #include <dev/isci/scil/scif_sas_io_request.h>
73 #include <dev/isci/scil/scif_sas_remote_device.h>
74 #include <dev/isci/scil/intel_sas.h>
75 #include <dev/isci/scil/sci_controller_constants.h>
/freebsd-11-stable/sys/dev/stg/
H A Dtmc18c30_subr.c56 #include <dev/stg/tmc18c30reg.h>
57 #include <dev/stg/tmc18c30var.h>
58 #include <dev/stg/tmc18c30.h>
65 stg_alloc_resource(device_t dev) argument
67 struct stg_softc * sc = device_get_softc(dev);
72 sc->port_res = bus_alloc_resource_any(dev, SYS_RES_IOPORT,
75 stg_release_resource(dev);
79 sc->irq_res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &sc->irq_rid,
82 stg_release_resource(dev);
85 error = bus_get_resource(dev, SYS_RES_MEMOR
106 stg_release_resource(device_t dev) argument
125 stg_probe(device_t dev) argument
137 stg_attach(device_t dev) argument
157 stg_detach(device_t dev) argument
[all...]
/freebsd-11-stable/sys/dev/pdq/
H A Dif_fpa.c28 __FBSDID("$FreeBSD: stable/11/sys/dev/pdq/if_fpa.c 331882 2018-04-02 16:11:49Z brooks $");
53 #include <dev/pci/pcivar.h>
54 #include <dev/pci/pcireg.h>
56 #include <dev/pdq/pdq_freebsd.h>
57 #include <dev/pdq/pdqreg.h>
92 pdq_pci_probe(device_t dev) argument
94 if (pci_get_vendor(dev) == DEC_VENDORID &&
95 pci_get_device(dev) == DEFPA_CHIPID) {
96 device_set_desc(dev, "Digital DEFPA PCI FDDI Controller");
104 pdq_pci_attach(device_t dev) argument
179 pdq_pci_shutdown(device_t dev) argument
[all...]
/freebsd-11-stable/sys/dev/spibus/
H A Dspibusvar.h26 * $FreeBSD: stable/11/sys/dev/spibus/spibusvar.h 332942 2018-04-24 17:00:08Z ian $
34 device_t dev; member in struct:spibus_softc
59 spibus_get_ ## A(device_t dev, T *t) \
61 return BUS_READ_IVAR(device_get_parent(dev), dev, \
65 spibus_set_ ## A(device_t dev, T t) \
67 return BUS_WRITE_IVAR(device_get_parent(dev), dev, \
/freebsd-11-stable/sys/dev/usb/controller/
H A Duss820dci_atmelarm.c2 __FBSDID("$FreeBSD: stable/11/sys/dev/usb/controller/uss820dci_atmelarm.c 308401 2016-11-07 08:36:06Z hselasky $");
49 #include <dev/usb/usb.h>
50 #include <dev/usb/usbdi.h>
52 #include <dev/usb/usb_core.h>
53 #include <dev/usb/usb_busdma.h>
54 #include <dev/usb/usb_process.h>
55 #include <dev/usb/usb_util.h>
57 #include <dev/usb/usb_controller.h>
58 #include <dev/usb/usb_bus.h>
59 #include <dev/us
93 uss820_atmelarm_probe(device_t dev) argument
100 uss820_atmelarm_attach(device_t dev) argument
164 uss820_atmelarm_detach(device_t dev) argument
[all...]
/freebsd-11-stable/tests/sys/geom/class/mirror/
H A D12_test.sh17 dd if=/dev/zero 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 /dev/$us1
28 dd if=/dev/random of=$tmp1 bs=$ddbs count=1 >/dev/null 2>&1
33 dd if=$tmp1 of=/dev/mirror/$name bs=$ddbs count=1 >/dev/nul
[all...]
/freebsd-11-stable/sys/dev/atkbdc/
H A Datkbd_atkbdc.c28 __FBSDID("$FreeBSD: stable/11/sys/dev/atkbdc/atkbd_atkbdc.c 308654 2016-11-14 22:33:57Z gonzo $");
44 #include <dev/kbd/kbdreg.h>
45 #include <dev/atkbdc/atkbdreg.h>
46 #include <dev/atkbdc/atkbdcreg.h>
55 static void atkbdidentify(driver_t *driver, device_t dev);
56 static int atkbdprobe(device_t dev);
57 static int atkbdattach(device_t dev);
58 static int atkbdresume(device_t dev);
84 atkbdprobe(device_t dev) argument
91 device_set_desc(dev, "A
112 atkbdattach(device_t dev) argument
143 atkbdresume(device_t dev) argument
[all...]
/freebsd-11-stable/stand/common/
H A Ddevopen.c42 struct devdesc *dev; local
45 result = archsw.arch_getdev((void **)&dev, fname, file);
50 f->f_dev = dev->d_dev;
51 f->f_devdata = dev;
52 result = dev->d_dev->dv_open(f, dev);
55 free(dev);
/freebsd-11-stable/sys/dev/imcsmb/
H A Dimcsmb_var.h29 * $FreeBSD: stable/11/sys/dev/imcsmb/imcsmb_var.h 355366 2019-12-03 22:53:50Z rpokala $
49 #include <dev/pci/pcivar.h>
50 #include <dev/pci/pcireg.h>
52 #include <dev/smbus/smbconf.h>
72 device_t dev; member in struct:imcsmb_pci_softc
76 void imcsmb_pci_release_bus(device_t dev);
77 int imcsmb_pci_request_bus(device_t dev);
98 device_t dev; member in struct:imcsmb_softc
/freebsd-11-stable/sys/dev/ncv/
H A Dncr53c500_pccard.c56 #include <dev/pccard/pccardvar.h>
60 #include <dev/ncv/ncr53c500reg.h>
61 #include <dev/ncv/ncr53c500hw.h>
62 #include <dev/ncv/ncr53c500var.h>
110 ncv_release_resource(device_t dev) argument
112 struct ncv_softc *sc = device_get_softc(dev);
115 bus_teardown_intr(dev, sc->irq_res, sc->ncv_intrhand);
119 bus_release_resource(dev, SYS_RES_IOPORT,
124 bus_release_resource(dev, SYS_RES_IOPORT,
129 bus_release_resource(dev, SYS_RES_IR
141 ncv_alloc_resource(device_t dev) argument
211 ncv_pccard_probe(device_t dev) argument
239 ncv_pccard_attach(device_t dev) argument
269 ncv_pccard_detach(device_t dev) argument
[all...]
/freebsd-11-stable/sys/arm/nvidia/
H A Dtegra_lic.c45 #include <dev/ofw/ofw_bus.h>
46 #include <dev/ofw/ofw_bus_subr.h>
85 device_t dev; member in struct:tegra_lic_sc
91 tegra_lic_activate_intr(device_t dev, struct intr_irqsrc *isrc, argument
94 struct tegra_lic_sc *sc = device_get_softc(dev);
100 tegra_lic_disable_intr(device_t dev, struct intr_irqsrc *isrc) argument
102 struct tegra_lic_sc *sc = device_get_softc(dev);
108 tegra_lic_enable_intr(device_t dev, struct intr_irqsrc *isrc) argument
110 struct tegra_lic_sc *sc = device_get_softc(dev);
116 tegra_lic_map_intr(device_t dev, struc argument
125 tegra_lic_deactivate_intr(device_t dev, struct intr_irqsrc *isrc, struct resource *res, struct intr_map_data *data) argument
134 tegra_lic_setup_intr(device_t dev, struct intr_irqsrc *isrc, struct resource *res, struct intr_map_data *data) argument
143 tegra_lic_teardown_intr(device_t dev, struct intr_irqsrc *isrc, struct resource *res, struct intr_map_data *data) argument
152 tegra_lic_pre_ithread(device_t dev, struct intr_irqsrc *isrc) argument
161 tegra_lic_post_ithread(device_t dev, struct intr_irqsrc *isrc) argument
169 tegra_lic_post_filter(device_t dev, struct intr_irqsrc *isrc) argument
178 tegra_lic_bind_intr(device_t dev, struct intr_irqsrc *isrc) argument
187 tegra_lic_probe(device_t dev) argument
199 tegra_lic_attach(device_t dev) argument
248 tegra_lic_detach(device_t dev) argument
[all...]

Completed in 165 milliseconds

<<11121314151617181920>>