res_buf 393 drivers/char/tpm/tpm.h int tpm1_pcr_read(struct tpm_chip *chip, u32 pcr_idx, u8 *res_buf); res_buf 569 drivers/char/tpm/tpm1-cmd.c int tpm1_pcr_read(struct tpm_chip *chip, u32 pcr_idx, u8 *res_buf) res_buf 590 drivers/char/tpm/tpm1-cmd.c memcpy(res_buf, &buf.data[TPM_HEADER_SIZE], TPM_DIGEST_SIZE); res_buf 888 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c u32 *res_buf; res_buf 936 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c res_buf = (u32 *)buf; res_buf 939 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c *res_buf++ = le32_to_cpu((__force __le32) res_buf 957 drivers/net/ethernet/chelsio/cxgb4/cudbg_lib.c (u8 *)res_buf, T4_MEMORY_READ); res_buf 229 drivers/net/fjes/fjes_hw.c hw->hw_info.res_buf = kzalloc(mem_size, GFP_KERNEL); res_buf 230 drivers/net/fjes/fjes_hw.c if (!(hw->hw_info.res_buf)) res_buf 268 drivers/net/fjes/fjes_hw.c param.res_start = __pa(hw->hw_info.res_buf); res_buf 289 drivers/net/fjes/fjes_hw.c kfree(hw->hw_info.res_buf); res_buf 290 drivers/net/fjes/fjes_hw.c hw->hw_info.res_buf = NULL; res_buf 420 drivers/net/fjes/fjes_hw.c union fjes_device_command_res *res_buf = hw->hw_info.res_buf; res_buf 425 drivers/net/fjes/fjes_hw.c memset(res_buf, 0, hw->hw_info.res_buf_size); res_buf 429 drivers/net/fjes/fjes_hw.c res_buf->info.length = 0; res_buf 430 drivers/net/fjes/fjes_hw.c res_buf->info.code = 0; res_buf 433 drivers/net/fjes/fjes_hw.c trace_fjes_hw_request_info(hw, res_buf); res_buf 438 drivers/net/fjes/fjes_hw.c res_buf->info.length) { res_buf 442 drivers/net/fjes/fjes_hw.c switch (res_buf->info.code) { res_buf 478 drivers/net/fjes/fjes_hw.c union fjes_device_command_res *res_buf = hw->hw_info.res_buf; res_buf 490 drivers/net/fjes/fjes_hw.c memset(res_buf, 0, hw->hw_info.res_buf_size); res_buf 518 drivers/net/fjes/fjes_hw.c res_buf->share_buffer.length = 0; res_buf 519 drivers/net/fjes/fjes_hw.c res_buf->share_buffer.code = 0; res_buf 527 drivers/net/fjes/fjes_hw.c (res_buf->share_buffer.length == res_buf 529 drivers/net/fjes/fjes_hw.c (res_buf->share_buffer.code == FJES_CMD_REQ_RES_CODE_BUSY) && res_buf 534 drivers/net/fjes/fjes_hw.c res_buf->share_buffer.length = 0; res_buf 535 drivers/net/fjes/fjes_hw.c res_buf->share_buffer.code = 0; res_buf 543 drivers/net/fjes/fjes_hw.c trace_fjes_hw_register_buff_addr(res_buf, timeout); res_buf 545 drivers/net/fjes/fjes_hw.c if (res_buf->share_buffer.length != res_buf 550 drivers/net/fjes/fjes_hw.c switch (res_buf->share_buffer.code) { res_buf 586 drivers/net/fjes/fjes_hw.c union fjes_device_command_res *res_buf = hw->hw_info.res_buf; res_buf 595 drivers/net/fjes/fjes_hw.c if (!req_buf || !res_buf || !share) res_buf 602 drivers/net/fjes/fjes_hw.c memset(res_buf, 0, hw->hw_info.res_buf_size); res_buf 608 drivers/net/fjes/fjes_hw.c res_buf->unshare_buffer.length = 0; res_buf 609 drivers/net/fjes/fjes_hw.c res_buf->unshare_buffer.code = 0; res_buf 616 drivers/net/fjes/fjes_hw.c (res_buf->unshare_buffer.length == res_buf 618 drivers/net/fjes/fjes_hw.c (res_buf->unshare_buffer.code == res_buf 624 drivers/net/fjes/fjes_hw.c res_buf->unshare_buffer.length = 0; res_buf 625 drivers/net/fjes/fjes_hw.c res_buf->unshare_buffer.code = 0; res_buf 633 drivers/net/fjes/fjes_hw.c trace_fjes_hw_unregister_buff_addr(res_buf, timeout); res_buf 635 drivers/net/fjes/fjes_hw.c if (res_buf->unshare_buffer.length != res_buf 640 drivers/net/fjes/fjes_hw.c switch (res_buf->unshare_buffer.code) { res_buf 963 drivers/net/fjes/fjes_hw.c union fjes_device_command_res *res_buf; res_buf 979 drivers/net/fjes/fjes_hw.c res_buf = hw->hw_info.res_buf; res_buf 980 drivers/net/fjes/fjes_hw.c info = (struct my_s *)&res_buf->info.info; res_buf 1182 drivers/net/fjes/fjes_hw.c union fjes_device_command_res *res_buf = hw->hw_info.res_buf; res_buf 1194 drivers/net/fjes/fjes_hw.c memset(res_buf, 0, hw->hw_info.res_buf_size); res_buf 1208 drivers/net/fjes/fjes_hw.c res_buf->start_trace.length = 0; res_buf 1209 drivers/net/fjes/fjes_hw.c res_buf->start_trace.code = 0; res_buf 1213 drivers/net/fjes/fjes_hw.c trace_fjes_hw_start_debug(res_buf); res_buf 1215 drivers/net/fjes/fjes_hw.c if (res_buf->start_trace.length != res_buf 1220 drivers/net/fjes/fjes_hw.c switch (res_buf->start_trace.code) { res_buf 1251 drivers/net/fjes/fjes_hw.c union fjes_device_command_res *res_buf = hw->hw_info.res_buf; res_buf 1259 drivers/net/fjes/fjes_hw.c memset(res_buf, 0, hw->hw_info.res_buf_size); res_buf 1262 drivers/net/fjes/fjes_hw.c res_buf->stop_trace.length = 0; res_buf 1263 drivers/net/fjes/fjes_hw.c res_buf->stop_trace.code = 0; res_buf 1266 drivers/net/fjes/fjes_hw.c trace_fjes_hw_stop_debug(res_buf); res_buf 1268 drivers/net/fjes/fjes_hw.c if (res_buf->stop_trace.length != FJES_DEV_COMMAND_STOP_DBG_RES_LEN) { res_buf 1272 drivers/net/fjes/fjes_hw.c switch (res_buf->stop_trace.code) { res_buf 281 drivers/net/fjes/fjes_hw.h union fjes_device_command_res *res_buf; res_buf 369 drivers/net/fjes/fjes_main.c hw->hw_info.res_buf->info.info[epidx].es_status; res_buf 371 drivers/net/fjes/fjes_main.c hw->hw_info.res_buf->info.info[epidx].zone; res_buf 481 drivers/net/fjes/fjes_main.c param.res_start = __pa(hw->hw_info.res_buf); res_buf 51 drivers/net/fjes/fjes_trace.h TP_PROTO(struct fjes_hw *hw, union fjes_device_command_res *res_buf), res_buf 52 drivers/net/fjes/fjes_trace.h TP_ARGS(hw, res_buf), res_buf 62 drivers/net/fjes/fjes_trace.h __entry->length = res_buf->info.length; res_buf 63 drivers/net/fjes/fjes_trace.h __entry->code = res_buf->info.code; res_buf 66 drivers/net/fjes/fjes_trace.h res_buf->info.info[x].zone; res_buf 68 drivers/net/fjes/fjes_trace.h res_buf->info.info[x].es_status; res_buf 125 drivers/net/fjes/fjes_trace.h TP_PROTO(union fjes_device_command_res *res_buf, int timeout), res_buf 126 drivers/net/fjes/fjes_trace.h TP_ARGS(res_buf, timeout), res_buf 133 drivers/net/fjes/fjes_trace.h __entry->length = res_buf->share_buffer.length; res_buf 134 drivers/net/fjes/fjes_trace.h __entry->code = res_buf->share_buffer.code; res_buf 169 drivers/net/fjes/fjes_trace.h TP_PROTO(union fjes_device_command_res *res_buf, int timeout), res_buf 170 drivers/net/fjes/fjes_trace.h TP_ARGS(res_buf, timeout), res_buf 177 drivers/net/fjes/fjes_trace.h __entry->length = res_buf->unshare_buffer.length; res_buf 178 drivers/net/fjes/fjes_trace.h __entry->code = res_buf->unshare_buffer.code; res_buf 215 drivers/net/fjes/fjes_trace.h TP_PROTO(union fjes_device_command_res *res_buf), res_buf 216 drivers/net/fjes/fjes_trace.h TP_ARGS(res_buf), res_buf 222 drivers/net/fjes/fjes_trace.h __entry->length = res_buf->start_trace.length; res_buf 223 drivers/net/fjes/fjes_trace.h __entry->code = res_buf->start_trace.code; res_buf 241 drivers/net/fjes/fjes_trace.h TP_PROTO(union fjes_device_command_res *res_buf), res_buf 242 drivers/net/fjes/fjes_trace.h TP_ARGS(res_buf), res_buf 248 drivers/net/fjes/fjes_trace.h __entry->length = res_buf->stop_trace.length; res_buf 249 drivers/net/fjes/fjes_trace.h __entry->code = res_buf->stop_trace.code; res_buf 67 drivers/net/wireless/ath/carl9170/debug.c char *buf = NULL, *res_buf = NULL; res_buf 93 drivers/net/wireless/ath/carl9170/debug.c res_buf = buf; res_buf 97 drivers/net/wireless/ath/carl9170/debug.c res_buf = dfops->read(ar, buf, dfops->read_bufsize, &ret); res_buf 101 drivers/net/wireless/ath/carl9170/debug.c res_buf, ret); res_buf 105 drivers/net/wireless/ath/carl9170/debug.c WARN_ON_ONCE(dfops->read_bufsize && (res_buf != buf)); res_buf 108 drivers/net/wireless/ath/carl9170/debug.c vfree(res_buf);