Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/crypto/nx/
Dnx-842-powernv.c180 static int wait_for_csb(struct nx842_workmem *wmem, in wait_for_csb() argument
183 ktime_t start = wmem->start, now = ktime_get(); in wait_for_csb()
386 struct nx842_workmem *wmem) in nx842_config_crb() argument
393 crb = &wmem->crb; in nx842_config_crb()
400 ret = setup_ddl(&crb->source, wmem->ddl_in, in nx842_config_crb()
405 ret = setup_ddl(&crb->target, wmem->ddl_out, in nx842_config_crb()
455 struct nx842_workmem *wmem; in nx842_exec_icswx() local
460 wmem = PTR_ALIGN(workmem, WORKMEM_ALIGN); in nx842_exec_icswx()
470 ret = nx842_config_crb(in, inlen, out, outlen, wmem); in nx842_exec_icswx()
474 crb = &wmem->crb; in nx842_exec_icswx()
[all …]
Dnx-842.c110 ctx->wmem = kmalloc(driver->workmem_size, GFP_KERNEL); in nx842_crypto_init()
113 if (!ctx->wmem || !ctx->sbounce || !ctx->dbounce) { in nx842_crypto_init()
114 kfree(ctx->wmem); in nx842_crypto_init()
128 kfree(ctx->wmem); in nx842_crypto_exit()
219 ret = ctx->driver->compress(src, slen, dst, &dlen, ctx->wmem); in compress()
397 ret = ctx->driver->decompress(src, slen, dst, &dlen, ctx->wmem); in decompress()
Dnx-842.h171 u8 *wmem; member
Dnx-842-pseries.c279 void *wmem) in nx842_pseries_compress() argument
312 workmem = PTR_ALIGN(wmem, WORKMEM_ALIGN); in nx842_pseries_compress()
409 void *wmem) in nx842_pseries_decompress() argument
442 workmem = PTR_ALIGN(wmem, WORKMEM_ALIGN); in nx842_pseries_decompress()
/Linux-v5.4/crypto/
D842.c28 void *wmem; /* working memory for compress */ member
46 ctx->wmem = crypto842_alloc_ctx(NULL); in crypto842_init()
47 if (IS_ERR(ctx->wmem)) in crypto842_init()
62 crypto842_free_ctx(NULL, ctx->wmem); in crypto842_exit()
71 return sw842_compress(src, slen, dst, dlen, ctx->wmem); in crypto842_compress()
/Linux-v5.4/drivers/staging/rtl8712/
Dusb_ops.h22 u32 cnt, u8 *wmem);
24 u32 cnt, u8 *wmem);
Dusb_ops_linux.c157 void r8712_usb_write_mem(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *wmem) in r8712_usb_write_mem() argument
175 wmem, cnt, usb_write_mem_complete, in r8712_usb_write_mem()
379 u32 r8712_usb_write_port(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *wmem) in r8712_usb_write_port() argument
389 struct xmit_frame *pxmitframe = (struct xmit_frame *)wmem; in r8712_usb_write_port()
/Linux-v5.4/drivers/base/regmap/
Dregcache-lzo.c18 void *wmem; member
36 lzo_ctx->wmem = kmalloc(LZO1X_MEM_COMPRESS, GFP_KERNEL); in regcache_lzo_prepare()
37 if (!lzo_ctx->wmem) in regcache_lzo_prepare()
48 lzo_ctx->dst, &compress_size, lzo_ctx->wmem); in regcache_lzo_compress()
217 kfree(lzo_blocks[i]->wmem); in regcache_lzo_exit()
/Linux-v5.4/drivers/hid/
Dhid-wiimote-core.c363 const __u8 *wmem, __u8 size) in wiimote_cmd_write() argument
370 wiiproto_req_wreg(wdata, offset, wmem, size); in wiimote_cmd_write()
413 __u8 wmem; in wiimote_cmd_init_ext() local
417 wmem = 0x55; in wiimote_cmd_init_ext()
418 ret = wiimote_cmd_write(wdata, 0xa400f0, &wmem, sizeof(wmem)); in wiimote_cmd_init_ext()
423 wmem = 0x0; in wiimote_cmd_init_ext()
424 ret = wiimote_cmd_write(wdata, 0xa400fb, &wmem, sizeof(wmem)); in wiimote_cmd_init_ext()
468 __u8 wmem; in wiimote_cmd_init_mp() local
472 wmem = 0x55; in wiimote_cmd_init_mp()
473 ret = wiimote_cmd_write(wdata, 0xa600f0, &wmem, sizeof(wmem)); in wiimote_cmd_init_mp()
[all …]
Dhid-wiimote.h271 const __u8 *wmem, __u8 size);
/Linux-v5.4/include/linux/
Dsw842.h8 u8 *dst, unsigned int *destlen, void *wmem);
/Linux-v5.4/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-v5.4/sound/isa/msnd/
Dmsnd_pinnacle.c686 u16 wmem; in snd_msnd_write_cfg_mem() local
689 wmem = (u16)(mem & 0xfff); in snd_msnd_write_cfg_mem()
692 if (snd_msnd_write_cfg(cfg, IREG_MEMBASEHI, HIBYTE(wmem))) in snd_msnd_write_cfg_mem()
694 if (snd_msnd_write_cfg(cfg, IREG_MEMBASELO, LOBYTE(wmem))) in snd_msnd_write_cfg_mem()
696 if (wmem && snd_msnd_write_cfg(cfg, IREG_MEMCONTROL, in snd_msnd_write_cfg_mem()
/Linux-v5.4/drivers/net/ethernet/cavium/thunder/
Dq_struct.h508 u64 wmem:1; member
517 u64 wmem:1;
/Linux-v5.4/lib/842/
D842_compress.c478 u8 *out, unsigned int *olen, void *wmem) in sw842_compress() argument
480 struct sw842_param *p = (struct sw842_param *)wmem; in sw842_compress()
/Linux-v5.4/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()