Searched refs:input_buf (Results 1 - 18 of 18) sorted by relevance

/linux-master/drivers/firmware/google/
H A Dvpd_decode.c36 static int vpd_decode_entry(const u32 max_len, const u8 *input_buf, argument
42 if (vpd_decode_len(max_len - consumed, &input_buf[consumed],
49 *entry = input_buf + consumed;
60 int vpd_decode_string(const u32 max_len, const u8 *input_buf, u32 *consumed, argument
73 type = input_buf[*consumed];
80 if (vpd_decode_entry(max_len, input_buf, consumed, &key,
84 if (vpd_decode_entry(max_len, input_buf, consumed, &value,
H A Dvpd_decode.h39 * The input_buf points to the first byte of the input buffer.
47 int vpd_decode_string(const u32 max_len, const u8 *input_buf, u32 *consumed,
/linux-master/fs/bcachefs/
H A Dthread_with_file_types.h19 darray_char input_buf; member in struct:stdio_redirect
/linux-master/drivers/input/touchscreen/
H A Dcyttsp5.c202 u8 input_buf[CY_MAX_INPUT]; member in struct:cyttsp5
303 switch (ts->input_buf[2]) {
313 tch_addr = ts->input_buf + offset + (i * TOUCH_REPORT_SIZE);
354 ts->input_buf + 3 + si->tch_hdr.ofs,
432 switch (ts->input_buf[2]) {
441 if (ts->input_buf[2] != HID_BTN_REPORT_ID)
447 cur_btn_state = (ts->input_buf[offset] >> (cur_btn * CY_BITS_PER_BTN))
703 error = cyttsp5_read(ts, ts->input_buf, CY_MAX_INPUT);
707 size = get_unaligned_le16(&ts->input_buf[0]);
713 report_id = ts->input_buf[
[all...]
/linux-master/drivers/hid/
H A Duhid.c48 struct uhid_event input_buf; member in struct:uhid_device
735 memset(&uhid->input_buf, 0, sizeof(uhid->input_buf));
736 len = min(count, sizeof(uhid->input_buf));
738 ret = uhid_event_from_user(buffer, len, &uhid->input_buf);
742 switch (uhid->input_buf.type) {
755 ret = uhid_dev_create(uhid, &uhid->input_buf);
758 ret = uhid_dev_create2(uhid, &uhid->input_buf);
764 ret = uhid_dev_input(uhid, &uhid->input_buf);
767 ret = uhid_dev_input2(uhid, &uhid->input_buf);
[all...]
H A Dhid-hyperv.c144 u8 input_buf[HID_MAX_BUFFER_SIZE]; member in struct:mousevsc_dev
292 (u32)sizeof(input_dev->input_buf));
293 memcpy(input_dev->input_buf, input_report->buffer, len);
295 input_dev->input_buf, len, 1);
H A Dhid-nintendo.c584 u8 input_buf[JC_MAX_RESP_SIZE]; member in struct:joycon_ctlr
914 memset(ctlr->input_buf, 0, JC_MAX_RESP_SIZE);
927 memset(ctlr->input_buf, 0, JC_MAX_RESP_SIZE);
1045 report = (struct joycon_input_report *)ctlr->input_buf;
2460 report = (struct joycon_input_report *)ctlr->input_buf;
2628 memcpy(ctlr->input_buf, data,
/linux-master/net/bluetooth/hidp/
H A Dhidp.h185 u8 input_buf[HID_MAX_BUFFER_SIZE]; member in struct:hidp_session
H A Dcore.c445 memcpy(session->input_buf, data, len);
446 hid_input_report(session->hid, type, session->input_buf, len, intr);
/linux-master/include/sound/
H A Dump.h38 u32 input_buf[4]; member in struct:snd_ump_endpoint
/linux-master/arch/s390/kernel/
H A Ddebug.c1433 char input_buf[1]; local
1442 if (copy_from_user(input_buf, user_buf, 1)) {
1446 if (input_buf[0] == '-') {
1450 if (isdigit(input_buf[0])) {
1451 int area = ((int) input_buf[0] - (int) '0');
1458 "area\n", input_buf[0]);
/linux-master/sound/core/
H A Dump.c271 * The data is copied onto ump->input_buf[].
282 ump->input_buf[ump->input_buf_head++] = val;
313 ump_handle_stream_msg(ump, ump->input_buf, n);
316 ump->seq_ops->input_receive(ump, ump->input_buf, n);
318 process_legacy_input(ump, ump->input_buf, n);
815 (const union snd_ump_stream_msg *)ump->input_buf;
/linux-master/mm/
H A Dhuge_memory.c3594 char input_buf[MAX_INPUT_BUF_SZ]; local
3605 memset(input_buf, 0, MAX_INPUT_BUF_SZ);
3606 if (copy_from_user(input_buf, buf, min_t(size_t, count, MAX_INPUT_BUF_SZ)))
3609 input_buf[MAX_INPUT_BUF_SZ - 1] = '\0';
3611 if (input_buf[0] == '/') {
3613 char *buf = input_buf;
3616 size_t input_len = strlen(input_buf);
3638 ret = sscanf(input_buf, "%d,0x%lx,0x%lx,%d", &pid, &vaddr_start, &vaddr_end, &new_order);
3641 ret = strlen(input_buf);
3650 ret = strlen(input_buf);
[all...]
/linux-master/drivers/net/ethernet/qlogic/qed/
H A Dqed.h979 u32 input_len, u8 *input_buf,
H A Dqed_main.c1017 u8 *input_buf, u32 max_size, u8 *unzip_buf)
1021 p_hwfn->stream->next_in = input_buf;
1016 qed_unzip_data(struct qed_hwfn *p_hwfn, u32 input_len, u8 *input_buf, u32 max_size, u8 *unzip_buf) argument
/linux-master/crypto/
H A Dtestmgr.c3891 void *input_buf = NULL; local
3952 input_buf = kmemdup(vec->b_public, vec->b_public_size, GFP_KERNEL);
3953 if (!input_buf) {
3958 sg_init_one(&src, input_buf, vec->b_public_size);
4020 kfree(input_buf);
/linux-master/drivers/usb/gadget/function/
H A Df_midi2.c658 const u32 *in_buf = ep->ump->input_buf;
1000 size = snd_ump_convert_from_ump(ep->ump->input_buf, outbuf,
/linux-master/drivers/platform/x86/
H A Dacer-wmi.c2022 struct acpi_buffer input_buf = { sizeof(input), input }; local
2028 status = wmi_evaluate_method(WMID_GUID3, 0, 0x2, &input_buf, &output_buf);

Completed in 320 milliseconds