Lines Matching defs:phy_res
577 * @phy_res: Vector containing all physical channels.
614 struct d40_phy_res *phy_res;
1869 phys = d40c->base->phy_res;
2983 if (base->phy_res[i].reserved)
3055 base->phy_res[i].num = i;
3059 base->phy_res[i].allocated_src = D40_ALLOC_PHY;
3060 base->phy_res[i].allocated_dst = D40_ALLOC_PHY;
3061 base->phy_res[i].reserved = true;
3069 base->phy_res[i].allocated_src = D40_ALLOC_FREE;
3070 base->phy_res[i].allocated_dst = D40_ALLOC_FREE;
3071 base->phy_res[i].reserved = false;
3074 spin_lock_init(&base->phy_res[i].lock);
3081 base->phy_res[chan].allocated_src = D40_ALLOC_PHY;
3082 base->phy_res[chan].allocated_dst = D40_ALLOC_PHY;
3083 base->phy_res[chan].reserved = true;
3095 base->phy_res[chan].use_soft_lli = true;
3106 if (base->phy_res[i].allocated_src == D40_ALLOC_FREE &&
3261 base->phy_res = devm_kcalloc(dev, num_phy_chans,
3262 sizeof(*base->phy_res),
3264 if (!base->phy_res)
3334 if (base->phy_res[base->num_phy_chans - i - 1].allocated_src