Lines Matching defs:phy_chan
463 * @phy_chan: Pointer to physical channel which this instance runs on. If this
492 struct d40_phy_res *phy_chan;
646 chan->phy_chan->num * D40_DREG_PCDELTA;
740 int idx = d40c->phy_chan->num * D40_LCLA_LINK_PER_EVENT_GRP + i;
768 int idx = d40c->phy_chan->num * D40_LCLA_LINK_PER_EVENT_GRP + i;
882 if (!(chan->phy_chan->use_soft_lli &&
913 unsigned int lcla_offset = chan->phy_chan->num * 1024 +
1081 if (d40c->phy_chan->num % 2 == 0)
1088 D40_CHAN_POS_MASK(d40c->phy_chan->num)) >>
1089 D40_CHAN_POS(d40c->phy_chan->num);
1095 wmask = 0xffffffff & ~(D40_CHAN_POS_MASK(d40c->phy_chan->num));
1096 writel(wmask | (command << D40_CHAN_POS(d40c->phy_chan->num)),
1103 D40_CHAN_POS_MASK(d40c->phy_chan->num)) >>
1104 D40_CHAN_POS(d40c->phy_chan->num);
1121 d40c->phy_chan->num, d40c->log_num,
1226 "status %x\n", d40c->phy_chan->num,
1298 if (d40c->phy_chan->num % 2 == 0)
1304 spin_lock_irqsave(&d40c->phy_chan->lock, flags);
1311 D40_CHAN_POS_MASK(d40c->phy_chan->num)) >>
1312 D40_CHAN_POS(d40c->phy_chan->num);
1335 spin_unlock_irqrestore(&d40c->phy_chan->lock, flags);
1379 addr_base = (d40c->phy_chan->num % 2) * 4;
1382 D40_CHAN_POS(d40c->phy_chan->num);
1386 var = d40_get_prmo(d40c) << D40_CHAN_POS(d40c->phy_chan->num);
1391 int lidx = (d40c->phy_chan->num << D40_SREG_ELEM_LOG_LIDX_POS)
1444 if (d40c->phy_chan == NULL) {
1469 if (d40c->phy_chan == NULL) {
1917 d40c->phy_chan = &phys[i];
1970 d40c->phy_chan = &phys[i];
1977 d40c->base->lookup_phy_chans[d40c->phy_chan->num] = d40c;
2018 struct d40_phy_res *phy = d40c->phy_chan;
2065 d40c->phy_chan = NULL;
2085 if (d40c->phy_chan->num % 2 == 0)
2091 D40_CHAN_POS_MASK(d40c->phy_chan->num)) >>
2092 D40_CHAN_POS(d40c->phy_chan->num);
2244 if (!chan->phy_chan) {
2459 d40c->phy_chan->num,
2484 if (d40c->phy_chan == NULL) {
2568 if (d40c->phy_chan == NULL) {
2588 if (d40c->phy_chan == NULL) {
2610 if (d40c->phy_chan == NULL) {
2690 if (d40c->phy_chan == NULL) {