Home
last modified time | relevance | path

Searched refs:wmem (Results 1 – 16 of 16) sorted by relevance

/Linux-v4.19/drivers/crypto/nx/
Dnx-842-powernv.c191 static int wait_for_csb(struct nx842_workmem *wmem, in wait_for_csb() argument
194 ktime_t start = wmem->start, now = ktime_get(); in wait_for_csb()
397 struct nx842_workmem *wmem) in nx842_config_crb() argument
404 crb = &wmem->crb; in nx842_config_crb()
411 ret = setup_ddl(&crb->source, wmem->ddl_in, in nx842_config_crb()
416 ret = setup_ddl(&crb->target, wmem->ddl_out, in nx842_config_crb()
466 struct nx842_workmem *wmem; in nx842_exec_icswx() local
471 wmem = PTR_ALIGN(workmem, WORKMEM_ALIGN); in nx842_exec_icswx()
481 ret = nx842_config_crb(in, inlen, out, outlen, wmem); in nx842_exec_icswx()
485 crb = &wmem->crb; in nx842_exec_icswx()
[all …]
Dnx-842.c119 ctx->wmem = kmalloc(driver->workmem_size, GFP_KERNEL); in nx842_crypto_init()
122 if (!ctx->wmem || !ctx->sbounce || !ctx->dbounce) { in nx842_crypto_init()
123 kfree(ctx->wmem); in nx842_crypto_init()
137 kfree(ctx->wmem); in nx842_crypto_exit()
228 ret = ctx->driver->compress(src, slen, dst, &dlen, ctx->wmem); in compress()
406 ret = ctx->driver->decompress(src, slen, dst, &dlen, ctx->wmem); in decompress()
Dnx-842.h171 u8 *wmem; member
Dnx-842-pseries.c292 void *wmem) in nx842_pseries_compress() argument
326 workmem = PTR_ALIGN(wmem, WORKMEM_ALIGN); in nx842_pseries_compress()
423 void *wmem) in nx842_pseries_decompress() argument
457 workmem = PTR_ALIGN(wmem, WORKMEM_ALIGN); in nx842_pseries_decompress()
/Linux-v4.19/crypto/
D842.c37 void *wmem; /* working memory for compress */ member
55 ctx->wmem = crypto842_alloc_ctx(NULL); in crypto842_init()
56 if (IS_ERR(ctx->wmem)) in crypto842_init()
71 crypto842_free_ctx(NULL, ctx->wmem); in crypto842_exit()
80 return sw842_compress(src, slen, dst, dlen, ctx->wmem); in crypto842_compress()
/Linux-v4.19/drivers/staging/rtl8712/
Dusb_ops.h34 u32 cnt, u8 *wmem);
36 u32 cnt, u8 *wmem);
Dusb_ops_linux.c169 void r8712_usb_write_mem(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *wmem) in r8712_usb_write_mem() argument
187 wmem, cnt, usb_write_mem_complete, in r8712_usb_write_mem()
391 u32 r8712_usb_write_port(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *wmem) in r8712_usb_write_port() argument
401 struct xmit_frame *pxmitframe = (struct xmit_frame *)wmem; in r8712_usb_write_port()
/Linux-v4.19/drivers/base/regmap/
Dregcache-lzo.c22 void *wmem; member
40 lzo_ctx->wmem = kmalloc(LZO1X_MEM_COMPRESS, GFP_KERNEL); in regcache_lzo_prepare()
41 if (!lzo_ctx->wmem) in regcache_lzo_prepare()
52 lzo_ctx->dst, &compress_size, lzo_ctx->wmem); in regcache_lzo_compress()
223 kfree(lzo_blocks[i]->wmem); in regcache_lzo_exit()
/Linux-v4.19/drivers/hid/
Dhid-wiimote-core.c366 const __u8 *wmem, __u8 size) in wiimote_cmd_write() argument
373 wiiproto_req_wreg(wdata, offset, wmem, size); in wiimote_cmd_write()
416 __u8 wmem; in wiimote_cmd_init_ext() local
420 wmem = 0x55; in wiimote_cmd_init_ext()
421 ret = wiimote_cmd_write(wdata, 0xa400f0, &wmem, sizeof(wmem)); in wiimote_cmd_init_ext()
426 wmem = 0x0; in wiimote_cmd_init_ext()
427 ret = wiimote_cmd_write(wdata, 0xa400fb, &wmem, sizeof(wmem)); in wiimote_cmd_init_ext()
471 __u8 wmem; in wiimote_cmd_init_mp() local
475 wmem = 0x55; in wiimote_cmd_init_mp()
476 ret = wiimote_cmd_write(wdata, 0xa600f0, &wmem, sizeof(wmem)); in wiimote_cmd_init_mp()
[all …]
Dhid-wiimote.h274 const __u8 *wmem, __u8 size);
/Linux-v4.19/include/linux/
Dsw842.h8 u8 *dst, unsigned int *destlen, void *wmem);
/Linux-v4.19/Documentation/sound/cards/
Dmultisound.sh707 X WORD wmem;
711 X wmem = (WORD)mem;
714 X if (msnd_write_cfg(cfg, IREG_MEMBASEHI, HIBYTE(wmem)))
716 X if (msnd_write_cfg(cfg, IREG_MEMBASELO, LOBYTE(wmem)))
718 X if (wmem && msnd_write_cfg(cfg, IREG_MEMCONTROL, (MEMTYPE_HIADDR | MEMTYPE_16BIT)))
/Linux-v4.19/sound/isa/msnd/
Dmsnd_pinnacle.c700 u16 wmem; in snd_msnd_write_cfg_mem() local
703 wmem = (u16)(mem & 0xfff); in snd_msnd_write_cfg_mem()
706 if (snd_msnd_write_cfg(cfg, IREG_MEMBASEHI, HIBYTE(wmem))) in snd_msnd_write_cfg_mem()
708 if (snd_msnd_write_cfg(cfg, IREG_MEMBASELO, LOBYTE(wmem))) in snd_msnd_write_cfg_mem()
710 if (wmem && snd_msnd_write_cfg(cfg, IREG_MEMCONTROL, in snd_msnd_write_cfg_mem()
/Linux-v4.19/drivers/net/ethernet/cavium/thunder/
Dq_struct.h511 u64 wmem:1; member
520 u64 wmem:1;
/Linux-v4.19/lib/842/
D842_compress.c487 u8 *out, unsigned int *olen, void *wmem) in sw842_compress() argument
489 struct sw842_param *p = (struct sw842_param *)wmem; in sw842_compress()
/Linux-v4.19/drivers/staging/rtl8723bs/hal/
Dsdio_ops.c398 u8 *wmem in sdio_write_mem() argument
401 sdio_writeN(intfhdl, addr, cnt, wmem); in sdio_write_mem()