/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/pm/ |
D | base.c | 36 struct nvkm_perfdom *dom; in nvkm_pm_count_perfdom() local 39 list_for_each_entry(dom, &pm->domains, head) in nvkm_pm_count_perfdom() 45 nvkm_perfdom_count_perfsig(struct nvkm_perfdom *dom) in nvkm_perfdom_count_perfsig() argument 50 if (dom) { in nvkm_perfdom_count_perfsig() 51 for (i = 0; i < dom->signal_nr; i++) { in nvkm_perfdom_count_perfsig() 52 if (dom->signal[i].name) in nvkm_perfdom_count_perfsig() 62 struct nvkm_perfdom *dom; in nvkm_perfdom_find() local 65 list_for_each_entry(dom, &pm->domains, head) { in nvkm_perfdom_find() 67 return dom; in nvkm_perfdom_find() 75 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 …]
|
/linux-4.4.14/arch/arm/include/asm/ |
D | domain.h | 58 #define domain_mask(dom) ((3) << (2 * (dom))) argument 59 #define domain_val(dom,type) ((type) << (2 * (dom))) argument 108 #define modify_domain(dom,type) \ argument 111 domain &= ~domain_mask(dom); \ 112 domain = domain | domain_val(dom, type); \ 117 static inline void modify_domain(unsigned dom, unsigned type) { } in modify_domain() argument
|
/linux-4.4.14/drivers/iommu/ |
D | amd_iommu_proto.h | 48 extern void amd_iommu_domain_direct_map(struct iommu_domain *dom); 49 extern int amd_iommu_domain_enable_v2(struct iommu_domain *dom, int pasids); 50 extern int amd_iommu_flush_page(struct iommu_domain *dom, int pasid, 52 extern int amd_iommu_flush_tlb(struct iommu_domain *dom, int pasid); 53 extern int amd_iommu_domain_set_gcr3(struct iommu_domain *dom, int pasid, 55 extern int amd_iommu_domain_clear_gcr3(struct iommu_domain *dom, int pasid);
|
D | amd_iommu.c | 124 static struct protection_domain *to_pdomain(struct iommu_domain *dom) in to_pdomain() argument 126 return container_of(dom, struct protection_domain, domain); in to_pdomain() 1322 static int iommu_map_page(struct protection_domain *dom, in iommu_map_page() argument 1338 pte = alloc_pte(dom, bus_addr, page_size, NULL, GFP_KERNEL); in iommu_map_page() 1361 update_domain(dom); in iommu_map_page() 1366 static unsigned long iommu_unmap_page(struct protection_domain *dom, in iommu_unmap_page() argument 1380 pte = fetch_pte(dom, bus_addr, &unmap_size); in iommu_unmap_page() 1419 static void dma_ops_reserve_addresses(struct dma_ops_domain *dom, in dma_ops_reserve_addresses() argument 1423 unsigned int i, last_page = dom->aperture_size >> PAGE_SHIFT; in dma_ops_reserve_addresses() 1431 __set_bit(page, dom->aperture[index]->bitmap); in dma_ops_reserve_addresses() [all …]
|
D | s390-iommu.c | 35 static struct s390_domain *to_s390_domain(struct iommu_domain *dom) in to_s390_domain() argument 37 return container_of(dom, struct s390_domain, domain); in to_s390_domain()
|
D | shmobile-iommu.c | 51 static struct shmobile_iommu_domain *to_sh_domain(struct iommu_domain *dom) in to_sh_domain() argument 53 return container_of(dom, struct shmobile_iommu_domain, domain); in to_sh_domain()
|
D | tegra-gart.c | 76 static struct gart_domain *to_gart_domain(struct iommu_domain *dom) in to_gart_domain() argument 78 return container_of(dom, struct gart_domain, domain); in to_gart_domain()
|
D | msm_iommu.c | 58 static struct msm_priv *to_msm_priv(struct iommu_domain *dom) in to_msm_priv() argument 60 return container_of(dom, struct msm_priv, domain); in to_msm_priv()
|
D | ipmmu-vmsa.c | 59 static struct ipmmu_vmsa_domain *to_vmsa_domain(struct iommu_domain *dom) in to_vmsa_domain() argument 61 return container_of(dom, struct ipmmu_vmsa_domain, io_domain); in to_vmsa_domain()
|
D | rockchip-iommu.c | 105 static struct rk_iommu_domain *to_rk_domain(struct iommu_domain *dom) in to_rk_domain() argument 107 return container_of(dom, struct rk_iommu_domain, domain); in to_rk_domain()
|
D | fsl_pamu_domain.c | 36 static struct fsl_dma_domain *to_fsl_dma_domain(struct iommu_domain *dom) in to_fsl_dma_domain() argument 38 return container_of(dom, struct fsl_dma_domain, iommu_domain); in to_fsl_dma_domain()
|
D | tegra-smmu.c | 52 static struct tegra_smmu_as *to_smmu_as(struct iommu_domain *dom) in to_smmu_as() argument 54 return container_of(dom, struct tegra_smmu_as, domain); in to_smmu_as()
|
D | exynos-iommu.c | 234 static struct exynos_iommu_domain *to_exynos_domain(struct iommu_domain *dom) in to_exynos_domain() argument 236 return container_of(dom, struct exynos_iommu_domain, domain); in to_exynos_domain()
|
D | omap-iommu.c | 78 static struct omap_iommu_domain *to_omap_domain(struct iommu_domain *dom) in to_omap_domain() argument 80 return container_of(dom, struct omap_iommu_domain, domain); in to_omap_domain()
|
D | intel-iommu.c | 565 static struct dmar_domain *to_dmar_domain(struct iommu_domain *dom) in to_dmar_domain() argument 567 return container_of(dom, struct dmar_domain, domain); in to_dmar_domain() 3553 static void add_unmap(struct dmar_domain *dom, struct iova *iova, struct page *freelist) in add_unmap() argument 3563 iommu = domain_get_iommu(dom); in add_unmap() 3567 deferred_flush[iommu_id].domain[next] = dom; in add_unmap()
|
D | arm-smmu.c | 367 static struct arm_smmu_domain *to_smmu_domain(struct iommu_domain *dom) in to_smmu_domain() argument 369 return container_of(dom, struct arm_smmu_domain, domain); in to_smmu_domain()
|
D | arm-smmu-v3.c | 644 static struct arm_smmu_domain *to_smmu_domain(struct iommu_domain *dom) in to_smmu_domain() argument 646 return container_of(dom, struct arm_smmu_domain, domain); in to_smmu_domain()
|
/linux-4.4.14/mm/ |
D | page-writeback.c | 130 struct wb_domain *dom; member 158 .dom = &global_wb_domain, \ 161 #define GDTC_INIT_NO_WB .dom = &global_wb_domain 164 .dom = mem_cgroup_wb_domain(__wb), \ 170 return dtc->dom; in mdtc_valid() 175 return dtc->dom; in dtc_dom() 534 static void wb_domain_writeout_inc(struct wb_domain *dom, in wb_domain_writeout_inc() argument 538 __fprop_inc_percpu_max(&dom->completions, completions, in wb_domain_writeout_inc() 541 if (!unlikely(dom->period_time)) { in wb_domain_writeout_inc() 548 dom->period_time = wp_next_time(jiffies); in wb_domain_writeout_inc() [all …]
|
/linux-4.4.14/include/xen/interface/ |
D | event_channel.h | 28 domid_t dom, remote_dom; member 129 domid_t dom; member 142 domid_t dom; member 145 domid_t dom; member 189 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
|
/linux-4.4.14/net/sunrpc/ |
D | svcauth.c | 128 void auth_domain_put(struct auth_domain *dom) in auth_domain_put() argument 130 if (atomic_dec_and_lock(&dom->ref.refcount, &auth_domain_lock)) { in auth_domain_put() 131 hlist_del(&dom->hash); in auth_domain_put() 132 dom->flavour->domain_release(dom); in auth_domain_put()
|
D | svcauth_unix.c | 40 static void svcauth_unix_domain_release(struct auth_domain *dom) in svcauth_unix_domain_release() argument 42 struct unix_domain *ud = container_of(dom, struct unix_domain, h); in svcauth_unix_domain_release() 44 kfree(dom->name); in svcauth_unix_domain_release() 181 struct auth_domain *dom; in ip_map_parse() local 223 dom = unix_domain_find(buf); in ip_map_parse() 224 if (dom == NULL) in ip_map_parse() 227 dom = NULL; in ip_map_parse() 233 container_of(dom, struct unix_domain, h), in ip_map_parse() 238 if (dom) in ip_map_parse() 239 auth_domain_put(dom); in ip_map_parse() [all …]
|
/linux-4.4.14/include/linux/ |
D | writeback.h | 160 static inline void wb_domain_size_changed(struct wb_domain *dom) in wb_domain_size_changed() argument 162 spin_lock(&dom->lock); in wb_domain_size_changed() 163 dom->dirty_limit_tstamp = jiffies; in wb_domain_size_changed() 164 dom->dirty_limit = 0; in wb_domain_size_changed() 165 spin_unlock(&dom->lock); in wb_domain_size_changed() 324 int wb_domain_init(struct wb_domain *dom, gfp_t gfp); 326 void wb_domain_exit(struct wb_domain *dom);
|
D | lightnvm.h | 107 u32 dom; member
|
/linux-4.4.14/include/uapi/xen/ |
D | privcmd.h | 57 domid_t dom; /* target domain */ member 63 domid_t dom; /* target domain */ member 74 domid_t dom; /* target domain */ member
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
D | gt215.c | 272 int idx, u32 pll, int dom) in calc_clk() argument 274 int ret = gt215_pll_info(&clk->base, idx, pll, cstate->domain[dom], in calc_clk() 275 &clk->eng[dom]); in calc_clk() 360 prog_pll(struct gt215_clk *clk, int idx, u32 pll, int dom) in prog_pll() argument 362 struct gt215_clk_info *info = &clk->eng[dom]; in prog_pll() 404 prog_clk(struct gt215_clk *clk, int idx, int dom) in prog_clk() argument 406 struct gt215_clk_info *info = &clk->eng[dom]; in prog_clk() 440 prog_core(struct gt215_clk *clk, int dom) in prog_core() argument 442 struct gt215_clk_info *info = &clk->eng[dom]; in prog_core() 449 prog_pll(clk, 0x00, 0x004200, dom); in prog_core()
|
D | gf100.c | 266 calc_clk(struct gf100_clk *clk, struct nvkm_cstate *cstate, int idx, int dom) in calc_clk() argument 269 u32 freq = cstate->domain[dom]; in calc_clk()
|
D | gk104.c | 288 struct nvkm_cstate *cstate, int idx, int dom) in calc_clk() argument 291 u32 freq = cstate->domain[dom]; in calc_clk()
|
/linux-4.4.14/include/uapi/linux/hsi/ |
D | cs-protocol.h | 43 #define CS_CMD(id, dom) \ argument 44 (((id) << CS_CMD_SHIFT) | ((dom) << CS_DOMAIN_SHIFT))
|
/linux-4.4.14/include/linux/sunrpc/ |
D | svcauth.h | 149 extern int auth_unix_add_addr(struct net *net, struct in6_addr *addr, struct auth_domain *dom); 153 extern int auth_unix_forget_old(struct auth_domain *dom);
|
D | svcauth_gss.h | 24 u32 svcauth_gss_flavor(struct auth_domain *dom);
|
/linux-4.4.14/fs/ |
D | proc_namespace.c | 159 int dom = get_dominating_id(r, &p->root); in show_mountinfo() local 161 if (dom && dom != master) in show_mountinfo() 162 seq_printf(m, " propagate_from:%i", dom); in show_mountinfo()
|
/linux-4.4.14/fs/nfsd/ |
D | export.c | 75 struct auth_domain *dom = NULL; in expkey_parse() local 96 dom = auth_domain_find(buf); in expkey_parse() 97 if (!dom) in expkey_parse() 122 key.ek_client = dom; in expkey_parse() 159 if (dom) in expkey_parse() 160 auth_domain_put(dom); in expkey_parse() 515 struct auth_domain *dom = NULL; in svc_export_parse() local 534 dom = auth_domain_find(buf); in svc_export_parse() 535 if (!dom) in svc_export_parse() 547 exp.ex_client = dom; in svc_export_parse() [all …]
|
D | nfsctl.c | 356 struct auth_domain *dom; in write_filehandle() local 388 dom = unix_domain_find(dname); in write_filehandle() 389 if (!dom) in write_filehandle() 392 len = exp_rootfh(netns(file), dom, path, &fh, maxsize); in write_filehandle() 393 auth_domain_put(dom); in write_filehandle()
|
/linux-4.4.14/drivers/xen/xenbus/ |
D | xenbus_dev_backend.c | 54 arg.dom = DOMID_SELF; in xenbus_alloc()
|
D | xenbus_probe.c | 717 alloc_unbound.dom = DOMID_SELF; in xenstored_local_init()
|
D | xenbus_client.c | 420 alloc_unbound.dom = DOMID_SELF; in xenbus_alloc_evtchn()
|
/linux-4.4.14/drivers/soc/dove/ |
D | pmu.c | 127 #define to_pmu_domain(dom) container_of(dom, struct pmu_domain, base) argument
|
/linux-4.4.14/drivers/nvme/host/ |
D | lightnvm.c | 197 __le32 dom; member 301 nvm_id->dom = le32_to_cpu(nvme_nvm_id->dom); in nvme_nvm_identity()
|
/linux-4.4.14/include/xen/ |
D | grant_table.h | 159 map->dom = domid; in gnttab_set_map_op()
|
/linux-4.4.14/drivers/xen/ |
D | privcmd.c | 272 state.domain = mmapcmd.dom; in privcmd_ioctl_mmap() 514 state.domain = m.dom; in privcmd_ioctl_mmap_batch()
|
D | grant-table.c | 611 query.dom = DOMID_SELF; in __max_nr_grant_frames() 848 foreign->domid = map_ops[i].dom; in gnttab_map_refs() 997 setup.dom = DOMID_SELF; in gnttab_map()
|
D | evtchn.c | 492 alloc_unbound.dom = DOMID_SELF; in evtchn_ioctl()
|
/linux-4.4.14/net/sunrpc/auth_gss/ |
D | svcauth_gss.c | 765 u32 svcauth_gss_flavor(struct auth_domain *dom) in svcauth_gss_flavor() argument 767 struct gss_domain *gd = container_of(dom, struct gss_domain, h); in svcauth_gss_flavor() 1746 svcauth_gss_domain_release(struct auth_domain *dom) in svcauth_gss_domain_release() argument 1748 struct gss_domain *gd = container_of(dom, struct gss_domain, h); in svcauth_gss_domain_release() 1750 kfree(dom->name); in svcauth_gss_domain_release()
|
/linux-4.4.14/drivers/net/ethernet/emulex/benet/ |
D | be_cmds.c | 1062 int be_cmd_pmac_del(struct be_adapter *adapter, u32 if_id, int pmac_id, u32 dom) in be_cmd_pmac_del() argument 1084 req->hdr.domain = dom; in be_cmd_pmac_del() 1640 u8 *link_status, u32 dom) in be_cmd_link_status_query() argument 1666 req->hdr.domain = dom; in be_cmd_link_status_query() 3209 int be_cmd_set_mac(struct be_adapter *adapter, u8 *mac, int if_id, u32 dom) in be_cmd_set_mac() argument 3217 &pmac_id, if_id, dom); in be_cmd_set_mac() 3220 be_cmd_pmac_del(adapter, if_id, pmac_id, dom); in be_cmd_set_mac() 3222 return be_cmd_set_mac_list(adapter, mac, mac ? 1 : 0, dom); in be_cmd_set_mac()
|
D | be_cmds.h | 2299 u8 *link_status, u32 dom); 2373 int be_cmd_set_mac(struct be_adapter *adapter, u8 *mac, int if_id, u32 dom);
|
/linux-4.4.14/drivers/lightnvm/ |
D | rrpc.c | 1268 if (!(dev->identity.dom & NVM_RSP_L2P)) { in rrpc_init() 1270 dev->identity.dom); in rrpc_init()
|
/linux-4.4.14/drivers/block/ |
D | null_blk.c | 483 id->dom = 0x1; in null_lnvm_id()
|
/linux-4.4.14/drivers/xen/events/ |
D | events_base.c | 944 status.dom = DOMID_SELF; in find_virq()
|