/freebsd-11-stable/sys/dev/usb/controller/ |
H A D | dwc_otg_fdt.c | 27 __FBSDID("$FreeBSD: stable/11/sys/dev/usb/controller/dwc_otg_fdt.c 356648 2020-01-12 04:05:18Z kevans $"); 40 #include <dev/ofw/openfirm.h> 41 #include <dev/ofw/ofw_bus.h> 42 #include <dev/ofw/ofw_bus_subr.h> 44 #include <dev/usb/usb.h> 45 #include <dev/usb/usbdi.h> 47 #include <dev/usb/usb_core.h> 48 #include <dev/usb/usb_busdma.h> 49 #include <dev/usb/usb_process.h> 50 #include <dev/us 62 dwc_otg_probe(device_t dev) argument 77 dwc_otg_irq_index(device_t dev, int *rid) argument 91 dwc_otg_attach(device_t dev) argument 183 dwc_otg_detach(device_t dev) argument [all...] |
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_mad.c | 39 #include <dev/mlx4/cmd.h> 40 #include <dev/mlx4/driver.h> 89 static void handle_client_rereg_event(struct mlx4_ib_dev *dev, u8 port_num); 90 static void handle_lid_change_event(struct mlx4_ib_dev *dev, u8 port_num); 91 static void __propagate_pkey_ev(struct mlx4_ib_dev *dev, int port_num, 106 int mlx4_MAD_IFC(struct mlx4_ib_dev *dev, int mad_ifc_flags, argument 117 inmailbox = mlx4_alloc_cmd_mailbox(dev->dev); 122 outmailbox = mlx4_alloc_cmd_mailbox(dev->dev); 187 update_sm_ah(struct mlx4_ib_dev *dev, u8 port_num, u16 lid, u8 sl) argument 227 struct mlx4_ib_dev *dev = to_mdev(ibdev); local 329 __propagate_pkey_ev(struct mlx4_ib_dev *dev, int port_num, int block, u32 change_bitmap) argument 363 node_desc_override(struct ib_device *dev, struct ib_mad *mad) argument 379 forward_trap(struct mlx4_ib_dev *dev, u8 port_num, const struct ib_mad *mad) argument 430 struct mlx4_ib_dev *dev = to_mdev(ibdev); local 441 find_slave_port_pkey_ix(struct mlx4_ib_dev *dev, int slave, u8 port, u16 pkey, u16 *ix) argument 482 mlx4_ib_send_to_slave(struct mlx4_ib_dev *dev, int slave, u8 port, enum ib_qp_type dest_qpt, struct ib_wc *wc, struct ib_grh *grh, struct ib_mad *mad) argument 643 struct mlx4_ib_dev *dev = to_mdev(ibdev); local 904 struct mlx4_ib_dev *dev = to_mdev(ibdev); local 953 struct mlx4_ib_dev *dev = to_mdev(ibdev); local 993 mlx4_ib_mad_init(struct mlx4_ib_dev *dev) argument 1029 mlx4_ib_mad_cleanup(struct mlx4_ib_dev *dev) argument 1048 handle_lid_change_event(struct mlx4_ib_dev *dev, u8 port_num) argument 1057 handle_client_rereg_event(struct mlx4_ib_dev *dev, u8 port_num) argument 1089 propagate_pkey_ev(struct mlx4_ib_dev *dev, int port_num, struct mlx4_eqe *eqe) argument 1096 handle_slaves_guid_change(struct mlx4_ib_dev *dev, u8 port_num, u32 guid_tbl_blk_num, u32 change_bitmap) argument 1152 struct mlx4_ib_dev *dev = ew->ib_dev; local 1250 mlx4_ib_dispatch_event(struct mlx4_ib_dev *dev, u8 port_num, enum ib_event_type type) argument 1266 struct mlx4_ib_dev *dev = to_mdev(ctx->ib_dev); local 1314 is_proxy_qp0(struct mlx4_ib_dev *dev, int qpn, int slave) argument 1322 mlx4_ib_send_to_wire(struct mlx4_ib_dev *dev, int slave, u8 port, enum ib_qp_type dest_qpt, u16 pkey_index, u32 remote_qpn, u32 qkey, struct ib_ah_attr *attr, u8 *s_mac, u16 vlan_id, struct ib_mad *mad) argument 1431 get_slave_base_gid_ix(struct mlx4_ib_dev *dev, int slave, int port) argument 1438 fill_in_real_sgid_index(struct mlx4_ib_dev *dev, int slave, int port, struct ib_ah_attr *ah_attr) argument 1449 struct mlx4_ib_dev *dev = to_mdev(ctx->ib_dev); local 1916 alloc_pv_object(struct mlx4_ib_dev *dev, int slave, int port, struct mlx4_ib_demux_pv_ctx **ret_ctx) argument 1936 free_pv_object(struct mlx4_ib_dev *dev, int slave, int port) argument 2054 destroy_pv_resources(struct mlx4_ib_dev *dev, int slave, int port, struct mlx4_ib_demux_pv_ctx *ctx, int flush) argument 2079 mlx4_ib_tunnels_update(struct mlx4_ib_dev *dev, int slave, int port, int do_init) argument 2118 mlx4_ib_alloc_demux_ctx(struct mlx4_ib_dev *dev, struct mlx4_ib_demux_ctx *ctx, int port) argument 2215 struct mlx4_ib_dev *dev = to_mdev(ctx->ib_dev); local 2234 mlx4_ib_master_tunnels(struct mlx4_ib_dev *dev, int do_init) argument 2246 mlx4_ib_init_sriov(struct mlx4_ib_dev *dev) argument 2322 mlx4_ib_close_sriov(struct mlx4_ib_dev *dev) argument [all...] |
/freebsd-11-stable/sys/dev/amdsbwd/ |
H A D | amdsbwd.c | 48 __FBSDID("$FreeBSD: stable/11/sys/dev/amdsbwd/amdsbwd.c 335542 2018-06-22 09:25:24Z avg $"); 61 #include <dev/pci/pcivar.h> 62 #include <dev/amdsbwd/amd_chipset.h> 80 #define amdsbwd_verbose_printf(dev, ...) \ 83 device_printf(dev, __VA_ARGS__);\ 87 device_t dev; member in struct:amdsbwd_softc 100 static int amdsbwd_probe(device_t dev); 101 static int amdsbwd_attach(device_t dev); 102 static int amdsbwd_detach(device_t dev); 103 static int amdsbwd_suspend(device_t dev); 277 amdsbwd_probe_sb7xx(device_t dev, struct resource *pmres, uint32_t *addr) argument 318 amdsbwd_probe_sb8xx(device_t dev, struct resource *pmres, uint32_t *addr) argument 373 amdsbwd_probe_fch41(device_t dev, struct resource *pmres, uint32_t *addr) argument 418 amdsbwd_probe(device_t dev) argument 480 amdsbwd_attach_sb(device_t dev, struct amdsbwd_softc *sc) argument 505 amdsbwd_attach(device_t dev) argument 541 amdsbwd_detach(device_t dev) argument 564 amdsbwd_suspend(device_t dev) argument 577 amdsbwd_resume(device_t dev) argument [all...] |
/freebsd-11-stable/sys/dev/ath/ |
H A D | if_ath_ahb.c | 63 #include <dev/ath/if_athvar.h> 88 ath_ahb_probe(device_t dev) argument 96 if (resource_int_value(device_get_name(dev), device_get_unit(dev), 101 if (resource_int_value(device_get_name(dev), device_get_unit(dev), 106 device_printf(dev, "Vendor=0x%04x, Device=0x%04x\n", 114 device_set_desc(dev, devname); 129 ath_ahb_attach(device_t dev) argument 131 struct ath_ahb_softc *psc = device_get_softc(dev); 292 ath_ahb_detach(device_t dev) argument 323 ath_ahb_shutdown(device_t dev) argument 332 ath_ahb_suspend(device_t dev) argument 342 ath_ahb_resume(device_t dev) argument [all...] |
/freebsd-11-stable/tests/sys/geom/class/raid3/ |
H A D | 6_test.sh | 18 dd if=/dev/random of=${src} bs=$ddbs count=$nblocks2 >/dev/null 2>&1 20 graid3 label $name /dev/${us0} /dev/${us1} /dev/${us2} || exit 1 23 dd if=${src} of=/dev/raid3/${name} bs=$ddbs count=$nblocks2 >/dev/null 2>&1 29 dd if=/dev/zero of=/dev/${us1} bs=512 count=`expr $nblocks1 + 1` >/dev/nul [all...] |
H A D | 8_test.sh | 18 dd if=/dev/random of=${src} bs=$ddbs count=$nblocks2 >/dev/null 2>&1 20 graid3 label $name /dev/${us0} /dev/${us1} /dev/${us2} || exit 1 27 dd if=/dev/zero of=/dev/${us1} bs=512 count=`expr $nblocks1 + 1` >/dev/null 2>&1 28 dd if=${src} of=/dev/raid3/${name} bs=$ddbs count=$nblocks2 >/dev/nul [all...] |
/freebsd-11-stable/sys/dev/isci/scil/ |
H A D | scif_sas_task_request.h | 68 #include <dev/isci/scil/sati_translator_sequence.h> 69 #include <dev/isci/scil/scif_task_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_internal_io_request.h> 73 #include <dev/isci/scil/intel_sas.h>
|
/freebsd-11-stable/sys/dev/ep/ |
H A D | if_ep_eisa.c | 41 #include <dev/eisa/eisaconf.h> 43 #include <dev/ep/if_epreg.h> 44 #include <dev/ep/if_epvar.h> 96 ep_eisa_probe(device_t dev) argument 105 desc = ep_match(eisa_get_id(dev)); 108 device_set_desc(dev, desc); 110 port = (eisa_get_slot(dev) * EISA_SLOT_SIZE); 117 eisa_add_iospace(dev, iobase, EP_EISA_IOSIZE, RESVADDR_NONE); 118 eisa_add_iospace(dev, port, EP_IOSIZE, RESVADDR_NONE); 152 eisa_get_slot(dev)); 172 ep_eisa_attach(device_t dev) argument [all...] |
/freebsd-11-stable/sys/dev/ex/ |
H A D | if_ex_pccard.c | 47 #include <dev/ex/if_exreg.h> 48 #include <dev/ex/if_exvar.h> 50 #include <dev/pccard/pccardvar.h> 51 #include <dev/pccard/pccard_cis.h> 97 ex_pccard_get_silicom_mac(device_t dev, u_char *ether_addr) argument 99 pccard_cis_scan(dev, ex_pccard_silicom_cb, ether_addr); 103 ex_pccard_probe(device_t dev) argument 109 if ((pp = pccard_product_lookup(dev, ex_pccard_products, 113 device_set_desc(dev, pp->pp_name); 140 if (pccard_select_cfe(dev, 169 ex_pccard_attach(device_t dev) argument [all...] |
/freebsd-11-stable/sys/dev/tdfx/ |
H A D | tdfx_pci.h | 40 static int tdfx_probe(device_t dev); 41 static int tdfx_attach(device_t dev); 42 static int tdfx_setmtrr(device_t dev); 43 static int tdfx_clrmtrr(device_t dev); 44 static int tdfx_detach(device_t dev); 45 static int tdfx_shutdown(device_t dev);
|
/freebsd-11-stable/sys/modules/dtrace/fbt/ |
H A D | Makefile | 5 .PATH: ${SYSDIR}/cddl/dev/fbt 12 CFLAGS+= -I${SYSDIR}/cddl/dev/fbt/x86 13 .PATH: ${SYSDIR}/cddl/dev/fbt/x86 15 CFLAGS+= -I${SYSDIR}/cddl/dev/fbt/${MACHINE_CPUARCH} 16 .PATH: ${SYSDIR}/cddl/dev/fbt/${MACHINE_CPUARCH} 19 CFLAGS+= -I${SYSDIR}/cddl/dev/fbt \
|
/freebsd-11-stable/tests/sys/geom/class/mirror/ |
H A D | 10_test.sh | 17 dd if=/dev/random 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 24 gmirror insert $name /dev/$us1 34 dd if=/dev/mirror/$name of=$tmp1 iseek=256 bs=$ddbs count=1 >/dev/null 2>&1 35 dd if=/dev/$us1 of=$tmp2 iseek=256 bs=$ddbs count=1 >/dev/nul [all...] |
/freebsd-11-stable/stand/usb/storage/ |
H A D | umass_common.c | 61 umass_probe(device_t dev) argument 63 struct usb_attach_arg *uaa = device_get_ivars(dev); 69 device_get_unit(dev) != 0) 75 umass_attach(device_t dev) argument 77 struct usb_attach_arg *uaa = device_get_ivars(dev); 83 umass_detach(device_t dev) argument
|
/freebsd-11-stable/sys/arm/nvidia/ |
H A D | tegra_abpmisc.c | 48 #include <dev/fdt/fdt_common.h> 49 #include <dev/ofw/ofw_bus.h> 50 #include <dev/ofw/ofw_bus_subr.h> 72 device_t dev; member in struct:tegra_abpmisc_softc 112 tegra_abpmisc_probe(device_t dev) argument 114 if (!ofw_bus_status_okay(dev)) 117 if (ofw_bus_search_compatible(dev, compat_data)->ocd_data == 0) 124 tegra_abpmisc_attach(device_t dev) argument 129 sc = device_get_softc(dev); 130 sc->dev 169 tegra_abpmisc_detach(device_t dev) argument [all...] |
H A D | tegra_rtc.c | 48 #include <dev/extres/clk/clk.h> 49 #include <dev/fdt/fdt_common.h> 50 #include <dev/ofw/ofw_bus.h> 51 #include <dev/ofw/ofw_bus_subr.h> 86 mtx_init(&_sc->mtx, device_get_nameunit(_sc->dev), "tegra_rtc", MTX_DEF) 97 device_t dev; member in struct:tegra_rtc_softc 119 device_printf(sc->dev, "Device busy timeouted\n"); 128 tegra_rtc_gettime(device_t dev, struct timespec *ts) argument 134 sc = device_get_softc(dev); 148 tegra_rtc_settime(device_t dev, struc argument 179 tegra_rtc_probe(device_t dev) argument 191 tegra_rtc_attach(device_t dev) argument 271 tegra_rtc_detach(device_t dev) argument [all...] |
/freebsd-11-stable/sys/dev/iicbus/ |
H A D | ds1672.c | 26 __FBSDID("$FreeBSD: stable/11/sys/dev/iicbus/ds1672.c 331722 2018-03-29 02:50:57Z eadler $"); 40 #include <dev/iicbus/iiconf.h> 62 ds1672_probe(device_t dev) argument 65 device_set_desc(dev, "Dallas Semiconductor DS1672 RTC"); 70 ds1672_read(device_t dev, uint8_t addr, uint8_t *data, uint8_t size) argument 77 return (iicbus_transfer(dev, msgs, 2)); 81 ds1672_write(device_t dev, uint8_t addr, uint8_t *data, uint8_t size) argument 93 return (iicbus_transfer(dev, msgs, 1)); 97 ds1672_init(device_t dev) argument 102 error = ds1672_read(dev, DS1672_CTR 119 ds1672_detach(device_t dev) argument 127 ds1672_attach(device_t dev) argument 141 ds1672_gettime(device_t dev, struct timespec *ts) argument 158 ds1672_settime(device_t dev, struct timespec *ts) argument [all...] |
H A D | rtc8583.c | 29 __FBSDID("$FreeBSD: stable/11/sys/dev/iicbus/rtc8583.c 331503 2018-03-24 23:01:10Z ian $"); 46 #include <dev/ofw/ofw_bus.h> 47 #include <dev/ofw/ofw_bus_subr.h> 50 #include <dev/iicbus/iiconf.h> 51 #include <dev/iicbus/iicbus.h> 68 device_t dev; member in struct:rtc8583_softc 82 static int rtc8583_probe(device_t dev); 83 static int rtc8583_attach(device_t dev); 84 static int rtc8583_detach(device_t dev); 86 static int rtc8583_gettime(device_t dev, struc 145 rtc8583_probe(device_t dev) argument 161 rtc8583_attach(device_t dev) argument 182 rtc8583_detach(device_t dev) argument 190 rtc8583_gettime(device_t dev, struct timespec *ts) argument 247 rtc8583_settime(device_t dev, struct timespec *ts) argument [all...] |
/freebsd-11-stable/sys/dev/mmc/ |
H A D | mmc_subr.h | 52 * $FreeBSD: stable/11/sys/dev/mmc/mmc_subr.h 322119 2017-08-06 16:07:25Z marius $ 60 int mmc_send_ext_csd(device_t busdev, device_t dev, uint8_t *rawextcsd); 61 int mmc_send_status(device_t busdev, device_t dev, uint16_t rca, 63 int mmc_switch(device_t busdev, device_t dev, uint16_t rca, uint8_t set, 65 int mmc_switch_status(device_t busdev, device_t dev, uint16_t rca, 67 int mmc_wait_for_app_cmd(device_t busdev, device_t dev, uint16_t rca, 69 int mmc_wait_for_cmd(device_t busdev, device_t dev, struct mmc_command *cmd,
|
/freebsd-11-stable/sys/dev/buslogic/ |
H A D | bt_eisa.c | 46 #include <dev/eisa/eisaconf.h> 48 #include <dev/buslogic/btreg.h> 112 bt_eisa_alloc_resources(device_t dev) argument 114 struct bt_softc *bt = device_get_softc(dev); 125 port = bus_alloc_resource_any(dev, SYS_RES_IOPORT, &rid, RF_ACTIVE); 129 bt_init_softc(dev, port, 0, 0); 131 if (eisa_get_irq(dev) != -1) { 134 irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, 138 bus_release_resource(dev, SYS_RES_IOPORT, 150 bt_eisa_release_resources(device_t dev) argument 186 bt_eisa_probe(device_t dev) argument 298 bt_eisa_attach(device_t dev) argument [all...] |
/freebsd-11-stable/sys/dev/sn/ |
H A D | if_sn_pccard.c | 50 #include <dev/pccard/pccardvar.h> 51 #include <dev/pccard/pccard_cis.h> 52 #include <dev/sn/if_snreg.h> 53 #include <dev/sn/if_snvar.h> 58 typedef int sn_get_enaddr_t(device_t dev, u_char *eaddr); 59 typedef int sn_activate_t(device_t dev); 112 sn_pccard_lookup(device_t dev) argument 116 pccard_product_lookup(dev, 122 sn_pccard_probe(device_t dev) argument 126 if ((pp = sn_pccard_lookup(dev)) ! 163 sn_pccard_normal_get_mac(device_t dev, u_char *eaddr) argument 185 sn_pccard_normal_activate(device_t dev) argument 217 sn_pccard_megahertz_get_mac(device_t dev, u_char *eaddr) argument 231 sn_pccard_megahertz_activate(device_t dev) argument 278 sn_pccard_attach(device_t dev) argument [all...] |
/freebsd-11-stable/sys/dev/bhnd/siba/ |
H A D | siba_bhndb.c | 31 __FBSDID("$FreeBSD: stable/11/sys/dev/bhnd/siba/siba_bhndb.c 331044 2018-03-16 02:44:18Z eadler $"); 39 #include <dev/bhnd/bhnd_ids.h> 40 #include <dev/bhnd/bhndb/bhndbvar.h> 41 #include <dev/bhnd/bhndb/bhndb_hwdata.h> 83 siba_bhndb_probe(device_t dev) argument 88 cid = BHNDB_GET_CHIPID(device_get_parent(dev), dev); 93 return (siba_probe(dev)); 97 siba_bhndb_attach(device_t dev) argument 103 sc = device_get_softc(dev); 131 siba_bhndb_resume(device_t dev) argument 148 siba_bhndb_suspend_cfgblocks(device_t dev, struct siba_devinfo *dinfo) argument 153 BHNDB_SUSPEND_RESOURCE(device_get_parent(dev), dev, local 159 siba_bhndb_suspend_child(device_t dev, device_t child) argument 180 siba_bhndb_resume_child(device_t dev, device_t child) argument [all...] |
/freebsd-11-stable/sys/dev/nand/ |
H A D | nfc_rb.c | 30 __FBSDID("$FreeBSD: stable/11/sys/dev/nand/nfc_rb.c 318158 2017-05-10 21:42:12Z marius $"); 45 #include <dev/ofw/ofw_bus.h> 46 #include <dev/ofw/ofw_bus_subr.h> 48 #include <dev/nand/nand.h> 49 #include <dev/nand/nandbus.h> 114 rb_nand_slicer(device_t dev, const char *provider __unused, argument 121 if (device_get_children(dev, &children, &n) != 0) { 124 dev = children[0]; 127 if (device_get_children(dev, &children, &n) != 0) { 130 dev 147 rb_nand_probe(device_t dev) argument 161 rb_nand_attach(device_t dev) argument 225 rb_nand_send_command(device_t dev, uint8_t command) argument 241 rb_nand_send_address(device_t dev, uint8_t addr) argument 257 rb_nand_read_byte(device_t dev) argument 271 rb_nand_read_buf(device_t dev, void* buf, uint32_t len) argument 281 rb_nand_write_buf(device_t dev, void* buf, uint32_t len) argument 302 rb_nand_select_cs(device_t dev, uint8_t cs) argument 312 rb_nand_read_rnb(device_t dev) argument [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/ |
H A D | tst.ddi_pathname.d | 33 this->dev = (struct dev_info *)alloca(sizeof (struct dev_info)); 41 this->minor1->d_minor.dev = 0; 44 this->minor2->d_minor.dev = 0; 47 this->minor3->d_minor.dev = 0; 50 this->dev->devi_minor = this->minor1; 51 trace(ddi_pathname(this->dev, 1));
|
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/profile-n/ |
H A D | tst.ufunc.ksh | 30 $dtrace -qs /dev/stdin <<EOF 67 script | tee /dev/fd/2 | egrep 'ksh(93)?`[a-zA-Z_]' > /dev/null
|
H A D | tst.umod.ksh | 30 $dtrace -qs /dev/stdin <<EOF 65 script | tee /dev/fd/2 | egrep -w 'ksh(93)?' > /dev/null
|