Home
last modified time | relevance | path

Searched refs:gen_lock (Results 1 – 6 of 6) sorted by relevance

/linux/include/linux/dma/
H A Dxilinx_dma.h30 int gen_lock; member
/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc.c89 spin_lock(&si->gen_lock); in enetc_set_congestion_mode()
107 spin_unlock(&si->gen_lock); in enetc_set_congestion_mode()
2747 spin_lock(&si->gen_lock); in enetc_enable_rx_bdrs()
2752 spin_unlock(&si->gen_lock); in enetc_enable_rx_bdrs()
2786 spin_lock(&si->gen_lock); in enetc_disable_rx_bdrs()
2791 spin_unlock(&si->gen_lock); in enetc_disable_rx_bdrs()
3387 spin_lock(&si->gen_lock); in enetc_enable_rxvlan()
3392 spin_unlock(&si->gen_lock); in enetc_enable_rxvlan()
3723 spin_lock_init(&si->gen_lock); in enetc_pci_probe()
H A Denetc.h317 spinlock_t gen_lock; member
/linux/drivers/md/
H A Draid5.h601 seqcount_spinlock_t gen_lock; /* lock against generation changes */ member
H A Draid5.c593 seq = read_seqcount_begin(&conf->gen_lock); in init_stripe()
614 if (read_seqcount_retry(&conf->gen_lock, seq)) in init_stripe()
6092 seq = read_seqcount_begin(&conf->gen_lock); in make_stripe_request()
6131 if (read_seqcount_retry(&conf->gen_lock, seq)) { in make_stripe_request()
7698 seqcount_spinlock_init(&conf->gen_lock, &conf->device_lock); in setup_conf()
8693 write_seqcount_begin(&conf->gen_lock); in raid5_start_reshape()
8710 write_seqcount_end(&conf->gen_lock); in raid5_start_reshape()
/linux/drivers/dma/xilinx/
H A Dxilinx_dma.c2714 chan->config.gen_lock = cfg->gen_lock; in xilinx_vdma_channel_set_config()
2718 if (cfg->gen_lock && chan->genlock) { in xilinx_vdma_channel_set_config()