Home
last modified time | relevance | path

Searched refs:pd_count (Results 1 – 16 of 16) sorted by relevance

/linux-6.12.1/drivers/cpuidle/
Dcpuidle-psci-domain.c146 int ret = 0, pd_count = 0; in psci_cpuidle_domain_probe() local
163 pd_count++; in psci_cpuidle_domain_probe()
167 if (!pd_count) in psci_cpuidle_domain_probe()
Dcpuidle-riscv-sbi.c451 int ret = 0, pd_count = 0; in sbi_genpd_probe() local
468 pd_count++; in sbi_genpd_probe()
472 if (!pd_count) in sbi_genpd_probe()
/linux-6.12.1/drivers/gpu/drm/i915/gt/
Dintel_ppgtt.c217 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-6.12.1/drivers/remoteproc/
Dqcom_q6v5_pas.c151 size_t pd_count) in adsp_pds_enable() argument
156 for (i = 0; i < pd_count; i++) { in adsp_pds_enable()
178 size_t pd_count) in adsp_pds_disable() argument
182 for (i = 0; i < pd_count; i++) { in adsp_pds_disable()
540 size_t pd_count) in adsp_pds_detach() argument
546 if (dev->pm_domain && pd_count) { in adsp_pds_detach()
551 for (i = 0; i < pd_count; i++) in adsp_pds_detach()
Dxlnx_r5_remoteproc.c1017 int i, j, tcm_bank_count, ret, tcm_pd_idx, pd_count; in zynqmp_r5_get_tcm_node_from_dt() local
1032 pd_count = of_count_phandle_with_args(np, "power-domains", in zynqmp_r5_get_tcm_node_from_dt()
1035 if (pd_count <= 0) { in zynqmp_r5_get_tcm_node_from_dt()
1036 dev_err(dev, "invalid power-domains property, %d\n", pd_count); in zynqmp_r5_get_tcm_node_from_dt()
1041 tcm_bank_count = pd_count - 1; in zynqmp_r5_get_tcm_node_from_dt()
Dqcom_q6v5_mss.c385 size_t pd_count) in q6v5_pds_enable() argument
390 for (i = 0; i < pd_count; i++) { in q6v5_pds_enable()
412 size_t pd_count) in q6v5_pds_disable() argument
416 for (i = 0; i < pd_count; i++) { in q6v5_pds_disable()
1860 size_t pd_count) in q6v5_pds_detach() argument
1864 for (i = 0; i < pd_count; i++) in q6v5_pds_detach()
/linux-6.12.1/drivers/nvme/host/
Dapple.c177 int pd_count; member
1335 if (anv->pd_count <= 1) in apple_nvme_detach_genpd()
1338 for (i = anv->pd_count - 1; i >= 0; i--) { in apple_nvme_detach_genpd()
1351 anv->pd_count = of_count_phandle_with_args( in apple_nvme_attach_genpd()
1353 if (anv->pd_count <= 1) in apple_nvme_attach_genpd()
1356 anv->pd_dev = devm_kcalloc(dev, anv->pd_count, sizeof(*anv->pd_dev), in apple_nvme_attach_genpd()
1361 anv->pd_link = devm_kcalloc(dev, anv->pd_count, sizeof(*anv->pd_link), in apple_nvme_attach_genpd()
1366 for (i = 0; i < anv->pd_count; i++) { in apple_nvme_attach_genpd()
/linux-6.12.1/drivers/infiniband/hw/bnxt_re/
Dhw_counters.h156 atomic_t pd_count; member
Dhw_counters.c318 stats->value[BNXT_RE_ACTIVE_PD] = atomic_read(&res_s->pd_count); in bnxt_re_ib_get_hw_stats()
Dmain.c990 atomic_set(&rdev->stats.res.pd_count, 0); in bnxt_re_dev_add()
Dib_verbs.c629 atomic_dec(&rdev->stats.res.pd_count); in bnxt_re_dealloc_pd()
693 active_pds = atomic_inc_return(&rdev->stats.res.pd_count); in bnxt_re_alloc_pd()
/linux-6.12.1/drivers/infiniband/hw/ocrdma/
Docrdma_hw.c1518 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()
Docrdma_sli.h1403 u32 pd_count; member
1410 u32 pd_count; member
1421 u32 pd_count; member
Docrdma_verbs.c275 u16 pd_count; in _ocrdma_pd_mgr_put_bitmap() local
278 pd_count = dpp_pool ? dev->pd_mgr->pd_dpp_count : in _ocrdma_pd_mgr_put_bitmap()
280 if (pd_count == 0) in _ocrdma_pd_mgr_put_bitmap()
/linux-6.12.1/include/linux/qed/
Dqed_rdma_if.h439 u64 pd_count; member
/linux-6.12.1/drivers/usb/typec/tcpm/
Dtcpm.c437 unsigned int pd_count; member
7001 for (i = 0; i < port->pd_count; i++) { in tcpm_port_unregister_pd()
7020 for (i = 0; i < port->pd_count; i++) { in tcpm_port_register_pd()
7126 port->pd_count = 1; in tcpm_fw_get_caps()
7129 port->pd_count++; in tcpm_fw_get_caps()
7131 if (!port->pd_count) { in tcpm_fw_get_caps()
7137 port->pds = devm_kcalloc(port->dev, port->pd_count, sizeof(struct usb_power_delivery *), in tcpm_fw_get_caps()
7144 port->pd_list = devm_kcalloc(port->dev, port->pd_count, sizeof(struct pd_data *), in tcpm_fw_get_caps()
7151 for (i = 0; i < port->pd_count; i++) { in tcpm_fw_get_caps()