Home
last modified time | relevance | path

Searched refs:str_buf (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
Ddebugfs_htt_stats.c778 char str_buf[HTT_MAX_STRING_LEN] = {0}; in htt_print_tx_peer_rate_stats_tlv() local
796 memset(str_buf, 0x0, HTT_MAX_STRING_LEN); in htt_print_tx_peer_rate_stats_tlv()
797 ARRAY_TO_STRING(str_buf, htt_stats_buf->tx_mcs, in htt_print_tx_peer_rate_stats_tlv()
799 len += HTT_DBG_OUT(buf + len, buf_len - len, "tx_mcs = %s ", str_buf); in htt_print_tx_peer_rate_stats_tlv()
801 memset(str_buf, 0x0, HTT_MAX_STRING_LEN); in htt_print_tx_peer_rate_stats_tlv()
802 ARRAY_TO_STRING(str_buf, htt_stats_buf->tx_su_mcs, in htt_print_tx_peer_rate_stats_tlv()
804 len += HTT_DBG_OUT(buf + len, buf_len - len, "tx_su_mcs = %s ", str_buf); in htt_print_tx_peer_rate_stats_tlv()
806 memset(str_buf, 0x0, HTT_MAX_STRING_LEN); in htt_print_tx_peer_rate_stats_tlv()
807 ARRAY_TO_STRING(str_buf, htt_stats_buf->tx_mu_mcs, in htt_print_tx_peer_rate_stats_tlv()
809 len += HTT_DBG_OUT(buf + len, buf_len - len, "tx_mu_mcs = %s ", str_buf); in htt_print_tx_peer_rate_stats_tlv()
[all …]
/kernel/linux/linux-5.10/net/sunrpc/xprtrdma/
Dsvc_rdma.c93 char str_buf[32]; in read_reset_stat() local
94 int len = snprintf(str_buf, 32, "%d\n", atomic_read(stat)); in read_reset_stat()
97 len = strlen(str_buf); in read_reset_stat()
106 memcpy(buffer, str_buf, len); in read_reset_stat()
/kernel/linux/linux-5.10/net/tipc/
Dib_media.c48 static int tipc_ib_addr2str(struct tipc_media_addr *a, char *str_buf, in tipc_ib_addr2str() argument
54 sprintf(str_buf, "%20phC", a->value); in tipc_ib_addr2str()
/kernel/linux/linux-5.10/drivers/hid/
Dhid-uclogic-params.c455 char *str_buf = NULL; in uclogic_params_frame_init_v1_buttonpad() local
469 str_buf = kzalloc(str_len, GFP_KERNEL); in uclogic_params_frame_init_v1_buttonpad()
470 if (str_buf == NULL) { in uclogic_params_frame_init_v1_buttonpad()
475 rc = usb_string(usb_dev, 123, str_buf, str_len); in uclogic_params_frame_init_v1_buttonpad()
481 } else if (strncmp(str_buf, "HK On", rc) != 0) { in uclogic_params_frame_init_v1_buttonpad()
484 str_buf); in uclogic_params_frame_init_v1_buttonpad()
500 kfree(str_buf); in uclogic_params_frame_init_v1_buttonpad()
/kernel/linux/linux-5.10/drivers/net/fjes/
Dfjes_main.c108 char str_buf[sizeof(FJES_ACPI_SYMBOL) + 1]; in is_extended_socket_device() local
120 str_buf, sizeof(str_buf) - 1); in is_extended_socket_device()
121 str_buf[result] = 0; in is_extended_socket_device()
123 if (strncmp(FJES_ACPI_SYMBOL, str_buf, strlen(FJES_ACPI_SYMBOL)) != 0) { in is_extended_socket_device()
/kernel/linux/linux-5.10/Documentation/target/
Dtcmu-design.rst327 str_buf[ret-1] = '\0'; /* null-terminate and chop off the \n */