Home
last modified time | relevance | path

Searched refs:bsddev (Results 1 – 16 of 16) sorted by relevance

/freebsd-10-stable/sys/ofed/include/linux/
Ddevice.h61 device_t bsddev; member
122 #define dev_err(dev, fmt, ...) device_printf((dev)->bsddev, fmt, ##__VA_ARGS__)
123 #define dev_warn(dev, fmt, ...) device_printf((dev)->bsddev, fmt, ##__VA_ARGS__)
124 #define dev_info(dev, fmt, ...) device_printf((dev)->bsddev, fmt, ##__VA_ARGS__)
126 device_printf((dev)->bsddev, fmt, ##__VA_ARGS__)
293 device_t bsddev; in device_register() local
296 bsddev = NULL; in device_register()
301 bsddev = devclass_get_device(dev->class->bsdclass, unit); in device_register()
303 bsddev = devclass_get_device(dev->class->bsdclass, 0); in device_register()
305 if (bsddev == NULL && dev->parent != NULL) { in device_register()
[all …]
Dinterrupt.h98 res = bus_alloc_resource_any(dev->bsddev, SYS_RES_IRQ, &rid, in request_irq()
108 error = bus_setup_intr(dev->bsddev, res, INTR_TYPE_NET | INTR_MPSAFE, in request_irq()
111 bus_release_resource(dev->bsddev, SYS_RES_IRQ, rid, irqe->res); in request_irq()
132 return -bus_setup_intr(dev->bsddev, irqe->res, INTR_TYPE_NET | INTR_MPSAFE, in enable_irq()
149 bus_teardown_intr(dev->bsddev, irqe->res, irqe->tag); in disable_irq()
167 return (-bus_bind_intr(dev->bsddev, irqe->res, cpu_id)); in bind_irq_to_cpu()
185 bus_teardown_intr(dev->bsddev, irqe->res, irqe->tag); in free_irq()
186 bus_release_resource(dev->bsddev, SYS_RES_IRQ, rid, irqe->res); in free_irq()
Dpci.h162 dinfo = device_get_ivars(pdev->dev.bsddev); in _pci_get_rle()
221 pm = pci_find_bar(pdev->dev.bsddev, PCIR_BAR(bar)); in pci_resource_type()
249 return device_get_desc(d->dev.bsddev); in pci_name()
270 pci_enable_io(pdev->dev.bsddev, SYS_RES_IOPORT); in pci_enable_device()
271 pci_enable_io(pdev->dev.bsddev, SYS_RES_MEMORY); in pci_enable_device()
284 pci_enable_busmaster(pdev->dev.bsddev); in pci_set_master()
292 pci_disable_busmaster(pdev->dev.bsddev); in pci_clear_master()
306 if (bus_alloc_resource_any(pdev->dev.bsddev, type, &rid, in pci_request_region()
319 bus_release_resource(pdev->dev.bsddev, rle->type, rle->rid, rle->res); in pci_release_region()
351 pci_release_msi(pdev->dev.bsddev); in pci_disable_msix()
[all …]
Dlinux_compat.c993 linux_rootdev.bsddev = root_bus; in linux_compat_init()
/freebsd-10-stable/sys/dev/mlx5/mlx5_core/
Dmlx5_main.c161 device_printf((&pdev->dev)->bsddev, "WARN: ""Warning: couldn't set 64-bit PCI DMA mask\n"); in set_dma_caps()
164 device_printf((&pdev->dev)->bsddev, "ERR: ""Can't set PCI DMA mask, aborting\n"); in set_dma_caps()
171 …device_printf((&pdev->dev)->bsddev, "WARN: ""Warning: couldn't set 64-bit consistent PCI DMA mask\… in set_dma_caps()
174 device_printf((&pdev->dev)->bsddev, "ERR: ""Can't set consistent PCI DMA mask, aborting\n"); in set_dma_caps()
188 device_printf((&pdev->dev)->bsddev, "ERR: ""Missing registers BAR, aborting\n"); in request_bar()
194 device_printf((&pdev->dev)->bsddev, "ERR: ""Couldn't get PCI resources, aborting\n"); in request_bar()
648 device_printf((&pdev->dev)->bsddev, "ERR: ""Cannot enable PCI device, aborting\n"); in mlx5_dev_init()
654 device_printf((&pdev->dev)->bsddev, "ERR: ""error requesting BARs, aborting\n"); in mlx5_dev_init()
662 device_printf((&pdev->dev)->bsddev, "ERR: ""Failed setting DMA capabilities mask, aborting\n"); in mlx5_dev_init()
670 device_printf((&pdev->dev)->bsddev, "ERR: ""Failed mapping initialization segment, aborting\n"); in mlx5_dev_init()
[all …]
Dmlx5_eq.c659 device_printf((&pdev->dev)->bsddev, "INFO: ""Module %u, status: plugged\n", module_num); in mlx5_port_module_event()
663 device_printf((&pdev->dev)->bsddev, "INFO: ""Module %u, status: unplugged\n", module_num); in mlx5_port_module_event()
667 …device_printf((&pdev->dev)->bsddev, "INFO: ""Module %u, status: error, %s\n", module_num, mlx5_por… in mlx5_port_module_event()
671 device_printf((&pdev->dev)->bsddev, "INFO: ""Module %u, unknown status\n", module_num); in mlx5_port_module_event()
Dmlx5_cmd.c1573 bus_get_dma_tag(dev->pdev->dev.bsddev), in alloc_cmd_page()
1628 …device_printf((&dev->pdev->dev)->bsddev, "ERR: ""Driver cmdif rev(%d) differs from firmware's(%d)\… in mlx5_cmd_init()
1640 …device_printf((&dev->pdev->dev)->bsddev, "ERR: ""firmware reports too many outstanding commands %d… in mlx5_cmd_init()
1646 device_printf((&dev->pdev->dev)->bsddev, "ERR: ""command queue size overflow\n"); in mlx5_cmd_init()
1657 …device_printf((&dev->pdev->dev)->bsddev, "ERR: ""driver does not support command interface version… in mlx5_cmd_init()
1673 device_printf((&dev->pdev->dev)->bsddev, "ERR: ""invalid command queue address\n"); in mlx5_cmd_init()
1690 device_printf((&dev->pdev->dev)->bsddev, "ERR: ""failed to create command cache\n"); in mlx5_cmd_init()
1697 device_printf((&dev->pdev->dev)->bsddev, "ERR: ""failed to create command workqueue\n"); in mlx5_cmd_init()
Dmlx5_alloc.c85 bus_get_dma_tag(dev->pdev->dev.bsddev), in mlx5_buf_alloc()
/freebsd-10-stable/sys/compat/ndis/
Dkern_windrv.c468 windrv_create_pdo(drv, bsddev) in windrv_create_pdo() argument
470 device_t bsddev;
486 dev->do_devext = bsddev;
492 windrv_destroy_pdo(drv, bsddev) in windrv_destroy_pdo() argument
494 device_t bsddev;
498 pdo = windrv_find_pdo(drv, bsddev);
515 windrv_find_pdo(drv, bsddev) in windrv_find_pdo() argument
517 device_t bsddev;
524 if (pdo->do_devext == bsddev) {
/freebsd-10-stable/sys/dev/mlx5/mlx5_en/
Dmlx5_en_ethtool.c763 device_get_unit(priv->mdev->pdev->dev.bsddev), in mlx5e_create_ethtool()
777 pnameunit = device_get_nameunit(priv->mdev->pdev->dev.bsddev); in mlx5e_create_ethtool()
Dmlx5_en_main.c667 bus_get_dma_tag(mdev->pdev->dev.bsddev), in mlx5e_create_rq()
995 bus_get_dma_tag(mdev->pdev->dev.bsddev), in mlx5e_create_sq()
3074 device_get_unit(priv->mdev->pdev->dev.bsddev)); in mlx5e_setup_pauseframes()
3081 device_get_unit(priv->mdev->pdev->dev.bsddev)); in mlx5e_setup_pauseframes()
3190 child = SYSCTL_CHILDREN(device_get_sysctl_tree(mdev->pdev->dev.bsddev)); in mlx5e_create_ifp()
3235 device_set_desc(mdev->pdev->dev.bsddev, mlx5e_version); in mlx5e_create_ifp()
3342 device_set_desc(mdev->pdev->dev.bsddev, NULL); in mlx5e_destroy_ifp()
/freebsd-10-stable/sys/ofed/drivers/net/mlx4/
Den_rx.c297 bus_get_dma_tag(mdev->pdev->dev.bsddev), in mlx4_en_create_rx_ring()
Den_tx.c88 bus_get_dma_tag(mdev->pdev->dev.bsddev), in mlx4_en_create_tx_ring()
Dmain.c507 dbdf = dbdf_to_u64(pci_get_domain(pdev->dev.bsddev), pci_get_bus(pdev->dev.bsddev), in mlx4_get_val()
3561 device_set_desc(pdev->dev.bsddev, mlx4_version); in mlx4_init_one()
Den_netdev.c2055 mdev->pdev->dev.bsddev) * MLX4_MAX_PORTS) + port - 1); in mlx4_en_init_netdev()
2570 pnameunit = device_get_nameunit(priv->mdev->pdev->dev.bsddev); in mlx4_en_sysctl_conf()
/freebsd-10-stable/sys/ofed/drivers/infiniband/hw/mlx4/
Dmain.c1619 pci_get_domain(dev->pdev->dev.bsddev), in mlx4_ib_alloc_eqs()
1620 pci_get_bus(dev->pdev->dev.bsddev), in mlx4_ib_alloc_eqs()