Lines Matching refs:phy_res
550 * @phy_res: Vector containing all physical channels.
589 struct d40_phy_res *phy_res;
1845 phys = d40c->base->phy_res;
2960 if (base->phy_res[i].reserved)
3032 base->phy_res[i].num = i;
3036 base->phy_res[i].allocated_src = D40_ALLOC_PHY;
3037 base->phy_res[i].allocated_dst = D40_ALLOC_PHY;
3038 base->phy_res[i].reserved = true;
3046 base->phy_res[i].allocated_src = D40_ALLOC_FREE;
3047 base->phy_res[i].allocated_dst = D40_ALLOC_FREE;
3048 base->phy_res[i].reserved = false;
3051 spin_lock_init(&base->phy_res[i].lock);
3058 base->phy_res[chan].allocated_src = D40_ALLOC_PHY;
3059 base->phy_res[chan].allocated_dst = D40_ALLOC_PHY;
3060 base->phy_res[chan].reserved = true;
3072 base->phy_res[chan].use_soft_lli = true;
3083 if (base->phy_res[i].allocated_src == D40_ALLOC_FREE &&
3246 base->phy_res = kcalloc(num_phy_chans,
3247 sizeof(*base->phy_res),
3249 if (!base->phy_res)
3302 kfree(base->phy_res);
3338 if (base->phy_res[base->num_phy_chans - i - 1].allocated_src
3706 kfree(base->phy_res);