Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/crypto/nx/
Dnx-common-powernv.c187 static int wait_for_csb(struct nx842_workmem *wmem, in wait_for_csb() argument
190 ktime_t start = wmem->start, now = ktime_get(); in wait_for_csb()
393 struct nx842_workmem *wmem) in nx842_config_crb() argument
400 crb = &wmem->crb; in nx842_config_crb()
407 ret = setup_ddl(&crb->source, wmem->ddl_in, in nx842_config_crb()
412 ret = setup_ddl(&crb->target, wmem->ddl_out, in nx842_config_crb()
462 struct nx842_workmem *wmem; in nx842_exec_icswx() local
467 wmem = PTR_ALIGN(workmem, WORKMEM_ALIGN); in nx842_exec_icswx()
477 ret = nx842_config_crb(in, inlen, out, outlen, wmem); in nx842_exec_icswx()
481 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-common-pseries.c304 void *wmem) in nx842_pseries_compress() argument
337 workmem = PTR_ALIGN(wmem, WORKMEM_ALIGN); in nx842_pseries_compress()
434 void *wmem) in nx842_pseries_decompress() argument
467 workmem = PTR_ALIGN(wmem, WORKMEM_ALIGN); in nx842_pseries_decompress()
/linux-6.1.9/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-6.1.9/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()
380 u32 r8712_usb_write_port(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *wmem) in r8712_usb_write_port() argument
390 struct xmit_frame *pxmitframe = (struct xmit_frame *)wmem; in r8712_usb_write_port()
/linux-6.1.9/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.h273 const __u8 *wmem, __u8 size);
/linux-6.1.9/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-6.1.9/include/linux/
Dsw842.h8 u8 *dst, unsigned int *destlen, void *wmem);
/linux-6.1.9/drivers/staging/r8188eu/os_dep/
Dusb_ops_linux.c96 u32 rtw_write_port(struct adapter *padapter, u32 addr, u32 cnt, u8 *wmem) in rtw_write_port() argument
105 struct xmit_buf *pxmitbuf = (struct xmit_buf *)wmem; in rtw_write_port()
/linux-6.1.9/sound/isa/msnd/
Dmsnd_pinnacle.c653 u16 wmem; in snd_msnd_write_cfg_mem() local
656 wmem = (u16)(mem & 0xfff); in snd_msnd_write_cfg_mem()
659 if (snd_msnd_write_cfg(cfg, IREG_MEMBASEHI, HIBYTE(wmem))) in snd_msnd_write_cfg_mem()
661 if (snd_msnd_write_cfg(cfg, IREG_MEMBASELO, LOBYTE(wmem))) in snd_msnd_write_cfg_mem()
663 if (wmem && snd_msnd_write_cfg(cfg, IREG_MEMCONTROL, in snd_msnd_write_cfg_mem()
/linux-6.1.9/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-6.1.9/Documentation/networking/
Dsmc-sysctl.rst45 wmem - INTEGER
/linux-6.1.9/drivers/net/ethernet/cavium/thunder/
Dq_struct.h508 u64 wmem:1; member
517 u64 wmem:1;
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_struct.h249 u64 wmem : 1; member
Dotx2_txrx.c709 mem->wmem = 1; /* wait for the memory operation */ in otx2_sqe_add_mem()
/linux-6.1.9/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-6.1.9/drivers/staging/rtl8723bs/hal/
Dsdio_ops.c363 u8 *wmem in sdio_write_mem() argument
366 sdio_writeN(intfhdl, addr, cnt, wmem); in sdio_write_mem()
/linux-6.1.9/net/mptcp/
Dprotocol.c1414 u32 pace, burst, wmem; in mptcp_subflow_get_send() local
1488 wmem = READ_ONCE(ssk->sk_wmem_queued); in mptcp_subflow_get_send()
1495 subflow->avg_pacing_rate = div_u64((u64)subflow->avg_pacing_rate * wmem + in mptcp_subflow_get_send()
1497 burst + wmem); in mptcp_subflow_get_send()