Lines Matching defs:map

274     struct its_vlpi_map *map = get_vlpi_map(d);

277 if (map) {
278 cpu = vpe_to_cpuid_lock(map->vpe, flags);
292 struct its_vlpi_map *map = get_vlpi_map(d);
294 if (map) {
295 vpe_to_cpuid_unlock(map->vpe, flags);
856 struct its_vlpi_map *map;
858 map = dev_event_to_vlpi_map(desc->its_inv_cmd.dev, desc->its_inv_cmd.event_id);
866 return valid_vpe(its, map->vpe);
871 struct its_vlpi_map *map;
873 map = dev_event_to_vlpi_map(desc->its_int_cmd.dev, desc->its_int_cmd.event_id);
881 return valid_vpe(its, map->vpe);
886 struct its_vlpi_map *map;
888 map = dev_event_to_vlpi_map(desc->its_clear_cmd.dev, desc->its_clear_cmd.event_id);
896 return valid_vpe(its, map->vpe);
1231 struct its_vlpi_map *map = dev_event_to_vlpi_map(dev, id);
1234 desc.its_vmapti_cmd.vpe = map->vpe;
1236 desc.its_vmapti_cmd.virt_id = map->vintid;
1238 desc.its_vmapti_cmd.db_enabled = map->db_enabled;
1245 struct its_vlpi_map *map = dev_event_to_vlpi_map(dev, id);
1248 desc.its_vmovi_cmd.vpe = map->vpe;
1251 desc.its_vmovi_cmd.db_enabled = map->db_enabled;
1377 struct its_vlpi_map *map = get_vlpi_map(d);
1382 if (map) {
1383 va = page_address(map->vm->vprop_page);
1384 hwirq = map->vintid;
1387 map->properties &= ~clr;
1388 map->properties |= set | LPI_PROP_GROUP1;
1419 struct its_vlpi_map *map = get_vlpi_map(d);
1425 if (map) {
1431 val |= FIELD_PREP(GICR_INVLPIR_VPEID, map->vpe->vpe_id);
1432 val |= FIELD_PREP(GICR_INVLPIR_INTID, map->vintid);
1466 struct its_vlpi_map *map;
1474 map = dev_event_to_vlpi_map(its_dev, event);
1475 if (map->db_enabled == enable) {
1478 map->db_enabled = enable;
1733 * (b) Or the ITSs do not use a list map, meaning that VMOVP is cheap enough
1736 * If neither (a) nor (b) is true, then we map vPEs on demand.
1810 if (!info->map) {
1825 its_dev->event_map.vm = info->map->vm;
1827 } else if (its_dev->event_map.vm != info->map->vm) {
1833 its_dev->event_map.vlpi_maps[event] = *info->map;
1840 its_map_vm(its_dev->its, info->map->vm);
1849 lpi_write_config(d, 0xff, info->map->properties);
1869 struct its_vlpi_map *map;
1872 map = get_vlpi_map(d);
1873 if (!its_dev->event_map.vm || !map) {
1878 *info->map = *map;
2207 * memory map.
3875 * would be able to read its coarse map pretty quickly anyway,
4203 * destination VPE is mapped there. Since we map them eagerly at
4541 * If we use the list map, we issue VMAPP on demand... Unless
4542 * we're on a GICv4.1 and we eagerly map the VPE on all ITSs
4573 * If we use the list map on GICv4.0, we unmap the VPE once no
4986 pr_warn("ITS@%pa: Unable to map ITS registers\n", &res->start);