Home
last modified time | relevance | path

Searched refs:new_buf (Results 1 – 15 of 15) sorted by relevance

/drivers/acpi/acpica/
A Dexconvrt.c179 u8 *new_buf; in acpi_ex_convert_to_buffer() local
389 u8 *new_buf; in acpi_ex_convert_to_string() local
454 *new_buf++ = '0'; in acpi_ex_convert_to_string()
455 *new_buf++ = 'x'; in acpi_ex_convert_to_string()
462 new_buf, in acpi_ex_convert_to_string()
568 *new_buf++ = '0'; in acpi_ex_convert_to_string()
569 *new_buf++ = 'x'; in acpi_ex_convert_to_string()
574 base, new_buf, 1, in acpi_ex_convert_to_string()
579 *new_buf++ = separator; in acpi_ex_convert_to_string()
587 new_buf--; in acpi_ex_convert_to_string()
[all …]
A Dexconcat.c345 u8 *new_buf; in acpi_ex_concat_template() local
392 new_buf = return_desc->buffer.pointer; in acpi_ex_concat_template()
393 memcpy(new_buf, operand0->buffer.pointer, length0); in acpi_ex_concat_template()
394 memcpy(new_buf + length0, operand1->buffer.pointer, length1); in acpi_ex_concat_template()
398 new_buf[new_length - 1] = 0; in acpi_ex_concat_template()
399 new_buf[new_length - 2] = ACPI_RESOURCE_NAME_END_TAG | 1; in acpi_ex_concat_template()
/drivers/input/keyboard/
A Dpinephone-keyboard.c212 u8 *new_buf = ppkb->buf[ppkb->buf_swap]; in ppkb_update() local
217 PPKB_BUF_LEN, new_buf); in ppkb_update()
223 crc = crc8(ppkb->crc_table, &new_buf[1], PPKB_COLS, CRC8_INIT_VALUE); in ppkb_update()
224 if (crc != new_buf[0]) { in ppkb_update()
225 dev_err(dev, "Bad scan data (%02x != %02x)\n", crc, new_buf[0]); in ppkb_update()
233 u8 new = new_buf[1 + col]; in ppkb_update()
/drivers/input/touchscreen/
A Dsur40.c532 struct sur40_buffer *new_buf; in sur40_process_video() local
547 new_buf = list_entry(sur40->buf_list.next, struct sur40_buffer, list); in sur40_process_video()
548 list_del(&new_buf->list); in sur40_process_video()
582 sgt = vb2_dma_sg_plane_desc(&new_buf->vb.vb2_buf, 0); in sur40_process_video()
605 new_buf->vb.vb2_buf.timestamp = ktime_get_ns(); in sur40_process_video()
606 new_buf->vb.sequence = sur40->sequence++; in sur40_process_video()
607 new_buf->vb.field = V4L2_FIELD_NONE; in sur40_process_video()
608 vb2_buffer_done(&new_buf->vb.vb2_buf, VB2_BUF_STATE_DONE); in sur40_process_video()
613 vb2_buffer_done(&new_buf->vb.vb2_buf, VB2_BUF_STATE_ERROR); in sur40_process_video()
/drivers/staging/media/starfive/camss/
A Dstf-capture.c324 struct stfcamss_buffer *new_buf) in stf_buf_update_on_new() argument
331 stf_buf_add_pending(output, new_buf); in stf_buf_update_on_new()
335 output->buf[0] = new_buf; in stf_buf_update_on_new()
339 stf_buf_add_pending(output, new_buf); in stf_buf_update_on_new()
349 stf_buf_add_pending(output, new_buf); in stf_buf_update_on_new()
353 stf_buf_add_pending(output, new_buf); in stf_buf_update_on_new()
/drivers/media/platform/qcom/camss/
A Dcamss-vfe-gen1.c460 struct camss_buffer *new_buf, in vfe_buf_update_wm_on_new() argument
470 output->buf[inactive_idx] = new_buf; in vfe_buf_update_wm_on_new()
480 vfe_buf_add_pending(output, new_buf); in vfe_buf_update_wm_on_new()
488 output->buf[0] = new_buf; in vfe_buf_update_wm_on_new()
495 vfe_buf_add_pending(output, new_buf); in vfe_buf_update_wm_on_new()
503 vfe_buf_add_pending(output, new_buf); in vfe_buf_update_wm_on_new()
/drivers/i2c/
A Di2c-atr.c377 u16 *new_buf; in i2c_atr_map_msgs() local
380 new_buf = kmalloc_array(num, sizeof(*new_buf), GFP_KERNEL); in i2c_atr_map_msgs()
381 if (!new_buf) in i2c_atr_map_msgs()
385 chan->orig_addrs = new_buf; in i2c_atr_map_msgs()
/drivers/infiniband/core/
A Dmad_rmpp.c416 struct ib_mad_recv_buf *new_buf) in update_seg_num() argument
420 while (new_buf && (get_seg_num(new_buf) == rmpp_recv->seg_num + 1)) { in update_seg_num()
421 rmpp_recv->cur_seg_buf = new_buf; in update_seg_num()
423 new_buf = get_next_seg(rmpp_list, new_buf); in update_seg_num()
/drivers/fpga/
A Dfpga-mgr.c217 char *new_buf, *buf = NULL; in fpga_mgr_parse_header_sg() local
228 new_buf = krealloc(buf, new_header_size, GFP_KERNEL); in fpga_mgr_parse_header_sg()
229 if (!new_buf) { in fpga_mgr_parse_header_sg()
234 buf = new_buf; in fpga_mgr_parse_header_sg()
/drivers/net/can/softing/
A Dsofting_fw.c141 uint8_t *buf = NULL, *new_buf; in softing_load_fw() local
190 new_buf = krealloc(buf, buflen, GFP_KERNEL); in softing_load_fw()
191 if (!new_buf) { in softing_load_fw()
195 buf = new_buf; in softing_load_fw()
/drivers/staging/media/meson/vdec/
A Dvdec.c133 struct amvdec_buffer *new_buf; in vdec_queue_recycle() local
135 new_buf = kmalloc(sizeof(*new_buf), GFP_KERNEL); in vdec_queue_recycle()
136 if (!new_buf) in vdec_queue_recycle()
138 new_buf->vb = vb; in vdec_queue_recycle()
141 list_add_tail(&new_buf->list, &sess->bufs_recycle); in vdec_queue_recycle()
/drivers/hwtracing/coresight/
A Dcoresight-tmc-etr.c1242 struct etr_buf *sysfs_buf = NULL, *new_buf = NULL, *free_buf = NULL; in tmc_etr_get_sysfs_buffer() local
1258 free_buf = new_buf = tmc_etr_setup_sysfs_buf(drvdata); in tmc_etr_get_sysfs_buffer()
1259 if (IS_ERR(new_buf)) in tmc_etr_get_sysfs_buffer()
1260 return new_buf; in tmc_etr_get_sysfs_buffer()
1276 if (!sysfs_buf || (new_buf && sysfs_buf->size != new_buf->size)) { in tmc_etr_get_sysfs_buffer()
1278 drvdata->sysfs_buf = new_buf; in tmc_etr_get_sysfs_buffer()
/drivers/net/ethernet/intel/ice/
A Dice_txrx.c919 struct ice_rx_buf *new_buf; in ice_reuse_rx_page() local
921 new_buf = &rx_ring->rx_buf[nta]; in ice_reuse_rx_page()
931 new_buf->dma = old_buf->dma; in ice_reuse_rx_page()
932 new_buf->page = old_buf->page; in ice_reuse_rx_page()
933 new_buf->page_offset = old_buf->page_offset; in ice_reuse_rx_page()
934 new_buf->pagecnt_bias = old_buf->pagecnt_bias; in ice_reuse_rx_page()
/drivers/usb/gadget/function/
A Df_hid.c808 char *new_buf = NULL; in hidg_ssreport_complete() local
820 new_buf = krealloc(hidg->set_report_buf, req->actual, GFP_ATOMIC); in hidg_ssreport_complete()
821 if (new_buf == NULL) { in hidg_ssreport_complete()
825 hidg->set_report_buf = new_buf; in hidg_ssreport_complete()
/drivers/net/ethernet/chelsio/inline_crypto/chtls/
A Dchtls_io.c1071 new_buf: in chtls_sendmsg()
1102 goto new_buf; in chtls_sendmsg()
1132 goto new_buf; in chtls_sendmsg()

Completed in 62 milliseconds