Lines Matching refs:phy_res
612 struct d40_phy_res *phy_res; member
1867 phys = d40c->base->phy_res; in d40_allocate_channel()
2981 if (base->phy_res[i].reserved) in d40_save_restore_registers()
3053 base->phy_res[i].num = i; in d40_phy_res_init()
3057 base->phy_res[i].allocated_src = D40_ALLOC_PHY; in d40_phy_res_init()
3058 base->phy_res[i].allocated_dst = D40_ALLOC_PHY; in d40_phy_res_init()
3059 base->phy_res[i].reserved = true; in d40_phy_res_init()
3067 base->phy_res[i].allocated_src = D40_ALLOC_FREE; in d40_phy_res_init()
3068 base->phy_res[i].allocated_dst = D40_ALLOC_FREE; in d40_phy_res_init()
3069 base->phy_res[i].reserved = false; in d40_phy_res_init()
3072 spin_lock_init(&base->phy_res[i].lock); in d40_phy_res_init()
3079 base->phy_res[chan].allocated_src = D40_ALLOC_PHY; in d40_phy_res_init()
3080 base->phy_res[chan].allocated_dst = D40_ALLOC_PHY; in d40_phy_res_init()
3081 base->phy_res[chan].reserved = true; in d40_phy_res_init()
3093 base->phy_res[chan].use_soft_lli = true; in d40_phy_res_init()
3104 if (base->phy_res[i].allocated_src == D40_ALLOC_FREE && in d40_phy_res_init()
3259 base->phy_res = devm_kcalloc(dev, num_phy_chans, in d40_hw_detect_init()
3260 sizeof(*base->phy_res), in d40_hw_detect_init()
3262 if (!base->phy_res) in d40_hw_detect_init()
3332 if (base->phy_res[base->num_phy_chans - i - 1].allocated_src in d40_hw_init()