Home
last modified time | relevance | path

Searched refs:bufsz (Results 1 – 25 of 56) sorted by relevance

123

/drivers/net/wireless/intel/iwlwifi/dvm/
A Ddebugfs.c66 size_t bufsz; in iwl_dbgfs_sram_read() local
86 bufsz = 50 + len * 4; in iwl_dbgfs_sram_read()
87 buf = kmalloc(bufsz, GFP_KERNEL); in iwl_dbgfs_sram_read()
195 buf = kmalloc(bufsz, GFP_KERNEL); in iwl_dbgfs_stations_read()
284 int pos = 0, i, bufsz = PAGE_SIZE; in iwl_dbgfs_channels_read() local
288 buf = kzalloc(bufsz, GFP_KERNEL); in iwl_dbgfs_channels_read()
350 const size_t bufsz = sizeof(buf); in iwl_dbgfs_status_read() local
389 buf = kzalloc(bufsz, GFP_KERNEL); in iwl_dbgfs_rx_handlers_read()
436 const size_t bufsz = sizeof(buf); in iwl_dbgfs_qos_read() local
465 const size_t bufsz = sizeof(buf); in iwl_dbgfs_thermal_throttling_read() local
[all …]
A Dmain.c1743 if (bufsz) { in iwl_print_event_log()
1755 if (bufsz) { in iwl_print_event_log()
1790 pos, buf, bufsz); in iwl_print_last_event_logs()
1793 pos, buf, bufsz); in iwl_print_last_event_logs()
1800 mode, pos, buf, bufsz); in iwl_print_last_event_logs()
1822 size_t bufsz = 0; in iwl_dump_nic_event_log() local
1880 bufsz = capacity * 48; in iwl_dump_nic_event_log()
1882 bufsz = size * 48; in iwl_dump_nic_event_log()
1896 pos, buf, bufsz); in iwl_dump_nic_event_log()
1903 pos, buf, bufsz); in iwl_dump_nic_event_log()
[all …]
/drivers/net/wireless/intel/iwlegacy/
A D4965-debug.c28 p += scnprintf(buf + p, bufsz - p, in il4965_stats_flag()
47 int bufsz = in il4965_ucode_rx_stats_read() local
61 buf = kzalloc(bufsz, GFP_KERNEL); in il4965_ucode_rx_stats_read()
89 pos += il4965_stats_flag(il, buf, bufsz); in il4965_ucode_rx_stats_read()
91 scnprintf(buf + pos, bufsz - pos, fmt_header, in il4965_ucode_rx_stats_read()
177 scnprintf(buf + pos, bufsz - pos, fmt_table, in il4965_ucode_rx_stats_read()
267 scnprintf(buf + pos, bufsz - pos, fmt_table, in il4965_ucode_rx_stats_read()
466 buf = kzalloc(bufsz, GFP_KERNEL); in il4965_ucode_tx_stats_read()
481 pos += il4965_stats_flag(il, buf, bufsz); in il4965_ucode_tx_stats_read()
635 buf = kzalloc(bufsz, GFP_KERNEL); in il4965_ucode_general_stats_read()
[all …]
A D3945-debug.c22 p += scnprintf(buf + p, bufsz - p, in il3945_stats_flag()
40 int bufsz = in il3945_ucode_rx_stats_read() local
52 buf = kzalloc(bufsz, GFP_KERNEL); in il3945_ucode_rx_stats_read()
78 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
83 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
88 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
93 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
98 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
103 scnprintf(buf + pos, bufsz - pos, in il3945_ucode_rx_stats_read()
312 buf = kzalloc(bufsz, GFP_KERNEL); in il3945_ucode_tx_stats_read()
[all …]
A Ddebug.c210 const size_t bufsz = in il_dbgfs_tx_stats_read() local
212 buf = kzalloc(bufsz, GFP_KERNEL); in il_dbgfs_tx_stats_read()
270 const size_t bufsz = in il_dbgfs_rx_stats_read() local
272 buf = kzalloc(bufsz, GFP_KERNEL); in il_dbgfs_rx_stats_read()
314 size_t bufsz; in il_dbgfs_sram_read() local
325 buf = kmalloc(bufsz, GFP_KERNEL); in il_dbgfs_sram_read()
401 buf = kmalloc(bufsz, GFP_KERNEL); in il_dbgfs_stations_read()
510 buf = kzalloc(bufsz, GFP_KERNEL); in il_dbgfs_channels_read()
583 const size_t bufsz = sizeof(buf); in il_dbgfs_status_read() local
648 buf = kzalloc(bufsz, GFP_KERNEL); in il_dbgfs_interrupt_read()
[all …]
/drivers/net/wireless/intel/iwlwifi/mvm/
A Ddebugfs-vif.c141 int bufsz = sizeof(buf); in iwl_dbgfs_tx_pwr_lmt_read() local
158 int bufsz = sizeof(buf); in iwl_dbgfs_pm_params_read() local
176 int bufsz = sizeof(buf); in iwl_dbgfs_mac_params_read() local
215 pos += scnprintf(buf+pos, bufsz-pos, in iwl_dbgfs_mac_params_read()
229 pos += scnprintf(buf+pos, bufsz-pos, in iwl_dbgfs_mac_params_read()
239 pos += scnprintf(buf+pos, bufsz-pos, in iwl_dbgfs_mac_params_read()
400 const size_t bufsz = sizeof(buf); in iwl_dbgfs_bf_params_read() local
452 const size_t bufsz = sizeof(buf); in iwl_dbgfs_os_device_timediff_read() local
804 int bufsz, pos, i; in iwl_dbgfs_esr_disable_reason_read() local
811 bufsz = hweight32(esr_mask) * 32 + 40; in iwl_dbgfs_esr_disable_reason_read()
[all …]
A Ddebugfs.c320 int bufsz = sizeof(buf); in iwl_dbgfs_sar_geo_profile_read() local
334 pos = scnprintf(buf, bufsz, in iwl_dbgfs_sar_geo_profile_read()
438 if (desc < bufsz - 1) in iwl_dbgfs_rs_data_read()
502 int bufsz = sizeof(buf); in iwl_dbgfs_disable_power_off_read() local
597 endpos = pos + bufsz; in iwl_dbgfs_tas_get_status_read()
733 size_t bufsz; in iwl_dbgfs_phy_integration_ver_read() local
766 size_t bufsz; in iwl_dbgfs_fw_rx_stats_read() local
959 size_t bufsz; in iwl_dbgfs_fw_system_stats_read() local
977 endpos = pos + bufsz; in iwl_dbgfs_fw_system_stats_read()
1065 endpos = pos + bufsz; in iwl_dbgfs_frame_stats_read()
[all …]
A Dpower.c717 int bufsz) in iwl_mvm_power_mac_dbgfs_read() argument
727 pos += scnprintf(buf+pos, bufsz-pos, "power_scheme = %d\n", in iwl_mvm_power_mac_dbgfs_read()
729 pos += scnprintf(buf+pos, bufsz-pos, "flags = 0x%x\n", in iwl_mvm_power_mac_dbgfs_read()
731 pos += scnprintf(buf+pos, bufsz-pos, "keep_alive = %d\n", in iwl_mvm_power_mac_dbgfs_read()
737 pos += scnprintf(buf+pos, bufsz-pos, "skip_over_dtim = %d\n", in iwl_mvm_power_mac_dbgfs_read()
743 pos += scnprintf(buf+pos, bufsz-pos, "rx_data_timeout = %d\n", in iwl_mvm_power_mac_dbgfs_read()
745 pos += scnprintf(buf+pos, bufsz-pos, "tx_data_timeout = %d\n", in iwl_mvm_power_mac_dbgfs_read()
749 pos += scnprintf(buf+pos, bufsz-pos, in iwl_mvm_power_mac_dbgfs_read()
763 pos += scnprintf(buf+pos, bufsz-pos, "uapsd_max_sp = %d\n", in iwl_mvm_power_mac_dbgfs_read()
781 pos += scnprintf(buf+pos, bufsz-pos, "snooze_interval = %d\n", in iwl_mvm_power_mac_dbgfs_read()
[all …]
A Drs.c3696 return scnprintf(buf, bufsz, in rs_pretty_print_rate_v1()
3761 static const size_t bufsz = 2048; in rs_sta_dbgfs_scale_table_read() local
3772 buff = kmalloc(bufsz, GFP_KERNEL); in rs_sta_dbgfs_scale_table_read()
3776 desc += scnprintf(buff + desc, bufsz - desc, in rs_sta_dbgfs_scale_table_read()
3778 desc += scnprintf(buff + desc, bufsz - desc, in rs_sta_dbgfs_scale_table_read()
3806 desc += scnprintf(buff + desc, bufsz - desc, in rs_sta_dbgfs_scale_table_read()
3845 if (desc < bufsz - 1) in rs_sta_dbgfs_scale_table_read()
3948 static const size_t bufsz = 1024; in rs_sta_dbgfs_drv_tx_stats_read() local
3950 buff = kmalloc(bufsz, GFP_KERNEL); in rs_sta_dbgfs_drv_tx_stats_read()
3955 endpos = pos + bufsz; in rs_sta_dbgfs_drv_tx_stats_read()
[all …]
/drivers/net/wireless/intel/iwlwifi/mld/
A Ddebugfs.h99 #define WIPHY_DEBUGFS_WRITE_WRAPPER(name, bufsz, objtype) \ argument
107 char buf[bufsz] = {}; \
116 #define WIPHY_DEBUGFS_WRITE_FILE_OPS(name, bufsz, objtype) \ argument
117 WIPHY_DEBUGFS_WRITE_WRAPPER(name, bufsz, objtype) \
184 #define WIPHY_DEBUGFS_READ_FILE_OPS_MLD(name, bufsz) \ argument
185 MLD_DEBUGFS_OPEN_WRAPPER(name, bufsz, struct iwl_mld) \
194 #define WIPHY_DEBUGFS_WRITE_FILE_OPS_MLD(name, bufsz) \ argument
195 MLD_DEBUGFS_OPEN_WRAPPER(name, bufsz, struct iwl_mld) \
204 #define WIPHY_DEBUGFS_READ_WRITE_FILE_OPS_MLD(name, bufsz) \ argument
205 MLD_DEBUGFS_OPEN_WRAPPER(name, bufsz, struct iwl_mld) \
[all …]
A Ddebugfs.c28 #define MLD_DEBUGFS_READ_FILE_OPS(name, bufsz) \ argument
29 _MLD_DEBUGFS_READ_FILE_OPS(name, bufsz, struct iwl_mld)
569 #define VIF_DEBUGFS_WRITE_FILE_OPS(name, bufsz) \ argument
570 WIPHY_DEBUGFS_WRITE_FILE_OPS(vif_##name, bufsz, vif)
572 #define VIF_DEBUGFS_READ_WRITE_FILE_OPS(name, bufsz) \ argument
573 IEEE80211_WIPHY_DEBUGFS_READ_WRITE_FILE_OPS(vif_##name, bufsz, vif) \
981 #define LINK_DEBUGFS_WRITE_FILE_OPS(name, bufsz) \ argument
982 WIPHY_DEBUGFS_WRITE_FILE_OPS(link_##name, bufsz, bss_conf)
1094 #define LINK_STA_WIPHY_DEBUGFS_WRITE_OPS(name, bufsz) \ argument
1095 WIPHY_DEBUGFS_WRITE_FILE_OPS(name, bufsz, link_sta)
/drivers/net/wireless/mediatek/mt76/mt7996/
A Ddebugfs.c136 static const size_t bufsz = 1024; in mt7996_sys_recovery_get() local
138 buff = kmalloc(bufsz, GFP_KERNEL); in mt7996_sys_recovery_get()
143 desc += scnprintf(buff + desc, bufsz - desc, in mt7996_sys_recovery_get()
145 desc += scnprintf(buff + desc, bufsz - desc, in mt7996_sys_recovery_get()
147 desc += scnprintf(buff + desc, bufsz - desc, in mt7996_sys_recovery_get()
149 desc += scnprintf(buff + desc, bufsz - desc, in mt7996_sys_recovery_get()
151 desc += scnprintf(buff + desc, bufsz - desc, in mt7996_sys_recovery_get()
153 desc += scnprintf(buff + desc, bufsz - desc, in mt7996_sys_recovery_get()
155 desc += scnprintf(buff + desc, bufsz - desc, in mt7996_sys_recovery_get()
157 desc += scnprintf(buff + desc, bufsz - desc, in mt7996_sys_recovery_get()
[all …]
/drivers/net/wireless/realtek/rtw89/
A Ddebug.c36 char *buf, size_t bufsz);
93 size_t bufsz; member
98 char *buf, size_t bufsz) in rtw89_debugfs_iter_data_setup() argument
101 iter_data->bufsz = bufsz; in rtw89_debugfs_iter_data_setup()
109 iter_data->bufsz = bufsz; in rtw89_debugfs_iter_data_next()
423 char *buf, size_t bufsz) in rtw89_debug_priv_rf_reg_dump_get() argument
926 char *buf, size_t bufsz) in rtw89_debug_priv_txpwr_table_get() argument
3807 size_t bufsz = iter_data->bufsz; in rtw89_sta_info_get_iter() local
4004 size_t bufsz = iter_data->bufsz; in rtw89_vif_ids_get_iter() local
4075 size_t bufsz = iter_data->bufsz; in rtw89_sta_ids_get_iter() local
[all …]
A Dsar.h31 int rtw89_print_sar(struct rtw89_dev *rtwdev, char *buf, size_t bufsz,
33 int rtw89_print_tas(struct rtw89_dev *rtwdev, char *buf, size_t bufsz);
A Dcoex.c8812 char *p = buf, *end = buf + bufsz; in _show_cx_info()
8896 char *p = buf, *end = buf + bufsz; in _show_wl_role_info()
8955 char *p = buf, *end = buf + bufsz; in _show_wl_info()
9012 char *p = buf, *end = buf + bufsz; in _show_bt_profile_info()
9072 char *p = buf, *end = buf + bufsz; in _show_bt_info()
9541 char *p = buf, *end = buf + bufsz; in scnprintf_segment()
9569 char *p = buf, *end = buf + bufsz; in _show_dm_step()
9589 char *p = buf, *end = buf + bufsz; in _show_dm_info()
9663 char *p = buf, *end = buf + bufsz; in _show_error()
9733 char *p = buf, *end = buf + bufsz; in _show_fbtc_tdma()
[all …]
A Dsar.c315 int rtw89_print_sar(struct rtw89_dev *rtwdev, char *buf, size_t bufsz, in rtw89_print_sar() argument
322 char *p = buf, *end = buf + bufsz; in rtw89_print_sar()
357 int rtw89_print_tas(struct rtw89_dev *rtwdev, char *buf, size_t bufsz) in rtw89_print_tas() argument
360 char *p = buf, *end = buf + bufsz; in rtw89_print_tas()
/drivers/net/wireless/mediatek/mt76/mt7915/
A Ddebugfs.c133 static const size_t bufsz = 1024; in mt7915_sys_recovery_get() local
135 buff = kmalloc(bufsz, GFP_KERNEL); in mt7915_sys_recovery_get()
140 desc += scnprintf(buff + desc, bufsz - desc, in mt7915_sys_recovery_get()
142 desc += scnprintf(buff + desc, bufsz - desc, in mt7915_sys_recovery_get()
144 desc += scnprintf(buff + desc, bufsz - desc, in mt7915_sys_recovery_get()
146 desc += scnprintf(buff + desc, bufsz - desc, in mt7915_sys_recovery_get()
148 desc += scnprintf(buff + desc, bufsz - desc, in mt7915_sys_recovery_get()
150 desc += scnprintf(buff + desc, bufsz - desc, in mt7915_sys_recovery_get()
152 desc += scnprintf(buff + desc, bufsz - desc, in mt7915_sys_recovery_get()
154 desc += scnprintf(buff + desc, bufsz - desc, in mt7915_sys_recovery_get()
[all …]
/drivers/media/platform/qcom/iris/
A Diris_hfi_gen1_command.c710 struct hfi_buffer_size_actual bufsz; in iris_hfi_gen1_set_bufsize() local
714 bufsz.type = HFI_BUFFER_OUTPUT; in iris_hfi_gen1_set_bufsize()
717 ret = hfi_gen1_set_property(inst, ptype, &bufsz, sizeof(bufsz)); in iris_hfi_gen1_set_bufsize()
721 bufsz.type = HFI_BUFFER_OUTPUT2; in iris_hfi_gen1_set_bufsize()
722 bufsz.size = inst->buffers[BUF_OUTPUT].size; in iris_hfi_gen1_set_bufsize()
724 ret = hfi_gen1_set_property(inst, ptype, &bufsz, sizeof(bufsz)); in iris_hfi_gen1_set_bufsize()
726 bufsz.type = HFI_BUFFER_OUTPUT; in iris_hfi_gen1_set_bufsize()
729 ret = hfi_gen1_set_property(inst, ptype, &bufsz, sizeof(bufsz)); in iris_hfi_gen1_set_bufsize()
733 bufsz.type = HFI_BUFFER_OUTPUT2; in iris_hfi_gen1_set_bufsize()
734 bufsz.size = 0; in iris_hfi_gen1_set_bufsize()
[all …]
/drivers/net/wireless/intel/iwlwifi/
A Diwl-io.c282 size_t bufsz = ARRAY_SIZE(rfh_tbl) * 53 + in iwl_dump_rfh() local
285 *buf = kmalloc(bufsz, GFP_KERNEL); in iwl_dump_rfh()
289 pos += scnprintf(*buf + pos, bufsz - pos, in iwl_dump_rfh()
293 pos += scnprintf(*buf + pos, bufsz - pos, in iwl_dump_rfh()
303 pos += scnprintf(*buf + pos, bufsz - pos, in iwl_dump_rfh()
371 size_t bufsz = ARRAY_SIZE(fh_tbl) * 48 + 40; in iwl_dump_fh() local
373 *buf = kmalloc(bufsz, GFP_KERNEL); in iwl_dump_fh()
377 pos += scnprintf(*buf + pos, bufsz - pos, in iwl_dump_fh()
381 pos += scnprintf(*buf + pos, bufsz - pos, in iwl_dump_fh()
/drivers/net/wireless/intel/iwlwifi/fw/
A Drs.c94 int rs_pretty_print_rate(char *buf, int bufsz, const u32 rate) in rs_pretty_print_rate() argument
112 return scnprintf(buf, bufsz, "Legacy | ANT: %s Rate: %s Mbps", in rs_pretty_print_rate()
139 return scnprintf(buf, bufsz, in rs_pretty_print_rate()
A Ddebugfs.c110 #define FWRT_DEBUGFS_READ_FILE_OPS(name, bufsz) \ argument
111 _FWRT_DEBUGFS_READ_FILE_OPS(name, bufsz, struct iwl_fw_runtime)
113 #define FWRT_DEBUGFS_WRITE_FILE_OPS(name, bufsz) \ argument
114 _FWRT_DEBUGFS_WRITE_FILE_OPS(name, bufsz, struct iwl_fw_runtime)
116 #define FWRT_DEBUGFS_READ_WRITE_FILE_OPS(name, bufsz) \ argument
117 _FWRT_DEBUGFS_READ_WRITE_FILE_OPS(name, bufsz, struct iwl_fw_runtime)
/drivers/media/test-drivers/visl/
A Dvisl-dec.c255 static int visl_fill_bytesused(struct vb2_v4l2_buffer *v4l2_vb2_buf, char *buf, size_t bufsz) in visl_fill_bytesused() argument
261 len += scnprintf(buf, bufsz, in visl_fill_bytesused()
271 struct visl_run *run, char buf[], size_t bufsz) in visl_tpg_fill_sequence() argument
279 len = scnprintf(buf, bufsz, in visl_tpg_fill_sequence()
286 bufsz -= len; in visl_tpg_fill_sequence()
289 scnprintf(buf, bufsz, in visl_tpg_fill_sequence()
300 char buf[], size_t bufsz) in visl_tpg_fill_codec_specific() argument
313 scnprintf(buf, bufsz, in visl_tpg_fill_codec_specific()
317 scnprintf(buf, bufsz, in visl_tpg_fill_codec_specific()
/drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/
A Dtrans.c2811 size_t bufsz; in iwl_dbgfs_rx_queue_read() local
2813 bufsz = sizeof(char) * 121 * trans->info.num_rxqs; in iwl_dbgfs_rx_queue_read()
2818 buf = kzalloc(bufsz, GFP_KERNEL); in iwl_dbgfs_rx_queue_read()
2841 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_rx_queue_read()
2844 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_rx_queue_read()
2865 int bufsz = 24 * 64; /* 24 items * 64 char per item */ in iwl_dbgfs_interrupt_read() local
2868 buf = kzalloc(bufsz, GFP_KERNEL); in iwl_dbgfs_interrupt_read()
2872 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_interrupt_read()
2880 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_interrupt_read()
2890 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_interrupt_read()
[all …]
/drivers/infiniband/hw/efa/
A Defa_main.c260 u32 bufsz = sizeof(*hinf); in efa_set_host_info() local
268 hinf = dma_alloc_coherent(&dev->pdev->dev, bufsz, &hinf_dma, in efa_set_host_info()
296 hinf_dma, bufsz); in efa_set_host_info()
298 dma_free_coherent(&dev->pdev->dev, bufsz, hinf, hinf_dma); in efa_set_host_info()
/drivers/net/ethernet/oki-semi/pch_gbe/
A Dpch_gbe_main.c1334 unsigned int bufsz; in pch_gbe_alloc_rx_buffers() local
1336 bufsz = adapter->rx_buffer_len + NET_IP_ALIGN; in pch_gbe_alloc_rx_buffers()
1341 skb = netdev_alloc_skb(netdev, bufsz); in pch_gbe_alloc_rx_buffers()
1393 unsigned int bufsz; in pch_gbe_alloc_rx_buffers_pool() local
1396 bufsz = adapter->rx_buffer_len; in pch_gbe_alloc_rx_buffers_pool()
1398 size = rx_ring->count * bufsz + PCH_GBE_RESERVE_MEMORY; in pch_gbe_alloc_rx_buffers_pool()
1408 buffer_info->rx_buffer = rx_ring->rx_buff_pool + bufsz * i; in pch_gbe_alloc_rx_buffers_pool()
1409 buffer_info->length = bufsz; in pch_gbe_alloc_rx_buffers_pool()
1425 unsigned int bufsz; in pch_gbe_alloc_tx_buffers() local
1428 bufsz = in pch_gbe_alloc_tx_buffers()
[all …]

Completed in 103 milliseconds

123