Home
last modified time | relevance | path

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

/drivers/crypto/nx/
Dnx-842-powernv.c170 static int wait_for_csb(struct nx842_workmem *wmem, in wait_for_csb() argument
173 ktime_t start = wmem->start, now = ktime_get(); in wait_for_csb()
393 struct nx842_workmem *wmem; in nx842_powernv_function() local
399 wmem = PTR_ALIGN(workmem, WORKMEM_ALIGN); in nx842_powernv_function()
409 crb = &wmem->crb; in nx842_powernv_function()
416 ret = setup_ddl(&crb->source, wmem->ddl_in, in nx842_powernv_function()
420 ret = setup_ddl(&crb->target, wmem->ddl_out, in nx842_powernv_function()
436 wmem->start = ktime_get(); in nx842_powernv_function()
455 ret = wait_for_csb(wmem, csb); in nx842_powernv_function()
495 void *wmem) in nx842_powernv_compress() argument
[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-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()
Dnx-842.h167 u8 *wmem; member
/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()
465 __u8 wmem; in wiimote_cmd_init_mp() local
469 wmem = 0x55; in wiimote_cmd_init_mp()
470 ret = wiimote_cmd_write(wdata, 0xa600f0, &wmem, sizeof(wmem)); in wiimote_cmd_init_mp()
[all …]
Dhid-wiimote.h272 const __u8 *wmem, __u8 size);
/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()
/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()
397 u32 r8712_usb_write_port(struct intf_hdl *pintfhdl, u32 addr, u32 cnt, u8 *wmem) in r8712_usb_write_port() argument
407 struct xmit_frame *pxmitframe = (struct xmit_frame *)wmem; in r8712_usb_write_port()
/drivers/net/ethernet/cavium/thunder/
Dq_struct.h519 u64 wmem:1; member
528 u64 wmem:1;
/drivers/staging/rtl8188eu/os_dep/
Dusb_ops_linux.c698 u32 usb_write_port(struct adapter *padapter, u32 addr, u32 cnt, u8 *wmem) in usb_write_port() argument
707 struct xmit_buf *pxmitbuf = (struct xmit_buf *)wmem; in usb_write_port()