Lines Matching refs:dev_lock
254 spinlock_t dev_lock; /* Controller register exclusive */ member
320 spin_lock_irqsave(&d->dev_lock, flags); in ldma_dev_reset()
322 spin_unlock_irqrestore(&d->dev_lock, flags); in ldma_dev_reset()
331 spin_lock_irqsave(&d->dev_lock, flags); in ldma_dev_pkt_arb_cfg()
333 spin_unlock_irqrestore(&d->dev_lock, flags); in ldma_dev_pkt_arb_cfg()
342 spin_lock_irqsave(&d->dev_lock, flags); in ldma_dev_sram_desc_cfg()
344 spin_unlock_irqrestore(&d->dev_lock, flags); in ldma_dev_sram_desc_cfg()
358 spin_lock_irqsave(&d->dev_lock, flags); in ldma_dev_chan_flow_ctl_cfg()
360 spin_unlock_irqrestore(&d->dev_lock, flags); in ldma_dev_chan_flow_ctl_cfg()
371 spin_lock_irqsave(&d->dev_lock, flags); in ldma_dev_global_polling_enable()
373 spin_unlock_irqrestore(&d->dev_lock, flags); in ldma_dev_global_polling_enable()
387 spin_lock_irqsave(&d->dev_lock, flags); in ldma_dev_desc_fetch_on_demand_cfg()
389 spin_unlock_irqrestore(&d->dev_lock, flags); in ldma_dev_desc_fetch_on_demand_cfg()
398 spin_lock_irqsave(&d->dev_lock, flags); in ldma_dev_byte_enable_cfg()
400 spin_unlock_irqrestore(&d->dev_lock, flags); in ldma_dev_byte_enable_cfg()
416 spin_lock_irqsave(&d->dev_lock, flags); in ldma_dev_orrc_cfg()
418 spin_unlock_irqrestore(&d->dev_lock, flags); in ldma_dev_orrc_cfg()
432 spin_lock_irqsave(&d->dev_lock, flags); in ldma_dev_df_tout_cfg()
434 spin_unlock_irqrestore(&d->dev_lock, flags); in ldma_dev_df_tout_cfg()
448 spin_lock_irqsave(&d->dev_lock, flags); in ldma_dev_dburst_wr_cfg()
450 spin_unlock_irqrestore(&d->dev_lock, flags); in ldma_dev_dburst_wr_cfg()
464 spin_lock_irqsave(&d->dev_lock, flags); in ldma_dev_vld_fetch_ack_cfg()
466 spin_unlock_irqrestore(&d->dev_lock, flags); in ldma_dev_vld_fetch_ack_cfg()
475 spin_lock_irqsave(&d->dev_lock, flags); in ldma_dev_drb_cfg()
477 spin_unlock_irqrestore(&d->dev_lock, flags); in ldma_dev_drb_cfg()
526 spin_lock_irqsave(&d->dev_lock, flags); in ldma_chan_cctrl_cfg()
543 spin_unlock_irqrestore(&d->dev_lock, flags); in ldma_chan_cctrl_cfg()
564 spin_lock_irqsave(&d->dev_lock, flags); in ldma_chan_irq_init()
573 spin_unlock_irqrestore(&d->dev_lock, flags); in ldma_chan_irq_init()
603 spin_lock_irqsave(&d->dev_lock, flags); in ldma_chan_on()
606 spin_unlock_irqrestore(&d->dev_lock, flags); in ldma_chan_on()
620 spin_lock_irqsave(&d->dev_lock, flags); in ldma_chan_off()
623 spin_unlock_irqrestore(&d->dev_lock, flags); in ldma_chan_off()
641 spin_lock_irqsave(&d->dev_lock, flags); in ldma_chan_desc_hw_cfg()
653 spin_unlock_irqrestore(&d->dev_lock, flags); in ldma_chan_desc_hw_cfg()
705 spin_lock_irqsave(&d->dev_lock, flags); in ldma_chan_reset()
708 spin_unlock_irqrestore(&d->dev_lock, flags); in ldma_chan_reset()
849 spin_lock_irqsave(&d->dev_lock, flags); in ldma_port_cfg()
852 spin_unlock_irqrestore(&d->dev_lock, flags); in ldma_port_cfg()
876 spin_lock_irqsave(&d->dev_lock, flags); in ldma_chan_cfg()
884 spin_unlock_irqrestore(&d->dev_lock, flags); in ldma_chan_cfg()
900 spin_lock_init(&d->dev_lock); in ldma_dev_init()
1007 spin_lock_irqsave(&d->dev_lock, flags); in ldma_chan_irq_en()
1011 spin_unlock_irqrestore(&d->dev_lock, flags); in ldma_chan_irq_en()