Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/nx/
H A 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 …]
H A 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()
H A Dnx-842.h171 u8 *wmem; member
H A 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()
/openbmc/linux/crypto/
H A 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()
/openbmc/linux/drivers/staging/rtl8712/
H A Dusb_ops.h22 u32 cnt, u8 *wmem);
24 u32 cnt, u8 *wmem);
H A 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()
/openbmc/linux/drivers/hid/
H A 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 …]
H A Dhid-wiimote.h274 const __u8 *wmem, __u8 size);
/openbmc/linux/include/linux/
H A Dsw842.h8 u8 *dst, unsigned int *destlen, void *wmem);
/openbmc/qemu/target/arm/tcg/
H A Dhelper-a64.c1449 void *wmem; in copy_step() local
1480 wmem = tlb_vaddr_to_host(env, toaddr, MMU_DATA_STORE, wmemidx); in copy_step()
1490 if (unlikely(!rmem || !wmem)) { in copy_step()
1497 if (wmem) { in copy_step()
1498 *(uint8_t *)wmem = byte; in copy_step()
1507 memmove(wmem, rmem, copysize); in copy_step()
1522 void *wmem; in copy_step_rev() local
1554 wmem = tlb_vaddr_to_host(env, toaddr, MMU_DATA_STORE, wmemidx); in copy_step_rev()
1564 if (unlikely(!rmem || !wmem)) { in copy_step_rev()
1571 if (wmem) { in copy_step_rev()
[all …]
/openbmc/linux/Documentation/sound/cards/
H A 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)))
/openbmc/linux/sound/isa/msnd/
H A 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()
/openbmc/linux/Documentation/networking/
H A Dsmc-sysctl.rst45 wmem - INTEGER
/openbmc/linux/drivers/net/ethernet/cavium/thunder/
H A Dq_struct.h508 u64 wmem:1; member
517 u64 wmem:1;
/openbmc/linux/lib/842/
H A 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()
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_struct.h249 u64 wmem : 1; member
H A Dotx2_txrx.c736 mem->wmem = 1; /* wait for the memory operation */ in otx2_sqe_add_mem()
/openbmc/linux/drivers/staging/rtl8723bs/hal/
H A Dsdio_ops.c363 u8 *wmem in sdio_write_mem() argument
366 sdio_writeN(intfhdl, addr, cnt, wmem); in sdio_write_mem()
/openbmc/linux/net/mptcp/
H A Dprotocol.c1425 u32 pace, burst, wmem; in mptcp_subflow_get_send() local
1484 wmem = READ_ONCE(ssk->sk_wmem_queued); in mptcp_subflow_get_send()
1489 subflow->avg_pacing_rate = div_u64((u64)subflow->avg_pacing_rate * wmem + in mptcp_subflow_get_send()
1491 burst + wmem); in mptcp_subflow_get_send()