Searched refs:memptr (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/arch/blackfin/mach-common/
H A Dpm.c73 int bf53x_suspend_l1_mem(unsigned char *memptr) bf53x_suspend_l1_mem() argument
75 dma_memcpy_nocache(memptr, (const void *) L1_CODE_START, bf53x_suspend_l1_mem()
77 dma_memcpy_nocache(memptr + L1_CODE_LENGTH, bf53x_suspend_l1_mem()
79 dma_memcpy_nocache(memptr + L1_CODE_LENGTH + L1_DATA_A_LENGTH, bf53x_suspend_l1_mem()
81 memcpy(memptr + L1_CODE_LENGTH + L1_DATA_A_LENGTH + bf53x_suspend_l1_mem()
88 int bf53x_resume_l1_mem(unsigned char *memptr) bf53x_resume_l1_mem() argument
90 dma_memcpy_nocache((void *) L1_CODE_START, memptr, L1_CODE_LENGTH); bf53x_resume_l1_mem()
91 dma_memcpy_nocache((void *) L1_DATA_A_START, memptr + L1_CODE_LENGTH, bf53x_resume_l1_mem()
93 dma_memcpy_nocache((void *) L1_DATA_B_START, memptr + L1_CODE_LENGTH + bf53x_resume_l1_mem()
95 memcpy((void *) L1_SCRATCH_START, memptr + L1_CODE_LENGTH + bf53x_resume_l1_mem()
150 unsigned char *memptr = kmalloc(L1_CODE_LENGTH + L1_DATA_A_LENGTH bfin_pm_suspend_mem_enter() local
154 if (memptr == NULL) { bfin_pm_suspend_mem_enter()
174 kfree(memptr); bfin_pm_suspend_mem_enter()
188 bf53x_suspend_l1_mem(memptr); bfin_pm_suspend_mem_enter()
196 bf53x_resume_l1_mem(memptr); bfin_pm_suspend_mem_enter()
206 kfree(memptr); bfin_pm_suspend_mem_enter()
/linux-4.4.14/arch/x86/boot/compressed/
H A Dmisc.h27 #define memptr long macro
29 #define memptr unsigned macro
33 extern memptr free_mem_ptr;
34 extern memptr free_mem_end_ptr;
H A Dmisc.c119 memptr free_mem_ptr;
120 memptr free_mem_end_ptr;
386 asmlinkage __visible void *decompress_kernel(void *rmode, memptr heap, decompress_kernel()
/linux-4.4.14/sound/oss/
H A Dsound_config.h76 void *memptr; /* Module memory chainer */ member in struct:address_info
/linux-4.4.14/drivers/net/wireless/prism54/
H A Disl_ioctl.c2048 char *memptr; send_formatted_event() local
2050 memptr = kmalloc(IW_CUSTOM_MAX, GFP_KERNEL); send_formatted_event()
2051 if (!memptr) send_formatted_event()
2053 wrqu.data.pointer = memptr; send_formatted_event()
2055 format_event(priv, memptr, str, mlme, &wrqu.data.length, send_formatted_event()
2057 wireless_send_event(priv->ndev, IWEVCUSTOM, &wrqu, memptr); send_formatted_event()
2058 kfree(memptr); send_formatted_event()
2065 char *memptr; send_simple_event() local
2068 memptr = kmalloc(IW_CUSTOM_MAX, GFP_KERNEL); send_simple_event()
2069 if (!memptr) send_simple_event()
2072 wrqu.data.pointer = memptr; send_simple_event()
2074 strcpy(memptr, str); send_simple_event()
2075 wireless_send_event(priv->ndev, IWEVCUSTOM, &wrqu, memptr); send_simple_event()
2076 kfree(memptr); send_simple_event()

Completed in 203 milliseconds