Home
last modified time | relevance | path

Searched refs:in_buffer (Results 1 – 21 of 21) sorted by relevance

/openbmc/linux/drivers/input/misc/
H A Dkeyspan_remote.c113 unsigned char *in_buffer; member
132 snprintf(codes + i * 3, 4, "%02x ", dev->in_buffer[i]); in keyspan_print()
191 for (i = 0; i < RECV_SIZE && remote->in_buffer[i] == GAP; ++i); in keyspan_check_data()
194 memcpy(remote->data.buffer, remote->in_buffer, RECV_SIZE); in keyspan_check_data()
208 memcpy(remote->data.buffer + remote->data.len, remote->in_buffer, RECV_SIZE); in keyspan_check_data()
245 memcpy(remote->data.buffer + remote->data.len, remote->in_buffer, RECV_SIZE); in keyspan_check_data()
469 remote->in_buffer = usb_alloc_coherent(udev, RECV_SIZE, GFP_KERNEL, &remote->in_dma); in keyspan_probe()
470 if (!remote->in_buffer) { in keyspan_probe()
532 remote->in_buffer, RECV_SIZE, keyspan_irq_recv, remote, in keyspan_probe()
548 fail2: usb_free_coherent(udev, RECV_SIZE, remote->in_buffer, remote->in_dma); in keyspan_probe()
[all …]
/openbmc/linux/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptvf_reqmgr.c188 info->in_buffer = (u8 *)info + info_len; in info_create()
190 ((u16 *)info->in_buffer)[0] = req->out_cnt; in info_create()
191 ((u16 *)info->in_buffer)[1] = req->in_cnt; in info_create()
192 ((u16 *)info->in_buffer)[2] = 0; in info_create()
193 ((u16 *)info->in_buffer)[3] = 0; in info_create()
194 cpu_to_be64s((u64 *)info->in_buffer); in info_create()
198 &info->in_buffer[8])) { in info_create()
204 &info->in_buffer[8 + g_sz_bytes])) { in info_create()
210 info->dptr_baddr = dma_map_single(&pdev->dev, info->in_buffer, in info_create()
220 info->completion_addr = info->in_buffer + align_dlen; in info_create()
[all …]
H A Dotx2_cpt_reqmgr.h139 u8 *in_buffer; member
/openbmc/u-boot/test/dm/
H A Dpmic.c62 uint8_t out_buffer, in_buffer; in dm_test_power_pmic_io() local
79 ut_assertok(pmic_read(dev, i, &in_buffer, 1)); in dm_test_power_pmic_io()
80 ut_asserteq(out_buffer, in_buffer); in dm_test_power_pmic_io()
/openbmc/linux/drivers/acpi/acpica/
H A Drsxface.c249 struct acpi_buffer *in_buffer) in ACPI_EXPORT_SYMBOL()
258 if ((!in_buffer) || (!in_buffer->pointer) || (!in_buffer->length)) { in ACPI_EXPORT_SYMBOL()
264 status = acpi_rs_validate_parameters(device_handle, in_buffer, &node); in ACPI_EXPORT_SYMBOL()
269 status = acpi_rs_set_srs_method_data(node, in_buffer); in ACPI_EXPORT_SYMBOL()
H A Dutxface.c451 acpi_decode_pld_buffer(u8 *in_buffer, in ACPI_EXPORT_SYMBOL()
455 u32 *buffer = ACPI_CAST_PTR(u32, in_buffer); in ACPI_EXPORT_SYMBOL()
460 if (!in_buffer || !return_buffer in ACPI_EXPORT_SYMBOL()
H A Drsutils.c692 struct acpi_buffer *in_buffer) in acpi_rs_set_srs_method_data() argument
721 status = acpi_rs_create_aml_resources(in_buffer, &buffer); in acpi_rs_set_srs_method_data()
/openbmc/linux/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf_reqmgr.c203 info->in_buffer = (u8 *)info + info_len; in setup_sgio_list()
205 ((__be16 *)info->in_buffer)[0] = cpu_to_be16(req->outcnt); in setup_sgio_list()
206 ((__be16 *)info->in_buffer)[1] = cpu_to_be16(req->incnt); in setup_sgio_list()
207 ((u16 *)info->in_buffer)[2] = 0; in setup_sgio_list()
208 ((u16 *)info->in_buffer)[3] = 0; in setup_sgio_list()
212 &info->in_buffer[8])) { in setup_sgio_list()
218 &info->in_buffer[8 + g_sz_bytes])) { in setup_sgio_list()
224 info->dptr_baddr = dma_map_single(&pdev->dev, (void *)info->in_buffer, in setup_sgio_list()
234 info->completion_addr = (u64 *)(info->in_buffer + align_dlen); in setup_sgio_list()
382 print_hex_dump_debug("", 0, 16, 1, info->in_buffer, in process_request()
H A Dotx_cptvf_reqmgr.h180 u8 *in_buffer; member
/openbmc/linux/drivers/crypto/cavium/cpt/
H A Dcptvf_reqmanager.c171 info->in_buffer = kzalloc(info->dlen, req->may_sleep ? GFP_KERNEL : GFP_ATOMIC); in setup_sgio_list()
172 if (!info->in_buffer) { in setup_sgio_list()
177 ((__be16 *)info->in_buffer)[0] = cpu_to_be16(req->outcnt); in setup_sgio_list()
178 ((__be16 *)info->in_buffer)[1] = cpu_to_be16(req->incnt); in setup_sgio_list()
179 ((__be16 *)info->in_buffer)[2] = 0; in setup_sgio_list()
180 ((__be16 *)info->in_buffer)[3] = 0; in setup_sgio_list()
182 memcpy(&info->in_buffer[8], info->gather_components, in setup_sgio_list()
184 memcpy(&info->in_buffer[8 + g_sz_bytes], in setup_sgio_list()
188 (void *)info->in_buffer, in setup_sgio_list()
307 kfree_sensitive(info->in_buffer); in do_request_cleanup()
H A Drequest_manager.h100 u8 *in_buffer; member
/openbmc/linux/drivers/base/firmware_loader/
H A Dmain.c311 size_t in_size, const void *in_buffer) in fw_decompress_zstd() argument
324 if (zstd_get_frame_header(&params, in_buffer, in_size) || in fw_decompress_zstd()
349 len = zstd_decompress_dctx(ctx, out_buf, out_size, in_buffer, in_size); in fw_decompress_zstd()
386 size_t in_size, const void *in_buffer) in fw_decompress_xz_single() argument
397 xz_buf.in = in_buffer; in fw_decompress_xz_single()
412 size_t in_size, const void *in_buffer) in fw_decompress_xz_pages() argument
425 xz_buf.in = in_buffer; in fw_decompress_xz_pages()
459 size_t in_size, const void *in_buffer) in fw_decompress_xz() argument
463 return fw_decompress_xz_single(dev, fw_priv, in_size, in_buffer); in fw_decompress_xz()
465 return fw_decompress_xz_pages(dev, fw_priv, in_size, in_buffer); in fw_decompress_xz()
[all …]
/openbmc/linux/drivers/usb/misc/
H A Dyurex.c404 char in_buffer[20]; in yurex_read() local
416 len = snprintf(in_buffer, 20, "%lld\n", dev->bbu); in yurex_read()
420 if (WARN_ON_ONCE(len >= sizeof(in_buffer))) in yurex_read()
423 return simple_read_from_buffer(buffer, count, ppos, in_buffer, len); in yurex_read()
/openbmc/linux/drivers/usb/serial/
H A Dusb-wwan.h46 u8 *in_buffer[N_IN_URB]; member
H A Dusb_wwan.c462 portdata->in_buffer[i] = buffer; in usb_wwan_port_probe()
496 free_page((unsigned long)portdata->in_buffer[i]); in usb_wwan_port_probe()
514 free_page((unsigned long)portdata->in_buffer[i]); in usb_wwan_port_remove()
H A Dkeyspan.c560 char *in_buffer[2]; member
2894 for (i = 0; i < ARRAY_SIZE(p_priv->in_buffer); ++i) { in keyspan_port_probe()
2895 p_priv->in_buffer[i] = kzalloc(IN_BUFLEN, GFP_KERNEL); in keyspan_port_probe()
2896 if (!p_priv->in_buffer[i]) in keyspan_port_probe()
2926 p_priv->in_buffer[i], in keyspan_port_probe()
2964 for (i = 0; i < ARRAY_SIZE(p_priv->in_buffer); ++i) in keyspan_port_probe()
2965 kfree(p_priv->in_buffer[i]); in keyspan_port_probe()
2996 for (i = 0; i < ARRAY_SIZE(p_priv->in_buffer); ++i) in keyspan_port_remove()
2997 kfree(p_priv->in_buffer[i]); in keyspan_port_remove()
/openbmc/qemu/docs/specs/
H A Dppc-spapr-uv-hcalls.rst55 ``r5``: ``in_buffer``, guest physical address of buffer containing the
76 ``H_P2``: ``in_buffer`` is invalid.
/openbmc/linux/drivers/spi/
H A Dspi-cadence-xspi.c229 void *in_buffer; member
341 cdns_xspi->in_buffer, sdma_size); in cdns_xspi_sdma_handle()
392 cdns_xspi->in_buffer = op->data.buf.in; in cdns_xspi_send_stig_command()
/openbmc/u-boot/drivers/misc/
H A Dcros_ec.c387 uint8_t *in_buffer; in ec_command() local
392 &in_buffer, din_len); in ec_command()
398 if (din && in_buffer) { in ec_command()
400 memmove(din, in_buffer, len); in ec_command()
/openbmc/linux/include/uapi/linux/
H A Dhdreg.h74 unsigned char *in_buffer; member
/openbmc/linux/include/acpi/
H A Dacpixf.h448 acpi_decode_pld_buffer(u8 *in_buffer,
825 *in_buffer))