| /linux-6.15/drivers/firmware/google/ |
| H 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()
|
| H A D | vpd_decode.h | 47 int vpd_decode_string(const u32 max_len, const u8 *input_buf, u32 *consumed,
|
| /linux-6.15/drivers/hid/ |
| H A D | uhid.c | 48 struct uhid_event input_buf; member 735 memset(&uhid->input_buf, 0, sizeof(uhid->input_buf)); in uhid_char_write() 736 len = min(count, sizeof(uhid->input_buf)); in uhid_char_write() 738 ret = uhid_event_from_user(buffer, len, &uhid->input_buf); in uhid_char_write() 742 switch (uhid->input_buf.type) { in uhid_char_write() 755 ret = uhid_dev_create(uhid, &uhid->input_buf); in uhid_char_write() 758 ret = uhid_dev_create2(uhid, &uhid->input_buf); in uhid_char_write() 764 ret = uhid_dev_input(uhid, &uhid->input_buf); in uhid_char_write() 767 ret = uhid_dev_input2(uhid, &uhid->input_buf); in uhid_char_write() 770 ret = uhid_dev_get_report_reply(uhid, &uhid->input_buf); in uhid_char_write() [all …]
|
| H A D | hid-hyperv.c | 144 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 D | hid-nintendo.c | 582 u8 input_buf[JC_MAX_RESP_SIZE]; member 882 memset(ctlr->input_buf, 0, JC_MAX_RESP_SIZE); in joycon_hid_send_sync() 895 memset(ctlr->input_buf, 0, JC_MAX_RESP_SIZE); in joycon_hid_send_sync() 1013 report = (struct joycon_input_report *)ctlr->input_buf; in joycon_request_spi_flash_read() 2428 report = (struct joycon_input_report *)ctlr->input_buf; in joycon_read_info() 2599 memcpy(ctlr->input_buf, data, in joycon_ctlr_handle_event()
|
| /linux-6.15/drivers/input/touchscreen/ |
| H A D | cyttsp5.c | 202 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 …]
|
| /linux-6.15/drivers/hid/intel-thc-hid/intel-quickspi/ |
| H A D | quickspi-dev.h | 152 u8 *input_buf; member
|
| H A D | pci-quickspi.c | 308 ret = thc_rxdma_read(qsdev->thc_hw, THC_RXDMA2, qsdev->input_buf, in quickspi_irq_thread_handler() 529 qsdev->input_buf = devm_kzalloc(qsdev->dev, max_input_len, GFP_KERNEL); in quickspi_alloc_report_buf() 530 if (!qsdev->input_buf) in quickspi_alloc_report_buf()
|
| H A D | quickspi-protocol.c | 163 input_body = (struct input_report_body *)qsdev->input_buf; in quickspi_handle_input_data()
|
| /linux-6.15/drivers/hid/intel-thc-hid/intel-quicki2c/ |
| H A D | quicki2c-dev.h | 178 u8 *input_buf; member
|
| H A D | pci-quicki2c.c | 247 struct hidi2c_report_packet *pkt = (struct hidi2c_report_packet *)qcdev->input_buf; in handle_input_report() 506 qcdev->input_buf = devm_kzalloc(qcdev->dev, max_report_len, GFP_KERNEL); in quicki2c_alloc_report_buf() 507 if (!qcdev->input_buf) in quicki2c_alloc_report_buf()
|
| H A D | quicki2c-protocol.c | 154 rpt = (struct hidi2c_report_packet *)qcdev->input_buf; in quicki2c_get_report()
|
| /linux-6.15/drivers/iio/adc/ |
| H A D | ad7173.c | 207 bool input_buf; 589 bool input_buf; in ad7173_find_live_config() 599 cfg->input_buf == cfg_aux->input_buf && in ad7173_find_live_config() 642 if (cfg->input_buf) in ad7173_load_config() 1591 chan_st_priv->cfg.input_buf = st->info->has_input_buf; in ad7173_fw_parse_channel_config() 1658 chan_st_priv->cfg.input_buf = st->info->has_input_buf; in ad7173_fw_parse_channel_config() 1672 chan_st_priv->cfg.input_buf = st->info->has_input_buf; in ad7173_fw_parse_channel_config()
|
| /linux-6.15/net/bluetooth/hidp/ |
| H A D | hidp.h | 185 u8 input_buf[HID_MAX_BUFFER_SIZE]; member
|
| H 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-6.15/arch/s390/kernel/ |
| H A D | debug.c | 1592 char input_buf[1]; in debug_input_flush_fn() local 1601 if (copy_from_user(input_buf, user_buf, 1)) { in debug_input_flush_fn() 1605 if (input_buf[0] == '-') { in debug_input_flush_fn() 1609 if (isdigit(input_buf[0])) { in debug_input_flush_fn() 1610 int area = ((int) input_buf[0] - (int) '0'); in debug_input_flush_fn() 1617 "area\n", input_buf[0]); in debug_input_flush_fn()
|
| /linux-6.15/include/sound/ |
| H A D | ump.h | 47 u32 input_buf[4]; member
|
| /linux-6.15/sound/core/ |
| H A D | ump.c | 318 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-6.15/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_gfx.c | 1646 const char *input_buf = buf; in amdgpu_gfx_set_enforce_isolation() local 1649 ret = sscanf(input_buf, "%ld", &partition_values[i]); in amdgpu_gfx_set_enforce_isolation() 1654 input_buf = strchr(input_buf, ' '); in amdgpu_gfx_set_enforce_isolation() 1655 if (input_buf) { in amdgpu_gfx_set_enforce_isolation() 1656 input_buf++; in amdgpu_gfx_set_enforce_isolation()
|
| /linux-6.15/mm/ |
| H A D | huge_memory.c | 4535 char input_buf[MAX_INPUT_BUF_SZ]; in split_huge_pages_write() local 4547 memset(input_buf, 0, MAX_INPUT_BUF_SZ); in split_huge_pages_write() 4548 if (copy_from_user(input_buf, buf, min_t(size_t, count, MAX_INPUT_BUF_SZ))) in split_huge_pages_write() 4551 input_buf[MAX_INPUT_BUF_SZ - 1] = '\0'; in split_huge_pages_write() 4553 if (input_buf[0] == '/') { in split_huge_pages_write() 4555 char *tok_buf = input_buf; in split_huge_pages_write() 4558 size_t input_len = strlen(input_buf); in split_huge_pages_write() 4582 ret = sscanf(input_buf, "%d,0x%lx,0x%lx,%d,%ld", &pid, &vaddr_start, in split_huge_pages_write() 4586 ret = strlen(input_buf); in split_huge_pages_write() 4596 ret = strlen(input_buf); in split_huge_pages_write()
|
| /linux-6.15/drivers/net/ethernet/qlogic/qed/ |
| H A D | qed.h | 977 u32 input_len, u8 *input_buf,
|
| H A D | qed_main.c | 1016 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()
|
| /linux-6.15/crypto/ |
| H A D | testmgr.c | 3775 void *input_buf = NULL; in do_test_kpp() local 3836 input_buf = kmemdup(vec->b_public, vec->b_public_size, GFP_KERNEL); in do_test_kpp() 3837 if (!input_buf) { in do_test_kpp() 3842 sg_init_one(&src, input_buf, vec->b_public_size); in do_test_kpp() 3904 kfree(input_buf); in do_test_kpp()
|
| /linux-6.15/drivers/platform/x86/ |
| H A D | acer-wmi.c | 2162 struct acpi_buffer input_buf = { sizeof(input), input }; in acer_kbd_dock_get_initial_state() local 2168 status = wmi_evaluate_method(WMID_GUID3, 0, 0x2, &input_buf, &output_buf); in acer_kbd_dock_get_initial_state()
|
| /linux-6.15/drivers/usb/gadget/function/ |
| H A D | f_midi2.c | 669 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()
|