/linux-4.19.296/drivers/isdn/gigaset/ |
D | asyncdata.c | 49 static unsigned cmd_loop(unsigned numbytes, struct inbuf_t *inbuf) in cmd_loop() argument 51 unsigned char *src = inbuf->data + inbuf->head; in cmd_loop() 52 struct cardstate *cs = inbuf->cs; in cmd_loop() 86 if (cs->dle && !(inbuf->inputstate & INS_DLE_command)) in cmd_loop() 87 inbuf->inputstate &= ~INS_command; in cmd_loop() 93 if (inbuf->inputstate & INS_DLE_char) { in cmd_loop() 95 inbuf->inputstate &= ~INS_DLE_char; in cmd_loop() 97 (inbuf->inputstate & INS_DLE_command)) { in cmd_loop() 99 inbuf->inputstate |= INS_DLE_char; in cmd_loop() 121 static unsigned lock_loop(unsigned numbytes, struct inbuf_t *inbuf) in lock_loop() argument [all …]
|
D | common.c | 511 kfree(cs->inbuf); in gigaset_freecs() 549 static void gigaset_inbuf_init(struct inbuf_t *inbuf, struct cardstate *cs) in gigaset_inbuf_init() argument 552 inbuf->head = 0; in gigaset_inbuf_init() 553 inbuf->tail = 0; in gigaset_inbuf_init() 554 inbuf->cs = cs; in gigaset_inbuf_init() 555 inbuf->inputstate = INS_command; in gigaset_inbuf_init() 566 int gigaset_fill_inbuf(struct inbuf_t *inbuf, const unsigned char *src, in gigaset_fill_inbuf() argument 577 tail = inbuf->tail; in gigaset_fill_inbuf() 578 head = inbuf->head; in gigaset_fill_inbuf() 589 dev_err(inbuf->cs->dev, in gigaset_fill_inbuf() [all …]
|
D | isocdata.c | 894 static void cmd_loop(unsigned char *src, int numbytes, struct inbuf_t *inbuf) in cmd_loop() argument 896 struct cardstate *cs = inbuf->cs; in cmd_loop() 941 void gigaset_isoc_input(struct inbuf_t *inbuf) in gigaset_isoc_input() argument 943 struct cardstate *cs = inbuf->cs; in gigaset_isoc_input() 947 head = inbuf->head; in gigaset_isoc_input() 948 while (head != (tail = inbuf->tail)) { in gigaset_isoc_input() 952 src = inbuf->data + head; in gigaset_isoc_input() 959 gigaset_if_receive(inbuf->cs, src, numbytes); in gigaset_isoc_input() 961 cmd_loop(src, numbytes, inbuf); in gigaset_isoc_input() 968 inbuf->head = head; in gigaset_isoc_input()
|
D | ser-gigaset.c | 665 struct inbuf_t *inbuf; in gigaset_tty_receive() local 669 inbuf = cs->inbuf; in gigaset_tty_receive() 670 if (!inbuf) { in gigaset_tty_receive() 676 tail = inbuf->tail; in gigaset_tty_receive() 677 head = inbuf->head; in gigaset_tty_receive() 684 memcpy(inbuf->data + tail, buf, n); in gigaset_tty_receive() 699 memcpy(inbuf->data + tail, buf, count); in gigaset_tty_receive() 704 inbuf->tail = tail; in gigaset_tty_receive()
|
D | gigaset.h | 433 struct inbuf_t *inbuf; member 614 void (*handle_input)(struct inbuf_t *inbuf); 637 void gigaset_m10x_input(struct inbuf_t *inbuf); 648 void gigaset_isoc_input(struct inbuf_t *inbuf); 810 int gigaset_fill_inbuf(struct inbuf_t *inbuf, const unsigned char *src,
|
/linux-4.19.296/lib/ |
D | decompress.c | 58 decompress_fn __init decompress_method(const unsigned char *inbuf, long len, in decompress_method() argument 69 pr_debug("Compressed data magic: %#.2x %#.2x\n", inbuf[0], inbuf[1]); in decompress_method() 72 if (!memcmp(inbuf, cf->magic, 2)) in decompress_method()
|
D | decompress_bunzip2.c | 98 unsigned char *inbuf /*,*outbuf*/; member 129 bd->inbufCount = bd->fill(bd->inbuf, BZIP2_IOBUF_SIZE); in get_bits() 144 bd->inbufBits = (bd->inbufBits << 8)|bd->inbuf[bd->inbufPos++]; in get_bits() 386 (bd->inbufBits << 8)|bd->inbuf[bd->inbufPos++]; in get_next_block() 629 static int INIT start_bunzip(struct bunzip_data **bdp, void *inbuf, long len, in start_bunzip() argument 647 bd->inbuf = inbuf; in start_bunzip() 688 unsigned char *inbuf; in bunzip2() local 698 inbuf = buf; in bunzip2() 700 inbuf = malloc(BZIP2_IOBUF_SIZE); in bunzip2() 701 if (!inbuf) { in bunzip2() [all …]
|
D | decompress_unlzma.c | 555 unsigned char *inbuf; in unlzma() local 561 inbuf = buf; in unlzma() 563 inbuf = malloc(LZMA_IOBUF_SIZE); in unlzma() 564 if (!inbuf) { in unlzma() 578 rc_init(&rc, fill, inbuf, in_len); in unlzma() 664 free(inbuf); in unlzma()
|
/linux-4.19.296/include/linux/decompress/ |
D | generic.h | 5 typedef int (*decompress_fn) (unsigned char *inbuf, long len, 37 decompress_fn decompress_method(const unsigned char *inbuf, long len,
|
D | unlzo.h | 5 int unlzo(unsigned char *inbuf, long len,
|
D | inflate.h | 5 int gunzip(unsigned char *inbuf, long len,
|
D | bunzip2.h | 5 int bunzip2(unsigned char *inbuf, long len,
|
D | unlz4.h | 5 int unlz4(unsigned char *inbuf, long len,
|
/linux-4.19.296/crypto/ |
D | cast6_generic.c | 183 void __cast6_encrypt(struct cast6_ctx *c, u8 *outbuf, const u8 *inbuf) in __cast6_encrypt() argument 185 const __be32 *src = (const __be32 *)inbuf; 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 223 const __be32 *src = (const __be32 *)inbuf; 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()
|
D | tgr192.c | 514 static int tgr192_update(struct shash_desc *desc, const u8 *inbuf, in tgr192_update() argument 524 if (!inbuf) { in tgr192_update() 529 tctx->hash[tctx->count++] = *inbuf++; in tgr192_update() 539 tgr192_transform(tctx, inbuf); in tgr192_update() 543 inbuf += 64; in tgr192_update() 546 tctx->hash[tctx->count++] = *inbuf++; in tgr192_update()
|
D | cast5_generic.c | 310 void __cast5_encrypt(struct cast5_ctx *c, u8 *outbuf, const u8 *inbuf) in __cast5_encrypt() argument 312 const __be32 *src = (const __be32 *)inbuf; 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 369 const __be32 *src = (const __be32 *)inbuf; 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()
|
/linux-4.19.296/include/linux/ |
D | olpc-ec.h | 33 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/ |
D | dir.c | 236 void dlm_copy_master_names(struct dlm_ls *ls, char *inbuf, int inlen, in dlm_copy_master_names() argument 247 r = find_rsb_root(ls, inbuf, inlen); in dlm_copy_master_names() 249 inbuf[inlen - 1] = '\0'; in dlm_copy_master_names() 251 nodeid, inlen, inbuf); in dlm_copy_master_names()
|
D | dir.h | 21 void dlm_copy_master_names(struct dlm_ls *ls, char *inbuf, int inlen,
|
/linux-4.19.296/drivers/iio/dac/ |
D | mcp4725.c | 411 u8 inbuf[4]; in mcp4725_probe() local 485 err = i2c_master_recv(client, inbuf, data->id == MCP4725 ? 3 : 4); in mcp4725_probe() 491 pd = (inbuf[0] >> 1) & 0x3; in mcp4725_probe() 494 data->dac_value = (inbuf[1] << 4) | (inbuf[2] >> 4); in mcp4725_probe() 496 ref = (inbuf[3] >> 3) & 0x3; in mcp4725_probe()
|
D | max5821.c | 178 u8 inbuf[2]; in max5821_get_value() local 197 ret = i2c_master_recv(client, inbuf, 2); in max5821_get_value() 208 *val = ((inbuf[0] & 0x0f) << 6) | (inbuf[1] >> 2); in max5821_get_value()
|
/linux-4.19.296/drivers/s390/char/ |
D | con3215.c | 82 char *inbuf; /* pointer to input buffer */ member 162 ccw->cda = (__u32) __pa(raw->inbuf); in raw3215_mk_read_req() 409 EBCASC(raw->inbuf, count); in raw3215_irq() 410 cchar = ctrlchar_handle(raw->inbuf, count, tty); in raw3215_irq() 423 (strncmp(raw->inbuf+count-2, "\252n", 2) && in raw3215_irq() 424 strncmp(raw->inbuf+count-2, "^n", 2)) ) { in raw3215_irq() 426 raw->inbuf[count] = '\n'; in raw3215_irq() 430 tty_insert_flip_string(&raw->port, raw->inbuf, in raw3215_irq() 665 info->inbuf = kzalloc(RAW3215_INBUF_SIZE, GFP_KERNEL | GFP_DMA); in raw3215_alloc_info() 666 if (!info->buffer || !info->inbuf) { in raw3215_alloc_info() [all …]
|
/linux-4.19.296/drivers/hid/i2c-hid/ |
D | i2c-hid-core.c | 152 u8 *inbuf; /* Input buffer */ member 503 ret = i2c_master_recv(ihid->client, ihid->inbuf, size); in i2c_hid_get_input() 513 ret_size = ihid->inbuf[0] | ihid->inbuf[1] << 8; in i2c_hid_get_input() 530 ihid->inbuf[0] = size & 0xff; in i2c_hid_get_input() 531 ihid->inbuf[1] = size >> 8; in i2c_hid_get_input() 540 i2c_hid_dbg(ihid, "input: %*ph\n", ret_size, ihid->inbuf); in i2c_hid_get_input() 543 hid_input_report(ihid->hid, HID_INPUT_REPORT, ihid->inbuf + 2, in i2c_hid_get_input() 587 kfree(ihid->inbuf); in i2c_hid_free_buffers() 591 ihid->inbuf = NULL; in i2c_hid_free_buffers() 608 ihid->inbuf = kzalloc(report_size, GFP_KERNEL); in i2c_hid_alloc_buffers() [all …]
|
/linux-4.19.296/drivers/s390/block/ |
D | dcssblk.c | 344 dcssblk_shared_store(struct device *dev, struct device_attribute *attr, const char *inbuf, size_t c… in dcssblk_shared_store() argument 350 if ((count > 1) && (inbuf[1] != '\n') && (inbuf[1] != '\0')) in dcssblk_shared_store() 358 if (inbuf[0] == '1') { in dcssblk_shared_store() 376 } else if (inbuf[0] == '0') { in dcssblk_shared_store() 450 dcssblk_save_store(struct device *dev, struct device_attribute *attr, const char *inbuf, size_t cou… in dcssblk_save_store() argument 455 if ((count > 1) && (inbuf[1] != '\n') && (inbuf[1] != '\0')) in dcssblk_save_store() 460 if (inbuf[0] == '1') { in dcssblk_save_store() 482 } else if (inbuf[0] == '0') { in dcssblk_save_store()
|
/linux-4.19.296/drivers/media/rc/ |
D | ati_remote.c | 252 unsigned char *inbuf; member 492 unsigned char *data= ati_remote->inbuf; in ati_remote_input_report() 697 ati_remote->inbuf = usb_alloc_coherent(udev, DATA_BUFSIZE, GFP_ATOMIC, in ati_remote_alloc_buffers() 699 if (!ati_remote->inbuf) in ati_remote_alloc_buffers() 727 ati_remote->inbuf, ati_remote->inbuf_dma); in ati_remote_free_buffers() 789 usb_fill_int_urb(ati_remote->irq_urb, udev, pipe, ati_remote->inbuf, in ati_remote_initialize()
|