/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 | amd_idpgtbl.c | 70 static void amdiommu_unmap_clear_pte(struct amdiommu_domain *domain, 73 static int amdiommu_unmap_buf_locked(struct amdiommu_domain *domain, 78 amdiommu_domain_alloc_pgtbl(struct amdiommu_domain *domain) in amdiommu_domain_alloc_pgtbl() argument 83 KASSERT(domain->pgtbl_obj == NULL, in amdiommu_domain_alloc_pgtbl() 84 ("already initialized %p", domain)); in amdiommu_domain_alloc_pgtbl() 86 domain->pgtbl_obj = vm_pager_allocate(OBJT_PHYS, NULL, in amdiommu_domain_alloc_pgtbl() 87 IDX_TO_OFF(pglvl_max_pages(domain->pglvl)), 0, 0, NULL); in amdiommu_domain_alloc_pgtbl() 88 if (bus_get_domain(domain->iodom.iommu->dev, &dom) == 0) in amdiommu_domain_alloc_pgtbl() 89 domain->pgtbl_obj->domain.dr_policy = DOMAINSET_PREF(dom); in amdiommu_domain_alloc_pgtbl() 90 AMDIOMMU_DOMAIN_PGLOCK(domain); in amdiommu_domain_alloc_pgtbl() [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 | intel_idpgtbl.c | 71 static int dmar_unmap_buf_locked(struct dmar_domain *domain, 166 dmar_get_idmap_pgtbl(struct dmar_domain *domain, iommu_gaddr_t maxaddr) in dmar_get_idmap_pgtbl() argument 179 for (i = 0; i < domain->pglvl; i++) { in dmar_get_idmap_pgtbl() 180 if (i == domain->pglvl - 1 || domain_is_sp_lvl(domain, i)) { in dmar_get_idmap_pgtbl() 197 dmar_pglvl_supported(domain->dmar, tbl->pglvl) && in dmar_get_idmap_pgtbl() 202 domain->pglvl = tbl->pglvl; /* XXXKIB ? */ in dmar_get_idmap_pgtbl() 216 dmar_pglvl_supported(domain->dmar, tbl->pglvl) && in dmar_get_idmap_pgtbl() 221 domain->pglvl = tbl->pglvl; /* XXXKIB ? */ in dmar_get_idmap_pgtbl() 230 tbl->pglvl = domain->pglvl; in dmar_get_idmap_pgtbl() 261 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 …]
|
H A D | sci_base_domain.h | 61 * common to all domain object definitions. 76 * @brief This enumeration depicts the standard states common to all domain 82 * Simply the initial state for the base domain state machine. 87 * This state indicates that the domain has successfully been stopped. 95 * This state indicates the domain is now ready. Thus, the user 96 * is able to perform IO operations to remote devices in this domain. 104 * This state indicates that the domain is in the process of stopping. 106 * operations in the domain are allowed to complete. 113 * This state indicates that the domain has successfully been stopped. 121 * This state indicates that the domain is actively attempting to [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/power/ |
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 [all...] |
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. 36 '#power-domain-cells': 46 "^power-domain@[0-9a-f]+$": 47 $ref: "#/$defs/power-domain-node" 49 "^power-domain@[0-9a-f]+$": 50 $ref: "#/$defs/power-domain-node" 52 "^power-domain@[0-9a-f]+$": 53 $ref: "#/$defs/power-domain-node" 55 "^power-domain [all...] |
H A D | renesas,sysc-rmobile.txt | 23 - pm-domains: This node contains a hierarchy of PM domain nodes, which should 24 match the Power Area Hierarchy in the Power Domain Specifications section of 28 == PM Domain Nodes == 30 Each of the PM domain nodes represents a PM domain, as documented by the 31 generic PM domain bindings in 32 Documentation/devicetree/bindings/power/power-domain.yaml. 38 - #power-domain-cells: Must be 0. 41 - reg: If the PM domain is not always-on, this property must contain the bit 47 If the PM domain is always-on, this property must be omitted. 52 This shows a subset of the r8a7740 PM domain hierarchy, containing the [all …]
|
H A D | rockchip,power-controller.yaml | 19 generic power domain providers documented in 20 Documentation/devicetree/bindings/power/power-domain.yaml. 22 IP cores belonging to a power domain should contain a 24 power domain node representing the domain. 47 "#power-domain-cells": 58 - "#power-domain-cells" 63 "^power-domain@[0-9a-f]+$": 77 "^power-domain@[0-9a-f]+$": 91 "^power-domain@[0-9a-f]+$": 98 "#power-domain-cells": [all …]
|
H A D | power_domain.txt | 7 This device tree binding can be used to bind PM domain consumer devices with 8 their PM domains provided by PM domain providers. A PM domain provider can be 11 phandle arguments (so called PM domain specifiers) of length specified by the 12 #power-domain-cells property in the PM domain provider node. 14 ==PM domain providers== 16 See power-domain.yaml. 18 ==PM domain consumers== 21 - power-domains : A list of PM domain specifiers, as defined by bindings of 22 the power controller that is the PM domain provider. 25 - power-domain-names : A list of power domain name strings sorted in the same [all …]
|
/freebsd/sys/vm/ |
H A D | vm_domainset.c | 89 * not end up in domain 0. in vm_domainset_iter_init() 100 vm_domainset_iter_rr(struct vm_domainset_iter *di, int *domain) in vm_domainset_iter_rr() argument 103 *domain = di->di_domain->ds_order[ in vm_domainset_iter_rr() 108 vm_domainset_iter_prefer(struct vm_domainset_iter *di, int *domain) in vm_domainset_iter_prefer() argument 116 *domain = d; in vm_domainset_iter_prefer() 120 vm_domainset_iter_interleave(struct vm_domainset_iter *di, int *domain) in vm_domainset_iter_interleave() argument 126 *domain = di->di_domain->ds_order[d]; in vm_domainset_iter_interleave() 130 vm_domainset_iter_next(struct vm_domainset_iter *di, int *domain) in vm_domainset_iter_next() argument 145 vm_domainset_iter_rr(di, domain); in vm_domainset_iter_next() 148 vm_domainset_iter_prefer(di, domain); in vm_domainset_iter_next() [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 …]
|
H A D | keystone-clocks.dtsi | 166 reg-names = "control", "domain"; 167 domain-id = <0>; 177 reg-names = "control", "domain"; 178 domain-id = <0>; 187 reg-names = "control", "domain"; 188 domain-id = <0>; 198 reg-names = "control", "domain"; 199 domain-id = <1>; 208 reg-names = "control", "domain"; 209 domain-id = <1>; [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 | 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 | t600x-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>; 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 …]
|
/freebsd/sys/contrib/device-tree/Bindings/soc/qcom/ |
H A D | qcom,apr.yaml | 27 qcom,apr-domain: 31 Selects the processor domain for apr 33 2 = PC Domain 34 3 = Modem Domain 35 4 = ADSP Domain 36 5 = Application processor Domain 37 6 = Modem2 Domain 38 7 = Application Processor2 Domain 41 qcom,domain: 46 Selects the processor domain for apr [all …]
|