pd_count
int ret = 0, pd_count = 0;
pd_count++;
if (!pd_count)
int ret = 0, pd_count = 0;
pd_count++;
if (!pd_count)
count = pd_count(size, shift);
count = pd_count(size, shift);
atomic_t pd_count;
atomic_dec(&rdev->stats.res.pd_count);
active_pds = atomic_inc_return(&rdev->stats.res.pd_count);
atomic_set(&rdev->stats.res.pd_count, 0);
cmd->pd_count = dev->attr.max_dpp_pds;
rsp->pd_count) {
dev->pd_mgr->max_dpp_pd = rsp->pd_count;
dev->pd_mgr->pd_dpp_bitmap = bitmap_zalloc(rsp->pd_count,
cmd->pd_count = dev->attr.max_pd - dev->attr.max_dpp_pds;
if (!status && rsp->pd_count) {
dev->pd_mgr->max_normal_pd = rsp->pd_count;
dev->pd_mgr->pd_norm_bitmap = bitmap_zalloc(rsp->pd_count,
cmd->pd_count = dev->pd_mgr->max_normal_pd;
cmd->pd_count = dev->pd_mgr->max_dpp_pd;
u32 pd_count;
u32 pd_count;
u32 pd_count;
u16 pd_count;
pd_count = dpp_pool ? dev->pd_mgr->pd_dpp_count :
if (pd_count == 0)
if (anv->pd_count <= 1)
for (i = anv->pd_count - 1; i >= 0; i--) {
anv->pd_count = of_count_phandle_with_args(
if (anv->pd_count <= 1)
anv->pd_dev = devm_kcalloc(dev, anv->pd_count, sizeof(*anv->pd_dev),
anv->pd_link = devm_kcalloc(dev, anv->pd_count, sizeof(*anv->pd_link),
for (i = 0; i < anv->pd_count; i++) {
int pd_count;
size_t pd_count)
if (pd_count == 1 && dev->pm_domain) {
for (i = 0; i < pd_count; i++)
size_t pd_count)
for (i = 0; i < pd_count; i++) {
size_t pd_count)
for (i = 0; i < pd_count; i++) {
size_t pd_count)
for (i = 0; i < pd_count; i++) {
size_t pd_count)
for (i = 0; i < pd_count; i++) {
static void qcom_pas_pds_detach(struct qcom_pas *pas, struct device **pds, size_t pd_count)
if (pd_count == 1 && dev->pm_domain) {
for (i = 0; i < pd_count; i++)
int i, j, tcm_bank_count, ret, tcm_pd_idx, pd_count;
pd_count = of_count_phandle_with_args(np, "power-domains",
if (pd_count <= 0) {
dev_err(dev, "invalid power-domains property, %d\n", pd_count);
tcm_bank_count = pd_count - 1;
unsigned int pd_count;
for (i = 0; i < port->pd_count; i++) {
for (i = 0; i < port->pd_count; i++) {
for (i = 0; i < port->pd_count; ++i) {
port->pd_count = 1;
port->pd_count = fwnode_get_child_node_count(capabilities);
if (!port->pd_count) {
port->pds = devm_kcalloc(port->dev, port->pd_count, sizeof(struct usb_power_delivery *),
port->pd_list = devm_kcalloc(port->dev, port->pd_count, sizeof(struct pd_data *),
for (i = 0; i < port->pd_count; i++) {
u64 pd_count;