Lines Matching defs:phy_chan

434  * @phy_chan: Pointer to physical channel which this instance runs on. If this
463 struct d40_phy_res *phy_chan;
621 chan->phy_chan->num * D40_DREG_PCDELTA;
715 int idx = d40c->phy_chan->num * D40_LCLA_LINK_PER_EVENT_GRP + i;
743 int idx = d40c->phy_chan->num * D40_LCLA_LINK_PER_EVENT_GRP + i;
857 if (!(chan->phy_chan->use_soft_lli &&
888 unsigned int lcla_offset = chan->phy_chan->num * 1024 +
1056 if (d40c->phy_chan->num % 2 == 0)
1063 D40_CHAN_POS_MASK(d40c->phy_chan->num)) >>
1064 D40_CHAN_POS(d40c->phy_chan->num);
1070 wmask = 0xffffffff & ~(D40_CHAN_POS_MASK(d40c->phy_chan->num));
1071 writel(wmask | (command << D40_CHAN_POS(d40c->phy_chan->num)),
1078 D40_CHAN_POS_MASK(d40c->phy_chan->num)) >>
1079 D40_CHAN_POS(d40c->phy_chan->num);
1096 d40c->phy_chan->num, d40c->log_num,
1201 "status %x\n", d40c->phy_chan->num,
1273 if (d40c->phy_chan->num % 2 == 0)
1279 spin_lock_irqsave(&d40c->phy_chan->lock, flags);
1286 D40_CHAN_POS_MASK(d40c->phy_chan->num)) >>
1287 D40_CHAN_POS(d40c->phy_chan->num);
1310 spin_unlock_irqrestore(&d40c->phy_chan->lock, flags);
1354 addr_base = (d40c->phy_chan->num % 2) * 4;
1357 D40_CHAN_POS(d40c->phy_chan->num);
1361 var = d40_get_prmo(d40c) << D40_CHAN_POS(d40c->phy_chan->num);
1366 int lidx = (d40c->phy_chan->num << D40_SREG_ELEM_LOG_LIDX_POS)
1419 if (d40c->phy_chan == NULL) {
1444 if (d40c->phy_chan == NULL) {
1893 d40c->phy_chan = &phys[i];
1946 d40c->phy_chan = &phys[i];
1953 d40c->base->lookup_phy_chans[d40c->phy_chan->num] = d40c;
1994 struct d40_phy_res *phy = d40c->phy_chan;
2041 d40c->phy_chan = NULL;
2061 if (d40c->phy_chan->num % 2 == 0)
2067 D40_CHAN_POS_MASK(d40c->phy_chan->num)) >>
2068 D40_CHAN_POS(d40c->phy_chan->num);
2220 if (!chan->phy_chan) {
2436 d40c->phy_chan->num,
2461 if (d40c->phy_chan == NULL) {
2545 if (d40c->phy_chan == NULL) {
2565 if (d40c->phy_chan == NULL) {
2587 if (d40c->phy_chan == NULL) {
2667 if (d40c->phy_chan == NULL) {