Home
last modified time | relevance | path

Searched refs:dev_to_node (Results 1 – 25 of 112) sorted by relevance

12345

/linux/drivers/dma/idxd/
H A Dinit.c185 GFP_KERNEL, dev_to_node(dev)); in idxd_setup_wqs()
189 idxd->wq_enable_map = bitmap_zalloc_node(idxd->max_wqs, GFP_KERNEL, dev_to_node(dev)); in idxd_setup_wqs()
196 wq = kzalloc_node(sizeof(*wq), GFP_KERNEL, dev_to_node(dev)); in idxd_setup_wqs()
221 wq->wqcfg = kzalloc_node(idxd->wqcfg_size, GFP_KERNEL, dev_to_node(dev)); in idxd_setup_wqs()
290 GFP_KERNEL, dev_to_node(dev)); in idxd_setup_engines()
295 engine = kzalloc_node(sizeof(*engine), GFP_KERNEL, dev_to_node(dev)); in idxd_setup_engines()
354 GFP_KERNEL, dev_to_node(dev)); in idxd_setup_groups()
359 group = kzalloc_node(sizeof(*group), GFP_KERNEL, dev_to_node(dev)); in idxd_setup_groups()
426 evl = kzalloc_node(sizeof(*evl), GFP_KERNEL, dev_to_node(dev)); in idxd_init_evl()
608 idxd = kzalloc_node(sizeof(*idxd), GFP_KERNEL, dev_to_node(dev)); in idxd_alloc()
[all …]
H A Ddma.c204 idxd_dma = kzalloc_node(sizeof(*idxd_dma), GFP_KERNEL, dev_to_node(dev)); in idxd_register_dma_device()
257 idxd_chan = kzalloc_node(sizeof(*idxd_chan), GFP_KERNEL, dev_to_node(dev)); in idxd_register_dma_channel()
/linux/lib/
H A Ddevres.c36 dev_to_node(dev)); in __devm_ioremap()
286 dev_to_node(dev)); in devm_ioport_map()
337 dev_to_node(dev)); in devm_arch_phys_wc_add()
383 dev_to_node(dev)); in devm_arch_io_reserve_memtype_wc()
/linux/include/linux/
H A Dasync.h90 return async_schedule_node(func, dev, dev_to_node(dev)); in async_schedule_dev()
114 return async_schedule_node_domain(func, dev, dev_to_node(dev), domain); in async_schedule_dev_domain()
H A Ddevice.h765 static inline int dev_to_node(struct device *dev) in dev_to_node() function
774 static inline int dev_to_node(struct device *dev) in dev_to_node() function
/linux/drivers/usb/host/
H A Dxhci-mem.c38 seg = kzalloc_node(sizeof(*seg), flags, dev_to_node(dev)); in xhci_segment_alloc()
50 dev_to_node(dev)); in xhci_segment_alloc()
377 ring = kzalloc_node(sizeof(*ring), flags, dev_to_node(dev)); in xhci_ring_alloc()
461 ctx = kzalloc_node(sizeof(*ctx), flags, dev_to_node(dev)); in xhci_alloc_container_ctx()
493 ctx = kzalloc_node(sizeof(*ctx), flags, dev_to_node(dev)); in xhci_alloc_port_bw_ctx()
631 dev_to_node(dev)); in xhci_alloc_stream_info()
641 dev_to_node(dev)); in xhci_alloc_stream_info()
842 dev_to_node(dev)); in xhci_alloc_tt_info()
1654 dev_to_node(dev)); in scratchpad_alloc()
1665 flags, dev_to_node(dev)); in scratchpad_alloc()
[all …]
/linux/drivers/crypto/intel/qat/qat_common/
H A Dqat_crypto.c60 if ((node == dev_to_node(&GET_DEV(tmp_dev)) || in qat_crypto_get_instance_node()
61 dev_to_node(&GET_DEV(tmp_dev)) < 0) && in qat_crypto_get_instance_node()
153 dev_to_node(&GET_DEV(accel_dev))); in qat_crypto_create_instances()
H A Dadf_transport.c407 dev_to_node(&GET_DEV(accel_dev))); in adf_init_bank()
430 dev_to_node(&GET_DEV(accel_dev))); in adf_init_bank()
483 dev_to_node(&GET_DEV(accel_dev))); in adf_init_etr_data()
490 dev_to_node(&GET_DEV(accel_dev))); in adf_init_etr_data()
H A Dadf_telemetry.c64 int node = dev_to_node(dev); in adf_tl_alloc_mem()
/linux/net/core/
H A Ddevmem.c197 dev_to_node(&dev->dev)); in net_devmem_bind_dmabuf()
242 dev_to_node(&dev->dev)); in net_devmem_bind_dmabuf()
256 dev_to_node(&dev->dev)); in net_devmem_bind_dmabuf()
268 dma_addr, len, dev_to_node(&dev->dev), in net_devmem_bind_dmabuf()
/linux/arch/riscv/include/asm/
H A Dpci.h21 return dev_to_node(&bus->dev); in pcibus_to_node()
/linux/drivers/crypto/intel/qat/qat_dh895xccvf/
H A Dadf_drv.c93 dev_to_node(&pdev->dev)); in adf_probe()
113 dev_to_node(&pdev->dev)); in adf_probe()
/linux/drivers/crypto/intel/qat/qat_c62xvf/
H A Dadf_drv.c93 dev_to_node(&pdev->dev)); in adf_probe()
113 dev_to_node(&pdev->dev)); in adf_probe()
/linux/drivers/crypto/intel/qat/qat_c3xxxvf/
H A Dadf_drv.c93 dev_to_node(&pdev->dev)); in adf_probe()
113 dev_to_node(&pdev->dev)); in adf_probe()
/linux/drivers/base/test/
H A Dtest_async_driver_probe.c48 dev_to_node(dev) != numa_node_id()) { in test_probe()
50 dev_to_node(dev), numa_node_id()); in test_probe()
/linux/arch/arm64/kernel/
H A Dpci.c38 return dev_to_node(&bus->dev); in pcibus_to_node()
/linux/drivers/nvdimm/
H A Dof_pmem.c63 ndr_desc.numa_node = dev_to_node(&pdev->dev); in of_pmem_region_probe()
/linux/kernel/dma/
H A Dops_helpers.c70 page = alloc_pages_node(dev_to_node(dev), gfp, get_order(size)); in dma_common_alloc_pages()
/linux/drivers/pci/
H A Ddevres.c99 GFP_KERNEL, dev_to_node(&pdev->dev)); in pcim_addr_devres_alloc()
448 dev_to_node(&pdev->dev)); in pcim_iomap_table()
H A Dp2pdma.c249 p2p->pool = gen_pool_create(PAGE_SHIFT, dev_to_node(&pdev->dev)); in pci_p2pdma_setup()
350 range_len(&pgmap->range), dev_to_node(&pdev->dev), in pci_p2pdma_add_resource()
/linux/kernel/
H A Dasync.c272 __async_schedule_node_domain(func, dev, dev_to_node(dev), in async_schedule_dev_nocall()
/linux/arch/loongarch/kernel/
H A Dnuma.c308 return dev_to_node(&bus->dev); in pcibus_to_node()
/linux/drivers/gpu/drm/ttm/
H A Dttm_device.c211 nid = dev_to_node(dev); in ttm_device_init()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dalloc.c65 original_node = dev_to_node(device); in mlx5_dma_zalloc_coherent_node()
/linux/arch/x86/pci/
H A Dintel_mid.c273 ioapic_set_alloc_attr(&info, dev_to_node(&dev->dev), 1, polarity_low); in intel_mid_pci_irq_enable()

12345