Home
last modified time | relevance | path

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

/openbmc/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,
/openbmc/linux/drivers/input/touchscreen/
H A Dcyttsp5.c202 u8 input_buf[CY_MAX_INPUT]; member
303 switch (ts->input_buf[2]) { in cyttsp5_get_mt_touches()
313 tch_addr = ts->input_buf + offset + (i * TOUCH_REPORT_SIZE); in cyttsp5_get_mt_touches()
354 ts->input_buf + 3 + si->tch_hdr.ofs, in cyttsp5_mt_attention()
432 switch (ts->input_buf[2]) { in cyttsp5_btn_attention()
441 if (ts->input_buf[2] != HID_BTN_REPORT_ID) in cyttsp5_btn_attention()
703 error = cyttsp5_read(ts, ts->input_buf, CY_MAX_INPUT); in cyttsp5_handle_irq()
707 size = get_unaligned_le16(&ts->input_buf[0]); in cyttsp5_handle_irq()
713 report_id = ts->input_buf[2]; in cyttsp5_handle_irq()
724 memcpy(ts->response_buf, ts->input_buf, size); in cyttsp5_handle_irq()
[all …]
/openbmc/linux/drivers/hid/
H A Duhid.c48 struct uhid_event input_buf; member
736 memset(&uhid->input_buf, 0, sizeof(uhid->input_buf)); in uhid_char_write()
737 len = min(count, sizeof(uhid->input_buf)); in uhid_char_write()
739 ret = uhid_event_from_user(buffer, len, &uhid->input_buf); in uhid_char_write()
743 switch (uhid->input_buf.type) { in uhid_char_write()
756 ret = uhid_dev_create(uhid, &uhid->input_buf); in uhid_char_write()
759 ret = uhid_dev_create2(uhid, &uhid->input_buf); in uhid_char_write()
765 ret = uhid_dev_input(uhid, &uhid->input_buf); in uhid_char_write()
768 ret = uhid_dev_input2(uhid, &uhid->input_buf); in uhid_char_write()
771 ret = uhid_dev_get_report_reply(uhid, &uhid->input_buf); in uhid_char_write()
[all …]
H A Dhid-hyperv.c144 u8 input_buf[HID_MAX_BUFFER_SIZE]; member
292 (u32)sizeof(input_dev->input_buf)); in mousevsc_on_receive()
293 memcpy(input_dev->input_buf, input_report->buffer, len); in mousevsc_on_receive()
295 input_dev->input_buf, len, 1); in mousevsc_on_receive()
H A Dhid-nintendo.c430 u8 input_buf[JC_MAX_RESP_SIZE]; member
613 memset(ctlr->input_buf, 0, JC_MAX_RESP_SIZE); in joycon_hid_send_sync()
626 memset(ctlr->input_buf, 0, JC_MAX_RESP_SIZE); in joycon_hid_send_sync()
725 report = (struct joycon_input_report *)ctlr->input_buf; in joycon_request_spi_flash_read()
2112 report = (struct joycon_input_report *)ctlr->input_buf; in joycon_read_info()
2258 memcpy(ctlr->input_buf, data, in joycon_ctlr_handle_event()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/hplip/hplip/
H A D0001-Drop-using-register-storage-classifier.patch152 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
165 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
248 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
261 JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
/openbmc/linux/net/bluetooth/hidp/
H A Dhidp.h185 u8 input_buf[HID_MAX_BUFFER_SIZE]; member
H A Dcore.c445 memcpy(session->input_buf, data, len); in hidp_process_report()
446 hid_input_report(session->hid, type, session->input_buf, len, intr); in hidp_process_report()
/openbmc/linux/arch/s390/kernel/
H A Ddebug.c1434 char input_buf[1]; in debug_input_flush_fn() local
1443 if (copy_from_user(input_buf, user_buf, 1)) { in debug_input_flush_fn()
1447 if (input_buf[0] == '-') { in debug_input_flush_fn()
1451 if (isdigit(input_buf[0])) { in debug_input_flush_fn()
1452 int area = ((int) input_buf[0] - (int) '0'); in debug_input_flush_fn()
1459 "area\n", input_buf[0]); in debug_input_flush_fn()
/openbmc/linux/sound/core/
H A Dump.c282 ump->input_buf[ump->input_buf_head++] = val; in snd_ump_receive_ump_val()
313 ump_handle_stream_msg(ump, ump->input_buf, n); in snd_ump_receive()
316 ump->seq_ops->input_receive(ump, ump->input_buf, n); in snd_ump_receive()
318 process_legacy_input(ump, ump->input_buf, n); in snd_ump_receive()
835 (const union snd_ump_stream_msg *)ump->input_buf; in create_block_from_fb_info()
/openbmc/linux/include/sound/
H A Dump.h38 u32 input_buf[4]; member
/openbmc/linux/mm/
H A Dhuge_memory.c3133 char input_buf[MAX_INPUT_BUF_SZ]; in split_huge_pages_write() local
3143 memset(input_buf, 0, MAX_INPUT_BUF_SZ); in split_huge_pages_write()
3144 if (copy_from_user(input_buf, buf, min_t(size_t, count, MAX_INPUT_BUF_SZ))) in split_huge_pages_write()
3147 input_buf[MAX_INPUT_BUF_SZ - 1] = '\0'; in split_huge_pages_write()
3149 if (input_buf[0] == '/') { in split_huge_pages_write()
3151 char *buf = input_buf; in split_huge_pages_write()
3154 size_t input_len = strlen(input_buf); in split_huge_pages_write()
3176 ret = sscanf(input_buf, "%d,0x%lx,0x%lx", &pid, &vaddr_start, &vaddr_end); in split_huge_pages_write()
3179 ret = strlen(input_buf); in split_huge_pages_write()
3188 ret = strlen(input_buf); in split_huge_pages_write()
/openbmc/u-boot/drivers/mmc/
H A Domap_hsmmc.c1281 unsigned int *input_buf = (unsigned int *)buf; local
1314 writel(*input_buf, &mmc_base->data);
1315 input_buf++;
/openbmc/linux/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) in qed_unzip_data() argument
1021 p_hwfn->stream->next_in = input_buf; in qed_unzip_data()
/openbmc/linux/drivers/platform/x86/
H A Dacer-wmi.c1722 struct acpi_buffer input_buf = { sizeof(input), input }; in acer_kbd_dock_get_initial_state() local
1728 status = wmi_evaluate_method(WMID_GUID3, 0, 0x2, &input_buf, &output_buf); in acer_kbd_dock_get_initial_state()
/openbmc/linux/crypto/
H A Dtestmgr.c3895 void *input_buf = NULL; in do_test_kpp() local
3956 input_buf = kmemdup(vec->b_public, vec->b_public_size, GFP_KERNEL); in do_test_kpp()
3957 if (!input_buf) { in do_test_kpp()
3962 sg_init_one(&src, input_buf, vec->b_public_size); in do_test_kpp()
4024 kfree(input_buf); in do_test_kpp()
/openbmc/linux/drivers/usb/gadget/function/
H A Df_midi2.c669 const u32 *in_buf = ep->ump->input_buf; in process_ump()
1011 size = snd_ump_convert_from_ump(ep->ump->input_buf, outbuf, in process_midi1_transmit()