/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/pm/ |
D | base.c | 38 struct nvkm_perfdom *dom; in nvkm_pm_count_perfdom() local 41 list_for_each_entry(dom, &pm->domains, head) in nvkm_pm_count_perfdom() 47 nvkm_perfdom_count_perfsig(struct nvkm_perfdom *dom) in nvkm_perfdom_count_perfsig() argument 52 if (dom) { in nvkm_perfdom_count_perfsig() 53 for (i = 0; i < dom->signal_nr; i++) { in nvkm_perfdom_count_perfsig() 54 if (dom->signal[i].name) in nvkm_perfdom_count_perfsig() 64 struct nvkm_perfdom *dom; in nvkm_perfdom_find() local 67 list_for_each_entry(dom, &pm->domains, head) { in nvkm_perfdom_find() 69 return dom; in nvkm_perfdom_find() 77 struct nvkm_perfdom *dom = *pdom; in nvkm_perfsig_find() local [all …]
|
D | gf100.c | 128 gf100_perfctr_init(struct nvkm_pm *pm, struct nvkm_perfdom *dom, in gf100_perfctr_init() argument 139 nvkm_wr32(device, dom->addr + 0x09c, 0x00040002 | (dom->mode << 3)); in gf100_perfctr_init() 140 nvkm_wr32(device, dom->addr + 0x100, 0x00000000); in gf100_perfctr_init() 141 nvkm_wr32(device, dom->addr + 0x040 + (ctr->slot * 0x08), src); in gf100_perfctr_init() 142 nvkm_wr32(device, dom->addr + 0x044 + (ctr->slot * 0x08), log); in gf100_perfctr_init() 146 gf100_perfctr_read(struct nvkm_pm *pm, struct nvkm_perfdom *dom, in gf100_perfctr_read() argument 152 case 0: ctr->ctr = nvkm_rd32(device, dom->addr + 0x08c); break; in gf100_perfctr_read() 153 case 1: ctr->ctr = nvkm_rd32(device, dom->addr + 0x088); break; in gf100_perfctr_read() 154 case 2: ctr->ctr = nvkm_rd32(device, dom->addr + 0x080); break; in gf100_perfctr_read() 155 case 3: ctr->ctr = nvkm_rd32(device, dom->addr + 0x090); break; in gf100_perfctr_read() [all …]
|
D | nv40.c | 27 nv40_perfctr_init(struct nvkm_pm *pm, struct nvkm_perfdom *dom, in nv40_perfctr_init() argument 38 nvkm_wr32(device, 0x00a7c0 + dom->addr, 0x00000001 | (dom->mode << 4)); in nv40_perfctr_init() 39 nvkm_wr32(device, 0x00a400 + dom->addr + (ctr->slot * 0x40), src); in nv40_perfctr_init() 40 nvkm_wr32(device, 0x00a420 + dom->addr + (ctr->slot * 0x40), log); in nv40_perfctr_init() 44 nv40_perfctr_read(struct nvkm_pm *pm, struct nvkm_perfdom *dom, in nv40_perfctr_read() argument 50 case 0: ctr->ctr = nvkm_rd32(device, 0x00a700 + dom->addr); break; in nv40_perfctr_read() 51 case 1: ctr->ctr = nvkm_rd32(device, 0x00a6c0 + dom->addr); break; in nv40_perfctr_read() 52 case 2: ctr->ctr = nvkm_rd32(device, 0x00a680 + dom->addr); break; in nv40_perfctr_read() 53 case 3: ctr->ctr = nvkm_rd32(device, 0x00a740 + dom->addr); break; in nv40_perfctr_read() 55 dom->clk = nvkm_rd32(device, 0x00a600 + dom->addr); in nv40_perfctr_read() [all …]
|
/kernel/linux/linux-5.10/drivers/soc/amlogic/ |
D | meson-ee-pwrc.c | 400 struct meson_ee_pwrc_domain *dom) in meson_ee_pwrc_init_domain() argument 404 dom->pwrc = pwrc; in meson_ee_pwrc_init_domain() 405 dom->num_rstc = dom->desc.reset_names_count; in meson_ee_pwrc_init_domain() 406 dom->num_clks = dom->desc.clk_names_count; in meson_ee_pwrc_init_domain() 408 if (dom->num_rstc) { in meson_ee_pwrc_init_domain() 411 if (count != dom->num_rstc) in meson_ee_pwrc_init_domain() 413 count, dom->desc.name); in meson_ee_pwrc_init_domain() 415 dom->rstc = devm_reset_control_array_get(&pdev->dev, false, in meson_ee_pwrc_init_domain() 417 if (IS_ERR(dom->rstc)) in meson_ee_pwrc_init_domain() 418 return PTR_ERR(dom->rstc); in meson_ee_pwrc_init_domain() [all …]
|
D | meson-secure-pwrc.c | 166 struct meson_secure_pwrc_domain *dom = &pwrc->domains[i]; in meson_secure_pwrc_probe() local 171 dom->pwrc = pwrc; in meson_secure_pwrc_probe() 172 dom->index = match->domains[i].index; in meson_secure_pwrc_probe() 173 dom->base.name = match->domains[i].name; in meson_secure_pwrc_probe() 174 dom->base.flags = match->domains[i].flags; in meson_secure_pwrc_probe() 175 dom->base.power_on = meson_secure_pwrc_on; in meson_secure_pwrc_probe() 176 dom->base.power_off = meson_secure_pwrc_off; in meson_secure_pwrc_probe() 178 pm_genpd_init(&dom->base, NULL, match->domains[i].is_off(dom)); in meson_secure_pwrc_probe() 180 pwrc->xlate.domains[i] = &dom->base; in meson_secure_pwrc_probe()
|
/kernel/linux/linux-5.10/net/tipc/ |
D | monitor.c | 109 static int dom_rec_len(struct tipc_mon_domain *dom, u16 mcnt) in dom_rec_len() argument 111 return ((void *)&dom->members - (void *)dom) + (mcnt * sizeof(u32)); in dom_rec_len() 218 struct tipc_mon_domain *dom = peer->domain; in mon_apply_domain() local 223 if (!dom || !peer->is_up) in mon_apply_domain() 229 for (i = 0; i < dom->member_cnt; i++) { in mon_apply_domain() 230 addr = dom->members[i]; in mon_apply_domain() 244 struct tipc_mon_domain *dom = self->domain; in mon_update_local_domain() local 246 u64 prev_up_map = dom->up_map; in mon_update_local_domain() 255 dom->len = dom_rec_len(dom, member_cnt); in mon_update_local_domain() 256 diff = dom->member_cnt != member_cnt; in mon_update_local_domain() [all …]
|
/kernel/linux/linux-5.10/drivers/iommu/ |
D | mtk_iommu_v1.c | 99 static struct mtk_iommu_domain *to_mtk_domain(struct iommu_domain *dom) in to_mtk_domain() argument 101 return container_of(dom, struct mtk_iommu_domain, domain); in to_mtk_domain() 163 struct mtk_iommu_domain *dom = data->m4u_dom; in mtk_iommu_isr() local 181 if (report_iommu_fault(&dom->domain, data->dev, fault_iova, in mtk_iommu_isr() 223 struct mtk_iommu_domain *dom = data->m4u_dom; in mtk_iommu_domain_finalise() local 225 spin_lock_init(&dom->pgtlock); in mtk_iommu_domain_finalise() 227 dom->pgt_va = dma_alloc_coherent(data->dev, M2701_IOMMU_PGT_SIZE, in mtk_iommu_domain_finalise() 228 &dom->pgt_pa, GFP_KERNEL); in mtk_iommu_domain_finalise() 229 if (!dom->pgt_va) in mtk_iommu_domain_finalise() 232 writel(dom->pgt_pa, data->base + REG_MMU_PT_BASE_ADDR); in mtk_iommu_domain_finalise() [all …]
|
D | mtk_iommu.c | 180 static struct mtk_iommu_domain *to_mtk_domain(struct iommu_domain *dom) in to_mtk_domain() argument 182 return container_of(dom, struct mtk_iommu_domain, domain); in to_mtk_domain() 250 struct mtk_iommu_domain *dom = data->m4u_dom; in mtk_iommu_isr() local 277 if (report_iommu_fault(&dom->domain, data->dev, fault_iova, in mtk_iommu_isr() 319 static int mtk_iommu_domain_finalise(struct mtk_iommu_domain *dom) in mtk_iommu_domain_finalise() argument 323 dom->cfg = (struct io_pgtable_cfg) { in mtk_iommu_domain_finalise() 335 dom->iop = alloc_io_pgtable_ops(ARM_V7S, &dom->cfg, data); in mtk_iommu_domain_finalise() 336 if (!dom->iop) { in mtk_iommu_domain_finalise() 342 dom->domain.pgsize_bitmap = dom->cfg.pgsize_bitmap; in mtk_iommu_domain_finalise() 348 struct mtk_iommu_domain *dom; in mtk_iommu_domain_alloc() local [all …]
|
/kernel/linux/linux-5.10/drivers/firmware/arm_scmi/ |
D | perf.c | 383 struct perf_dom_info *dom = pi->dom_info + domain; in scmi_perf_limits_set() local 385 if (dom->fc_info && dom->fc_info->limit_set_addr) { in scmi_perf_limits_set() 386 iowrite32(max_perf, dom->fc_info->limit_set_addr); in scmi_perf_limits_set() 387 iowrite32(min_perf, dom->fc_info->limit_set_addr + 4); in scmi_perf_limits_set() 388 scmi_perf_fc_ring_db(dom->fc_info->limit_set_db); in scmi_perf_limits_set() 425 struct perf_dom_info *dom = pi->dom_info + domain; in scmi_perf_limits_get() local 427 if (dom->fc_info && dom->fc_info->limit_get_addr) { in scmi_perf_limits_get() 428 *max_perf = ioread32(dom->fc_info->limit_get_addr); in scmi_perf_limits_get() 429 *min_perf = ioread32(dom->fc_info->limit_get_addr + 4); in scmi_perf_limits_get() 463 struct perf_dom_info *dom = pi->dom_info + domain; in scmi_perf_level_set() local [all …]
|
D | reset.c | 132 struct reset_dom_info *dom = pi->dom_info + domain; in scmi_reset_name_get() local 134 return dom->name; in scmi_reset_name_get() 140 struct reset_dom_info *dom = pi->dom_info + domain; in scmi_reset_latency_get() local 142 return dom->latency_us; in scmi_reset_latency_get() 150 struct scmi_msg_reset_domain_reset *dom; in scmi_domain_reset() local 158 sizeof(*dom), 0, &t); in scmi_domain_reset() 162 dom = t->tx.buf; in scmi_domain_reset() 163 dom->domain_id = cpu_to_le32(domain); in scmi_domain_reset() 164 dom->flags = cpu_to_le32(flags); in scmi_domain_reset() 165 dom->reset_state = cpu_to_le32(state); in scmi_domain_reset() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/etnaviv/ |
D | etnaviv_perfmon.c | 471 const struct etnaviv_pm_domain *dom; in etnaviv_pm_query_dom() local 476 dom = pm_domain(gpu, domain->iter); in etnaviv_pm_query_dom() 477 if (!dom) in etnaviv_pm_query_dom() 481 domain->nr_signals = dom->nr_signals; in etnaviv_pm_query_dom() 482 strncpy(domain->name, dom->name, sizeof(domain->name)); in etnaviv_pm_query_dom() 495 const struct etnaviv_pm_domain *dom; in etnaviv_pm_query_sig() local 501 dom = pm_domain(gpu, signal->domain); in etnaviv_pm_query_sig() 502 if (!dom) in etnaviv_pm_query_sig() 505 if (signal->iter >= dom->nr_signals) in etnaviv_pm_query_sig() 508 sig = &dom->signal[signal->iter]; in etnaviv_pm_query_sig() [all …]
|
/kernel/linux/linux-5.10/arch/arm/include/asm/ |
D | domain.h | 55 #define domain_mask(dom) ((3) << (2 * (dom))) argument 56 #define domain_val(dom,type) ((type) << (2 * (dom))) argument 116 #define modify_domain(dom,type) \ argument 119 domain &= ~domain_mask(dom); \ 120 domain = domain | domain_val(dom, type); \ 125 static inline void modify_domain(unsigned dom, unsigned type) { } in modify_domain() argument
|
/kernel/linux/linux-5.10/drivers/soc/bcm/ |
D | raspberrypi-power.c | 83 struct rpi_power_domain *dom = &rpi_domains->domains[xlate_index]; in rpi_common_init_power_domain() local 85 dom->fw = rpi_domains->fw; in rpi_common_init_power_domain() 87 dom->base.name = name; in rpi_common_init_power_domain() 88 dom->base.power_on = rpi_domain_on; in rpi_common_init_power_domain() 89 dom->base.power_off = rpi_domain_off; in rpi_common_init_power_domain() 99 pm_genpd_init(&dom->base, NULL, true); in rpi_common_init_power_domain() 101 rpi_domains->xlate.domains[xlate_index] = &dom->base; in rpi_common_init_power_domain() 107 struct rpi_power_domain *dom = &rpi_domains->domains[xlate_index]; in rpi_init_power_domain() local 113 dom->domain = xlate_index + 1; in rpi_init_power_domain() 122 struct rpi_power_domain *dom = &rpi_domains->domains[xlate_index]; in rpi_init_old_power_domain() local [all …]
|
D | bcm2835-power.c | 493 struct bcm2835_power_domain *dom = &power->domains[pd_xlate_index]; in bcm2835_init_power_domain() local 495 dom->clk = devm_clk_get(dev->parent, name); in bcm2835_init_power_domain() 496 if (IS_ERR(dom->clk)) { in bcm2835_init_power_domain() 497 int ret = PTR_ERR(dom->clk); in bcm2835_init_power_domain() 505 dom->clk = NULL; in bcm2835_init_power_domain() 508 dom->base.name = name; in bcm2835_init_power_domain() 509 dom->base.power_on = bcm2835_power_pd_power_on; in bcm2835_init_power_domain() 510 dom->base.power_off = bcm2835_power_pd_power_off; in bcm2835_init_power_domain() 512 dom->domain = pd_xlate_index; in bcm2835_init_power_domain() 513 dom->power = power; in bcm2835_init_power_domain() [all …]
|
/kernel/linux/linux-5.10/drivers/irqchip/ |
D | irq-tango.c | 55 static void tangox_dispatch_irqs(struct irq_domain *dom, unsigned int status, in tangox_dispatch_irqs() argument 63 virq = irq_find_mapping(dom, base + hwirq); in tangox_dispatch_irqs() 72 struct irq_domain *dom = irq_desc_get_handler_data(desc); in tangox_irq_handler() local 74 struct tangox_irq_chip *chip = dom->host_data; in tangox_irq_handler() 82 tangox_dispatch_irqs(dom, status_lo, 0); in tangox_irq_handler() 83 tangox_dispatch_irqs(dom, status_hi, 32); in tangox_irq_handler() 161 static void __init tangox_irq_domain_init(struct irq_domain *dom) in tangox_irq_domain_init() argument 167 gc = irq_get_domain_generic_chip(dom, i * 32); in tangox_irq_domain_init() 176 struct irq_domain *dom; in tangox_irq_init() local 193 dom = irq_domain_add_linear(node, 64, &irq_generic_chip_ops, chip); in tangox_irq_init() [all …]
|
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/resctrl/ |
D | ctrlmondata.c | 192 char *dom = NULL, *id; in parse_line() local 205 dom = strsep(&line, ";"); in parse_line() 206 id = strsep(&dom, "="); in parse_line() 207 if (!dom || kstrtoul(id, 10, &dom_id)) { in parse_line() 211 dom = strim(dom); in parse_line() 214 data.buf = dom; in parse_line() 301 struct rdt_domain *dom; in rdtgroup_schemata_write() local 331 list_for_each_entry(dom, &r->domains, list) in rdtgroup_schemata_write() 332 dom->have_new_ctrl = false; in rdtgroup_schemata_write() 376 struct rdt_domain *dom; in show_doms() local [all …]
|
/kernel/linux/linux-5.10/include/uapi/xen/ |
D | privcmd.h | 58 domid_t dom; /* target domain */ member 64 domid_t dom; /* target domain */ member 75 domid_t dom; /* target domain */ member 87 domid_t dom; member 93 domid_t dom; member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/xen/ |
D | privcmd.h | 23 domid_t dom; member 28 domid_t dom; member 36 domid_t dom; member 46 domid_t dom; member 51 domid_t dom; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/xen/ |
D | privcmd.h | 35 domid_t dom; member 40 domid_t dom; member 48 domid_t dom; member 58 domid_t dom; member 63 domid_t dom; member
|
/kernel/linux/linux-5.10/drivers/iommu/amd/ |
D | amd_iommu.h | 56 extern void amd_iommu_domain_direct_map(struct iommu_domain *dom); 57 extern int amd_iommu_domain_enable_v2(struct iommu_domain *dom, int pasids); 58 extern int amd_iommu_flush_page(struct iommu_domain *dom, u32 pasid, 60 extern int amd_iommu_flush_tlb(struct iommu_domain *dom, u32 pasid); 61 extern int amd_iommu_domain_set_gcr3(struct iommu_domain *dom, u32 pasid, 63 extern int amd_iommu_domain_clear_gcr3(struct iommu_domain *dom, u32 pasid);
|
/kernel/linux/linux-5.10/mm/ |
D | page-writeback.c | 126 struct wb_domain *dom; member 154 .dom = &global_wb_domain, \ 157 #define GDTC_INIT_NO_WB .dom = &global_wb_domain 160 .dom = mem_cgroup_wb_domain(__wb), \ 166 return dtc->dom; in mdtc_valid() 171 return dtc->dom; in dtc_dom() 566 static void wb_domain_writeout_inc(struct wb_domain *dom, in wb_domain_writeout_inc() argument 570 __fprop_inc_percpu_max(&dom->completions, completions, in wb_domain_writeout_inc() 573 if (unlikely(!dom->period_time)) { in wb_domain_writeout_inc() 580 dom->period_time = wp_next_time(jiffies); in wb_domain_writeout_inc() [all …]
|
/kernel/linux/linux-5.10/drivers/s390/crypto/ |
D | ap_bus.c | 1183 int card, dom; in ap_select_domain() local 1195 for (dom = 0; dom <= ap_max_domain_id; dom++) { in ap_select_domain() 1196 if (!ap_test_config_usage_domain(dom) || in ap_select_domain() 1197 !test_bit_inv(dom, ap_perms.aqm)) in ap_select_domain() 1203 status = ap_test_queue(AP_MKQID(card, dom), in ap_select_domain() 1212 if (dom <= ap_max_domain_id) { in ap_select_domain() 1213 ap_domain_index = dom; in ap_select_domain() 1318 int rc, dom, depth, type; in ap_scan_domains() local 1326 for (dom = 0; dom <= ap_max_domain_id; dom++) { in ap_scan_domains() 1327 qid = AP_MKQID(ac->id, dom); in ap_scan_domains() [all …]
|
/kernel/linux/linux-5.10/include/xen/interface/ |
D | event_channel.h | 29 domid_t dom, remote_dom; member 130 domid_t dom; member 143 domid_t dom; member 146 domid_t dom; member 190 domid_t dom; member
|
D | grant_table.h | 267 domid_t dom; member 309 domid_t dom; member 324 domid_t dom; member 400 domid_t dom; member 460 domid_t dom; member 474 domid_t dom; member
|
/kernel/linux/linux-5.10/net/sunrpc/ |
D | svcauth.c | 153 struct auth_domain *dom = container_of(kref, struct auth_domain, ref); in auth_domain_release() local 155 hlist_del_rcu(&dom->hash); in auth_domain_release() 156 dom->flavour->domain_release(dom); in auth_domain_release() 160 void auth_domain_put(struct auth_domain *dom) in auth_domain_put() argument 162 kref_put_lock(&dom->ref, auth_domain_release, &auth_domain_lock); in auth_domain_put()
|