/openbmc/linux/include/linux/ |
H A D | cleanup.h | 122 #define DEFINE_GUARD(_name, _type, _lock, _unlock) \ argument 124 DEFINE_CLASS(_name, _type, if (_T) { _unlock; }, ({ _lock; _T; }), _type _T); \ 194 #define __DEFINE_UNLOCK_GUARD(_name, _type, _unlock, ...) \ argument 202 if (_T->lock) { _unlock; } \ 228 #define DEFINE_LOCK_GUARD_1(_name, _type, _lock, _unlock, ...) \ argument 230 __DEFINE_UNLOCK_GUARD(_name, _type, _unlock, __VA_ARGS__) \ 233 #define DEFINE_LOCK_GUARD_0(_name, _lock, _unlock, ...) \ argument 235 __DEFINE_UNLOCK_GUARD(_name, void, _unlock, __VA_ARGS__) \
|
H A D | seqlock.h | 220 __SEQ_LOCK(lockbase##_unlock(s->lock)); \
|
/openbmc/qemu/include/qemu/ |
H A D | lockable.h | 51 static inline void qemu_lockable_ ## name ## _unlock(void *x) \ 53 qemu_ ## name ## _unlock(x); \ 69 .unlock = qemu_lockable_ ## name ## _unlock \ in QML_FUNC_()
|
/openbmc/linux/drivers/iio/common/ssp_sensors/ |
H A D | ssp_spi.c | 381 goto _unlock; in ssp_irq_msg() 394 goto _unlock; in ssp_irq_msg() 412 goto _unlock; in ssp_irq_msg() 419 _unlock: in ssp_irq_msg()
|
/openbmc/linux/drivers/mtd/chips/ |
H A D | fwh_lock.h | 106 mtd->_unlock = fwh_unlock_varsize; in fixup_use_fwh_lock()
|
H A D | cfi_cmdset_0020.c | 236 mtd->_unlock = cfi_staa_unlock; in cfi_staa_setup()
|
H A D | cfi_cmdset_0002.c | 346 mtd->_unlock = cfi_atmel_unlock; in fixup_use_atmel_lock() 688 mtd->_unlock = cfi_ppb_unlock; in cfi_cmdset_0002()
|
H A D | cfi_cmdset_0001.c | 516 mtd->_unlock = cfi_intelext_unlock; in cfi_cmdset_0001()
|
/openbmc/u-boot/drivers/mtd/ |
H A D | mtdpart.c | 474 return mtd->parent->_unlock(mtd->parent, ofs + mtd->offset, len); in part_unlock() 655 if (master->_unlock) in allocate_partition() 656 slave->_unlock = part_unlock; in allocate_partition()
|
H A D | cfi_mtd.c | 235 mtd->_unlock = cfi_mtd_unlock; in cfi_mtd_init()
|
H A D | altera_qspi.c | 329 mtd->_unlock = altera_qspi_unlock; in altera_qspi_probe()
|
H A D | mtdcore.c | 1586 if (!mtd->_unlock) in mtd_unlock() 1592 return mtd->_unlock(mtd, ofs, len); in mtd_unlock()
|
H A D | mtdconcat.c | 817 concat->mtd._unlock = concat_unlock; in mtd_concat_create()
|
/openbmc/linux/drivers/mtd/spi-nor/ |
H A D | swp.c | 430 mtd->_unlock = spi_nor_unlock; in spi_nor_set_mtd_locking_ops()
|
/openbmc/linux/drivers/mtd/lpddr/ |
H A D | lpddr2_nvm.c | 403 ._unlock = lpddr2_nvm_unlock,
|
H A D | lpddr_cmds.c | 59 mtd->_unlock = lpddr_unlock; in lpddr_cmdset()
|
/openbmc/u-boot/include/linux/mtd/ |
H A D | mtd.h | 271 int (*_unlock) (struct mtd_info *mtd, loff_t ofs, uint64_t len); member
|
/openbmc/linux/include/linux/mtd/ |
H A D | mtd.h | 349 int (*_unlock) (struct mtd_info *mtd, loff_t ofs, uint64_t len); member
|
/openbmc/linux/drivers/mtd/ |
H A D | mtdconcat.c | 764 concat->mtd._unlock = concat_unlock; in mtd_concat_create()
|
H A D | mtdcore.c | 2256 if (!master->_unlock) in mtd_unlock() 2268 return master->_unlock(master, mtd_get_master_ofs(mtd, ofs), len); in mtd_unlock()
|
/openbmc/linux/kernel/sched/ |
H A D | sched.h | 2643 #define DEFINE_LOCK_GUARD_2(name, type, _lock, _unlock, ...) \ argument 2644 __DEFINE_UNLOCK_GUARD(name, type, _unlock, type *lock2; __VA_ARGS__) \
|
/openbmc/linux/sound/core/ |
H A D | pcm_native.c | 1233 goto _unlock; in snd_pcm_action_group() 1246 goto _unlock; in snd_pcm_action_group() 1252 _unlock: in snd_pcm_action_group()
|
/openbmc/linux/drivers/mtd/nand/onenand/ |
H A D | onenand_base.c | 3966 mtd->_unlock = onenand_unlock; in onenand_scan()
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | nand_base.c | 4578 mtd->_unlock = NULL; in nand_scan_tail()
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | nand_base.c | 6533 mtd->_unlock = nand_unlock; in nand_scan_tail()
|