Searched refs:pd_count (Results 1 – 9 of 9) sorted by relevance
| /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/nvme/host/ |
| H A D | apple.c | 185 int pd_count; member 1396 if (anv->pd_count <= 1) in apple_nvme_detach_genpd() 1399 for (i = anv->pd_count - 1; i >= 0; i--) { in apple_nvme_detach_genpd() 1412 anv->pd_count = of_count_phandle_with_args( in apple_nvme_attach_genpd() 1414 if (anv->pd_count <= 1) in apple_nvme_attach_genpd() 1417 anv->pd_dev = devm_kcalloc(dev, anv->pd_count, sizeof(*anv->pd_dev), in apple_nvme_attach_genpd() 1422 anv->pd_link = devm_kcalloc(dev, anv->pd_count, sizeof(*anv->pd_link), in apple_nvme_attach_genpd() 1427 for (i = 0; i < anv->pd_count; i++) { in apple_nvme_attach_genpd()
|
| /linux/drivers/infiniband/hw/bnxt_re/ |
| H A D | hw_counters.h | 136 atomic_t pd_count; member
|
| /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 | 554 unsigned int pd_count; member 7699 for (i = 0; i < port->pd_count; i++) { in tcpm_port_unregister_pd() 7720 for (i = 0; i < port->pd_count; i++) { in tcpm_port_register_pd() 7816 for (i = 0; i < port->pd_count; ++i) { in tcpm_parse_snk_pdos() 7977 port->pd_count = 1; in tcpm_fw_get_caps() 7979 port->pd_count = fwnode_get_child_node_count(capabilities); in tcpm_fw_get_caps() 7980 if (!port->pd_count) { in tcpm_fw_get_caps() 7986 port->pds = devm_kcalloc(port->dev, port->pd_count, sizeof(struct usb_power_delivery *), in tcpm_fw_get_caps() 7993 port->pd_list = devm_kcalloc(port->dev, port->pd_count, sizeof(struct pd_data *), in tcpm_fw_get_caps() 8000 for (i = 0; i < port->pd_count; i++) { in tcpm_fw_get_caps()
|