region_type
enum ps3_dma_region_type region_type, void *addr, unsigned long len);
enum ps3_dma_region_type region_type;
enum ps3_dma_region_type region_type, void *addr, unsigned long len)
r->region_type = region_type;
roundup_pow_of_two(r->len), r->page_size, r->region_type,
int hl_access_dev_mem(struct hl_device *hdev, enum pci_region region_type,
switch (region_type) {
region_type, (region_type == PCI_REGION_DRAM));
enum debugfs_access_type acc_type, enum pci_region region_type, bool set_dram_bar)
struct pci_mem_region *region = &hdev->pci_mem_region[region_type];
int (*access_dev_mem)(struct hl_device *hdev, enum pci_region region_type,
enum debugfs_access_type acc_type, enum pci_region region_type, bool set_dram_bar);
int hl_access_dev_mem(struct hl_device *hdev, enum pci_region region_type,
enum mlxsw_sp_acl_atcam_region_type region_type;
region_type = MLXSW_SP_ACL_ATCAM_REGION_TYPE_2KB;
region_type = MLXSW_SP_ACL_ATCAM_REGION_TYPE_4KB;
region_type = MLXSW_SP_ACL_ATCAM_REGION_TYPE_8KB;
region_type = MLXSW_SP_ACL_ATCAM_REGION_TYPE_12KB;
aregion->type = region_type;
aregion->ops = mlxsw_sp_acl_atcam_region_ops_arr[region_type];
enum mlxsw_sp_acl_atcam_region_type region_type,
entry_size = erp_core->erpt_entries_size[region_type];
enum mlxsw_sp_acl_atcam_region_type region_type,
entry_size = erp_core->erpt_entries_size[region_type];
__le32 region_type;
hdr->region_type = cpu_to_le32(current_region->type);
hdr->region_type = cpu_to_le32(current_region->type);
hdr->region_type = cpu_to_le32(current_region->type);