Searched refs:indata (Results 1 - 19 of 19) sorted by relevance

/linux-4.1.27/drivers/platform/chrome/
H A Dcros_ec_sysfs.c141 r_ver = (struct ec_response_get_version *)msg.indata; show_ec_version()
156 msg.insize = sizeof(msg.indata); show_ec_version()
165 msg.indata[sizeof(msg.indata) - 1] = '\0'; show_ec_version()
167 "Build info: %s\n", msg.indata); show_ec_version()
181 r_chip = (struct ec_response_get_chip_info *)msg.indata; show_ec_version()
205 r_board = (struct ec_response_board_version *)msg.indata; show_ec_version()
233 resp = (struct ec_response_flash_info *)msg.indata; show_ec_flashinfo()
H A Dcros_ec_dev.c44 .indata = { 0 }, ec_get_version()
60 resp = (struct ec_response_get_version *)msg.indata; ec_get_version()
H A Dcros_ec_lightbar.c124 resp = (struct ec_response_lightbar *)msg.indata; get_lightbar_version()
282 resp = (struct ec_response_lightbar *)msg.indata; sequence_show()
H A Dcros_ec_lpc.c132 msg->indata[i] = inb(EC_LPC_ADDR_HOST_PARAM + i); cros_ec_cmd_xfer_lpc()
133 csum += msg->indata[i]; cros_ec_cmd_xfer_lpc()
/linux-4.1.27/arch/cris/include/uapi/arch-v32/arch/
H A Dcryptocop.h87 unsigned char *indata; member in struct:strcop_crypto_op
88 size_t inlen; /* Total indata length. */
/linux-4.1.27/arch/cris/arch-v32/drivers/
H A Dcryptocop.c615 int rem_length = operation->tfrm_op.indata[*iniov_ix].iov_len - *iniov_offset; create_output_descriptors()
628 cdesc->dma_descr->buf = (char*)virt_to_phys(operation->tfrm_op.indata[*iniov_ix].iov_base + *iniov_offset); create_output_descriptors()
634 if (*iniov_offset >= operation->tfrm_op.indata[*iniov_ix].iov_len) { create_output_descriptors()
638 DEBUG_API(printk("create_output_descriptors: not enough indata in operation.")); create_output_descriptors()
1200 /* Setup DMA out descriptors for the indata. */ cryptocop_setup_dma_list()
2259 DEBUG_API(printk("cryptocop_job_setup: bad indata (use_dmalists)\n")); cryptocop_job_setup()
2492 * can get connected/disconnected on different places in the indata. */ cryptocop_ioctl_process()
2539 if (((oper.indata + oper.inlen) < oper.indata) || ((oper.cipher_outdata + oper.cipher_outlen) < oper.cipher_outdata)){ cryptocop_ioctl_process()
2548 if (!access_ok(VERIFY_READ, oper.indata, oper.inlen)){ cryptocop_ioctl_process()
2574 cop->tfrm_op.indata = NULL; cryptocop_ioctl_process()
2698 noinpages = (((unsigned long int)(oper.indata + prev_ix) & ~PAGE_MASK) + oper.inlen - 1 - prev_ix + ~PAGE_MASK) >> PAGE_SHIFT; cryptocop_ioctl_process()
2724 (unsigned long int)(oper.indata + prev_ix), cryptocop_ioctl_process()
2734 DEBUG_API(printk("cryptocop_ioctl_process: get_user_pages indata\n")); cryptocop_ioctl_process()
2760 cop->tfrm_op.indata = kmalloc((noinpages) * sizeof(struct iovec), GFP_KERNEL); cryptocop_ioctl_process()
2762 if (!cop->tfrm_op.indata || !cop->tfrm_op.outdata) { cryptocop_ioctl_process()
2779 cop->tfrm_op.indata[0].iov_len = PAGE_SIZE - ((unsigned long int)(oper.indata + prev_ix) & ~PAGE_MASK); cryptocop_ioctl_process()
2780 cop->tfrm_op.indata[0].iov_base = (unsigned char*)page_address(inpages[0]) + ((unsigned long int)(oper.indata + prev_ix) & ~PAGE_MASK); cryptocop_ioctl_process()
2781 tmplen -= cop->tfrm_op.indata[0].iov_len; cryptocop_ioctl_process()
2783 cop->tfrm_op.indata[i].iov_len = tmplen < PAGE_SIZE ? tmplen : PAGE_SIZE; cryptocop_ioctl_process()
2784 cop->tfrm_op.indata[i].iov_base = (unsigned char*)page_address(inpages[i]); cryptocop_ioctl_process()
2788 cop->tfrm_op.indata[0].iov_len = oper.inlen - prev_ix; cryptocop_ioctl_process()
2789 cop->tfrm_op.indata[0].iov_base = (unsigned char*)page_address(inpages[0]) + ((unsigned long int)(oper.indata + prev_ix) & ~PAGE_MASK); cryptocop_ioctl_process()
2958 kfree(cop->tfrm_op.indata); cryptocop_ioctl_process()
3247 printk("indata=0x%p\n" print_strcop_crypto_op()
3256 cop->indata, print_strcop_crypto_op()
3305 "indata=0x%p\n" print_cryptocop_operation()
3313 cop->tfrm_op.indata, print_cryptocop_operation()
3362 printk("indata[%d]\n" print_cryptocop_operation()
3366 cop->tfrm_op.indata[i].iov_base, print_cryptocop_operation()
3367 cop->tfrm_op.indata[i].iov_len); print_cryptocop_operation()
/linux-4.1.27/drivers/crypto/ux500/cryp/
H A Dcryp_core.c65 * @indata: Pointer to indata.
67 * @datalen: Length of indata.
79 const u8 *indata; member in struct:cryp_ctx
234 writesl(&device_data->base->din, ctx->indata, count); cryp_interrupt_handler()
236 ctx->indata += count; cryp_interrupt_handler()
651 u32 *indata = (u32 *)ctx->indata; cryp_polling_mode() local
655 writesl(&device_data->base->din, indata, len); cryp_polling_mode()
656 indata += len; cryp_polling_mode()
750 const u8 *indata = ctx->indata; hw_crypt_noxts() local
759 if (unlikely(!IS_ALIGNED((u32)indata, 4))) { hw_crypt_noxts()
761 "0x%08x", __func__, (u32)indata); hw_crypt_noxts()
803 ctx->indata = indata; hw_crypt_noxts()
910 ctx->indata = phys_to_virt(src_paddr); ablk_crypt()
/linux-4.1.27/drivers/md/
H A Ddm-ioctl.c926 unsigned long indata[4]; dev_set_geometry() local
940 x = sscanf(geostr, "%lu %lu %lu %lu%c", indata, dev_set_geometry()
941 indata + 1, indata + 2, indata + 3, &dummy); dev_set_geometry()
948 if (indata[0] > 65535 || indata[1] > 255 || dev_set_geometry()
949 indata[2] > 255 || indata[3] > ULONG_MAX) { dev_set_geometry()
954 geometry.cylinders = indata[0]; dev_set_geometry()
955 geometry.heads = indata[1]; dev_set_geometry()
956 geometry.sectors = indata[2]; dev_set_geometry()
957 geometry.start = indata[3]; dev_set_geometry()
/linux-4.1.27/arch/cris/include/arch-v32/arch/
H A Dcryptocop.h118 struct iovec *indata; member in struct:cryptocop_tfrm_operation
/linux-4.1.27/include/linux/mfd/
H A Dcros_ec.h46 * @indata: Where to put the incoming data from EC
55 uint8_t indata[EC_PROTO2_MAX_PARAM_SIZE]; member in struct:cros_ec_command
/linux-4.1.27/drivers/i2c/algos/
H A Di2c-algo-bit.c211 unsigned char indata = 0; i2c_inb() local
222 indata *= 2; i2c_inb()
224 indata |= 0x01; i2c_inb()
229 return indata; i2c_inb()
/linux-4.1.27/drivers/mfd/
H A Dcros_ec.c99 status_msg.indata; cros_ec_cmd_xfer()
H A Dcros_ec_i2c.c112 msg->indata[i] = in_buf[2 + i]; cros_ec_cmd_xfer_i2c()
H A Dcros_ec_spi.c302 ec_msg->indata[i] = ptr[i + 2]; cros_ec_cmd_xfer_spi()
/linux-4.1.27/drivers/net/ethernet/8390/
H A Dmac8390.c241 unsigned long indata = 0x00000000; mac8390_testio() local
250 word_memcpy_fromcard(&indata, membase, 4); mac8390_testio()
251 if (outdata == indata) mac8390_testio()
/linux-4.1.27/sound/usb/usx2y/
H A Dusb_stream.c96 char *indata = (char *)s + sizeof(*s) + init_urbs() local
106 init_pipe_urbs(sk, use_packsize, sk->inurb, indata, dev, in_pipe); init_urbs()
/linux-4.1.27/drivers/i2c/busses/
H A Di2c-cros-ec-tunnel.c214 result = ec_i2c_parse_response(msg.indata, i2c_msgs, &num); ec_i2c_xfer()
/linux-4.1.27/drivers/input/keyboard/
H A Dcros_ec_keyb.c161 memcpy(kb_state, msg.indata, ckdev->cols); cros_ec_keyb_get_state()
/linux-4.1.27/drivers/crypto/ux500/hash/
H A Dhash_core.c1090 /* Empty message ("") is correct indata */ hash_hw_update()
1125 dev_dbg(device_data->dev, "%s: indata length=%d, bin=%d\n", hash_hw_update()

Completed in 1072 milliseconds