/linux/drivers/firmware/google/ |
A D | vpd_decode.c | 36 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()
|
A D | vpd_decode.h | 47 int vpd_decode_string(const u32 max_len, const u8 *input_buf, u32 *consumed,
|
/linux/drivers/hid/ |
A D | uhid.c | 37 struct uhid_event input_buf; member 715 memset(&uhid->input_buf, 0, sizeof(uhid->input_buf)); in uhid_char_write() 716 len = min(count, sizeof(uhid->input_buf)); in uhid_char_write() 718 ret = uhid_event_from_user(buffer, len, &uhid->input_buf); in uhid_char_write() 722 switch (uhid->input_buf.type) { in uhid_char_write() 735 ret = uhid_dev_create(uhid, &uhid->input_buf); in uhid_char_write() 738 ret = uhid_dev_create2(uhid, &uhid->input_buf); in uhid_char_write() 744 ret = uhid_dev_input(uhid, &uhid->input_buf); in uhid_char_write() 747 ret = uhid_dev_input2(uhid, &uhid->input_buf); in uhid_char_write() 750 ret = uhid_dev_get_report_reply(uhid, &uhid->input_buf); in uhid_char_write() [all …]
|
A D | hid-hyperv.c | 152 u8 input_buf[HID_MAX_BUFFER_SIZE]; member 303 (u32)sizeof(input_dev->input_buf)); in mousevsc_on_receive() 304 memcpy(input_dev->input_buf, input_report->buffer, len); in mousevsc_on_receive() 306 input_dev->input_buf, len, 1); in mousevsc_on_receive()
|
A D | hid-nintendo.c | 431 u8 input_buf[JC_MAX_RESP_SIZE]; member 577 memset(ctlr->input_buf, 0, JC_MAX_RESP_SIZE); in joycon_hid_send_sync() 590 memset(ctlr->input_buf, 0, JC_MAX_RESP_SIZE); in joycon_hid_send_sync() 689 report = (struct joycon_input_report *)ctlr->input_buf; in joycon_request_spi_flash_read() 2012 report = (struct joycon_input_report *)ctlr->input_buf; in joycon_read_info() 2079 memcpy(ctlr->input_buf, data, in joycon_ctlr_handle_event()
|
/linux/arch/s390/kernel/ |
A D | debug.c | 1444 char input_buf[1]; in debug_input_flush_fn() local 1453 if (copy_from_user(input_buf, user_buf, 1)) { in debug_input_flush_fn() 1457 if (input_buf[0] == '-') { in debug_input_flush_fn() 1461 if (isdigit(input_buf[0])) { in debug_input_flush_fn() 1462 int area = ((int) input_buf[0] - (int) '0'); in debug_input_flush_fn() 1469 "area\n", input_buf[0]); in debug_input_flush_fn()
|
/linux/net/bluetooth/hidp/ |
A D | hidp.h | 185 u8 input_buf[HID_MAX_BUFFER_SIZE]; member
|
A D | core.c | 445 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()
|
/linux/mm/ |
A D | huge_memory.c | 3071 char input_buf[MAX_INPUT_BUF_SZ]; in split_huge_pages_write() local 3081 memset(input_buf, 0, MAX_INPUT_BUF_SZ); in split_huge_pages_write() 3082 if (copy_from_user(input_buf, buf, min_t(size_t, count, MAX_INPUT_BUF_SZ))) in split_huge_pages_write() 3085 input_buf[MAX_INPUT_BUF_SZ - 1] = '\0'; in split_huge_pages_write() 3087 if (input_buf[0] == '/') { in split_huge_pages_write() 3089 char *buf = input_buf; in split_huge_pages_write() 3092 size_t input_len = strlen(input_buf); in split_huge_pages_write() 3114 ret = sscanf(input_buf, "%d,0x%lx,0x%lx", &pid, &vaddr_start, &vaddr_end); in split_huge_pages_write() 3117 ret = strlen(input_buf); in split_huge_pages_write() 3126 ret = strlen(input_buf); in split_huge_pages_write()
|
/linux/tools/lib/traceevent/ |
A D | event-parse.c | 30 static const char *input_buf; variable 66 input_buf = buf; in init_input_buf() 73 return input_buf; in get_input_buf() 956 return input_buf[input_buf_ptr++]; in __read_char() 969 return input_buf[input_buf_ptr]; in peek_char() 1167 save_input_buf = input_buf; in force_token() 1176 input_buf = save_input_buf; in force_token()
|
/linux/drivers/net/ethernet/qlogic/qed/ |
A D | qed.h | 980 u32 input_len, u8 *input_buf,
|
A D | qed_main.c | 1045 u8 *input_buf, u32 max_size, u8 *unzip_buf) in qed_unzip_data() argument 1049 p_hwfn->stream->next_in = input_buf; in qed_unzip_data()
|
/linux/drivers/platform/x86/ |
A D | acer-wmi.c | 1774 struct acpi_buffer input_buf = { sizeof(input), input }; in acer_kbd_dock_get_initial_state() local 1780 status = wmi_evaluate_method(WMID_GUID3, 0, 0x2, &input_buf, &output_buf); in acer_kbd_dock_get_initial_state()
|
/linux/crypto/ |
A D | testmgr.c | 3735 void *input_buf = NULL; in do_test_kpp() local 3796 input_buf = kmemdup(vec->b_public, vec->b_public_size, GFP_KERNEL); in do_test_kpp() 3797 if (!input_buf) { in do_test_kpp() 3802 sg_init_one(&src, input_buf, vec->b_public_size); in do_test_kpp() 3864 kfree(input_buf); in do_test_kpp()
|