Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/crypto/nx/
Dnx-common-powernv.c184 static int wait_for_csb(struct nx842_workmem *wmem, in wait_for_csb() argument
187 ktime_t start = wmem->start, now = ktime_get(); in wait_for_csb()
390 struct nx842_workmem *wmem) in nx842_config_crb() argument
397 crb = &wmem->crb; in nx842_config_crb()
404 ret = setup_ddl(&crb->source, wmem->ddl_in, in nx842_config_crb()
409 ret = setup_ddl(&crb->target, wmem->ddl_out, in nx842_config_crb()
459 struct nx842_workmem *wmem; in nx842_exec_icswx() local
464 wmem = PTR_ALIGN(workmem, WORKMEM_ALIGN); in nx842_exec_icswx()
474 ret = nx842_config_crb(in, inlen, out, outlen, wmem); in nx842_exec_icswx()
478 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()
399 ret = ctx->driver->decompress(src, slen, dst, &dlen, ctx->wmem); in decompress()
Dnx-842.h176 u8 *wmem; member
Dnx-common-pseries.c306 void *wmem) in nx842_pseries_compress() argument
339 workmem = PTR_ALIGN(wmem, WORKMEM_ALIGN); in nx842_pseries_compress()
436 void *wmem) in nx842_pseries_decompress() argument
469 workmem = PTR_ALIGN(wmem, WORKMEM_ALIGN); in nx842_pseries_decompress()
/linux-6.12.1/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.12.1/drivers/staging/rtl8712/
Dusb_ops.h22 u32 cnt, u8 *wmem);
24 u32 cnt, u8 *wmem);
Dusb_ops_linux.c150 void r8712_usb_write_mem(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *wmem) in r8712_usb_write_mem() argument
168 wmem, cnt, usb_write_mem_complete, in r8712_usb_write_mem()
373 u32 r8712_usb_write_port(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *wmem) in r8712_usb_write_port() argument
383 struct xmit_frame *pxmitframe = (struct xmit_frame *)wmem; in r8712_usb_write_port()
/linux-6.12.1/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()
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-6.12.1/include/linux/
Dsw842.h8 u8 *dst, unsigned int *destlen, void *wmem);
/linux-6.12.1/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.12.1/sound/isa/msnd/
Dmsnd_pinnacle.c656 u16 wmem; in snd_msnd_write_cfg_mem() local
659 wmem = (u16)(mem & 0xfff); in snd_msnd_write_cfg_mem()
662 if (snd_msnd_write_cfg(chip, cfg, IREG_MEMBASEHI, HIBYTE(wmem))) in snd_msnd_write_cfg_mem()
664 if (snd_msnd_write_cfg(chip, cfg, IREG_MEMBASELO, LOBYTE(wmem))) in snd_msnd_write_cfg_mem()
666 if (wmem && snd_msnd_write_cfg(chip, cfg, IREG_MEMCONTROL, in snd_msnd_write_cfg_mem()
/linux-6.12.1/drivers/net/ethernet/cavium/thunder/
Dq_struct.h508 u64 wmem:1; member
517 u64 wmem:1;
/linux-6.12.1/Documentation/networking/
Dsmc-sysctl.rst45 wmem - INTEGER
/linux-6.12.1/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.12.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_struct.h249 u64 wmem : 1; member
Dotx2_txrx.c739 mem->wmem = 1; /* wait for the memory operation */ in otx2_sqe_add_mem()
/linux-6.12.1/drivers/staging/rtl8723bs/hal/
Dsdio_ops.c362 u8 *wmem in sdio_write_mem() argument
365 sdio_writeN(intfhdl, addr, cnt, wmem); in sdio_write_mem()
/linux-6.12.1/net/mptcp/
Dprotocol.c1430 u32 pace, burst, wmem; in mptcp_subflow_get_send() local
1489 wmem = READ_ONCE(ssk->sk_wmem_queued); in mptcp_subflow_get_send()
1494 subflow->avg_pacing_rate = div_u64((u64)subflow->avg_pacing_rate * wmem + in mptcp_subflow_get_send()
1496 burst + wmem); in mptcp_subflow_get_send()