/freebsd-10.0-release/sys/ia64/ia64/ |
H A D | nexus.c | 201 struct nexus_device *ndev = DEVTONX(child); local 202 struct resource_list *rl = &ndev->nx_resources; 220 struct nexus_device *ndev; local 222 ndev = malloc(sizeof(struct nexus_device), M_NEXUSDEV, M_NOWAIT|M_ZERO); 223 if (!ndev) 225 resource_list_init(&ndev->nx_resources); 230 device_set_ivars(child, ndev); 259 struct nexus_device *ndev = DEVTONX(child); local 271 if (ndev == NULL) 273 rle = resource_list_find(&ndev 407 struct nexus_device *ndev = DEVTONX(child); local 416 struct nexus_device *ndev = DEVTONX(child); local 442 struct nexus_device *ndev = DEVTONX(child); local 461 struct nexus_device *ndev = DEVTONX(child); local [all...] |
/freebsd-10.0-release/sys/mips/mips/ |
H A D | nexus.c | 221 struct nexus_device *ndev = DEVTONX(dev); local 222 struct resource_list *rl = &ndev->nx_resources; 291 struct nexus_device *ndev; local 293 ndev = malloc(sizeof(struct nexus_device), M_NEXUSDEV, M_NOWAIT|M_ZERO); 294 if (!ndev) 296 resource_list_init(&ndev->nx_resources); 305 device_set_ivars(child, ndev); 319 struct nexus_device *ndev = DEVTONX(child); local 341 rle = resource_list_find(&ndev->nx_resources, type, *rid); 411 struct nexus_device *ndev local 420 struct nexus_device *ndev = DEVTONX(child); local 439 struct nexus_device *ndev = DEVTONX(child); local 456 struct nexus_device *ndev = DEVTONX(child); local [all...] |
/freebsd-10.0-release/sys/dev/vxge/ |
H A D | vxge.c | 48 vxge_probe(device_t ndev) argument 58 pci_vendor_id = pci_get_vendor(ndev); 62 pci_device_id = pci_get_device(ndev); 66 pci_bd_no = (pci_get_bus(ndev) | pci_get_slot(ndev)); 69 VXGE_ADAPTER_NAME, pci_get_revid(ndev)); 70 device_set_desc_copy(ndev, adapter_name); 73 device_printf(ndev, VXGE_COPYRIGHT); 94 * Connects driver to the system if probe was success @ndev handle 97 vxge_attach(device_t ndev) argument 245 vxge_detach(device_t ndev) argument 264 vxge_shutdown(device_t ndev) argument 1345 vxge_ifp_setup(device_t ndev) argument 1683 device_t ndev = vdev->ndev; local 1896 vxge_free_resources(device_t ndev, vxge_free_resources_e vxge_free_resource) argument 3112 device_t ndev; local [all...] |
H A D | vxge-osdep.h | 148 device_t ndev; /* Device */ member in struct:_vxge_pci_info 413 (*(val) = pci_read_config(pdev->ndev, where, 1)) 416 pci_write_config(pdev->ndev, where, val, 1) 419 (*(val) = pci_read_config(pdev->ndev, where, 2)) 422 pci_write_config(pdev->ndev, where, val, 2) 425 (*(val) = pci_read_config(pdev->ndev, where, 4)) 428 pci_write_config(pdev->ndev, where, val, 4) 568 bus_get_dma_tag(pdev->ndev), /* Parent */ 584 device_printf(pdev->ndev, "bus_dma_tag_create failed\n"); 593 device_printf(pdev->ndev, "bus_dmamem_allo [all...] |
H A D | vxge.h | 399 device_t ndev; member in struct:vxge_dev_t
|
/freebsd-10.0-release/sys/x86/x86/ |
H A D | nexus.c | 291 struct nexus_device *ndev = DEVTONX(dev); local 292 struct resource_list *rl = &ndev->nx_resources; 323 struct nexus_device *ndev; local 325 ndev = malloc(sizeof(struct nexus_device), M_NEXUSDEV, M_NOWAIT|M_ZERO); 326 if (!ndev) 328 resource_list_init(&ndev->nx_resources); 333 device_set_ivars(child, ndev); 364 struct nexus_device *ndev = DEVTONX(child); local 376 if (ndev == NULL) 378 rle = resource_list_find(&ndev 569 struct nexus_device *ndev = DEVTONX(child); local 577 struct nexus_device *ndev = DEVTONX(child); local 588 struct nexus_device *ndev = DEVTONX(child); local 605 struct nexus_device *ndev = DEVTONX(child); local [all...] |
/freebsd-10.0-release/sys/arm/arm/ |
H A D | nexus.c | 176 struct nexus_device *ndev; local 178 ndev = malloc(sizeof(struct nexus_device), M_NEXUSDEV, M_NOWAIT|M_ZERO); 179 if (!ndev) 181 resource_list_init(&ndev->nx_resources); 186 device_set_ivars(child, ndev);
|
/freebsd-10.0-release/sbin/mount_fusefs/ |
H A D | mount_fusefs.c | 110 char ndev[128], fdstr[15]; local 344 strcpy(ndev, _PATH_DEV); 345 ndevbas = ndev + strlen(_PATH_DEV); 347 sizeof(ndev) - strlen(_PATH_DEV)); 356 dev = ndev;
|
/freebsd-10.0-release/sys/dev/nand/ |
H A D | nandsim.c | 311 device_t nexus, ndev; local 338 ndev = device_add_child(nexus, "nandsim", num); 340 ndev = BUS_ADD_CHILD(nexus, 0, "nandsim", num); 342 if (!ndev) 346 ret = device_probe_and_attach(ndev); 350 ctrls[num].sim_ctrl_dev = ndev;
|
/freebsd-10.0-release/sys/ofed/drivers/infiniband/hw/mlx4/ |
H A D | main.c | 333 struct net_device *ndev; local 365 ndev = iboe->netdevs[port - 1]; 366 if (!ndev) 369 tmp = iboe_get_mtu(ndev->if_mtu); 372 props->state = (netif_running(ndev) && netif_carrier_ok(ndev)) ? 898 struct net_device *ndev; local 905 ndev = mdev->iboe.netdevs[mqp->port - 1]; 906 if (ndev) 907 dev_hold(ndev); 1202 struct net_device *ndev; local 1393 struct net_device *ndev = dev->iboe.netdevs[port - 1]; local [all...] |
H A D | qp.c | 1567 struct net_device *ndev; local 1667 ndev = dev->iboe.netdevs[port - 1]; 1668 if (ndev) { 1670 smac = ndev->dev_addr; /* fixme: cache this value */ 1672 smac = IF_LLADDR(ndev); /* fixme: cache this value */ 1719 struct net_device *ndev; local 1724 ndev = dev->iboe.netdevs[qp->port - 1]; 1725 if (ndev) { 1727 smac = ndev->dev_addr; /* fixme: cache this value */ 1729 smac = IF_LLADDR(ndev); /* fixm [all...] |
/freebsd-10.0-release/sys/dev/xen/pcifront/ |
H A D | pcifront.c | 96 device_t ndev; member in struct:pcifront_device 262 pdev->ndev = BUS_ADD_CHILD(nexus, 0, "xpcife", pdev->unit); 263 if (!pdev->ndev) { 268 device_set_ivars(pdev->ndev, pdev); 276 device_probe_and_attach(pdev->ndev);
|
/freebsd-10.0-release/sys/ofed/drivers/infiniband/core/ |
H A D | cma.c | 1802 struct net_device *ndev = NULL; local 1824 ndev = dev_get_by_index(&init_net, addr->dev_addr.bound_dev_if); 1825 if (!ndev) { 1830 vid = rdma_vlan_dev_vlan_id(ndev); 1842 route->path_rec->mtu = iboe_get_mtu(ndev->mtu); 1844 route->path_rec->mtu = iboe_get_mtu(ndev->if_mtu); 1847 route->path_rec->rate = iboe_get_rate(ndev); 1848 dev_put(ndev); 3063 struct net_device *ndev = NULL; 3085 ndev [all...] |
/freebsd-10.0-release/usr.sbin/ppp/ |
H A D | physical.h | 113 int ndev; /* number of devices in list */ member in struct:physical::__anon11723
|
H A D | physical.c | 210 p->cfg.ndev = NMODEMS; 480 for (n = 0; n < p->cfg.ndev; n++) { 797 p->cfg.ndev = f; 1030 while (devno < p->cfg.ndev && p->fd < 0) {
|
/freebsd-10.0-release/sys/dev/hptmv/ |
H A D | hptintf.h | 1195 * ndev - number of devices 1202 int hpt_query_remove(DWORD ndev, DEVICEID *pIds); 1209 * ndev - number of devices 1216 int hpt_remove_devices(DWORD ndev, DEVICEID *pIds);
|
/freebsd-10.0-release/sys/kern/ |
H A D | kern_conf.c | 1197 struct cdev *dev, *ndev, *dl, *de; local 1219 ndev = devfs_alloc(MAKEDEV_WAITOK); 1232 devfs_free(ndev); 1249 dev = newdev(csw, unit | extra, ndev);
|
/freebsd-10.0-release/sys/dev/hptrr/ |
H A D | hptintf.h | 1629 * ndev - number of devices 1636 int hpt_query_remove(HPT_U32 ndev, DEVICEID *pIds); 1642 * ndev - number of devices 1649 int hpt_remove_devices(HPT_U32 ndev, DEVICEID *pIds); 1768 * ndev - number of disks to initialize 1775 int hpt_init_disks(HPT_U32 ndev, DEVICEID * pIds);
|
/freebsd-10.0-release/sys/dev/iscsi_initiator/ |
H A D | iscsi.c | 96 static int i_create_session(struct cdev *dev, int *ndev); 601 i_create_session(struct cdev *dev, int *ndev) argument 628 *ndev = sp->sid = n;
|
/freebsd-10.0-release/sys/dev/hpt27xx/ |
H A D | hptintf.h | 1809 * ndev - number of devices 1816 int hpt_query_remove(HPT_U32 ndev, DEVICEID *pIds); 1822 * ndev - number of devices 1829 int hpt_remove_devices(HPT_U32 ndev, DEVICEID *pIds); 1948 * ndev - number of disks to initialize 1955 int hpt_init_disks(HPT_U32 ndev, DEVICEID * pIds);
|
/freebsd-10.0-release/sys/dev/hptnr/ |
H A D | hptintf.h | 1907 * ndev - number of devices 1914 int hpt_query_remove(HPT_U32 ndev, DEVICEID *pIds); 1920 * ndev - number of devices 1927 int hpt_remove_devices(HPT_U32 ndev, DEVICEID *pIds); 2046 * ndev - number of disks to initialize 2053 int hpt_init_disks(HPT_U32 ndev, DEVICEID * pIds);
|
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | spa.c | 3181 uint_t i, ndev; local 3190 if (nvlist_lookup_nvlist_array(nvroot, config, &dev, &ndev) != 0) 3193 if (ndev == 0) 3208 sav->sav_npending = ndev; 3210 for (i = 0; i < ndev; i++) {
|