| /freebsd/sys/dev/ocs_fc/ |
| H A D | ocs_domain.c | 34 * Handles the domain object callback from the HW. 38 @defgroup domain_sm Domain State Machine: States 46 #define domain_sm_trace(domain) \ argument 48 if (OCS_LOG_ENABLE_DOMAIN_SM_TRACE(domain->ocs)) \ 49 ocs_log_info(domain->ocs, "[domain] %-20s %-20s\n", __func__, ocs_sm_event_name(evt)); \ 52 #define domain_trace(domain, fmt, ...) \ argument 54 if (OCS_LOG_ENABLE_DOMAIN_SM_TRACE(domain ? domain->ocs : NULL)) \ 55 ocs_log_info(domain ? domain->ocs : NULL, fmt, ##__VA_ARGS__); \ 58 #define domain_printf(domain, fmt, ...) \ argument 60 ocs_log_info(domain ? domain->ocs : NULL, fmt, ##__VA_ARGS__); \ [all …]
|
| /freebsd/sys/x86/iommu/ |
| H A D | amd_ctx.c | 72 static MALLOC_DEFINE(M_AMDIOMMU_DOMAIN, "amdiommu_dom", "AMD IOMMU Domain"); 75 struct amdiommu_domain *domain); 87 struct amdiommu_domain *domain; in amdiommu_domain_unload_entry() local 90 domain = IODOM2DOM(entry->domain); in amdiommu_domain_unload_entry() 91 unit = DOM2AMD(domain); in amdiommu_domain_unload_entry() 100 iommu_qi_invalidate_locked(&domain->iodom, entry, true); in amdiommu_domain_unload_entry() 103 iommu_qi_invalidate_sync(&domain->iodom, entry->start, in amdiommu_domain_unload_entry() 110 amdiommu_domain_unload_emit_wait(struct amdiommu_domain *domain, in amdiommu_domain_unload_emit_wait() argument 120 struct amdiommu_domain *domain; in amdiommu_domain_unload() local 125 domain = IODOM2DOM(iodom); in amdiommu_domain_unload() [all …]
|
| H A D | intel_ctx.c | 72 static MALLOC_DEFINE(M_DMAR_DOMAIN, "dmar_dom", "Intel DMAR Domain"); 75 struct dmar_domain *domain); 76 static void dmar_domain_destroy(struct dmar_domain *domain); 127 ctx_id_entry_init_one(dmar_ctx_entry_t *ctxp, struct dmar_domain *domain, in ctx_id_entry_init_one() argument 133 * doubleword is not yet updated. The domain id is stored in in ctx_id_entry_init_one() 139 dmar_pte_store1(&ctxp->ctx2, DMAR_CTX2_DID(domain->domain) | in ctx_id_entry_init_one() 140 domain->awlvl); in ctx_id_entry_init_one() 155 struct dmar_domain *domain; in ctx_id_entry_init() local 159 domain = CTX2DOM(ctx); in ctx_id_entry_init() 160 unit = DOM2DMAR(domain); in ctx_id_entry_init() [all …]
|
| H A D | amd_idpgtbl.c | 71 static void amdiommu_unmap_clear_pte(struct amdiommu_domain *domain, 74 static int amdiommu_unmap_buf_locked(struct amdiommu_domain *domain, 79 amdiommu_domain_alloc_pgtbl(struct amdiommu_domain *domain) in amdiommu_domain_alloc_pgtbl() argument 84 KASSERT(domain->pgtbl_obj == NULL, in amdiommu_domain_alloc_pgtbl() 85 ("already initialized %p", domain)); in amdiommu_domain_alloc_pgtbl() 87 domain->pgtbl_obj = vm_pager_allocate(OBJT_PHYS, NULL, in amdiommu_domain_alloc_pgtbl() 88 IDX_TO_OFF(pglvl_max_pages(domain->pglvl)), 0, 0, NULL); in amdiommu_domain_alloc_pgtbl() 89 if (bus_get_domain(domain->iodom.iommu->dev, &dom) == 0) in amdiommu_domain_alloc_pgtbl() 90 domain->pgtbl_obj->domain.dr_policy = DOMAINSET_PREF(dom); in amdiommu_domain_alloc_pgtbl() 91 AMDIOMMU_DOMAIN_PGLOCK(domain); in amdiommu_domain_alloc_pgtbl() [all …]
|
| H A D | intel_idpgtbl.c | 72 static int dmar_unmap_buf_locked(struct dmar_domain *domain, 167 dmar_get_idmap_pgtbl(struct dmar_domain *domain, iommu_gaddr_t maxaddr) in dmar_get_idmap_pgtbl() argument 181 for (i = 0; i < domain->pglvl; i++) { in dmar_get_idmap_pgtbl() 182 if (i == domain->pglvl - 1 || domain_is_sp_lvl(domain, i)) { in dmar_get_idmap_pgtbl() 199 dmar_pglvl_supported(domain->dmar, tbl->pglvl) && in dmar_get_idmap_pgtbl() 204 domain->pglvl = tbl->pglvl; /* XXXKIB ? */ in dmar_get_idmap_pgtbl() 218 dmar_pglvl_supported(domain->dmar, tbl->pglvl) && in dmar_get_idmap_pgtbl() 223 domain->pglvl = tbl->pglvl; /* XXXKIB ? */ in dmar_get_idmap_pgtbl() 232 tbl->pglvl = domain->pglvl; in dmar_get_idmap_pgtbl() 263 unit = domain->dmar; in dmar_get_idmap_pgtbl() [all …]
|
| /freebsd/sys/dev/iommu/ |
| H A D | iommu_gas.c | 90 iommu_gas_alloc_entry(struct iommu_domain *domain, u_int flags) in iommu_gas_alloc_entry() argument 101 if (domain != NULL) { in iommu_gas_alloc_entry() 102 res->domain = domain; in iommu_gas_alloc_entry() 103 atomic_add_int(&domain->entries_cnt, 1); in iommu_gas_alloc_entry() 112 struct iommu_domain *domain; in iommu_gas_free_entry() local 119 domain = entry->domain; in iommu_gas_free_entry() 120 if (domain != NULL) in iommu_gas_free_entry() 121 atomic_subtract_int(&domain->entries_cnt, 1); in iommu_gas_free_entry() 138 " domain %p %p", in iommu_gas_cmp_entries() 141 a->domain, b->domain)); in iommu_gas_cmp_entries() [all …]
|
| /freebsd/sys/dev/isci/scil/ |
| H A D | scif_sas_domain_state_handlers.c | 60 * of the domain states defined by the SCI_BASE_DOMAIN state 86 SCI_BASE_DOMAIN_T * domain in scif_sas_domain_starting_port_ready_handler() argument 90 sci_base_object_get_logger(domain), in scif_sas_domain_starting_port_ready_handler() 93 domain in scif_sas_domain_starting_port_ready_handler() 96 // The domain was previously completely stopped. Now that the port is in scif_sas_domain_starting_port_ready_handler() 97 // ready we can transition the domain to the ready state. in scif_sas_domain_starting_port_ready_handler() 99 &domain->state_machine, SCI_BASE_DOMAIN_STATE_READY in scif_sas_domain_starting_port_ready_handler() 111 * when a user attempts to discover a domain. 113 * @param[in] domain This parameter specifies the domain object 124 SCI_BASE_DOMAIN_T * domain, in scif_sas_domain_ready_discover_handler() argument [all …]
|
| /freebsd/sys/vm/ |
| H A D | vm_domainset.c | 61 static bool vm_domainset_iter_next(struct vm_domainset_iter *di, int *domain); 93 * not end up in domain 0. in vm_domainset_iter_init() 102 vm_domainset_iter_rr(struct vm_domainset_iter *di, int *domain) in vm_domainset_iter_rr() argument 105 /* Grab the next domain in 'ds_order'. */ in vm_domainset_iter_rr() 106 *domain = di->di_domain->ds_order[ in vm_domainset_iter_rr() 111 vm_domainset_iter_interleave(struct vm_domainset_iter *di, int *domain) in vm_domainset_iter_interleave() argument 116 *domain = di->di_domain->ds_order[d]; in vm_domainset_iter_interleave() 120 * Internal function determining the current phase's first candidate domain. 122 * Returns whether these is an eligible domain, which is returned through 123 * '*domain'. '*domain' can be modified even if there is no eligible domain. [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/power/ |
| H A D | mediatek,power-controller.yaml | 17 IP cores belonging to a power domain should contain a 'power-domains' 18 property that is a phandle for SCPSYS node representing the domain. 38 '#power-domain-cells': 48 "^power-domain@[0-9a-f]+$": 49 $ref: "#/$defs/power-domain-node" 51 "^power-domain@[0-9a-f]+$": 52 $ref: "#/$defs/power-domain-node" 54 "^power-domain@[0-9a-f]+$": 55 $ref: "#/$defs/power-domain-node" 57 "^power-domain@[0-9a-f]+$": [all …]
|
| H A D | power-domain.yaml | 4 $id: http://devicetree.org/schemas/power/power-domain.yaml# 20 This device tree binding can be used to bind PM domain consumer devices with 21 their PM domains provided by PM domain providers. A PM domain provider can be 24 phandle arguments (so called PM domain specifiers) of length specified by the 25 \#power-domain-cells property in the PM domain provider node. 29 pattern: "^(power-controller|power-domain|performance-domain)([@-].*)?$" 31 domain-idle-states: 37 power-domain provider. The idle state definitions are compatible with the 38 domain-idle-state bindings, specified in ./domain-idle-state.yaml. 40 Note that, the domain-idle-state property reflects the idle states of this [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm/ti/keystone/ |
| H A D | keystone-k2hk-clocks.dtsi | 59 reg-names = "control", "domain"; 60 domain-id = <0>; 69 reg-names = "control", "domain"; 70 domain-id = <4>; 79 reg-names = "control", "domain"; 80 domain-id = <5>; 89 reg-names = "control", "domain"; 90 domain-id = <9>; 99 reg-names = "control", "domain"; 100 domain-id = <10>; [all …]
|
| H A D | keystone-k2l-clocks.dtsi | 49 reg-names = "control", "domain"; 51 domain-id = <0>; 60 reg-names = "control", "domain"; 61 domain-id = <4>; 70 reg-names = "control", "domain"; 71 domain-id = <9>; 80 reg-names = "control", "domain"; 81 domain-id = <10>; 90 reg-names = "control", "domain"; 91 domain-id = <11>; [all …]
|
| /freebsd/sys/dev/isci/ |
| H A D | isci_domain.c | 46 * in the supplied domain has changed (e.g. a device was added or 50 * target reset processes. Specifically, domain changes occurring 60 * @param[in] domain This parameter specifies the domain object with 67 SCI_DOMAIN_HANDLE_T domain) in scif_cb_domain_change_notification() argument 75 * requests triggered by domain discovery won't work until the controller in scif_cb_domain_change_notification() 79 scif_domain_discover(domain, in scif_cb_domain_change_notification() 80 scif_domain_get_suggested_discover_timeout(domain), in scif_cb_domain_change_notification() 86 * requested discovery operation on the domain has completed. 90 * @param[in] domain This parameter specifies the domain object with 99 SCI_DOMAIN_HANDLE_T domain, SCI_STATUS completion_status) in scif_cb_domain_discovery_complete() argument [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/soc/rockchip/ |
| H A D | power_domain.txt | 6 Required properties for power domain controller: 19 - #power-domain-cells: Number of cells in a power-domain specifier. 24 Required properties for power domain sub nodes: 25 - reg: index of the power domain, should use macros in: 26 "include/dt-bindings/power/px30-power.h" - for PX30 type power domain. 27 "include/dt-bindings/power/rk3036-power.h" - for RK3036 type power domain. 28 "include/dt-bindings/power/rk3066-power.h" - for RK3066 type power domain. 29 "include/dt-bindings/power/rk3128-power.h" - for RK3128 type power domain. 30 "include/dt-bindings/power/rk3188-power.h" - for RK3188 type power domain. 31 "include/dt-bindings/power/rk3228-power.h" - for RK3228 type power domain. [all …]
|
| /freebsd/contrib/sendmail/contrib/ |
| H A D | bitdomain.c | 103 fprintf(stderr, "%-8s: no domain name in input file\n", node); 110 fprintf(stderr, "%-8s no domain name in input file\n", node); 131 * The entry tells us that "node" expands to "domain". 132 * "domain" can either be a domain name or a bitnet node name 133 * The buffer pointed to by "domain" may be overwritten--it 136 entry(node, domain, domainlen) in entry() argument 138 char *domain; 147 /* We already have a domain for this node */ 148 if (!strchr(domain, '.')) { 152 * do them instead. Give the the domain expansion for "node" [all …]
|
| /freebsd/sys/contrib/device-tree/src/arm64/apple/ |
| H A D | s8001-pmgr.dtsi | 12 #power-domain-cells = <0>; 21 #power-domain-cells = <0>; 30 #power-domain-cells = <0>; 39 #power-domain-cells = <0>; 47 #power-domain-cells = <0>; 56 #power-domain-cells = <0>; 65 #power-domain-cells = <0>; 74 #power-domain-cells = <0>; 82 #power-domain-cells = <0>; 90 #power-domain-cells = <0>; [all …]
|
| H A D | t8103-pmgr.dtsi | 13 #power-domain-cells = <0>; 22 #power-domain-cells = <0>; 31 #power-domain-cells = <0>; 40 #power-domain-cells = <0>; 48 #power-domain-cells = <0>; 56 #power-domain-cells = <0>; 64 #power-domain-cells = <0>; 72 #power-domain-cells = <0>; 81 #power-domain-cells = <0>; 90 #power-domain-cells = <0>; [all …]
|
| H A D | t8112-pmgr.dtsi | 13 #power-domain-cells = <0>; 22 #power-domain-cells = <0>; 31 #power-domain-cells = <0>; 40 #power-domain-cells = <0>; 48 #power-domain-cells = <0>; 56 #power-domain-cells = <0>; 65 #power-domain-cells = <0>; 74 #power-domain-cells = <0>; 83 #power-domain-cells = <0>; 92 #power-domain-cells = <0>; [all …]
|
| H A D | t8015-pmgr.dtsi | 12 #power-domain-cells = <0>; 21 #power-domain-cells = <0>; 30 #power-domain-cells = <0>; 39 #power-domain-cells = <0>; 48 #power-domain-cells = <0>; 57 #power-domain-cells = <0>; 66 #power-domain-cells = <0>; 75 #power-domain-cells = <0>; 83 #power-domain-cells = <0>; 92 #power-domain-cells = <0>; [all …]
|
| H A D | t8011-pmgr.dtsi | 12 #power-domain-cells = <0>; 21 #power-domain-cells = <0>; 30 #power-domain-cells = <0>; 39 #power-domain-cells = <0>; 48 #power-domain-cells = <0>; 56 #power-domain-cells = <0>; 65 #power-domain-cells = <0>; 74 #power-domain-cells = <0>; 83 #power-domain-cells = <0>; 91 #power-domain-cells = <0>; [all …]
|
| H A D | s5l8960x-pmgr.dtsi | 12 #power-domain-cells = <0>; 21 #power-domain-cells = <0>; 30 #power-domain-cells = <0>; 39 #power-domain-cells = <0>; 48 #power-domain-cells = <0>; 57 #power-domain-cells = <0>; 66 #power-domain-cells = <0>; 75 #power-domain-cells = <0>; 84 #power-domain-cells = <0>; 92 #power-domain-cells = <0>; [all …]
|
| H A D | t8012-pmgr.dtsi | 12 #power-domain-cells = <0>; 21 #power-domain-cells = <0>; 30 #power-domain-cells = <0>; 39 #power-domain-cells = <0>; 47 #power-domain-cells = <0>; 56 #power-domain-cells = <0>; 64 #power-domain-cells = <0>; 73 #power-domain-cells = <0>; 82 #power-domain-cells = <0>; 90 #power-domain-cells = <0>; [all …]
|
| H A D | t8010-pmgr.dtsi | 12 #power-domain-cells = <0>; 21 #power-domain-cells = <0>; 30 #power-domain-cells = <0>; 39 #power-domain-cells = <0>; 47 #power-domain-cells = <0>; 56 #power-domain-cells = <0>; 65 #power-domain-cells = <0>; 74 #power-domain-cells = <0>; 82 #power-domain-cells = <0>; 90 #power-domain-cells = <0>; [all …]
|
| H A D | t7001-pmgr.dtsi | 12 #power-domain-cells = <0>; 21 #power-domain-cells = <0>; 30 #power-domain-cells = <0>; 39 #power-domain-cells = <0>; 48 #power-domain-cells = <0>; 56 #power-domain-cells = <0>; 65 #power-domain-cells = <0>; 74 #power-domain-cells = <0>; 83 #power-domain-cells = <0>; 91 #power-domain-cells = <0>; [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/dvfs/ |
| H A D | performance-domain.yaml | 4 $id: http://devicetree.org/schemas/dvfs/performance-domain.yaml# 14 CPUs that run in the same performance domain. Performance domains must not 15 be confused with power domains. A performance domain is defined by a set 17 performance domain, there is a single point of control that affects all the 18 devices in the domain, making it impossible to set the performance level of 19 an individual device in the domain independently from other devices in 20 that domain. For example, a set of CPUs that share a voltage domain, and 22 domain. 24 This device tree binding can be used to bind performance domain consumer 25 devices with their performance domains provided by performance domain [all …]
|