Lines Matching refs:phy_res
589 struct d40_phy_res *phy_res; member
1845 phys = d40c->base->phy_res; in d40_allocate_channel()
2961 if (base->phy_res[i].reserved) in d40_save_restore_registers()
3033 base->phy_res[i].num = i; in d40_phy_res_init()
3037 base->phy_res[i].allocated_src = D40_ALLOC_PHY; in d40_phy_res_init()
3038 base->phy_res[i].allocated_dst = D40_ALLOC_PHY; in d40_phy_res_init()
3039 base->phy_res[i].reserved = true; in d40_phy_res_init()
3047 base->phy_res[i].allocated_src = D40_ALLOC_FREE; in d40_phy_res_init()
3048 base->phy_res[i].allocated_dst = D40_ALLOC_FREE; in d40_phy_res_init()
3049 base->phy_res[i].reserved = false; in d40_phy_res_init()
3052 spin_lock_init(&base->phy_res[i].lock); in d40_phy_res_init()
3059 base->phy_res[chan].allocated_src = D40_ALLOC_PHY; in d40_phy_res_init()
3060 base->phy_res[chan].allocated_dst = D40_ALLOC_PHY; in d40_phy_res_init()
3061 base->phy_res[chan].reserved = true; in d40_phy_res_init()
3073 base->phy_res[chan].use_soft_lli = true; in d40_phy_res_init()
3084 if (base->phy_res[i].allocated_src == D40_ALLOC_FREE && in d40_phy_res_init()
3247 base->phy_res = kcalloc(num_phy_chans, in d40_hw_detect_init()
3248 sizeof(*base->phy_res), in d40_hw_detect_init()
3250 if (!base->phy_res) in d40_hw_detect_init()
3303 kfree(base->phy_res); in d40_hw_detect_init()
3339 if (base->phy_res[base->num_phy_chans - i - 1].allocated_src in d40_hw_init()
3700 kfree(base->phy_res); in d40_probe()