Lines Matching refs:data_buf
135 void *data_buf = NULL; in hif_diag_read_mem() local
200 data_buf = qdf_mem_alloc_consistent(scn->qdf_dev, scn->qdf_dev->dev, in hif_diag_read_mem()
202 if (!data_buf) { in hif_diag_read_mem()
206 qdf_mem_zero(data_buf, orig_nbytes); in hif_diag_read_mem()
287 qdf_mem_copy(data, data_buf, orig_nbytes); in hif_diag_read_mem()
291 if (data_buf) in hif_diag_read_mem()
293 orig_nbytes, data_buf, CE_data_base, 0); in hif_diag_read_mem()
338 void *data_buf = NULL; in hif_diag_write_mem() local
372 data_buf = qdf_mem_alloc_consistent(scn->qdf_dev, scn->qdf_dev->dev, in hif_diag_write_mem()
374 if (!data_buf) { in hif_diag_write_mem()
380 qdf_mem_copy(data_buf, data, orig_nbytes); in hif_diag_write_mem()
472 if (data_buf) { in hif_diag_write_mem()
474 orig_nbytes, data_buf, CE_data_base, 0); in hif_diag_write_mem()
492 uint32_t data_buf = data; in hif_diag_write_access() local
495 (uint8_t *) &data_buf, in hif_diag_write_access()