Searched defs:thunk (Results 1 - 6 of 6) sorted by relevance
/drivers/mtd/chips/ |
H A D | fwh_lock.h | 29 unsigned long adr, int len, void *thunk) 32 struct fwh_xxlock_thunk *xxlt = (struct fwh_xxlock_thunk *)thunk; 28 fwh_xxlock_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) argument
|
H A D | cfi_util.c | 165 loff_t ofs, size_t len, void *thunk) 225 ret = (*frob)(map, &cfi->chips[chipnum], adr, size, thunk); 164 cfi_varsize_frob(struct mtd_info *mtd, varsize_frob_t frob, loff_t ofs, size_t len, void *thunk) argument
|
H A D | cfi_cmdset_0001.c | 1901 unsigned long adr, int len, void *thunk) 2050 int len, void *thunk) 2068 int len, void *thunk) 2071 adr, do_getlockstatus_oneblock(map, chip, adr, len, thunk)); 2080 unsigned long adr, int len, void *thunk) 2100 if (thunk == DO_XXLOCK_ONEBLOCK_LOCK) { 2103 } else if (thunk == DO_XXLOCK_ONEBLOCK_UNLOCK) { 1900 do_erase_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) argument 2047 do_getlockstatus_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) argument 2065 do_printlockstatus_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) argument 2079 do_xxlock_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) argument
|
H A D | cfi_cmdset_0002.c | 2324 static int __xipram do_erase_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) argument 2456 unsigned long adr, int len, void *thunk) 2491 unsigned long adr, int len, void *thunk) 2545 unsigned long adr, int len, void *thunk) 2568 if (thunk == DO_XXLOCK_ONEBLOCK_LOCK) { 2572 } else if (thunk == DO_XXLOCK_ONEBLOCK_UNLOCK) { 2580 } else if (thunk == DO_XXLOCK_ONEBLOCK_GETLOCK) { 2455 do_atmel_lock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) argument 2490 do_atmel_unlock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) argument 2543 do_ppb_xxlock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk) argument
|
/drivers/mtd/lpddr/ |
H A D | lpddr_cmds.c | 704 static int do_xxlock(struct mtd_info *mtd, loff_t adr, uint32_t len, int thunk) argument 719 if (thunk == DO_XXLOCK_LOCK) { 722 } else if (thunk == DO_XXLOCK_UNLOCK) {
|
/drivers/md/ |
H A D | dm-cache-metadata.c | 968 struct thunk { struct 1025 struct thunk *thunk = context; local 1026 struct dm_cache_metadata *cmd = thunk->cmd; 1032 if (thunk->hints_valid) { 1039 dirty = thunk->respect_dirty_flags ? (flags & M_DIRTY) : true; 1040 r = thunk->fn(thunk->context, oblock, to_cblock(cblock), 1041 dirty, le32_to_cpu(hint_value), thunk->hints_valid); 1051 struct thunk thun local [all...] |
Completed in 1046 milliseconds