Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/8390/
Dlib8390.c217 spin_lock_irqsave(&ei_local->page_lock, flags); in __ei_open()
222 spin_unlock_irqrestore(&ei_local->page_lock, flags); in __ei_open()
242 spin_lock_irqsave(&ei_local->page_lock, flags); in __ei_close()
244 spin_unlock_irqrestore(&ei_local->page_lock, flags); in __ei_close()
266 spin_lock_irqsave(&ei_local->page_lock, flags); in __ei_tx_timeout()
269 spin_unlock_irqrestore(&ei_local->page_lock, flags); in __ei_tx_timeout()
284 spin_lock(&ei_local->page_lock); in __ei_tx_timeout()
290 spin_unlock(&ei_local->page_lock); in __ei_tx_timeout()
325 spin_lock_irqsave(&ei_local->page_lock, flags); in __ei_start_xmit()
327 spin_unlock_irqrestore(&ei_local->page_lock, flags); in __ei_start_xmit()
[all …]
Daxnet_cs.c153 spin_lock_init(&ei_local->page_lock); in axnet_probe()
870 spin_lock_irqsave(&ei_local->page_lock, flags); in ax_open()
875 spin_unlock_irqrestore(&ei_local->page_lock, flags); in ax_open()
880 #define dev_lock(dev) (((struct ei_device *)netdev_priv(dev))->page_lock)
921 spin_lock_irqsave(&ei_local->page_lock, flags); in axnet_tx_timeout()
924 spin_unlock_irqrestore(&ei_local->page_lock, flags); in axnet_tx_timeout()
939 spin_lock_irqsave(&ei_local->page_lock, flags); in axnet_tx_timeout()
945 spin_unlock_irqrestore(&ei_local->page_lock, flags); in axnet_tx_timeout()
975 spin_lock_irqsave(&ei_local->page_lock, flags); in axnet_start_xmit()
1025 spin_unlock_irqrestore(&ei_local->page_lock, flags); in axnet_start_xmit()
[all …]
D8390.h102 spinlock_t page_lock; /* Page register locks */ member
Detherh.c725 spin_lock_init(&ei_local->page_lock); in etherh_probe()
/linux-6.1.9/drivers/gpio/
Dgpio-ws16c48.c44 u8 page_lock; member
240 iowrite8(0x80, &ws16c48gpio->reg->page_lock); in ws16c48_irq_ack()
247 iowrite8(0xC0, &ws16c48gpio->reg->page_lock); in ws16c48_irq_ack()
273 iowrite8(0x80, &ws16c48gpio->reg->page_lock); in ws16c48_irq_mask()
279 iowrite8(0xC0, &ws16c48gpio->reg->page_lock); in ws16c48_irq_mask()
305 iowrite8(0x80, &ws16c48gpio->reg->page_lock); in ws16c48_irq_unmask()
311 iowrite8(0xC0, &ws16c48gpio->reg->page_lock); in ws16c48_irq_unmask()
349 iowrite8(0x40, &ws16c48gpio->reg->page_lock); in ws16c48_irq_set_type()
355 iowrite8(0xC0, &ws16c48gpio->reg->page_lock); in ws16c48_irq_set_type()
422 iowrite8(0x80, &ws16c48gpio->reg->page_lock); in ws16c48_irq_init_hw()
[all …]
/linux-6.1.9/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx.h405 struct mutex page_lock; member
469 mutex_lock(&hw->page_lock); in st_lsm6dsx_update_bits_locked()
471 mutex_unlock(&hw->page_lock); in st_lsm6dsx_update_bits_locked()
482 mutex_lock(&hw->page_lock); in st_lsm6dsx_read_locked()
484 mutex_unlock(&hw->page_lock); in st_lsm6dsx_read_locked()
495 mutex_lock(&hw->page_lock); in st_lsm6dsx_write_locked()
497 mutex_unlock(&hw->page_lock); in st_lsm6dsx_write_locked()
Dst_lsm6dsx_shub.c180 mutex_lock(&hw->page_lock); in st_lsm6dsx_shub_read_output()
195 mutex_unlock(&hw->page_lock); in st_lsm6dsx_shub_read_output()
210 mutex_lock(&hw->page_lock); in st_lsm6dsx_shub_write_reg()
219 mutex_unlock(&hw->page_lock); in st_lsm6dsx_shub_write_reg()
230 mutex_lock(&hw->page_lock); in st_lsm6dsx_shub_write_reg_with_mask()
239 mutex_unlock(&hw->page_lock); in st_lsm6dsx_shub_write_reg_with_mask()
257 mutex_lock(&hw->page_lock); in st_lsm6dsx_shub_master_enable()
273 mutex_unlock(&hw->page_lock); in st_lsm6dsx_shub_master_enable()
Dst_lsm6dsx_buffer.c262 mutex_lock(&hw->page_lock); in st_lsm6dsx_update_watermark()
277 mutex_unlock(&hw->page_lock); in st_lsm6dsx_update_watermark()
Dst_lsm6dsx_core.c2227 mutex_init(&hw->page_lock); in st_lsm6dsx_probe()
/linux-6.1.9/Documentation/translations/zh_CN/mm/
Dpage_migration.rst148 并返回MIGRATEPAGE_SUCCESS,你应该通过page_lock下的__ClearPageMovable()向虚
166 驱动应该使用下面的函数来使页面在page_lock下可移动。::
192 使用__SetPageMovable()的驱动应该在释放页面之前通过page_lock()下的
/linux-6.1.9/mm/
Dz3fold.c113 spinlock_t page_lock; member
236 spin_lock(&zhdr->page_lock); in z3fold_page_lock()
242 return spin_trylock(&zhdr->page_lock); in z3fold_page_trylock()
248 spin_unlock(&zhdr->page_lock); in z3fold_page_unlock()
353 spin_lock_init(&zhdr->page_lock); in init_z3fold_page()
1530 spin_lock_init(&new_zhdr->page_lock); in z3fold_page_migrate()
/linux-6.1.9/drivers/media/i2c/
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()
2576 mutex_init(&state->page_lock); in tda1997x_probe()
2798 mutex_destroy(&state->page_lock); in tda1997x_probe()
2826 mutex_destroy(&state->page_lock); in tda1997x_remove()
/linux-6.1.9/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c767 spin_lock_bh(&mac->hw->page_lock); in mtk_set_mac_address()
781 spin_unlock_bh(&mac->hw->page_lock); in mtk_set_mac_address()
1382 spin_lock(&eth->page_lock); in mtk_start_xmit()
1392 spin_unlock(&eth->page_lock); in mtk_start_xmit()
1417 spin_unlock(&eth->page_lock); in mtk_start_xmit()
1422 spin_unlock(&eth->page_lock); in mtk_start_xmit()
1599 spin_lock(&eth->page_lock); in mtk_xdp_submit_frame()
1603 spin_unlock(&eth->page_lock); in mtk_xdp_submit_frame()
1669 spin_unlock(&eth->page_lock); in mtk_xdp_submit_frame()
1688 spin_unlock(&eth->page_lock); in mtk_xdp_submit_frame()
[all …]
Dmtk_eth_soc.h1069 spinlock_t page_lock; member