/linux-4.1.27/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 | 695 struct inbuf_t *inbuf; in gigaset_tty_receive() local 699 inbuf = cs->inbuf; in gigaset_tty_receive() 700 if (!inbuf) { in gigaset_tty_receive() 706 tail = inbuf->tail; in gigaset_tty_receive() 707 head = inbuf->head; in gigaset_tty_receive() 714 memcpy(inbuf->data + tail, buf, n); in gigaset_tty_receive() 729 memcpy(inbuf->data + tail, buf, count); in gigaset_tty_receive() 734 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,
|
D | usb-gigaset.c | 348 struct inbuf_t *inbuf = cs->inbuf; in gigaset_read_int_callback() local 366 if (gigaset_fill_inbuf(inbuf, src, numbytes)) { in gigaset_read_int_callback() 368 gigaset_schedule_event(inbuf->cs); in gigaset_read_int_callback()
|
D | ev-layer.c | 1150 cs->inbuf[0].inputstate &= in do_action() 1155 cs->inbuf[0].inputstate = in do_action() 1156 (cs->inbuf[0].inputstate & ~INS_DLE_command) in do_action() 1791 cs->inbuf->inputstate = INS_command; in process_command_flags() 1907 if (cs->inbuf->head != cs->inbuf->tail) { in gigaset_handle_event() 1909 cs->ops->handle_input(cs->inbuf); in gigaset_handle_event()
|
D | bas-gigaset.c | 479 struct inbuf_t *inbuf = urb->context; in read_ctrl_callback() local 480 struct cardstate *cs = inbuf->cs; in read_ctrl_callback() 502 if (gigaset_fill_inbuf(inbuf, ucs->rcvbuf, numbytes)) { in read_ctrl_callback() 585 read_ctrl_callback, cs->inbuf); in atread_submit()
|
/linux-4.1.27/drivers/net/ethernet/sfc/ |
D | mcdi.c | 121 const efx_dword_t *inbuf, size_t inlen) in efx_mcdi_send_request() argument 168 efx->type->mcdi_request(efx, hdr, hdr_len, inbuf, inlen); in efx_mcdi_send_request() 617 const efx_dword_t *inbuf, size_t inlen, in _efx_mcdi_rpc() argument 623 rc = efx_mcdi_rpc_start(efx, cmd, inbuf, inlen); in _efx_mcdi_rpc() 634 const efx_dword_t *inbuf, size_t inlen, in efx_mcdi_rpc() argument 638 return _efx_mcdi_rpc(efx, cmd, inbuf, inlen, outbuf, outlen, in efx_mcdi_rpc() 651 const efx_dword_t *inbuf, size_t inlen, in efx_mcdi_rpc_quiet() argument 655 return _efx_mcdi_rpc(efx, cmd, inbuf, inlen, outbuf, outlen, in efx_mcdi_rpc_quiet() 660 const efx_dword_t *inbuf, size_t inlen) in efx_mcdi_rpc_start() argument 676 efx_mcdi_send_request(efx, cmd, inbuf, inlen); in efx_mcdi_rpc_start() [all …]
|
D | ef10.c | 303 MCDI_DECLARE_BUF(inbuf, MC_CMD_FREE_PIOBUF_IN_LEN); in efx_ef10_free_piobufs() 310 MCDI_SET_DWORD(inbuf, FREE_PIOBUF_IN_PIOBUF_HANDLE, in efx_ef10_free_piobufs() 312 rc = efx_mcdi_rpc(efx, MC_CMD_FREE_PIOBUF, inbuf, sizeof(inbuf), in efx_ef10_free_piobufs() 355 MCDI_DECLARE_BUF(inbuf, in efx_ef10_link_piobufs() 368 MCDI_SET_DWORD(inbuf, LINK_PIOBUF_IN_PIOBUF_HANDLE, in efx_ef10_link_piobufs() 370 MCDI_SET_DWORD(inbuf, LINK_PIOBUF_IN_TXQ_INSTANCE, in efx_ef10_link_piobufs() 373 inbuf, MC_CMD_LINK_PIOBUF_IN_LEN, in efx_ef10_link_piobufs() 409 MCDI_SET_DWORD(inbuf, in efx_ef10_link_piobufs() 412 MCDI_SET_DWORD(inbuf, in efx_ef10_link_piobufs() 416 inbuf, MC_CMD_LINK_PIOBUF_IN_LEN, in efx_ef10_link_piobufs() [all …]
|
D | mcdi_port.c | 81 MCDI_DECLARE_BUF(inbuf, MC_CMD_SET_LINK_IN_LEN); in efx_mcdi_set_link() 86 MCDI_SET_DWORD(inbuf, SET_LINK_IN_CAP, capabilities); in efx_mcdi_set_link() 87 MCDI_SET_DWORD(inbuf, SET_LINK_IN_FLAGS, flags); in efx_mcdi_set_link() 88 MCDI_SET_DWORD(inbuf, SET_LINK_IN_LOOPBACK_MODE, loopback_mode); in efx_mcdi_set_link() 89 MCDI_SET_DWORD(inbuf, SET_LINK_IN_LOOPBACK_SPEED, loopback_speed); in efx_mcdi_set_link() 91 rc = efx_mcdi_rpc(efx, MC_CMD_SET_LINK, inbuf, sizeof(inbuf), in efx_mcdi_set_link() 126 MCDI_DECLARE_BUF(inbuf, MC_CMD_MDIO_READ_IN_LEN); in efx_mcdi_mdio_read() 131 MCDI_SET_DWORD(inbuf, MDIO_READ_IN_BUS, efx->mdio_bus); in efx_mcdi_mdio_read() 132 MCDI_SET_DWORD(inbuf, MDIO_READ_IN_PRTAD, prtad); in efx_mcdi_mdio_read() 133 MCDI_SET_DWORD(inbuf, MDIO_READ_IN_DEVAD, devad); in efx_mcdi_mdio_read() [all …]
|
D | ptp.c | 368 MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_STATUS_LEN); in efx_ptp_update_stats() 388 MCDI_SET_DWORD(inbuf, PTP_IN_OP, MC_CMD_PTP_OP_STATUS); in efx_ptp_update_stats() 389 MCDI_SET_DWORD(inbuf, PTP_IN_PERIPH_ID, 0); in efx_ptp_update_stats() 390 rc = efx_mcdi_rpc(efx, MC_CMD_PTP, inbuf, sizeof(inbuf), in efx_ptp_update_stats() 480 MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_GET_ATTRIBUTES_LEN); in efx_ptp_get_attributes() 491 MCDI_SET_DWORD(inbuf, PTP_IN_OP, MC_CMD_PTP_OP_GET_ATTRIBUTES); in efx_ptp_get_attributes() 492 MCDI_SET_DWORD(inbuf, PTP_IN_PERIPH_ID, 0); in efx_ptp_get_attributes() 493 rc = efx_mcdi_rpc(efx, MC_CMD_PTP, inbuf, sizeof(inbuf), in efx_ptp_get_attributes() 533 MCDI_DECLARE_BUF(inbuf, MC_CMD_PTP_IN_GET_TIMESTAMP_CORRECTIONS_LEN); in efx_ptp_get_timestamp_corrections() 540 MCDI_SET_DWORD(inbuf, PTP_IN_OP, in efx_ptp_get_timestamp_corrections() [all …]
|
D | mcdi_mon.c | 150 MCDI_DECLARE_BUF(inbuf, MC_CMD_READ_SENSORS_EXT_IN_LEN); in efx_mcdi_mon_update() 153 MCDI_SET_QWORD(inbuf, READ_SENSORS_EXT_IN_DMA_ADDR, in efx_mcdi_mon_update() 155 MCDI_SET_DWORD(inbuf, READ_SENSORS_EXT_IN_LENGTH, hwmon->dma_buf.len); in efx_mcdi_mon_update() 158 inbuf, sizeof(inbuf), NULL, 0, NULL); in efx_mcdi_mon_update() 310 MCDI_DECLARE_BUF(inbuf, MC_CMD_SENSOR_INFO_EXT_IN_LEN); in efx_mcdi_mon_probe() 322 MCDI_SET_DWORD(inbuf, SENSOR_INFO_EXT_IN_PAGE, page); in efx_mcdi_mon_probe() 324 rc = efx_mcdi_rpc(efx, MC_CMD_SENSOR_INFO, inbuf, sizeof(inbuf), in efx_mcdi_mon_probe() 384 MCDI_SET_DWORD(inbuf, SENSOR_INFO_EXT_IN_PAGE, in efx_mcdi_mon_probe() 387 inbuf, sizeof(inbuf), in efx_mcdi_mon_probe()
|
D | mcdi.h | 131 int efx_mcdi_rpc(struct efx_nic *efx, unsigned cmd, const efx_dword_t *inbuf, 135 const efx_dword_t *inbuf, size_t inlen, 140 const efx_dword_t *inbuf, size_t inlen); 153 const efx_dword_t *inbuf, size_t inlen, size_t outlen, 157 const efx_dword_t *inbuf, size_t inlen,
|
D | siena_sriov.c | 200 MCDI_DECLARE_BUF(inbuf, MC_CMD_SRIOV_IN_LEN); in efx_siena_sriov_cmd() 206 MCDI_SET_DWORD(inbuf, SRIOV_IN_ENABLE, enable ? 1 : 0); in efx_siena_sriov_cmd() 207 MCDI_SET_DWORD(inbuf, SRIOV_IN_VI_BASE, EFX_VI_BASE); in efx_siena_sriov_cmd() 208 MCDI_SET_DWORD(inbuf, SRIOV_IN_VF_COUNT, efx->vf_count); in efx_siena_sriov_cmd() 210 rc = efx_mcdi_rpc(efx, MC_CMD_SRIOV, inbuf, MC_CMD_SRIOV_IN_LEN, in efx_siena_sriov_cmd() 245 MCDI_DECLARE_BUF(inbuf, MCDI_CTL_SDU_LEN_MAX_V1); in efx_siena_sriov_memcpy() 259 record = MCDI_ARRAY_STRUCT_PTR(inbuf, MEMCPY_IN_RECORD, index); in efx_siena_sriov_memcpy() 278 memcpy(_MCDI_PTR(inbuf, used), req->from_buf, in efx_siena_sriov_memcpy() 292 rc = efx_mcdi_rpc(efx, MC_CMD_MEMCPY, inbuf, used, NULL, 0, NULL); in efx_siena_sriov_memcpy() 685 MCDI_DECLARE_BUF(inbuf, MC_CMD_FLUSH_RX_QUEUES_IN_LENMAX); in efx_vfdi_fini_all_queues() [all …]
|
D | siena.c | 589 MCDI_DECLARE_BUF(inbuf, MC_CMD_SET_MCAST_HASH_IN_LEN); in siena_mac_reconfigure() 604 memcpy(MCDI_PTR(inbuf, SET_MCAST_HASH_IN_HASH0), in siena_mac_reconfigure() 607 inbuf, sizeof(inbuf), NULL, 0, NULL); in siena_mac_reconfigure()
|
/linux-4.1.27/drivers/crypto/nx/ |
D | nx-842.c | 338 unsigned long inbuf, outbuf, padding; in nx842_compress() local 352 inbuf = (unsigned long)in; in nx842_compress() 353 if (!IS_ALIGNED(inbuf, PAGE_SIZE) || inlen != PAGE_SIZE) in nx842_compress() 413 op.in = nx842_get_pa((void *)inbuf); in nx842_compress() 418 nx842_build_scatterlist(inbuf, max_sync_size, &slin); in nx842_compress() 462 memcpy((void *)outbuf, (void *)inbuf, in nx842_compress() 480 inbuf += max_sync_size; in nx842_compress() 538 unsigned long inbuf, outbuf; in nx842_decompress() local 562 inbuf = (unsigned long)in + hdr->offset; in nx842_decompress() 563 if (likely(!IS_ALIGNED(inbuf, IO_BUFFER_ALIGN))) { in nx842_decompress() [all …]
|
/linux-4.1.27/drivers/infiniband/core/ |
D | ucm.c | 386 const char __user *inbuf, in ib_ucm_event() argument 397 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) in ib_ucm_event() 471 const char __user *inbuf, in ib_ucm_create_id() argument 482 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) in ib_ucm_create_id() 518 const char __user *inbuf, in ib_ucm_destroy_id() argument 529 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) in ib_ucm_destroy_id() 563 const char __user *inbuf, in ib_ucm_attr_id() argument 574 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) in ib_ucm_attr_id() 595 const char __user *inbuf, in ib_ucm_init_qp_attr() argument 607 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) in ib_ucm_init_qp_attr() [all …]
|
D | ucma.c | 292 static ssize_t ucma_get_event(struct ucma_file *file, const char __user *inbuf, in ucma_get_event() argument 303 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) in ucma_get_event() 368 static ssize_t ucma_create_id(struct ucma_file *file, const char __user *inbuf, in ucma_create_id() argument 380 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) in ucma_create_id() 481 static ssize_t ucma_destroy_id(struct ucma_file *file, const char __user *inbuf, in ucma_destroy_id() argument 492 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) in ucma_destroy_id() 515 static ssize_t ucma_bind_ip(struct ucma_file *file, const char __user *inbuf, in ucma_bind_ip() argument 522 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) in ucma_bind_ip() 534 static ssize_t ucma_bind(struct ucma_file *file, const char __user *inbuf, in ucma_bind() argument 542 if (copy_from_user(&cmd, inbuf, sizeof(cmd))) in ucma_bind() [all …]
|
D | uverbs.h | 52 (udata)->inbuf = (const void __user *) (ibuf); \ 60 (udata)->inbuf = (ilen) ? (const void __user *) (ibuf) : NULL; \
|
D | uverbs_cmd.c | 2810 ucore->inbuf += sizeof(cmd); in ib_uverbs_ex_create_flow()
|
/linux-4.1.27/lib/ |
D | decompress.c | 57 decompress_fn __init decompress_method(const unsigned char *inbuf, long len, in decompress_method() argument 65 pr_debug("Compressed data magic: %#.2x %#.2x\n", inbuf[0], inbuf[1]); in decompress_method() 68 if (!memcmp(inbuf, cf->magic, 2)) in decompress_method()
|
D | decompress_bunzip2.c | 97 unsigned char *inbuf /*,*outbuf*/; member 128 bd->inbufCount = bd->fill(bd->inbuf, BZIP2_IOBUF_SIZE); in get_bits() 143 bd->inbufBits = (bd->inbufBits << 8)|bd->inbuf[bd->inbufPos++]; in get_bits() 385 (bd->inbufBits << 8)|bd->inbuf[bd->inbufPos++]; in get_next_block() 628 static int INIT start_bunzip(struct bunzip_data **bdp, void *inbuf, long len, in start_bunzip() argument 646 bd->inbuf = inbuf; in start_bunzip() 687 unsigned char *inbuf; in bunzip2() local 697 inbuf = buf; in bunzip2() 699 inbuf = malloc(BZIP2_IOBUF_SIZE); in bunzip2() 700 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.1.27/drivers/tty/hvc/ |
D | hvsi_lib.c | 69 struct hvsi_control *pkt = (struct hvsi_control *)pv->inbuf; in hvsi_got_control() 85 struct hvsi_query *pkt = (struct hvsi_query *)pv->inbuf; in hvsi_got_query() 110 (struct hvsi_query_response *)pv->inbuf; in hvsi_got_response() 127 if (pv->inbuf[0] < 0xfc) { in hvsi_check_packet() 131 type = pv->inbuf[0]; in hvsi_check_packet() 132 len = pv->inbuf[1]; in hvsi_check_packet() 160 memmove(pv->inbuf, &pv->inbuf[len], pv->inbuf_len); in hvsi_check_packet() 169 &pv->inbuf[pv->inbuf_len], in hvsi_get_packet() 202 memcpy(&buf[read], &pv->inbuf[pv->inbuf_cur], l); in hvsilib_get_chars() 214 memmove(pv->inbuf, &pv->inbuf[pv->inbuf_cur], in hvsilib_get_chars()
|
D | hvsi.c | 82 uint8_t inbuf[HVSI_MAX_PACKET + HVSI_MAX_READ]; member 187 if (read_to != hp->inbuf) in compact_inbuf() 188 memmove(hp->inbuf, read_to, remaining); in compact_inbuf() 190 hp->inbuf_end = hp->inbuf + remaining; in compact_inbuf() 402 uint8_t *packet = hp->inbuf; in hvsi_load_chunk() 787 hp->inbuf_end = hp->inbuf; /* discard remaining partial packets */ in hvsi_close() 1203 hp->inbuf_end = hp->inbuf; in hvsi_console_init()
|
/linux-4.1.27/arch/arm/vdso/ |
D | vdsomunge.c | 135 const void *inbuf; in main() local 158 inbuf = mmap(NULL, stat.st_size, PROT_READ, MAP_PRIVATE, infd, 0); in main() 159 if (inbuf == MAP_FAILED) in main() 164 inhdr = inbuf; in main() 206 memcpy(outbuf, inbuf, stat.st_size); in main()
|
/linux-4.1.27/arch/alpha/boot/ |
D | misc.c | 44 static uch *inbuf; /* input buffer */ variable 60 #define get_byte() (inptr < insize ? inbuf[inptr++] : fill_inbuf()) 111 inbuf = input_data; in fill_inbuf() 115 return inbuf[0]; in fill_inbuf()
|
/linux-4.1.27/arch/nios2/boot/compressed/ |
D | misc.c | 48 static uch *inbuf; /* input buffer */ variable 65 #define get_byte() (inptr < insize ? inbuf[inptr++] : fill_inbuf()) 136 inbuf = input_data; in fill_inbuf() 139 return inbuf[0]; in fill_inbuf()
|
/linux-4.1.27/include/linux/decompress/ |
D | generic.h | 4 typedef int (*decompress_fn) (unsigned char *inbuf, long len, 36 decompress_fn decompress_method(const unsigned char *inbuf, long len,
|
D | unlzo.h | 4 int unlzo(unsigned char *inbuf, long len,
|
D | inflate.h | 4 int gunzip(unsigned char *inbuf, long len,
|
D | unlz4.h | 4 int unlz4(unsigned char *inbuf, long len,
|
D | bunzip2.h | 4 int bunzip2(unsigned char *inbuf, long len,
|
/linux-4.1.27/crypto/ |
D | cast6_generic.c | 184 void __cast6_encrypt(struct cast6_ctx *c, u8 *outbuf, const u8 *inbuf) in __cast6_encrypt() argument 186 const __be32 *src = (const __be32 *)inbuf; in __cast6_encrypt() 217 static void cast6_encrypt(struct crypto_tfm *tfm, u8 *outbuf, const u8 *inbuf) in cast6_encrypt() argument 219 __cast6_encrypt(crypto_tfm_ctx(tfm), outbuf, inbuf); in cast6_encrypt() 222 void __cast6_decrypt(struct cast6_ctx *c, u8 *outbuf, const u8 *inbuf) in __cast6_decrypt() argument 224 const __be32 *src = (const __be32 *)inbuf; in __cast6_decrypt() 255 static void cast6_decrypt(struct crypto_tfm *tfm, u8 *outbuf, const u8 *inbuf) in cast6_decrypt() argument 257 __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 | 311 void __cast5_encrypt(struct cast5_ctx *c, u8 *outbuf, const u8 *inbuf) in __cast5_encrypt() argument 313 const __be32 *src = (const __be32 *)inbuf; in __cast5_encrypt() 363 static void cast5_encrypt(struct crypto_tfm *tfm, u8 *outbuf, const u8 *inbuf) in cast5_encrypt() argument 365 __cast5_encrypt(crypto_tfm_ctx(tfm), outbuf, inbuf); in cast5_encrypt() 368 void __cast5_decrypt(struct cast5_ctx *c, u8 *outbuf, const u8 *inbuf) in __cast5_decrypt() argument 370 const __be32 *src = (const __be32 *)inbuf; in __cast5_decrypt() 407 static void cast5_decrypt(struct crypto_tfm *tfm, u8 *outbuf, const u8 *inbuf) in cast5_decrypt() argument 409 __cast5_decrypt(crypto_tfm_ctx(tfm), outbuf, inbuf); in cast5_decrypt()
|
/linux-4.1.27/scripts/dtc/ |
D | flattree.c | 580 struct inbuf { struct 584 static void inbuf_init(struct inbuf *inb, void *base, void *limit) in inbuf_init() argument 591 static void flat_read_chunk(struct inbuf *inb, void *p, int len) in flat_read_chunk() 601 static uint32_t flat_read_word(struct inbuf *inb) in flat_read_word() 612 static void flat_realign(struct inbuf *inb, int align) in flat_realign() 621 static char *flat_read_string(struct inbuf *inb) in flat_read_string() 642 static struct data flat_read_data(struct inbuf *inb, int len) in flat_read_data() 659 static char *flat_read_stringtable(struct inbuf *inb, int offset) in flat_read_stringtable() 678 static struct property *flat_read_property(struct inbuf *dtbuf, in flat_read_property() 679 struct inbuf *strbuf, int flags) in flat_read_property() [all …]
|
/linux-4.1.27/include/linux/ |
D | olpc-ec.h | 32 extern int olpc_ec_cmd(u8 cmd, u8 *inbuf, size_t inlen, u8 *outbuf, 37 static inline int olpc_ec_cmd(u8 cmd, u8 *inbuf, size_t inlen, u8 *outbuf, in olpc_ec_cmd() argument
|
/linux-4.1.27/drivers/iio/dac/ |
D | mcp4725.c | 286 u8 inbuf[3]; in mcp4725_probe() local 312 err = i2c_master_recv(client, inbuf, 3); in mcp4725_probe() 317 pd = (inbuf[0] >> 1) & 0x3; in mcp4725_probe() 320 data->dac_value = (inbuf[1] << 4) | (inbuf[2] >> 4); 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.1.27/drivers/platform/olpc/ |
D | olpc-ec.c | 22 u8 *inbuf, *outbuf; member 86 desc->err = ec_driver->ec_cmd(desc->cmd, desc->inbuf, desc->inlen, in olpc_ec_worker() 115 int olpc_ec_cmd(u8 cmd, u8 *inbuf, size_t inlen, u8 *outbuf, size_t outlen) in olpc_ec_cmd() argument 134 desc.inbuf = inbuf; in olpc_ec_cmd()
|
/linux-4.1.27/drivers/media/dvb-core/ |
D | dvb_filter.c | 399 u8 *inbuf = *bufp; 400 u8 *buf = inbuf; 410 if ((inbuf[6] & 0xc0) == 0x80){ /* mpeg2 */ 414 buf = inbuf + 9 + inbuf[8]; 416 for (buf = inbuf + 6; *buf == 0xff; buf++) 417 if (buf == inbuf + 6 + 16) {
|
/linux-4.1.27/drivers/hid/i2c-hid/ |
D | i2c-hid.c | 140 char *inbuf; /* Input buffer */ member 385 ret = i2c_master_recv(ihid->client, ihid->inbuf, size); in i2c_hid_get_input() 395 ret_size = ihid->inbuf[0] | ihid->inbuf[1] << 8; in i2c_hid_get_input() 410 i2c_hid_dbg(ihid, "input: %*ph\n", ret_size, ihid->inbuf); in i2c_hid_get_input() 413 hid_input_report(ihid->hid, HID_INPUT_REPORT, ihid->inbuf + 2, in i2c_hid_get_input() 475 u8 *inbuf = kzalloc(ihid->bufsize, GFP_KERNEL); in i2c_hid_init_reports() local 477 if (!inbuf) { in i2c_hid_init_reports() 490 i2c_hid_init_report(report, inbuf, ihid->bufsize); in i2c_hid_init_reports() 494 kfree(inbuf); in i2c_hid_init_reports() 517 kfree(ihid->inbuf); in i2c_hid_free_buffers() [all …]
|
/linux-4.1.27/arch/x86/platform/olpc/ |
D | olpc.c | 116 static int olpc_xo1_ec_cmd(u8 cmd, u8 *inbuf, size_t inlen, u8 *outbuf, in olpc_xo1_ec_cmd() argument 157 if (inbuf && inlen) { in olpc_xo1_ec_cmd() 160 pr_devel("olpc-ec: sending cmd arg 0x%x\n", inbuf[i]); in olpc_xo1_ec_cmd() 161 outb(inbuf[i], 0x68); in olpc_xo1_ec_cmd()
|
/linux-4.1.27/arch/cris/boot/compressed/ |
D | misc.c | 54 static uch *inbuf; /* input buffer */ variable 73 #define get_byte() (inbuf[inptr++]) 327 inbuf = input_data; in decompress_kernel() 333 inbuf = input_data; in decompress_kernel()
|
/linux-4.1.27/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.1.27/drivers/staging/comedi/drivers/ |
D | usbduxfast.c | 160 int8_t *inbuf; member 324 devpriv->inbuf, SIZEINBUF, in usbduxfast_submit_urb() 854 devpriv->inbuf, SIZEINBUF, in usbduxfast_ai_insn_read() 865 devpriv->inbuf, SIZEINBUF, in usbduxfast_ai_insn_read() 879 data[i] = ((uint16_t *) (devpriv->inbuf))[j]; in usbduxfast_ai_insn_read() 1032 devpriv->inbuf = kmalloc(SIZEINBUF, GFP_KERNEL); in usbduxfast_auto_attach() 1033 if (!devpriv->inbuf) in usbduxfast_auto_attach() 1060 kfree(devpriv->inbuf); in usbduxfast_detach() 1061 devpriv->inbuf = NULL; in usbduxfast_detach()
|
/linux-4.1.27/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() 410 EBCASC(raw->inbuf, count); in raw3215_irq() 411 cchar = ctrlchar_handle(raw->inbuf, count, tty); in raw3215_irq() 424 (strncmp(raw->inbuf+count-2, "\252n", 2) && in raw3215_irq() 425 strncmp(raw->inbuf+count-2, "^n", 2)) ) { in raw3215_irq() 427 raw->inbuf[count] = '\n'; in raw3215_irq() 431 tty_insert_flip_string(&raw->port, raw->inbuf, in raw3215_irq() 668 info->inbuf = kzalloc(RAW3215_INBUF_SIZE, GFP_KERNEL | GFP_DMA); in raw3215_alloc_info() 669 if (!info->buffer || !info->inbuf) { in raw3215_alloc_info() [all …]
|
/linux-4.1.27/arch/mn10300/boot/compressed/ |
D | misc.c | 88 static uch *inbuf; /* input buffer */ variable 128 unsigned char ch = inptr < insize ? inbuf[inptr++] : fill_inbuf(); in get_byte() 249 inbuf = input_data; in fill_inbuf() 252 return inbuf[0]; in fill_inbuf()
|
/linux-4.1.27/drivers/s390/block/ |
D | dcssblk.c | 321 dcssblk_shared_store(struct device *dev, struct device_attribute *attr, const char *inbuf, size_t c… in dcssblk_shared_store() argument 327 if ((count > 1) && (inbuf[1] != '\n') && (inbuf[1] != '\0')) in dcssblk_shared_store() 335 if (inbuf[0] == '1') { in dcssblk_shared_store() 353 } else if (inbuf[0] == '0') { in dcssblk_shared_store() 425 dcssblk_save_store(struct device *dev, struct device_attribute *attr, const char *inbuf, size_t cou… in dcssblk_save_store() argument 430 if ((count > 1) && (inbuf[1] != '\n') && (inbuf[1] != '\0')) in dcssblk_save_store() 435 if (inbuf[0] == '1') { in dcssblk_save_store() 457 } else if (inbuf[0] == '0') { in dcssblk_save_store()
|
/linux-4.1.27/drivers/sbus/char/ |
D | uctrl.c | 93 u8 *inbuf; member 282 byte = (txn->inbuf[bytecnt] << 8); in uctrl_do_txn() 310 txn.inbuf = NULL; in uctrl_get_event_status() 330 txn.inbuf = NULL; in uctrl_get_external_status()
|
/linux-4.1.27/drivers/ide/ |
D | ide-taskfile.c | 474 u8 *inbuf = NULL; in ide_taskfile_ioctl() local 510 inbuf = kzalloc(taskin, GFP_KERNEL); in ide_taskfile_ioctl() 511 if (inbuf == NULL) { in ide_taskfile_ioctl() 515 if (copy_from_user(inbuf, buf + intotal, taskin)) { in ide_taskfile_ioctl() 614 data_buf = inbuf; in ide_taskfile_ioctl() 662 if (copy_to_user(buf + intotal, inbuf, taskin)) { in ide_taskfile_ioctl() 670 kfree(inbuf); in ide_taskfile_ioctl()
|
/linux-4.1.27/drivers/media/rc/ |
D | ati_remote.c | 256 unsigned char *inbuf; member 489 unsigned char *data= ati_remote->inbuf; in ati_remote_input_report() 694 ati_remote->inbuf = usb_alloc_coherent(udev, DATA_BUFSIZE, GFP_ATOMIC, in ati_remote_alloc_buffers() 696 if (!ati_remote->inbuf) in ati_remote_alloc_buffers() 724 ati_remote->inbuf, ati_remote->inbuf_dma); in ati_remote_free_buffers() 787 usb_fill_int_urb(ati_remote->irq_urb, udev, pipe, ati_remote->inbuf, in ati_remote_initialize()
|
/linux-4.1.27/drivers/hid/usbhid/ |
D | usbhid.h | 71 char *inbuf; /* Input buffer */ member
|
D | hid-core.c | 839 usbhid->inbuf = usb_alloc_coherent(dev, usbhid->bufsize, GFP_KERNEL, in hid_alloc_buffers() 846 if (!usbhid->inbuf || !usbhid->outbuf || !usbhid->cr || in hid_alloc_buffers() 957 usb_free_coherent(dev, usbhid->bufsize, usbhid->inbuf, usbhid->inbuf_dma); in hid_free_buffers() 1095 usb_fill_int_urb(usbhid->urbin, dev, pipe, usbhid->inbuf, insize, in usbhid_start()
|
/linux-4.1.27/drivers/char/ |
D | virtio_console.c | 188 struct port_buffer *inbuf; member 485 if (port->inbuf) in get_inbuf() 486 return port->inbuf; in get_inbuf() 536 port->inbuf = NULL; in discard_port_data() 551 port->inbuf = get_inbuf(port); in port_has_data() 552 if (port->inbuf) in port_has_data() 682 buf = port->inbuf; in fill_readbuf() 704 port->inbuf = NULL; in fill_readbuf() 1410 port->inbuf = NULL; in add_port() 1794 port->inbuf = get_inbuf(port); in in_intr()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | hvsi.h | 64 unsigned char inbuf[HVSI_INBUF_SIZE]; member
|
/linux-4.1.27/drivers/usb/class/ |
D | cdc-wdm.c | 74 u8 *inbuf; /* buffer for response */ member 198 memmove(desc->ubuf + desc->length, desc->inbuf, length); in wdm_in_callback() 320 kfree(desc->inbuf); in cleanup() 808 desc->inbuf = kmalloc(desc->wMaxCommand, GFP_KERNEL); in wdm_create() 809 if (!desc->inbuf) in wdm_create() 835 desc->inbuf, in wdm_create()
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
D | port.c | 501 u8 *inbuf, *outbuf; in mlx4_get_port_ib_caps() local 514 inbuf = inmailbox->buf; in mlx4_get_port_ib_caps() 516 inbuf[0] = 1; in mlx4_get_port_ib_caps() 517 inbuf[1] = 1; in mlx4_get_port_ib_caps() 518 inbuf[2] = 1; in mlx4_get_port_ib_caps() 519 inbuf[3] = 1; in mlx4_get_port_ib_caps() 520 *(__be16 *) (&inbuf[16]) = cpu_to_be16(0x0015); in mlx4_get_port_ib_caps() 521 *(__be32 *) (&inbuf[20]) = cpu_to_be32(port); in mlx4_get_port_ib_caps()
|
D | fw.c | 2661 struct mlx4_access_reg *inbuf, *outbuf; in mlx4_ACCESS_REG() local 2674 inbuf = inbox->buf; in mlx4_ACCESS_REG() 2677 inbuf->constant1 = cpu_to_be16(0x1<<11 | 0x4); in mlx4_ACCESS_REG() 2678 inbuf->constant2 = 0x1; in mlx4_ACCESS_REG() 2679 inbuf->reg_id = cpu_to_be16(reg_id); in mlx4_ACCESS_REG() 2680 inbuf->method = method & MLX4_ACCESS_REG_METHOD_MASK; in mlx4_ACCESS_REG() 2682 reg_len = min(reg_len, (u16)(sizeof(inbuf->reg_data))); in mlx4_ACCESS_REG() 2683 inbuf->len_const = in mlx4_ACCESS_REG() 2687 memcpy(inbuf->reg_data, reg_data, reg_len); in mlx4_ACCESS_REG() 2740 struct mlx4_access_reg *inbuf = inbox->buf; in mlx4_ACCESS_REG_wrapper() local [all …]
|
/linux-4.1.27/include/linux/sunrpc/ |
D | gss_api.h | 69 struct xdr_buf *inbuf);
|
D | gss_krb5.h | 277 gss_decrypt_xdr_buf(struct crypto_blkcipher *tfm, struct xdr_buf *inbuf,
|
/linux-4.1.27/drivers/staging/wlan-ng/ |
D | hfa384x_usb.c | 815 usbctlx_get_status(&ctlx->inbuf.cmdresp, &cmdresult); in hfa384x_cb_status() 851 usbctlx_get_rridresult(&ctlx->inbuf.rridresp, in hfa384x_cb_rrid() 1389 inbuf. in hfa384x_docmd() 1476 &ctlx->inbuf.rridresp, in hfa384x_dorrid() 1562 &ctlx->inbuf.wridresp, in hfa384x_dowrid() 1653 &ctlx->inbuf.rmemresp, data, in hfa384x_dormem() 1744 &ctlx->inbuf.wmemresp, in hfa384x_dowmem() 3357 memcpy(&ctlx->inbuf, usbin, sizeof(ctlx->inbuf)); in hfa384x_usbin_ctlx()
|
D | hfa384x.h | 1164 hfa384x_usbin_t inbuf; /* pkt buf for IN(a copy) */ member
|
/linux-4.1.27/drivers/scsi/ |
D | hptiop.h | 345 void *inbuf; member
|
D | advansys.c | 7026 DvcGetQinfo(PortAddr iop_base, ushort s_addr, uchar *inbuf, int words) in DvcGetQinfo() argument 7037 inbuf[i] = word & 0xff; in DvcGetQinfo() 7038 inbuf[i + 1] = (word >> 8) & 0xff; in DvcGetQinfo() 7040 ASC_DBG_PRT_HEX(2, "DvcGetQinfo", inbuf, 2 * words); in DvcGetQinfo()
|
/linux-4.1.27/Documentation/ioctl/ |
D | hdio.txt | 538 u8 inbuf[INPUT_SIZE]; 542 task.req_task.in_size = sizeof(task.inbuf); 559 inbuf buffer of data to be received from disk (see [1]) 568 inbuf buffer of data to be received from disk
|
/linux-4.1.27/drivers/net/wan/ |
D | sdla.c | 430 void *inbuf, short inlen, void *outbuf, short *outlen) in sdla_cmd() argument 453 if (inbuf) in sdla_cmd() 454 memcpy(cmd_buf->data, inbuf, inlen); in sdla_cmd()
|
/linux-4.1.27/drivers/block/mtip32xx/ |
D | mtip32xx.c | 2017 u8 *inbuf = NULL; in exec_drive_taskfile() local 2062 inbuf = kzalloc(taskin, GFP_KERNEL); in exec_drive_taskfile() 2063 if (inbuf == NULL) { in exec_drive_taskfile() 2068 if (copy_from_user(inbuf, buf + intotal, taskin)) { in exec_drive_taskfile() 2073 inbuf, in exec_drive_taskfile() 2239 if (copy_to_user(buf + intotal, inbuf, taskin)) { in exec_drive_taskfile() 2252 kfree(inbuf); in exec_drive_taskfile()
|
/linux-4.1.27/include/rdma/ |
D | ib_verbs.h | 1189 const void __user *inbuf; member 1705 return copy_from_user(dest, udata->inbuf, len) ? -EFAULT : 0; in ib_copy_from_udata()
|