Home
last modified time | relevance | path

Searched refs:bar_base_addr (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/
H A Ddriver.c25 mdev->bar_addr = sf_dev->bar_base_addr; in mlx5_sf_dev_probe()
26 mdev->iseg_base = sf_dev->bar_base_addr; in mlx5_sf_dev_probe()
H A Ddev.h17 phys_addr_t bar_base_addr; member
H A Ddev.c119 sf_dev->bar_base_addr = table->base_address + (sf_index * table->sf_bar_length); in mlx5_sf_dev_add()
/openbmc/linux/drivers/accel/habanalabs/common/
H A Ddevice.c50 u64 bar_base_addr, old_base; in hl_set_dram_bar() local
53 bar_base_addr = addr & ~(prop->dram_pci_bar_size - 0x1ull); in hl_set_dram_bar()
55 bar_base_addr = DIV_ROUND_DOWN_ULL(addr, prop->dram_pci_bar_size) * in hl_set_dram_bar()
58 old_base = hdev->asic_funcs->set_dram_bar_base(hdev, bar_base_addr); in hl_set_dram_bar()
62 *new_bar_region_base = bar_base_addr; in hl_set_dram_bar()