Lines Matching refs:phy_res
586 struct d40_phy_res *phy_res; member
1870 phys = d40c->base->phy_res; in d40_allocate_channel()
2998 if (base->phy_res[i].reserved) in d40_save_restore_registers()
3072 base->phy_res[i].num = i; in d40_phy_res_init()
3076 base->phy_res[i].allocated_src = D40_ALLOC_PHY; in d40_phy_res_init()
3077 base->phy_res[i].allocated_dst = D40_ALLOC_PHY; in d40_phy_res_init()
3078 base->phy_res[i].reserved = true; in d40_phy_res_init()
3086 base->phy_res[i].allocated_src = D40_ALLOC_FREE; in d40_phy_res_init()
3087 base->phy_res[i].allocated_dst = D40_ALLOC_FREE; in d40_phy_res_init()
3088 base->phy_res[i].reserved = false; in d40_phy_res_init()
3091 spin_lock_init(&base->phy_res[i].lock); in d40_phy_res_init()
3098 base->phy_res[chan].allocated_src = D40_ALLOC_PHY; in d40_phy_res_init()
3099 base->phy_res[chan].allocated_dst = D40_ALLOC_PHY; in d40_phy_res_init()
3100 base->phy_res[chan].reserved = true; in d40_phy_res_init()
3112 base->phy_res[chan].use_soft_lli = true; in d40_phy_res_init()
3123 if (base->phy_res[i].allocated_src == D40_ALLOC_FREE && in d40_phy_res_init()
3288 base->phy_res = kzalloc(num_phy_chans * sizeof(struct d40_phy_res), in d40_hw_detect_init()
3290 if (!base->phy_res) in d40_hw_detect_init()
3343 kfree(base->phy_res); in d40_hw_detect_init()
3370 if (base->phy_res[base->num_phy_chans - i - 1].allocated_src in d40_hw_init()
3737 kfree(base->phy_res); in d40_probe()