Home
last modified time | relevance | path

Searched refs:page_lock (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/net/ethernet/8390/
H A Dlib8390.c216 spin_lock_irqsave(&ei_local->page_lock, flags); in __ei_open()
221 spin_unlock_irqrestore(&ei_local->page_lock, flags); in __ei_open()
241 spin_lock_irqsave(&ei_local->page_lock, flags); in __ei_close()
243 spin_unlock_irqrestore(&ei_local->page_lock, flags); in __ei_close()
265 spin_lock_irqsave(&ei_local->page_lock, flags); in __ei_tx_timeout()
268 spin_unlock_irqrestore(&ei_local->page_lock, flags); in __ei_tx_timeout()
283 spin_lock(&ei_local->page_lock); in __ei_tx_timeout()
289 spin_unlock(&ei_local->page_lock); in __ei_tx_timeout()
324 spin_lock_irqsave(&ei_local->page_lock, flags); in __ei_start_xmit()
326 spin_unlock_irqrestore(&ei_local->page_lock, flags); in __ei_start_xmit()
[all …]
H A Daxnet_cs.c153 spin_lock_init(&ei_local->page_lock); in axnet_probe()
867 spin_lock_irqsave(&ei_local->page_lock, flags); in ax_open()
872 spin_unlock_irqrestore(&ei_local->page_lock, flags); in ax_open()
877 #define dev_lock(dev) (((struct ei_device *)netdev_priv(dev))->page_lock)
918 spin_lock_irqsave(&ei_local->page_lock, flags); in axnet_tx_timeout()
921 spin_unlock_irqrestore(&ei_local->page_lock, flags); in axnet_tx_timeout()
936 spin_lock_irqsave(&ei_local->page_lock, flags); in axnet_tx_timeout()
942 spin_unlock_irqrestore(&ei_local->page_lock, flags); in axnet_tx_timeout()
972 spin_lock_irqsave(&ei_local->page_lock, flags); in axnet_start_xmit()
1022 spin_unlock_irqrestore(&ei_local->page_lock, flags); in axnet_start_xmit()
[all …]
H A D8390.h104 spinlock_t page_lock; /* Page register locks */ member
H A Detherh.c725 spin_lock_init(&ei_local->page_lock); in etherh_probe()
/linux/drivers/iio/imu/st_lsm6dsx/
H A Dst_lsm6dsx.h427 struct mutex page_lock; member
492 mutex_lock(&hw->page_lock); in st_lsm6dsx_update_bits_locked()
494 mutex_unlock(&hw->page_lock); in st_lsm6dsx_update_bits_locked()
505 mutex_lock(&hw->page_lock); in st_lsm6dsx_read_locked()
507 mutex_unlock(&hw->page_lock); in st_lsm6dsx_read_locked()
518 mutex_lock(&hw->page_lock); in st_lsm6dsx_write_locked()
520 mutex_unlock(&hw->page_lock); in st_lsm6dsx_write_locked()
H A Dst_lsm6dsx_shub.c178 mutex_lock(&hw->page_lock); in st_lsm6dsx_shub_read_output()
193 mutex_unlock(&hw->page_lock); in st_lsm6dsx_shub_read_output()
208 mutex_lock(&hw->page_lock); in st_lsm6dsx_shub_write_reg()
217 mutex_unlock(&hw->page_lock); in st_lsm6dsx_shub_write_reg()
228 mutex_lock(&hw->page_lock); in st_lsm6dsx_shub_write_reg_with_mask()
237 mutex_unlock(&hw->page_lock); in st_lsm6dsx_shub_write_reg_with_mask()
255 mutex_lock(&hw->page_lock); in st_lsm6dsx_shub_master_enable()
271 mutex_unlock(&hw->page_lock); in st_lsm6dsx_shub_master_enable()
H A Dst_lsm6dsx_buffer.c284 mutex_lock(&hw->page_lock); in st_lsm6dsx_update_watermark()
299 mutex_unlock(&hw->page_lock); in st_lsm6dsx_update_watermark()
H A Dst_lsm6dsx_core.c2656 mutex_init(&hw->page_lock); in st_lsm6dsx_probe()
/linux/Documentation/translations/zh_CN/mm/
H A Dpage_migration.rst148 并返回MIGRATEPAGE_SUCCESS,你应该通过page_lock下的__ClearPageMovable()向虚
166 驱动应该使用下面的函数来使页面在page_lock下可移动。::
192 使用__SetPageMovable()的驱动应该在释放页面之前通过page_lock()下的
/linux/mm/
H A Dz3fold.c110 spinlock_t page_lock; member
223 spin_lock(&zhdr->page_lock); in z3fold_page_lock()
229 return spin_trylock(&zhdr->page_lock); in z3fold_page_trylock()
235 spin_unlock(&zhdr->page_lock); in z3fold_page_unlock()
339 spin_lock_init(&zhdr->page_lock); in init_z3fold_page()
1315 spin_lock_init(&new_zhdr->page_lock); in z3fold_page_migrate()
/linux/drivers/media/i2c/
H A Dtda1997x.c230 struct mutex page_lock; member
363 mutex_lock(&state->page_lock); in io_read()
377 mutex_unlock(&state->page_lock); in io_read()
441 mutex_lock(&state->page_lock); in io_write()
456 mutex_unlock(&state->page_lock); in io_write()
2579 mutex_init(&state->page_lock); in tda1997x_probe()
2802 mutex_destroy(&state->page_lock); in tda1997x_probe()
2830 mutex_destroy(&state->page_lock); in tda1997x_remove()
/linux/drivers/net/ethernet/mediatek/
H A Dmtk_eth_soc.c954 spin_lock_bh(&mac->hw->page_lock); in mtk_set_mac_address()
968 spin_unlock_bh(&mac->hw->page_lock); in mtk_set_mac_address()
1612 spin_lock(&eth->page_lock); in mtk_start_xmit()
1622 spin_unlock(&eth->page_lock); in mtk_start_xmit()
1647 spin_unlock(&eth->page_lock); in mtk_start_xmit()
1652 spin_unlock(&eth->page_lock); in mtk_start_xmit()
1831 spin_lock(&eth->page_lock); in mtk_xdp_submit_frame()
1835 spin_unlock(&eth->page_lock); in mtk_xdp_submit_frame()
1902 spin_unlock(&eth->page_lock); in mtk_xdp_submit_frame()
1921 spin_unlock(&eth->page_lock); in mtk_xdp_submit_frame()
[all …]
H A Dmtk_eth_soc.h1237 spinlock_t page_lock; member