Home
last modified time | relevance | path

Searched refs:input_buf (Results 1 – 10 of 10) sorted by relevance

/linux/security/keys/trusted-keys/
H A Dtrusted_pkwm.c85 u8 *input_buf, *output_buf; in trusted_pkwm_seal() local
100 input_buf = kmalloc(ALIGN(input_len, 4096), GFP_KERNEL); in trusted_pkwm_seal()
101 if (!input_buf) { in trusted_pkwm_seal()
107 memcpy(input_buf, p->key, p->key_len); in trusted_pkwm_seal()
111 rc = plpks_wrap_object(&input_buf, input_len, pkwm->wrap_flags, in trusted_pkwm_seal()
121 kfree(input_buf); in trusted_pkwm_seal()
132 u8 *input_buf, *output_buf; in trusted_pkwm_unseal() local
137 input_buf = kmalloc(ALIGN(input_len, 4096), GFP_KERNEL); in trusted_pkwm_unseal()
138 if (!input_buf) { in trusted_pkwm_unseal()
143 memcpy(input_buf, p->blob, p->blob_len); in trusted_pkwm_unseal()
[all …]
/linux/drivers/firmware/google/
H A Dvpd_decode.c36 static int vpd_decode_entry(const u32 max_len, const u8 *input_buf, in vpd_decode_entry() argument
42 if (vpd_decode_len(max_len - consumed, &input_buf[consumed], in vpd_decode_entry()
49 *entry = input_buf + consumed; in vpd_decode_entry()
60 int vpd_decode_string(const u32 max_len, const u8 *input_buf, u32 *consumed, in vpd_decode_string() argument
73 type = input_buf[*consumed]; in vpd_decode_string()
80 if (vpd_decode_entry(max_len, input_buf, consumed, &key, in vpd_decode_string()
84 if (vpd_decode_entry(max_len, input_buf, consumed, &value, in vpd_decode_string()
H A Dvpd_decode.h47 int vpd_decode_string(const u32 max_len, const u8 *input_buf, u32 *consumed,
/linux/drivers/input/touchscreen/
H A Dcyttsp5.c201 u8 input_buf[CY_MAX_INPUT]; member
302 switch (ts->input_buf[2]) { in cyttsp5_get_mt_touches()
312 tch_addr = ts->input_buf + offset + (i * TOUCH_REPORT_SIZE); in cyttsp5_get_mt_touches()
353 ts->input_buf + 3 + si->tch_hdr.ofs, in cyttsp5_mt_attention()
431 switch (ts->input_buf[2]) { in cyttsp5_btn_attention()
440 if (ts->input_buf[2] != HID_BTN_REPORT_ID) in cyttsp5_btn_attention()
446 cur_btn_state = (ts->input_buf[offset] >> (cur_btn * CY_BITS_PER_BTN)) in cyttsp5_btn_attention()
702 error = cyttsp5_read(ts, ts->input_buf, CY_MAX_INPUT); in cyttsp5_handle_irq()
706 size = get_unaligned_le16(&ts->input_buf[0]); in cyttsp5_handle_irq()
712 report_id = ts->input_buf[2]; in cyttsp5_handle_irq()
[all …]
/linux/drivers/iio/adc/
H A Dad7173.c221 bool input_buf;
669 bool input_buf; in ad7173_is_setup_equal()
677 cfg1->input_buf == cfg2->input_buf && in ad7173_is_setup_equal()
735 if (cfg->input_buf) in ad7173_load_config()
1824 chan_st_priv->cfg.input_buf = st->info->has_input_buf; in ad7173_fw_parse_channel_config()
1901 chan_st_priv->cfg.input_buf = st->info->has_input_buf; in ad7173_fw_parse_channel_config()
1919 chan_st_priv->cfg.input_buf = st->info->has_input_buf; in ad7173_fw_parse_channel_config()
/linux/sound/core/
H A Dump.c318 ump->input_buf[ump->input_buf_head++] = val; in snd_ump_receive_ump_val()
349 ump_handle_stream_msg(ump, ump->input_buf, n); in snd_ump_receive()
352 ump->seq_ops->input_receive(ump, ump->input_buf, n); in snd_ump_receive()
354 process_legacy_input(ump, ump->input_buf, n); in snd_ump_receive()
970 (const union snd_ump_stream_msg *)ump->input_buf; in create_block_from_fb_info()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_gfx.c1975 const char *input_buf = buf; in amdgpu_gfx_set_enforce_isolation() local
1978 ret = sscanf(input_buf, "%ld", &partition_values[i]); in amdgpu_gfx_set_enforce_isolation()
1983 input_buf = strchr(input_buf, ' '); in amdgpu_gfx_set_enforce_isolation()
1984 if (input_buf) { in amdgpu_gfx_set_enforce_isolation()
1985 input_buf++; in amdgpu_gfx_set_enforce_isolation()
/linux/net/bluetooth/hidp/
H A Dcore.c455 memcpy(session->input_buf, data, len); in hidp_process_report()
456 hid_input_report(session->hid, type, session->input_buf, len, intr); in hidp_process_report()
/linux/drivers/platform/x86/
H A Dacer-wmi.c2268 struct acpi_buffer input_buf = { sizeof(input), input }; in acer_kbd_dock_get_initial_state() local
2274 status = wmi_evaluate_method(WMID_GUID3, 0, 0x2, &input_buf, &output_buf); in acer_kbd_dock_get_initial_state()
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_main.c1016 u8 *input_buf, u32 max_size, u8 *unzip_buf) in qed_unzip_data() argument
1020 p_hwfn->stream->next_in = input_buf; in qed_unzip_data()