| /linux/drivers/cpuidle/ |
| H A D | cpuidle-psci-domain.c | 134 int ret = 0, pd_count = 0; in psci_cpuidle_domain_probe() local 151 pd_count++; in psci_cpuidle_domain_probe() 155 if (!pd_count) in psci_cpuidle_domain_probe()
|
| H A D | cpuidle-riscv-sbi.c | 443 int ret = 0, pd_count = 0; in sbi_genpd_probe() local 460 pd_count++; in sbi_genpd_probe() 464 if (!pd_count) in sbi_genpd_probe()
|
| /linux/drivers/gpu/drm/i915/gt/ |
| H A D | intel_ppgtt.c | 217 static unsigned long pd_count(u64 size, int shift) in pd_count() function 242 count = pd_count(size, shift); in i915_vm_alloc_pt_stash() 258 count = pd_count(size, shift); in i915_vm_alloc_pt_stash()
|
| /linux/drivers/remoteproc/ |
| H A D | qcom_q6v5_pas.c | 154 size_t pd_count) in qcom_pas_pds_enable() argument 159 for (i = 0; i < pd_count; i++) { in qcom_pas_pds_enable() 181 size_t pd_count) in qcom_pas_pds_disable() argument 185 for (i = 0; i < pd_count; i++) { in qcom_pas_pds_disable() 533 static void qcom_pas_pds_detach(struct qcom_pas *pas, struct device **pds, size_t pd_count) in qcom_pas_pds_detach() argument 539 if (pd_count == 1 && dev->pm_domain) { in qcom_pas_pds_detach() 544 for (i = 0; i < pd_count; i++) in qcom_pas_pds_detach()
|
| H A D | xlnx_r5_remoteproc.c | 1036 int i, j, tcm_bank_count, ret, tcm_pd_idx, pd_count; in zynqmp_r5_get_tcm_node_from_dt() local 1051 pd_count = of_count_phandle_with_args(np, "power-domains", in zynqmp_r5_get_tcm_node_from_dt() 1054 if (pd_count <= 0) { in zynqmp_r5_get_tcm_node_from_dt() 1055 dev_err(dev, "invalid power-domains property, %d\n", pd_count); in zynqmp_r5_get_tcm_node_from_dt() 1060 tcm_bank_count = pd_count - 1; in zynqmp_r5_get_tcm_node_from_dt()
|
| H A D | qcom_q6v5_mss.c | 391 size_t pd_count) in q6v5_pds_enable() argument 396 for (i = 0; i < pd_count; i++) { in q6v5_pds_enable() 418 size_t pd_count) in q6v5_pds_disable() argument 422 for (i = 0; i < pd_count; i++) { in q6v5_pds_disable() 1934 size_t pd_count) in q6v5_pds_detach() argument 1940 if (pd_count == 1 && dev->pm_domain) { in q6v5_pds_detach() 1945 for (i = 0; i < pd_count; i++) in q6v5_pds_detach()
|
| /linux/drivers/infiniband/hw/ocrdma/ |
| H A D | ocrdma_hw.c | 1518 cmd->pd_count = dev->attr.max_dpp_pds; in ocrdma_mbx_alloc_pd_range() 1524 rsp->pd_count) { in ocrdma_mbx_alloc_pd_range() 1529 dev->pd_mgr->max_dpp_pd = rsp->pd_count; in ocrdma_mbx_alloc_pd_range() 1530 dev->pd_mgr->pd_dpp_bitmap = bitmap_zalloc(rsp->pd_count, in ocrdma_mbx_alloc_pd_range() 1540 cmd->pd_count = dev->attr.max_pd - dev->attr.max_dpp_pds; in ocrdma_mbx_alloc_pd_range() 1543 if (!status && rsp->pd_count) { in ocrdma_mbx_alloc_pd_range() 1546 dev->pd_mgr->max_normal_pd = rsp->pd_count; in ocrdma_mbx_alloc_pd_range() 1547 dev->pd_mgr->pd_norm_bitmap = bitmap_zalloc(rsp->pd_count, in ocrdma_mbx_alloc_pd_range() 1571 cmd->pd_count = dev->pd_mgr->max_normal_pd; in ocrdma_mbx_dealloc_pd_range() 1584 cmd->pd_count = dev->pd_mgr->max_dpp_pd; in ocrdma_mbx_dealloc_pd_range()
|
| H A D | ocrdma_sli.h | 1403 u32 pd_count; member 1410 u32 pd_count; member 1421 u32 pd_count; member
|
| /linux/include/linux/qed/ |
| H A D | qed_rdma_if.h | 439 u64 pd_count; member
|
| /linux/drivers/usb/typec/tcpm/ |
| H A D | tcpm.c | 464 unsigned int pd_count; member 7205 for (i = 0; i < port->pd_count; i++) { in tcpm_port_unregister_pd() 7226 for (i = 0; i < port->pd_count; i++) { in tcpm_port_register_pd() 7360 port->pd_count = 1; in tcpm_fw_get_caps() 7362 port->pd_count = fwnode_get_child_node_count(capabilities); in tcpm_fw_get_caps() 7363 if (!port->pd_count) { in tcpm_fw_get_caps() 7369 port->pds = devm_kcalloc(port->dev, port->pd_count, sizeof(struct usb_power_delivery *), in tcpm_fw_get_caps() 7376 port->pd_list = devm_kcalloc(port->dev, port->pd_count, sizeof(struct pd_data *), in tcpm_fw_get_caps() 7383 for (i = 0; i < port->pd_count; i++) { in tcpm_fw_get_caps()
|
| /linux/drivers/infiniband/hw/bnxt_re/ |
| H A D | ib_verbs.c | 690 atomic_dec(&rdev->stats.res.pd_count); in bnxt_re_dealloc_pd() 754 active_pds = atomic_inc_return(&rdev->stats.res.pd_count); in bnxt_re_alloc_pd()
|
| H A D | main.c | 1453 atomic_set(&rdev->stats.res.pd_count, 0); in bnxt_re_dev_add()
|