• Home
  • Raw
  • Download

Lines Matching refs:phy_chan

461 	struct d40_phy_res		*phy_chan;  member
617 chan->phy_chan->num * D40_DREG_PCDELTA; in chan_base()
707 int idx = d40c->phy_chan->num * D40_LCLA_LINK_PER_EVENT_GRP + i; in d40_lcla_alloc_one()
735 int idx = d40c->phy_chan->num * D40_LCLA_LINK_PER_EVENT_GRP + i; in d40_lcla_free_all()
849 if (!(chan->phy_chan->use_soft_lli && in d40_log_lli_to_lcxa()
880 unsigned int lcla_offset = chan->phy_chan->num * 1024 + in d40_log_lli_to_lcxa()
1075 if (d40c->phy_chan->num % 2 == 0) in __d40_execute_command_phy()
1082 D40_CHAN_POS_MASK(d40c->phy_chan->num)) >> in __d40_execute_command_phy()
1083 D40_CHAN_POS(d40c->phy_chan->num); in __d40_execute_command_phy()
1089 wmask = 0xffffffff & ~(D40_CHAN_POS_MASK(d40c->phy_chan->num)); in __d40_execute_command_phy()
1090 writel(wmask | (command << D40_CHAN_POS(d40c->phy_chan->num)), in __d40_execute_command_phy()
1097 D40_CHAN_POS_MASK(d40c->phy_chan->num)) >> in __d40_execute_command_phy()
1098 D40_CHAN_POS(d40c->phy_chan->num); in __d40_execute_command_phy()
1115 d40c->phy_chan->num, d40c->log_num, in __d40_execute_command_phy()
1220 "status %x\n", d40c->phy_chan->num, in __d40_config_set_event()
1292 if (d40c->phy_chan->num % 2 == 0) in __d40_execute_command_log()
1298 spin_lock_irqsave(&d40c->phy_chan->lock, flags); in __d40_execute_command_log()
1305 D40_CHAN_POS_MASK(d40c->phy_chan->num)) >> in __d40_execute_command_log()
1306 D40_CHAN_POS(d40c->phy_chan->num); in __d40_execute_command_log()
1329 spin_unlock_irqrestore(&d40c->phy_chan->lock, flags); in __d40_execute_command_log()
1373 addr_base = (d40c->phy_chan->num % 2) * 4; in d40_config_write()
1376 D40_CHAN_POS(d40c->phy_chan->num); in d40_config_write()
1380 var = d40_get_prmo(d40c) << D40_CHAN_POS(d40c->phy_chan->num); in d40_config_write()
1385 int lidx = (d40c->phy_chan->num << D40_SREG_ELEM_LOG_LIDX_POS) in d40_config_write()
1906 d40c->phy_chan = &phys[i]; in d40_allocate_channel()
1959 d40c->phy_chan = &phys[i]; in d40_allocate_channel()
1966 d40c->base->lookup_phy_chans[d40c->phy_chan->num] = d40c; in d40_allocate_channel()
2007 struct d40_phy_res *phy = d40c->phy_chan; in d40_free_dma()
2054 d40c->phy_chan = NULL; in d40_free_dma()
2075 if (d40c->phy_chan->num % 2 == 0) in d40_is_paused()
2081 D40_CHAN_POS_MASK(d40c->phy_chan->num)) >> in d40_is_paused()
2082 D40_CHAN_POS(d40c->phy_chan->num); in d40_is_paused()
2235 if (!chan->phy_chan) { in d40_prep_sg()
2448 d40c->phy_chan->num, in d40_alloc_chan_resources()
2473 if (d40c->phy_chan == NULL) { in d40_free_chan_resources()
2571 if (d40c->phy_chan == NULL) { in d40_tx_status()
2591 if (d40c->phy_chan == NULL) { in d40_issue_pending()
2789 if (d40c->phy_chan == NULL) { in d40_control()