Home
last modified time | relevance | path

Searched refs:outbuf (Results 1 – 22 of 22) sorted by relevance

/linux-4.19.296/drivers/iio/dac/
Dmax5821.c96 u8 outbuf[2]; in max5821_sync_powerdown_mode() local
98 outbuf[0] = MAX5821_EXTENDED_COMMAND_MODE; in max5821_sync_powerdown_mode()
101 outbuf[1] = MAX5821_EXTENDED_DAC_A; in max5821_sync_powerdown_mode()
103 outbuf[1] = MAX5821_EXTENDED_DAC_B; in max5821_sync_powerdown_mode()
106 outbuf[1] |= data->powerdown_mode[chan->channel] + 1; in max5821_sync_powerdown_mode()
108 outbuf[1] |= MAX5821_EXTENDED_POWER_UP; in max5821_sync_powerdown_mode()
110 return i2c_master_send(data->client, outbuf, 2); in max5821_sync_powerdown_mode()
177 u8 outbuf[1]; in max5821_get_value() local
184 outbuf[0] = max5821_read_dac_command[channel]; in max5821_get_value()
188 ret = i2c_master_send(client, outbuf, 1); in max5821_get_value()
[all …]
Dmcp4725.c52 u8 outbuf[2]; in mcp4725_suspend() local
55 outbuf[0] = (data->powerdown_mode + 1) << 4; in mcp4725_suspend()
56 outbuf[1] = 0; in mcp4725_suspend()
59 ret = i2c_master_send(data->client, outbuf, 2); in mcp4725_suspend()
71 u8 outbuf[2]; in mcp4725_resume() local
75 outbuf[0] = (data->dac_value >> 8) & 0xf; in mcp4725_resume()
76 outbuf[1] = data->dac_value & 0xff; in mcp4725_resume()
79 ret = i2c_master_send(data->client, outbuf, 2); in mcp4725_resume()
288 u8 outbuf[2]; in mcp4725_set_value() local
294 outbuf[0] = (val >> 8) & 0xf; in mcp4725_set_value()
[all …]
Dmax517.c61 u8 outbuf[2]; in max517_set_value() local
67 outbuf[0] = channel; in max517_set_value()
68 outbuf[1] = val; in max517_set_value()
70 res = i2c_master_send(client, outbuf, 2); in max517_set_value()
119 u8 outbuf = COMMAND_PD; in max517_suspend() local
121 return i2c_master_send(to_i2c_client(dev), &outbuf, 1); in max517_suspend()
126 u8 outbuf = 0; in max517_resume() local
128 return i2c_master_send(to_i2c_client(dev), &outbuf, 1); in max517_resume()
Dm62332.c46 u8 outbuf[2]; in m62332_set_value() local
52 outbuf[0] = channel; in m62332_set_value()
53 outbuf[1] = val; in m62332_set_value()
63 res = i2c_master_send(client, outbuf, ARRAY_SIZE(outbuf)); in m62332_set_value()
64 if (res >= 0 && res != ARRAY_SIZE(outbuf)) in m62332_set_value()
/linux-4.19.296/lib/
Ddecompress_bunzip2.c523 static int INIT read_bunzip(struct bunzip_data *bd, char *outbuf, int len) in read_bunzip() argument
555 outbuf[gotcount++] = xcurrent; in read_bunzip()
682 unsigned char *outbuf, in bunzip2() argument
691 outbuf = malloc(BZIP2_IOBUF_SIZE); in bunzip2()
693 if (!outbuf) { in bunzip2()
709 i = read_bunzip(bd, outbuf, BZIP2_IOBUF_SIZE); in bunzip2()
713 outbuf += i; in bunzip2()
715 if (i != flush(outbuf, i)) { in bunzip2()
742 free(outbuf); in bunzip2()
750 unsigned char *outbuf, long olen, in __decompress() argument
[all …]
/linux-4.19.296/include/crypto/
Ddrbg.h208 unsigned char *outbuf, unsigned int outlen, in crypto_drbg_get_bytes_addtl() argument
212 outbuf, outlen); in crypto_drbg_get_bytes_addtl()
233 unsigned char *outbuf, unsigned int outlen, in crypto_drbg_get_bytes_addtl_test() argument
240 outbuf, outlen); in crypto_drbg_get_bytes_addtl_test()
/linux-4.19.296/crypto/
Dcast6_generic.c183 void __cast6_encrypt(struct cast6_ctx *c, u8 *outbuf, const u8 *inbuf) in __cast6_encrypt() argument
186 __be32 *dst = (__be32 *)outbuf; in __cast6_encrypt()
216 static void cast6_encrypt(struct crypto_tfm *tfm, u8 *outbuf, const u8 *inbuf) in cast6_encrypt() argument
218 __cast6_encrypt(crypto_tfm_ctx(tfm), outbuf, inbuf); in cast6_encrypt()
221 void __cast6_decrypt(struct cast6_ctx *c, u8 *outbuf, const u8 *inbuf) in __cast6_decrypt() argument
224 __be32 *dst = (__be32 *)outbuf; in __cast6_decrypt()
254 static void cast6_decrypt(struct crypto_tfm *tfm, u8 *outbuf, const u8 *inbuf) in cast6_decrypt() argument
256 __cast6_decrypt(crypto_tfm_ctx(tfm), outbuf, inbuf); in cast6_decrypt()
Dcast5_generic.c310 void __cast5_encrypt(struct cast5_ctx *c, u8 *outbuf, const u8 *inbuf) in __cast5_encrypt() argument
313 __be32 *dst = (__be32 *)outbuf; in __cast5_encrypt()
362 static void cast5_encrypt(struct crypto_tfm *tfm, u8 *outbuf, const u8 *inbuf) in cast5_encrypt() argument
364 __cast5_encrypt(crypto_tfm_ctx(tfm), outbuf, inbuf); in cast5_encrypt()
367 void __cast5_decrypt(struct cast5_ctx *c, u8 *outbuf, const u8 *inbuf) in __cast5_decrypt() argument
370 __be32 *dst = (__be32 *)outbuf; in __cast5_decrypt()
406 static void cast5_decrypt(struct crypto_tfm *tfm, u8 *outbuf, const u8 *inbuf) in cast5_decrypt() argument
408 __cast5_decrypt(crypto_tfm_ctx(tfm), outbuf, inbuf); in cast5_decrypt()
Ddrbg.c314 u8 *outbuf, u32 outlen);
1811 u8 *outbuf, u32 outlen) in drbg_kcapi_sym_ctr() argument
1840 memcpy(outbuf, drbg->outscratchpad, cryptlen); in drbg_kcapi_sym_ctr()
1844 outbuf += cryptlen; in drbg_kcapi_sym_ctr()
Dtestmgr.c1988 goto outbuf; in drbg_cavs_test()
2003 goto outbuf; in drbg_cavs_test()
2018 goto outbuf; in drbg_cavs_test()
2023 outbuf: in drbg_cavs_test()
/linux-4.19.296/include/linux/
Dolpc-ec.h33 extern int olpc_ec_cmd(u8 cmd, u8 *inbuf, size_t inlen, u8 *outbuf,
38 static inline int olpc_ec_cmd(u8 cmd, u8 *inbuf, size_t inlen, u8 *outbuf, in olpc_ec_cmd() argument
/linux-4.19.296/fs/dlm/
Ddir.c237 char *outbuf, int outlen, int nodeid) in dlm_copy_master_names() argument
279 memcpy(outbuf + offset, &be_namelen, sizeof(__be16)); in dlm_copy_master_names()
286 memcpy(outbuf + offset, &be_namelen, sizeof(__be16)); in dlm_copy_master_names()
288 memcpy(outbuf + offset, r->res_name, r->res_length); in dlm_copy_master_names()
301 memcpy(outbuf + offset, &be_namelen, sizeof(__be16)); in dlm_copy_master_names()
Ddir.h22 char *outbuf, int outlen, int nodeid);
/linux-4.19.296/include/linux/sunrpc/
Dgss_api.h65 struct xdr_buf *outbuf,
126 struct xdr_buf *outbuf,
Dgss_krb5.h257 struct xdr_buf *outbuf, struct page **pages);
273 gss_encrypt_xdr_buf(struct crypto_skcipher *tfm, struct xdr_buf *outbuf,
/linux-4.19.296/include/linux/decompress/
Dgeneric.h8 unsigned char *outbuf,
/linux-4.19.296/drivers/hid/usbhid/
Dusbhid.h92 char *outbuf; /* Output buffer */ member
Dhid-core.c351 memcpy(usbhid->outbuf, raw_report, in hid_submit_out()
862 usbhid->outbuf = usb_alloc_coherent(dev, usbhid->bufsize, GFP_KERNEL, in hid_alloc_buffers()
867 if (!usbhid->inbuf || !usbhid->outbuf || !usbhid->cr || in hid_alloc_buffers()
979 usb_free_coherent(dev, usbhid->bufsize, usbhid->outbuf, usbhid->outbuf_dma); in hid_free_buffers()
1150 usb_fill_int_urb(usbhid->urbout, dev, pipe, usbhid->outbuf, 0, in usbhid_start()
/linux-4.19.296/drivers/media/rc/
Dati_remote.c253 unsigned char *outbuf; member
702 ati_remote->outbuf = usb_alloc_coherent(udev, DATA_BUFSIZE, GFP_ATOMIC, in ati_remote_alloc_buffers()
704 if (!ati_remote->outbuf) in ati_remote_alloc_buffers()
730 ati_remote->outbuf, ati_remote->outbuf_dma); in ati_remote_free_buffers()
800 usb_fill_int_urb(ati_remote->out_urb, udev, pipe, ati_remote->outbuf, in ati_remote_initialize()
/linux-4.19.296/drivers/ntb/test/
Dntb_perf.c151 void __iomem *outbuf; member
911 bnd_dst = peer->outbuf + peer->outbuf_size; in perf_run_test()
912 flt_dst = peer->outbuf; in perf_run_test()
929 if (flt_dst >= bnd_dst || flt_dst < peer->outbuf) { in perf_run_test()
930 flt_dst = peer->outbuf; in perf_run_test()
1197 "\tOut buffer addr 0x%pK\n", peer->outbuf); in perf_dbgfs_read_info()
1388 peer->outbuf = devm_ioremap_wc(&perf->ntb->dev, phys_addr, in perf_setup_peer_mw()
1390 if (!peer->outbuf) in perf_setup_peer_mw()
/linux-4.19.296/drivers/isdn/gigaset/
Dcommon.c54 unsigned char outbuf[80]; in gigaset_dbg_buffer() local
56 size_t space = sizeof outbuf - 1; in gigaset_dbg_buffer()
57 unsigned char *out = outbuf; in gigaset_dbg_buffer()
85 gig_dbg(level, "%s (%u bytes): %s", msg, (unsigned) len, outbuf); in gigaset_dbg_buffer()
/linux-4.19.296/include/rdma/
Dib_verbs.h1539 void __user *outbuf; member
2650 return copy_to_user(udata->outbuf, src, len) ? -EFAULT : 0; in ib_copy_to_udata()