Home
last modified time | relevance | path

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

/drivers/firmware/google/
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()
Dvpd_decode.h47 int vpd_decode_string(const u32 max_len, const u8 *input_buf, u32 *consumed,
/drivers/hid/
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 …]
Dhid-hyperv.c152 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()
Dhid-nintendo.c192 u8 input_buf[JC_MAX_RESP_SIZE]; member
227 memset(ctlr->input_buf, 0, JC_MAX_RESP_SIZE); in joycon_hid_send_sync()
233 memset(ctlr->input_buf, 0, JC_MAX_RESP_SIZE); in joycon_hid_send_sync()
344 report = (struct joycon_input_report *)ctlr->input_buf; in joycon_request_calibration()
655 memcpy(ctlr->input_buf, data, in joycon_ctlr_handle_event()
/drivers/net/ethernet/qlogic/qed/
Dqed.h976 u32 input_len, u8 *input_buf,
Dqed_main.c1050 u8 *input_buf, u32 max_size, u8 *unzip_buf) in qed_unzip_data() argument
1054 p_hwfn->stream->next_in = input_buf; in qed_unzip_data()
/drivers/platform/x86/
Dacer-wmi.c1790 struct acpi_buffer input_buf = { sizeof(input), input }; in acer_kbd_dock_get_initial_state() local
1796 status = wmi_evaluate_method(WMID_GUID3, 0, 0x2, &input_buf, &output_buf); in acer_kbd_dock_get_initial_state()