/freebsd-11-stable/sys/powerpc/ps3/ |
H A D | ehci_ps3.c | 52 #include <dev/usb/usb.h> 53 #include <dev/usb/usbdi.h> 55 #include <dev/usb/usb_core.h> 56 #include <dev/usb/usb_busdma.h> 57 #include <dev/usb/usb_process.h> 58 #include <dev/usb/usb_util.h> 60 #include <dev/usb/usb_controller.h> 61 #include <dev/usb/usb_bus.h> 62 #include <dev/usb/controller/ehci.h> 63 #include <dev/us 84 ehci_ps3_probe(device_t dev) argument 95 ehci_ps3_attach(device_t dev) argument [all...] |
H A D | ohci_ps3.c | 53 #include <dev/usb/usb.h> 54 #include <dev/usb/usbdi.h> 56 #include <dev/usb/usb_core.h> 57 #include <dev/usb/usb_busdma.h> 58 #include <dev/usb/usb_process.h> 59 #include <dev/usb/usb_util.h> 61 #include <dev/usb/usb_controller.h> 62 #include <dev/usb/usb_bus.h> 63 #include <dev/usb/controller/ohci.h> 64 #include <dev/us 69 ohci_ps3_probe(device_t dev) argument 80 ohci_ps3_attach(device_t dev) argument [all...] |
/freebsd-11-stable/sys/powerpc/psim/ |
H A D | ata_iobus.c | 48 #include <dev/ata/ata-all.h> 51 #include <dev/ofw/openfirm.h> 58 static int ata_iobus_attach(device_t dev); 59 static int ata_iobus_probe(device_t dev); 60 static int ata_iobus_print_child(device_t dev, device_t child); 100 ata_iobus_probe(device_t dev) argument 102 char *type = iobus_get_name(dev); 107 device_set_desc(dev, "PSIM ATA Controller"); 113 ata_iobus_attach(device_t dev) argument 119 device_add_child(dev, "at 125 ata_iobus_print_child(device_t dev, device_t child) argument 138 ata_iobus_alloc_resource(device_t dev, device_t child, int type, int *rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) argument 202 ata_iobus_release_resource(device_t dev, device_t child, int type, int rid, struct resource *r) argument 239 ata_iobus_sub_probe(device_t dev) argument [all...] |
/freebsd-11-stable/sys/dev/sbni/ |
H A D | if_sbni_pci.c | 46 #include <dev/pci/pcivar.h> 47 #include <dev/pci/pcireg.h> 49 #include <dev/sbni/if_sbnireg.h> 50 #include <dev/sbni/if_sbnivar.h> 76 sbni_pci_probe(device_t dev) argument 82 if (pci_get_vendor(dev) != SBNI_PCI_VENDOR || 83 pci_get_device(dev) != SBNI_PCI_DEVICE) 86 sc = device_get_softc(dev); 87 if (pci_get_subdevice(dev) == 2) { 93 device_set_desc(dev, "Granc 122 sbni_pci_attach(device_t dev) argument 178 sbni_pci_detach(device_t dev) argument [all...] |
/freebsd-11-stable/usr.sbin/pc-sysinstall/backend/ |
H A D | functions-unmount.sh | 98 if [ ! -e "/dev/label/${PARTLABEL}" ] 113 if [ ! -e "/dev/label/${PARTLABEL}" ] 143 rc_nohalt "umount -f ${CDMNT}" >/dev/null 2>/dev/null 146 ls ${MIRRORCFGDIR}/* >/dev/null 2>/dev/null 179 swapoff ${PARTDEV}.eli >/dev/null 2>/dev/null 181 swapoff ${PARTDEV} >/dev/null 2>/dev/nul [all...] |
/freebsd-11-stable/sys/ofed/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_vlan.c | 49 struct ifnet *dev = to_net_dev(d); local 50 struct ipoib_dev_priv *priv = dev->if_softc; 89 ppriv->dev->name, pkey); 98 priv->dev->mtu = IPOIB_UD_MTU(priv->max_ib_mtu); 99 priv->mcast_mtu = priv->admin_mtu = priv->dev->mtu; 108 memcpy(IF_LLADDR(priv->dev), ppriv->dev->dev_addr, INFINIBAND_ALEN); 112 result = ipoib_dev_init(priv->dev, ppriv->ca, ppriv->port); 120 result = register_netdevice(priv->dev); 126 priv->parent = ppriv->dev; 166 struct ifnet *dev = NULL; local [all...] |
/freebsd-11-stable/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_fw.c | 25 * $FreeBSD: stable/11/sys/dev/mlx5/mlx5_core/mlx5_fw.c 353224 2019-10-07 09:24:12Z hselasky $ 28 #include <dev/mlx5/driver.h> 32 static int mlx5_cmd_query_adapter(struct mlx5_core_dev *dev, u32 *out, argument 42 err = mlx5_cmd_exec(dev, in, sizeof(in), out, outlen); 46 int mlx5_query_board_id(struct mlx5_core_dev *dev) argument 54 err = mlx5_cmd_query_adapter(dev, out, outlen); 58 memcpy(dev->board_id, 92 static int mlx5_core_query_special_contexts(struct mlx5_core_dev *dev) argument 103 err = mlx5_cmd_exec(dev, in, sizeof(in), out, sizeof(out)); 107 dev 113 mlx5_get_qcam_reg(struct mlx5_core_dev *dev) argument 120 mlx5_get_pcam_reg(struct mlx5_core_dev *dev) argument 127 mlx5_get_mcam_reg(struct mlx5_core_dev *dev) argument 134 mlx5_query_hca_caps(struct mlx5_core_dev *dev) argument 237 mlx5_cmd_init_hca(struct mlx5_core_dev *dev) argument 250 mlx5_cmd_teardown_hca(struct mlx5_core_dev *dev) argument 259 mlx5_cmd_force_teardown_hca(struct mlx5_core_dev *dev) argument 288 mlx5_cmd_fast_teardown_hca(struct mlx5_core_dev *dev) argument 334 mlx5_core_set_dc_cnak_trace(struct mlx5_core_dev *dev, int enable, u64 addr) argument 360 mlx5_reg_mcc_set(struct mlx5_core_dev *dev, enum mlxsw_reg_mcc_instruction instr, u16 component_index, u32 update_handle, u32 component_size) argument 379 mlx5_reg_mcc_query(struct mlx5_core_dev *dev, u32 *update_handle, u8 *error_code, u8 *control_state) argument 404 mlx5_reg_mcda_set(struct mlx5_core_dev *dev, u32 update_handle, u32 offset, u16 size, u8 *data) argument 435 mlx5_reg_mcqi_query(struct mlx5_core_dev *dev, u16 component_index, u32 *max_component_size, u8 *log_mcda_word_size, u16 *mcda_max_write_size) argument 476 struct mlx5_core_dev *dev = mlx5_mlxfw_dev->mlx5_core_dev; local 486 struct mlx5_core_dev *dev = mlx5_mlxfw_dev->mlx5_core_dev; local 507 struct mlx5_core_dev *dev = mlx5_mlxfw_dev->mlx5_core_dev; local 518 struct mlx5_core_dev *dev = mlx5_mlxfw_dev->mlx5_core_dev; local 528 struct mlx5_core_dev *dev = mlx5_mlxfw_dev->mlx5_core_dev; local 538 struct mlx5_core_dev *dev = mlx5_mlxfw_dev->mlx5_core_dev; local 550 struct mlx5_core_dev *dev = mlx5_mlxfw_dev->mlx5_core_dev; local 568 struct mlx5_core_dev *dev = mlx5_mlxfw_dev->mlx5_core_dev; local 577 struct mlx5_core_dev *dev = mlx5_mlxfw_dev->mlx5_core_dev; local 595 mlx5_firmware_flash(struct mlx5_core_dev *dev, const struct firmware *firmware) argument [all...] |
/freebsd-11-stable/sys/arm/nvidia/ |
H A D | tegra_ehci.c | 47 #include <dev/extres/clk/clk.h> 48 #include <dev/extres/hwreset/hwreset.h> 49 #include <dev/extres/phy/phy.h> 50 #include <dev/ofw/ofw_bus.h> 51 #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/us 75 device_t dev; member in struct:tegra_ehci_softc 98 tegra_ehci_probe(device_t dev) argument 112 tegra_ehci_detach(device_t dev) argument 145 tegra_ehci_attach(device_t dev) argument [all...] |
/freebsd-11-stable/sys/dev/ppbus/ |
H A D | pcfclock.c | 46 #include <dev/ppbus/ppbconf.h> 47 #include <dev/ppbus/ppb_msq.h> 48 #include <dev/ppbus/ppbio.h> 55 device_t dev; member in struct:pcfclock_data 114 device_t dev; local 116 dev = device_find_child(parent, PCFCLOCK_NAME, -1); 117 if (!dev) 122 pcfclock_probe(device_t dev) argument 125 device_set_desc(dev, "PCF-1.0"); 130 pcfclock_attach(device_t dev) argument 150 pcfclock_open(struct cdev *dev, int flag, int fms, struct thread *td) argument 170 pcfclock_close(struct cdev *dev, int flags, int fmt, struct thread *td) argument 184 pcfclock_write_cmd(struct cdev *dev, unsigned char command) argument 204 pcfclock_display_data(struct cdev *dev, char buf[18]) argument 226 pcfclock_read_data(struct cdev *dev, char *buf, ssize_t bits) argument 265 pcfclock_read_dev(struct cdev *dev, char *buf, int maxretries) argument 295 pcfclock_read(struct cdev *dev, struct uio *uio, int ioflag) argument [all...] |
/freebsd-11-stable/stand/common/ |
H A D | disk.c | 54 struct disk_devdesc *dev; member in struct:print_args 85 struct disk_devdesc *dev; local 88 dev = (struct disk_devdesc *)d; 89 od = (struct open_disk *)dev->dd.d_opendata; 101 return (dev->dd.d_dev->dv_strategy(dev, F_READ | F_NORA, offset, 108 struct disk_devdesc dev; local 118 od = (struct open_disk *)pa->dev->dd.d_opendata; 129 dev.dd.d_dev = pa->dev 158 disk_print(struct disk_devdesc *dev, char *prefix, int verbose) argument 172 disk_read(struct disk_devdesc *dev, void *buf, uint64_t offset, u_int blocks) argument 185 disk_write(struct disk_devdesc *dev, void *buf, uint64_t offset, u_int blocks) argument 198 disk_ioctl(struct disk_devdesc *dev, u_long cmd, void *data) argument 223 disk_open(struct disk_devdesc *dev, uint64_t mediasize, u_int sectorsize) argument 362 disk_close(struct disk_devdesc *dev) argument 374 disk_fmtdev(struct disk_devdesc *dev) argument 398 disk_parsedev(struct disk_devdesc *dev, const char *devspec, const char **path) argument [all...] |
/freebsd-11-stable/sys/dev/mthca/ |
H A D | mthca_srq.c | 95 static void mthca_tavor_init_srq_context(struct mthca_dev *dev, argument 110 context->uar = cpu_to_be32(dev->driver_uar.index); 113 static void mthca_arbel_init_srq_context(struct mthca_dev *dev, argument 136 context->logstride_usrpage |= cpu_to_be32(dev->driver_uar.index); 140 static void mthca_free_srq_buf(struct mthca_dev *dev, struct mthca_srq *srq) argument 142 mthca_buf_free(dev, srq->max << srq->wqe_shift, &srq->queue, 147 static int mthca_alloc_srq_buf(struct mthca_dev *dev, struct mthca_pd *pd, argument 162 err = mthca_buf_alloc(dev, srq->max << srq->wqe_shift, 199 int mthca_alloc_srq(struct mthca_dev *dev, struct mthca_pd *pd, argument 207 if (attr->max_wr > dev 319 get_srq_refcount(struct mthca_dev *dev, struct mthca_srq *srq) argument 330 mthca_free_srq(struct mthca_dev *dev, struct mthca_srq *srq) argument 367 struct mthca_dev *dev = to_mdev(ibsrq->device); local 390 struct mthca_dev *dev = to_mdev(ibsrq->device); local 422 mthca_srq_event(struct mthca_dev *dev, u32 srqn, enum ib_event_type event_type) argument 478 struct mthca_dev *dev = to_mdev(ibsrq->device); local 578 struct mthca_dev *dev = to_mdev(ibsrq->device); local 640 mthca_max_srq_sge(struct mthca_dev *dev) argument 665 mthca_init_srq_table(struct mthca_dev *dev) argument 689 mthca_cleanup_srq_table(struct mthca_dev *dev) argument [all...] |
H A D | mthca_av.c | 94 enum ib_rate mthca_rate_to_ib(struct mthca_dev *dev, u8 mthca_rate, u8 port) argument 96 if (mthca_is_memfree(dev)) { 98 if (dev->limits.stat_rate_support == 0x3 && mthca_rate) 101 return memfree_rate_to_ib(mthca_rate, dev->rate[port - 1]); 103 return tavor_rate_to_ib(mthca_rate, dev->rate[port - 1]); 134 u8 mthca_get_rate(struct mthca_dev *dev, int static_rate, u8 port) argument 138 if (!static_rate || ib_rate_to_mult(static_rate) >= dev->rate[port - 1]) 141 if (mthca_is_memfree(dev)) 143 dev->rate[port - 1]); 147 if (!(dev 153 mthca_create_ah(struct mthca_dev *dev, struct mthca_pd *pd, struct ib_ah_attr *ah_attr, struct mthca_ah *ah) argument 240 mthca_destroy_ah(struct mthca_dev *dev, struct mthca_ah *ah) argument 266 mthca_read_ah(struct mthca_dev *dev, struct mthca_ah *ah, struct ib_ud_header *header) argument 295 struct mthca_dev *dev = to_mdev(ibah->device); local 324 mthca_init_av_table(struct mthca_dev *dev) argument 365 mthca_cleanup_av_table(struct mthca_dev *dev) argument [all...] |
/freebsd-11-stable/sys/dev/mlx4/mlx4_core/ |
H A D | mlx4_qp.c | 40 #include <dev/mlx4/cmd.h> 41 #include <dev/mlx4/qp.h> 50 void mlx4_qp_event(struct mlx4_dev *dev, u32 qpn, int event_type) argument 52 struct mlx4_qp_table *qp_table = &mlx4_priv(dev)->qp_table; 57 qp = __mlx4_qp_lookup(dev, qpn); 64 mlx4_dbg(dev, "Async event for none existent QP %08x\n", qpn); 75 static int is_master_qp0(struct mlx4_dev *dev, struct mlx4_qp *qp, int *real_qp0, int *proxy_qp0) argument 79 u32 pf_proxy_offset = dev->phys_caps.base_proxy_sqpn + 8 * mlx4_master_func_num(dev); 82 *real_qp0 = qp->qpn >= dev 88 __mlx4_qp_modify(struct mlx4_dev *dev, struct mlx4_mtt *mtt, enum mlx4_qp_state cur_state, enum mlx4_qp_state new_state, struct mlx4_qp_context *context, enum mlx4_qp_optpar optpar, int sqd_event, struct mlx4_qp *qp, int native) argument 209 mlx4_qp_modify(struct mlx4_dev *dev, struct mlx4_mtt *mtt, enum mlx4_qp_state cur_state, enum mlx4_qp_state new_state, struct mlx4_qp_context *context, enum mlx4_qp_optpar optpar, int sqd_event, struct mlx4_qp *qp) argument 220 __mlx4_qp_reserve_range(struct mlx4_dev *dev, int cnt, int align, int *base, u8 flags) argument 248 mlx4_qp_reserve_range(struct mlx4_dev *dev, int cnt, int align, int *base, u8 flags) argument 275 __mlx4_qp_release_range(struct mlx4_dev *dev, int base_qpn, int cnt) argument 285 mlx4_qp_release_range(struct mlx4_dev *dev, int base_qpn, int cnt) argument 305 __mlx4_qp_alloc_icm(struct mlx4_dev *dev, int qpn, gfp_t gfp) argument 349 mlx4_qp_alloc_icm(struct mlx4_dev *dev, int qpn, gfp_t gfp) argument 362 __mlx4_qp_free_icm(struct mlx4_dev *dev, int qpn) argument 374 mlx4_qp_free_icm(struct mlx4_dev *dev, int qpn) argument 388 mlx4_qp_alloc(struct mlx4_dev *dev, int qpn, struct mlx4_qp *qp, gfp_t gfp) argument 422 mlx4_update_qp(struct mlx4_dev *dev, u32 qpn, enum mlx4_update_qp_attr attr, struct mlx4_update_qp_params *params) argument 491 mlx4_qp_remove(struct mlx4_dev *dev, struct mlx4_qp *qp) argument 502 mlx4_qp_free(struct mlx4_dev *dev, struct mlx4_qp *qp) argument 512 mlx4_CONF_SPECIAL_QP(struct mlx4_dev *dev, u32 base_qpn) argument 522 mlx4_create_zones(struct mlx4_dev *dev, u32 reserved_bottom_general, u32 reserved_top_general, u32 reserved_bottom_rss, u32 start_offset_rss, u32 max_table_offset) argument 712 mlx4_cleanup_qp_zones(struct mlx4_dev *dev) argument 739 mlx4_init_qp_table(struct mlx4_dev *dev) argument 868 mlx4_cleanup_qp_table(struct mlx4_dev *dev) argument 878 mlx4_qp_query(struct mlx4_dev *dev, struct mlx4_qp *qp, struct mlx4_qp_context *context) argument 899 mlx4_qp_to_ready(struct mlx4_dev *dev, struct mlx4_mtt *mtt, struct mlx4_qp_context *context, struct mlx4_qp *qp, enum mlx4_qp_state *qp_state) argument 932 mlx4_qp_roce_entropy(struct mlx4_dev *dev, u32 qpn) argument [all...] |
/freebsd-11-stable/sys/dev/acpica/ |
H A D | acpi_acad.c | 43 #include <contrib/dev/acpica/include/acpi.h> 45 #include <dev/acpica/acpivar.h> 46 #include <dev/acpica/acpiio.h> 98 device_t dev; local 102 dev = context; 103 sc = device_get_softc(dev); 104 h = acpi_get_handle(dev); 115 ACPI_VPRINT(dev, acpi_device_get_parent_softc(dev), 125 device_t dev; local 142 acpi_acad_probe(device_t dev) argument 155 acpi_acad_attach(device_t dev) argument 195 device_t dev; local 233 device_t dev; local 272 device_t dev; local [all...] |
/freebsd-11-stable/sys/dev/ata/chipsets/ |
H A D | ata-highpoint.c | 47 #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_highpoint_chipinit(device_t dev); 55 static int ata_highpoint_ch_attach(device_t dev); 56 static int ata_highpoint_setmode(device_t dev, int target, int mode); 57 static int ata_highpoint_check_80pin(device_t dev, int mode); 71 ata_highpoint_probe(device_t dev) argument 73 struct ata_pci_controller *ctlr = device_get_softc(dev); 110 ata_highpoint_chipinit(device_t dev) argument 143 ata_highpoint_ch_attach(device_t dev) argument 159 ata_highpoint_setmode(device_t dev, int target, int mode) argument 198 ata_highpoint_check_80pin(device_t dev, int mode) argument [all...] |
/freebsd-11-stable/sys/dev/mwl/ |
H A D | if_mwl_pci.c | 65 #include <dev/mwl/if_mwlvar.h> 67 #include <dev/pci/pcivar.h> 68 #include <dev/pci/pcireg.h> 115 mwl_pci_probe(device_t dev) argument 119 ident = mwl_pci_lookup(pci_get_vendor(dev), pci_get_device(dev)); 121 device_set_desc(dev, ident->name); 128 mwl_pci_attach(device_t dev) argument 130 struct mwl_pci_softc *psc = device_get_softc(dev); 134 sc->sc_dev = dev; 219 mwl_pci_detach(device_t dev) argument 243 mwl_pci_shutdown(device_t dev) argument 252 mwl_pci_suspend(device_t dev) argument 262 mwl_pci_resume(device_t dev) argument [all...] |
/freebsd-11-stable/sys/dev/ow/ |
H A D | ow_temp.c | 44 #include <dev/ow/ow.h> 45 #include <dev/ow/own.h> 65 device_t dev; member in struct:ow_temp_softc 78 ow_temp_probe(device_t dev) argument 81 switch (ow_get_family(dev)) { 83 device_set_desc(dev, "One Wire Temperature"); 88 device_set_desc(dev, "Advanced One Wire Temperature"); 96 ow_temp_read_scratchpad(device_t dev, uint8_t *scratch, int len) argument 100 own_self_command(dev, &cmd, READ_SCRATCHPAD); 102 own_command_wait(dev, 109 ow_temp_convert_t(device_t dev) argument 121 ow_temp_read_power_supply(device_t dev, int *parasite) argument 191 ow_temp_attach(device_t dev) argument 242 ow_temp_detach(device_t dev) argument [all...] |
/freebsd-11-stable/sys/powerpc/mpc85xx/ |
H A D | mpc85xx_gpio.c | 49 #include <dev/fdt/fdt_common.h> 50 #include <dev/gpio/gpiobusvar.h> 51 #include <dev/ofw/ofw_bus.h> 52 #include <dev/ofw/ofw_bus_subr.h> 63 mtx_init(&(sc)->sc_mtx, device_get_nameunit((sc)->dev), \ 68 device_t dev; member in struct:mpc85xx_gpio_softc 76 mpc85xx_gpio_get_bus(device_t dev) argument 80 sc = device_get_softc(dev); 86 mpc85xx_gpio_pin_max(device_t dev, int *maxpin) argument 95 mpc85xx_gpio_pin_getcaps(device_t dev, uint32_ argument 108 mpc85xx_gpio_pin_getname(device_t dev, uint32_t pin, char *name) argument 122 mpc85xx_gpio_pin_set(device_t dev, uint32_t pin, unsigned int value) argument 146 mpc85xx_gpio_pin_get(device_t dev, uint32_t pin, unsigned int *value) argument 160 mpc85xx_gpio_pin_toggle(device_t dev, uint32_t pin) argument 180 mpc85xx_gpio_probe(device_t dev) argument 217 mpc85xx_gpio_attach(device_t dev) argument 257 mpc85xx_gpio_detach(device_t dev) argument [all...] |
/freebsd-11-stable/sys/dev/ipmi/ |
H A D | ipmi_pci.c | 40 #include <dev/pci/pcireg.h> 41 #include <dev/pci/pcivar.h> 46 #include <dev/ipmi/ipmivars.h> 49 static int ipmi_pci_probe(device_t dev); 50 static int ipmi_pci_attach(device_t dev); 74 ipmi_pci_probe(device_t dev) argument 81 desc = ipmi_pci_match(pci_get_vendor(dev), pci_get_device(dev)); 83 device_set_desc(dev, desc); 91 ipmi_pci_attach(device_t dev) argument 184 ipmi2_pci_probe(device_t dev) argument 197 ipmi2_pci_attach(device_t dev) argument [all...] |
/freebsd-11-stable/sys/dev/ips/ |
H A D | ips_pci.c | 32 #include <dev/ips/ipsreg.h> 33 #include <dev/ips/ips.h> 35 #include <dev/pci/pcireg.h> 36 #include <dev/pci/pcivar.h> 41 static int ips_pci_probe(device_t dev) argument 44 if ((pci_get_vendor(dev) == IPS_VENDOR_ID) && 45 (pci_get_device(dev) == IPS_MORPHEUS_DEVICE_ID)) { 46 device_set_desc(dev, "IBM ServeRAID Adapter"); 48 } else if ((pci_get_vendor(dev) == IPS_VENDOR_ID) && 49 (pci_get_device(dev) 60 ips_pci_attach(device_t dev) argument 181 ips_pci_detach(device_t dev) argument 197 ips_pci_shutdown(device_t dev) argument [all...] |
/freebsd-11-stable/sys/dev/terasic/mtl/ |
H A D | terasic_mtl_nexus.c | 51 #include <dev/terasic/mtl/terasic_mtl.h> 56 terasic_mtl_nexus_probe(device_t dev) argument 59 device_set_desc(dev, "Terasic Multi-touch LCD (MTL)"); 64 terasic_mtl_nexus_attach(device_t dev) argument 71 sc = device_get_softc(dev); 72 sc->mtl_dev = dev; 73 sc->mtl_unit = device_get_unit(dev); 79 if (resource_long_value(device_get_name(dev), device_get_unit(dev), 81 device_printf(dev, "imprope 167 terasic_mtl_nexus_detach(device_t dev) argument 183 terasic_mtl_fb_getinfo(device_t dev) argument [all...] |
/freebsd-11-stable/sys/arm/ti/omap4/ |
H A D | omap4_wugen.c | 43 #include <dev/ofw/ofw_bus.h> 44 #include <dev/ofw/ofw_bus_subr.h> 60 omap4_wugen_activate_intr(device_t dev, struct intr_irqsrc *isrc, argument 63 struct omap4_wugen_sc *sc = device_get_softc(dev); 69 omap4_wugen_disable_intr(device_t dev, struct intr_irqsrc *isrc) argument 71 struct omap4_wugen_sc *sc = device_get_softc(dev); 77 omap4_wugen_enable_intr(device_t dev, struct intr_irqsrc *isrc) argument 79 struct omap4_wugen_sc *sc = device_get_softc(dev); 85 omap4_wugen_map_intr(device_t dev, struct intr_map_data *data, argument 88 struct omap4_wugen_sc *sc = device_get_softc(dev); 94 omap4_wugen_deactivate_intr(device_t dev, struct intr_irqsrc *isrc, struct resource *res, struct intr_map_data *data) argument 103 omap4_wugen_setup_intr(device_t dev, struct intr_irqsrc *isrc, struct resource *res, struct intr_map_data *data) argument 112 omap4_wugen_teardown_intr(device_t dev, struct intr_irqsrc *isrc, struct resource *res, struct intr_map_data *data) argument 121 omap4_wugen_pre_ithread(device_t dev, struct intr_irqsrc *isrc) argument 130 omap4_wugen_post_ithread(device_t dev, struct intr_irqsrc *isrc) argument 138 omap4_wugen_post_filter(device_t dev, struct intr_irqsrc *isrc) argument 147 omap4_wugen_bind_intr(device_t dev, struct intr_irqsrc *isrc) argument 156 omap4_wugen_probe(device_t dev) argument 169 omap4_wugen_detach(device_t dev) argument 182 omap4_wugen_attach(device_t dev) argument [all...] |
/freebsd-11-stable/sys/dev/imcsmb/ |
H A D | imcsmb.c | 29 * $FreeBSD: stable/11/sys/dev/imcsmb/imcsmb.c 355366 2019-12-03 22:53:50Z rpokala $ 48 #include <dev/pci/pcivar.h> 49 #include <dev/pci/pcireg.h> 51 #include <dev/smbus/smbconf.h> 57 static int imcsmb_attach(device_t dev); 58 static int imcsmb_detach(device_t dev); 59 static int imcsmb_probe(device_t dev); 62 static int imcsmb_callback(device_t dev, int index, void *data); 63 static int imcsmb_readb(device_t dev, u_char slave, char cmd, char *byte); 64 static int imcsmb_readw(device_t dev, u_cha 83 imcsmb_attach(device_t dev) argument 122 imcsmb_detach(device_t dev) argument 146 imcsmb_probe(device_t dev) argument 170 imcsmb_callback(device_t dev, int index, void *data) argument 219 imcsmb_readb(device_t dev, u_char slave, char cmd, char *byte) argument 243 imcsmb_readw(device_t dev, u_char slave, char cmd, short *word) argument 267 imcsmb_writeb(device_t dev, u_char slave, char cmd, char byte) argument 291 imcsmb_writew(device_t dev, u_char slave, char cmd, short word) argument 323 imcsmb_transfer(device_t dev, u_char slave, char cmd, void *data, int word_op, int write_op) argument [all...] |
/freebsd-11-stable/sys/dev/drm/ |
H A D | r128_cce.c | 35 #include "dev/drm/drmP.h" 36 #include "dev/drm/drm.h" 37 #include "dev/drm/r128_drm.h" 38 #include "dev/drm/r128_drv.h" 87 static int R128_READ_PLL(struct drm_device * dev, int addr) argument 89 drm_r128_private_t *dev_priv = dev->dev_private; 277 static int r128_do_engine_reset(struct drm_device * dev) argument 279 drm_r128_private_t *dev_priv = dev->dev_private; 285 mclk_cntl = R128_READ_PLL(dev, R128_MCLK_CNTL); 309 r128_freelist_reset(dev); 314 r128_cce_init_ring_buffer(struct drm_device * dev, drm_r128_private_t * dev_priv) argument 352 r128_do_init_cce(struct drm_device * dev, drm_r128_init_t * init) argument 591 r128_do_cleanup_cce(struct drm_device * dev) argument 630 r128_cce_init(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 648 r128_cce_start(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 668 r128_cce_stop(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 707 r128_cce_reset(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 727 r128_cce_idle(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 741 r128_engine_reset(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 750 r128_fullscreen(struct drm_device *dev, void *data, struct drm_file *file_priv) argument 808 r128_freelist_get(struct drm_device * dev) argument 846 r128_freelist_reset(struct drm_device * dev) argument 879 r128_cce_get_buffers(struct drm_device * dev, struct drm_file *file_priv, struct drm_dma * d) argument 905 r128_cce_buffers(struct drm_device *dev, void *data, struct drm_file *file_priv) argument [all...] |
H A D | via_drv.h | 31 #include "dev/drm/drm_sman.h" 42 #include "dev/drm/via_verifier.h" 44 #include "dev/drm/via_dmablit.h" 121 extern int via_fb_init(struct drm_device *dev, void *data, struct drm_file *file_priv); 122 extern int via_mem_alloc(struct drm_device *dev, void *data, struct drm_file *file_priv); 123 extern int via_mem_free(struct drm_device *dev, void *data, struct drm_file *file_priv); 124 extern int via_agp_init(struct drm_device *dev, void *data, struct drm_file *file_priv); 125 extern int via_map_init(struct drm_device *dev, void *data, struct drm_file *file_priv); 126 extern int via_decoder_futex(struct drm_device *dev, void *data, struct drm_file *file_priv); 127 extern int via_wait_irq(struct drm_device *dev, voi [all...] |