/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | debugfs.c | 70 size_t bufsz; in iwl_dbgfs_sram_read() local 90 bufsz = 50 + len * 4; in iwl_dbgfs_sram_read() 91 buf = kmalloc(bufsz, GFP_KERNEL); in iwl_dbgfs_sram_read() 95 pos += scnprintf(buf + pos, bufsz - pos, "sram_len: 0x%x\n", in iwl_dbgfs_sram_read() 97 pos += scnprintf(buf + pos, bufsz - pos, "sram_offset: 0x%x\n", in iwl_dbgfs_sram_read() 110 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sram_read() 114 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sram_read() 117 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sram_read() 130 pos += scnprintf(buf + pos, bufsz - pos, "\n"); in iwl_dbgfs_sram_read() 132 pos += scnprintf(buf + pos, bufsz - pos, " "); in iwl_dbgfs_sram_read() [all …]
|
D | main.c | 1698 int pos, char **buf, size_t bufsz) in iwl_print_event_log() argument 1742 if (bufsz) { in iwl_print_event_log() 1743 pos += scnprintf(*buf + pos, bufsz - pos, in iwl_print_event_log() 1754 if (bufsz) { in iwl_print_event_log() 1755 pos += scnprintf(*buf + pos, bufsz - pos, in iwl_print_event_log() 1778 int pos, char **buf, size_t bufsz) in iwl_print_last_event_logs() argument 1789 pos, buf, bufsz); in iwl_print_last_event_logs() 1792 pos, buf, bufsz); in iwl_print_last_event_logs() 1795 size, mode, pos, buf, bufsz); in iwl_print_last_event_logs() 1799 mode, pos, buf, bufsz); in iwl_print_last_event_logs() [all …]
|
/drivers/net/wireless/intel/iwlegacy/ |
D | 4965-debug.c | 19 il4965_stats_flag(struct il_priv *il, char *buf, int bufsz) in il4965_stats_flag() argument 26 p += scnprintf(buf + p, bufsz - p, "Statistics Flag(0x%X):\n", flag); in il4965_stats_flag() 28 p += scnprintf(buf + p, bufsz - p, in il4965_stats_flag() 30 p += scnprintf(buf + p, bufsz - p, "\tOperational Frequency: %s\n", in il4965_stats_flag() 33 p += scnprintf(buf + p, bufsz - p, "\tTGj Narrow Band: %s\n", 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() 94 scnprintf(buf + pos, bufsz - pos, fmt_table, "ina_cnt:", in il4965_ucode_rx_stats_read() [all …]
|
D | 3945-debug.c | 15 il3945_stats_flag(struct il_priv *il, char *buf, int bufsz) in il3945_stats_flag() argument 19 p += scnprintf(buf + p, bufsz - p, "Statistics Flag(0x%X):\n", in il3945_stats_flag() 22 p += scnprintf(buf + p, bufsz - p, in il3945_stats_flag() 24 p += scnprintf(buf + p, bufsz - p, "\tOperational Frequency: %s\n", in il3945_stats_flag() 27 p += scnprintf(buf + p, bufsz - p, "\tTGj Narrow Band: %s\n", 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() 76 pos += il3945_stats_flag(il, buf, bufsz); 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() [all …]
|
D | debug.c | 210 const size_t bufsz = in il_dbgfs_tx_stats_read() local 212 buf = kzalloc(bufsz, GFP_KERNEL); in il_dbgfs_tx_stats_read() 215 pos += scnprintf(buf + pos, bufsz - pos, "Management:\n"); in il_dbgfs_tx_stats_read() 218 scnprintf(buf + pos, bufsz - pos, "\t%25s\t\t: %u\n", in il_dbgfs_tx_stats_read() 221 pos += scnprintf(buf + pos, bufsz - pos, "Control\n"); in il_dbgfs_tx_stats_read() 224 scnprintf(buf + pos, bufsz - pos, "\t%25s\t\t: %u\n", in il_dbgfs_tx_stats_read() 227 pos += scnprintf(buf + pos, bufsz - pos, "Data:\n"); in il_dbgfs_tx_stats_read() 229 scnprintf(buf + pos, bufsz - pos, "\tcnt: %u\n", in il_dbgfs_tx_stats_read() 232 scnprintf(buf + pos, bufsz - pos, "\tbytes: %llu\n", in il_dbgfs_tx_stats_read() 270 const size_t bufsz = in il_dbgfs_rx_stats_read() local [all …]
|
/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | debugfs-vif.c | 196 int bufsz = sizeof(buf); in iwl_dbgfs_tx_pwr_lmt_read() local 199 pos = scnprintf(buf, bufsz, "bss limit = %d\n", in iwl_dbgfs_tx_pwr_lmt_read() 213 int bufsz = sizeof(buf); in iwl_dbgfs_pm_params_read() local 216 pos = iwl_mvm_power_mac_dbgfs_read(mvm, vif, buf, bufsz); in iwl_dbgfs_pm_params_read() 231 int bufsz = sizeof(buf); in iwl_dbgfs_mac_params_read() local 241 pos += scnprintf(buf+pos, bufsz-pos, "type: ibss\n"); in iwl_dbgfs_mac_params_read() 244 pos += scnprintf(buf+pos, bufsz-pos, "type: bss\n"); in iwl_dbgfs_mac_params_read() 247 pos += scnprintf(buf+pos, bufsz-pos, "type: ap\n"); in iwl_dbgfs_mac_params_read() 250 pos += scnprintf(buf+pos, bufsz-pos, "type: p2p client\n"); in iwl_dbgfs_mac_params_read() 253 pos += scnprintf(buf+pos, bufsz-pos, "type: p2p go\n"); in iwl_dbgfs_mac_params_read() [all …]
|
D | debugfs.c | 362 int bufsz = sizeof(buf); in iwl_dbgfs_sar_geo_profile_read() local 377 pos = scnprintf(buf, bufsz, in iwl_dbgfs_sar_geo_profile_read() 382 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sar_geo_profile_read() 384 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sar_geo_profile_read() 387 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_sar_geo_profile_read() 403 int i, pos = 0, bufsz = sizeof(buf); in iwl_dbgfs_stations_read() local 408 pos += scnprintf(buf + pos, bufsz - pos, "%.2d: ", i); in iwl_dbgfs_stations_read() 412 pos += scnprintf(buf + pos, bufsz - pos, "N/A\n"); in iwl_dbgfs_stations_read() 414 pos += scnprintf(buf + pos, bufsz - pos, "%ld\n", in iwl_dbgfs_stations_read() 417 pos += scnprintf(buf + pos, bufsz - pos, "%pM\n", in iwl_dbgfs_stations_read() [all …]
|
D | power.c | 741 int bufsz) in iwl_mvm_power_mac_dbgfs_read() argument 751 pos += scnprintf(buf+pos, bufsz-pos, "power_scheme = %d\n", in iwl_mvm_power_mac_dbgfs_read() 753 pos += scnprintf(buf+pos, bufsz-pos, "flags = 0x%x\n", in iwl_mvm_power_mac_dbgfs_read() 755 pos += scnprintf(buf+pos, bufsz-pos, "keep_alive = %d\n", in iwl_mvm_power_mac_dbgfs_read() 761 pos += scnprintf(buf+pos, bufsz-pos, "skip_over_dtim = %d\n", in iwl_mvm_power_mac_dbgfs_read() 764 pos += scnprintf(buf+pos, bufsz-pos, "skip_dtim_periods = %d\n", in iwl_mvm_power_mac_dbgfs_read() 767 pos += scnprintf(buf+pos, bufsz-pos, "rx_data_timeout = %d\n", in iwl_mvm_power_mac_dbgfs_read() 769 pos += scnprintf(buf+pos, bufsz-pos, "tx_data_timeout = %d\n", in iwl_mvm_power_mac_dbgfs_read() 773 pos += scnprintf(buf+pos, bufsz-pos, in iwl_mvm_power_mac_dbgfs_read() 780 pos += scnprintf(buf+pos, bufsz-pos, "rx_data_timeout_uapsd = %d\n", in iwl_mvm_power_mac_dbgfs_read() [all …]
|
D | rs.c | 3687 int rs_pretty_print_rate(char *buf, int bufsz, const u32 rate) in rs_pretty_print_rate() argument 3699 return scnprintf(buf, bufsz, "Legacy | ANT: %s Rate: %s Mbps\n", in rs_pretty_print_rate() 3741 return scnprintf(buf, bufsz, in rs_pretty_print_rate() 3804 static const size_t bufsz = 2048; in rs_sta_dbgfs_scale_table_read() local 3815 buff = kmalloc(bufsz, GFP_KERNEL); in rs_sta_dbgfs_scale_table_read() 3819 desc += scnprintf(buff + desc, bufsz - desc, in rs_sta_dbgfs_scale_table_read() 3821 desc += scnprintf(buff + desc, bufsz - desc, in rs_sta_dbgfs_scale_table_read() 3825 desc += scnprintf(buff + desc, bufsz - desc, "fixed rate 0x%X\n", in rs_sta_dbgfs_scale_table_read() 3827 desc += scnprintf(buff + desc, bufsz - desc, "valid_tx_ant %s%s%s\n", in rs_sta_dbgfs_scale_table_read() 3831 desc += scnprintf(buff + desc, bufsz - desc, "lq type %s\n", in rs_sta_dbgfs_scale_table_read() [all …]
|
/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-io.c | 378 size_t bufsz = ARRAY_SIZE(rfh_tbl) * 53 + in iwl_dump_rfh() local 381 *buf = kmalloc(bufsz, GFP_KERNEL); in iwl_dump_rfh() 385 pos += scnprintf(*buf + pos, bufsz - pos, in iwl_dump_rfh() 389 pos += scnprintf(*buf + pos, bufsz - pos, in iwl_dump_rfh() 399 pos += scnprintf(*buf + pos, bufsz - pos, in iwl_dump_rfh() 467 size_t bufsz = ARRAY_SIZE(fh_tbl) * 48 + 40; in iwl_dump_fh() local 469 *buf = kmalloc(bufsz, GFP_KERNEL); in iwl_dump_fh() 473 pos += scnprintf(*buf + pos, bufsz - pos, in iwl_dump_fh() 477 pos += scnprintf(*buf + pos, bufsz - pos, in iwl_dump_fh()
|
/drivers/net/wireless/intel/iwlwifi/fw/ |
D | debugfs.c | 166 #define FWRT_DEBUGFS_READ_FILE_OPS(name, bufsz) \ argument 167 _FWRT_DEBUGFS_READ_FILE_OPS(name, bufsz, struct iwl_fw_runtime) 169 #define FWRT_DEBUGFS_WRITE_FILE_OPS(name, bufsz) \ argument 170 _FWRT_DEBUGFS_WRITE_FILE_OPS(name, bufsz, struct iwl_fw_runtime) 172 #define FWRT_DEBUGFS_READ_WRITE_FILE_OPS(name, bufsz) \ argument 173 _FWRT_DEBUGFS_READ_WRITE_FILE_OPS(name, bufsz, struct iwl_fw_runtime)
|
/drivers/firmware/efi/ |
D | runtime-map.c | 148 int efi_runtime_map_copy(void *buf, size_t bufsz) in efi_runtime_map_copy() argument 152 if (sz > bufsz) in efi_runtime_map_copy() 153 sz = bufsz; in efi_runtime_map_copy()
|
/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | trans.c | 2555 size_t bufsz; in iwl_dbgfs_tx_queue_read() local 2557 bufsz = sizeof(char) * 75 * in iwl_dbgfs_tx_queue_read() 2563 buf = kzalloc(bufsz, GFP_KERNEL); in iwl_dbgfs_tx_queue_read() 2571 pos += scnprintf(buf + pos, bufsz - pos, in iwl_dbgfs_tx_queue_read() 2592 size_t bufsz = sizeof(buf); in iwl_dbgfs_rx_queue_read() local 2594 bufsz = sizeof(char) * 121 * trans->num_rx_queues; in iwl_dbgfs_rx_queue_read() 2599 buf = kzalloc(bufsz, GFP_KERNEL); in iwl_dbgfs_rx_queue_read() 2603 for (i = 0; i < trans->num_rx_queues && pos < bufsz; i++) { in iwl_dbgfs_rx_queue_read() 2606 pos += scnprintf(buf + pos, bufsz - pos, "queue#: %2d\n", in iwl_dbgfs_rx_queue_read() 2608 pos += scnprintf(buf + pos, bufsz - pos, "\tread: %u\n", in iwl_dbgfs_rx_queue_read() [all …]
|
/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_main.c | 1363 unsigned int bufsz; in pch_gbe_alloc_rx_buffers() local 1365 bufsz = adapter->rx_buffer_len + NET_IP_ALIGN; in pch_gbe_alloc_rx_buffers() 1370 skb = netdev_alloc_skb(netdev, bufsz); in pch_gbe_alloc_rx_buffers() 1422 unsigned int bufsz; in pch_gbe_alloc_rx_buffers_pool() local 1425 bufsz = adapter->rx_buffer_len; in pch_gbe_alloc_rx_buffers_pool() 1427 size = rx_ring->count * bufsz + PCH_GBE_RESERVE_MEMORY; in pch_gbe_alloc_rx_buffers_pool() 1437 buffer_info->rx_buffer = rx_ring->rx_buff_pool + bufsz * i; in pch_gbe_alloc_rx_buffers_pool() 1438 buffer_info->length = bufsz; in pch_gbe_alloc_rx_buffers_pool() 1454 unsigned int bufsz; in pch_gbe_alloc_tx_buffers() local 1457 bufsz = in pch_gbe_alloc_tx_buffers() [all …]
|
/drivers/scsi/bfa/ |
D | bfad_bsg.h | 560 int bufsz; member 664 u64 bufsz; member 672 u32 bufsz; member
|
D | bfad_bsg.c | 1558 iocmd->bufsz) != BFA_STATUS_OK) { in bfad_iocmd_flash_update_part() 1569 iocmd->bufsz, 0, bfad_hcb_comp, &fcomp); in bfad_iocmd_flash_update_part() 1590 iocmd->bufsz) != BFA_STATUS_OK) { in bfad_iocmd_flash_read_part() 1600 iocmd->instance, iocmd_bufptr, iocmd->bufsz, 0, in bfad_iocmd_flash_read_part() 1924 iocmd->bufsz) != BFA_STATUS_OK) { in bfad_iocmd_phy_read() 1933 iocmd->instance, iocmd_bufptr, iocmd->bufsz, in bfad_iocmd_phy_read() 1975 iocmd->bufsz) != BFA_STATUS_OK) { in bfad_iocmd_phy_update() 1984 iocmd->instance, iocmd_bufptr, iocmd->bufsz, in bfad_iocmd_phy_update() 2001 if (iocmd->bufsz < sizeof(struct bfa_plog_s)) { in bfad_iocmd_porglog_get() 2030 if (iocmd->bufsz < BFA_DEBUG_FW_CORE_CHUNK_SZ || in bfad_iocmd_debug_fw_core() [all …]
|
/drivers/net/ethernet/netronome/nfp/nfpcore/ |
D | nfp_nsp.c | 1075 int bufsz, ret; in nfp_nsp_read_module_eeprom() local 1080 bufsz = struct_size(buf, data, round_up(len, NSP_SFF_EEPROM_BLOCK_LEN)); in nfp_nsp_read_module_eeprom() 1081 buf = kzalloc(bufsz, GFP_KERNEL); in nfp_nsp_read_module_eeprom() 1091 ret = __nfp_nsp_module_eeprom(state, buf, bufsz); in nfp_nsp_read_module_eeprom()
|
/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | coex.h | 198 pos += scnprintf(buf + pos, bufsz - pos, \
|
/drivers/media/pci/cx18/ |
D | cx18-queue.c | 347 unsigned bufsz = (((char __iomem *)cx->scb) + SCB_RESERVED_SIZE - in cx18_stream_alloc() local 352 bufsz / sizeof(struct cx18_mdl_ent)); in cx18_stream_alloc()
|
/drivers/watchdog/ |
D | mei_wdt.c | 497 const size_t bufsz = 32; in mei_dbgfs_read_activation() local 502 pos = scnprintf(buf, bufsz, "%s\n", in mei_dbgfs_read_activation()
|
/drivers/net/ethernet/pasemi/ |
D | pasemi_mac.c | 597 skb = netdev_alloc_skb(dev, mac->bufsz); in pasemi_mac_replenish_rx_ring() 604 mac->bufsz - LOCAL_SKB_ALIGN, in pasemi_mac_replenish_rx_ring() 614 *buff = XCT_RXB_LEN(mac->bufsz) | XCT_RXB_ADDR(dma); in pasemi_mac_replenish_rx_ring() 744 pci_unmap_single(pdev, dma, mac->bufsz - LOCAL_SKB_ALIGN, in pasemi_mac_clean_rx() 1640 mac->bufsz = new_mtu + ETH_HLEN + ETH_FCS_LEN + LOCAL_SKB_ALIGN + 128; in pasemi_mac_change_mtu() 1751 mac->bufsz = dev->mtu + ETH_HLEN + ETH_FCS_LEN + LOCAL_SKB_ALIGN + 128; in pasemi_mac_probe()
|
D | pasemi_mac.h | 64 int bufsz; /* RX ring buffer size */ member
|
/drivers/media/platform/qcom/venus/ |
D | helpers.c | 932 struct hfi_buffer_size_actual bufsz; in venus_helper_set_bufsize() local 934 bufsz.type = buftype; in venus_helper_set_bufsize() 935 bufsz.size = bufsize; in venus_helper_set_bufsize() 937 return hfi_session_set_property(inst, ptype, &bufsz); in venus_helper_set_bufsize()
|
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | pcie.c | 1133 u32 bufsz; in brcmf_pcie_init_ringbuffers() local 1154 bufsz = (max_submissionrings + max_completionrings) * in brcmf_pcie_init_ringbuffers() 1156 devinfo->idxbuf = dma_alloc_coherent(&devinfo->pdev->dev, bufsz, in brcmf_pcie_init_ringbuffers() 1173 memset(devinfo->idxbuf, 0, bufsz); in brcmf_pcie_init_ringbuffers() 1174 devinfo->idxbuf_sz = bufsz; in brcmf_pcie_init_ringbuffers()
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_x550.c | 930 u16 length, bufsz, i, start; in ixgbe_checksum_ptr_x550() local 933 bufsz = ARRAY_SIZE(buf); in ixgbe_checksum_ptr_x550() 937 status = ixgbe_read_ee_hostif_buffer_X550(hw, ptr, bufsz, buf); in ixgbe_checksum_ptr_x550() 966 if (i == bufsz && !buffer) { in ixgbe_checksum_ptr_x550() 967 ptr += bufsz; in ixgbe_checksum_ptr_x550() 969 if (length < bufsz) in ixgbe_checksum_ptr_x550() 970 bufsz = length; in ixgbe_checksum_ptr_x550() 974 bufsz, buf); in ixgbe_checksum_ptr_x550()
|