Home
last modified time | relevance | path

Searched refs:dump_len (Results 1 – 25 of 31) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddhd_csi.c79 int pos = 0, dump_len = 0, remain = 0; in dhd_csi_event_handler() local
84 dump_len = p_event->header.cfr_dump_length; in dhd_csi_event_handler()
85 if (dump_len < MAX_EVENT_SIZE) { in dhd_csi_event_handler()
86 bcopy(&p_event->data, &ptr->entry.data, dump_len); in dhd_csi_event_handler()
92 pos = dump_len - remain - MAX_EVENT_SIZE; in dhd_csi_event_handler()
98 pos = dump_len - (dump_len % MAX_EVENT_SIZE); in dhd_csi_event_handler()
100 bcopy(&p_event->data, p, (dump_len % MAX_EVENT_SIZE)); in dhd_csi_event_handler()
H A Dwl_iapsta.c1473 int dump_len = WLC_IOCTL_MEDLEN; in wl_ext_isam_peer_path() local
1480 dump_len = total_len; in wl_ext_isam_peer_path()
1482 dump_buf = kmalloc(dump_len, GFP_KERNEL); in wl_ext_isam_peer_path()
1485 dump_len); in wl_ext_isam_peer_path()
1493 dump_written += snprintf(dump_buf+dump_written, dump_len, in wl_ext_isam_peer_path()
1499 dump_buf+dump_written, dump_len-dump_written); in wl_ext_isam_peer_path()
5568 char *dump_buf, int dump_len) in wl_ext_isam_dev_status() argument
5592 dump_written += snprintf(dump_buf+dump_written, dump_len, in wl_ext_isam_dev_status()
5603 dump_buf+dump_written, dump_len-dump_written); in wl_ext_isam_dev_status()
5607 dump_written += snprintf(dump_buf+dump_written, dump_len, "\n"); in wl_ext_isam_dev_status()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddhd_csi.c79 int pos = 0, dump_len = 0, remain = 0; in dhd_csi_event_handler() local
84 dump_len = p_event->header.cfr_dump_length; in dhd_csi_event_handler()
85 if (dump_len < MAX_EVENT_SIZE) { in dhd_csi_event_handler()
86 bcopy(&p_event->data, &ptr->entry.data, dump_len); in dhd_csi_event_handler()
92 pos = dump_len - remain - MAX_EVENT_SIZE; in dhd_csi_event_handler()
98 pos = dump_len - (dump_len % MAX_EVENT_SIZE); in dhd_csi_event_handler()
100 bcopy(&p_event->data, p, (dump_len % MAX_EVENT_SIZE)); in dhd_csi_event_handler()
H A Dwl_iapsta.c1595 int dump_len = WLC_IOCTL_MEDLEN; in wl_ext_isam_peer_path() local
1602 dump_len = total_len; in wl_ext_isam_peer_path()
1604 dump_buf = kmalloc(dump_len, GFP_KERNEL); in wl_ext_isam_peer_path()
1607 dump_len); in wl_ext_isam_peer_path()
1615 dump_written += snprintf(dump_buf+dump_written, dump_len, in wl_ext_isam_peer_path()
1621 dump_buf+dump_written, dump_len-dump_written); in wl_ext_isam_peer_path()
6171 char *dump_buf, int dump_len) in wl_ext_isam_dev_status() argument
6192 dump_written += snprintf(dump_buf+dump_written, dump_len, in wl_ext_isam_dev_status()
6203 dump_buf+dump_written, dump_len-dump_written); in wl_ext_isam_dev_status()
6207 dump_written += snprintf(dump_buf+dump_written, dump_len, "\n"); in wl_ext_isam_dev_status()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Ddhd_csi.c80 int pos = 0, dump_len = 0, remain = 0; in dhd_csi_event_handler() local
85 dump_len = p_event->header.cfr_dump_length; in dhd_csi_event_handler()
86 if (dump_len < MAX_EVENT_SIZE) { in dhd_csi_event_handler()
87 bcopy(&p_event->data, &ptr->entry.data, dump_len); in dhd_csi_event_handler()
93 pos = dump_len - remain - MAX_EVENT_SIZE; in dhd_csi_event_handler()
99 pos = dump_len - (dump_len % MAX_EVENT_SIZE); in dhd_csi_event_handler()
101 bcopy(&p_event->data, p, (dump_len % MAX_EVENT_SIZE)); in dhd_csi_event_handler()
H A Dwl_android_ext.c3149 int dump_len = WLC_IOCTL_MEDLEN; in wl_ext_isam_peer_path() local
3156 dump_len = total_len; in wl_ext_isam_peer_path()
3158 dump_buf = kmalloc(dump_len, GFP_KERNEL); in wl_ext_isam_peer_path()
3161 dump_len); in wl_ext_isam_peer_path()
3170 dump_written += snprintf(dump_buf+dump_written, dump_len, in wl_ext_isam_peer_path()
3176 dump_buf+dump_written, dump_len-dump_written); in wl_ext_isam_peer_path()
3204 int dump_len = WLC_IOCTL_MEDLEN; in wl_ext_isam_status() local
3210 dump_len = total_len; in wl_ext_isam_status()
3212 dump_buf = kmalloc(dump_len, GFP_KERNEL); in wl_ext_isam_status()
3215 dump_len); in wl_ext_isam_status()
[all …]
/OK3568_Linux_fs/kernel/drivers/mtd/ubi/
H A Dio.c1313 int dump_len; in self_check_write() local
1321 dump_len = max_t(int, 128, len - i); in self_check_write()
1323 i, i + dump_len); in self_check_write()
1325 buf + i, dump_len, 1); in self_check_write()
1327 i, i + dump_len); in self_check_write()
1329 buf1 + i, dump_len, 1); in self_check_write()
/OK3568_Linux_fs/u-boot/drivers/mtd/ubi/
H A Dio.c1346 int dump_len = max_t(int, 128, len - i); in self_check_write() local
1356 i, i + dump_len); in self_check_write()
1358 buf + i, dump_len, 1); in self_check_write()
1360 i, i + dump_len); in self_check_write()
1362 buf1 + i, dump_len, 1); in self_check_write()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/netronome/nfp/
H A Dnfp_main.h123 u32 dump_len; member
H A Dnfp_net_ethtool.c1175 app->pf->dump_len = len; in nfp_app_set_dump()
1192 dump->len = app->pf->dump_len; in nfp_app_get_dump_flag()
1210 dump->len = app->pf->dump_len; in nfp_app_get_dump_data()
/OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/mwifiex/
H A Dmain.c1203 u32 dump_len = 0; in mwifiex_prepare_fw_dump_info() local
1210 dump_len += (strlen("========Start dump ") + in mwifiex_prepare_fw_dump_info()
1218 if (dump_len + 1 + adapter->devdump_len > MWIFIEX_FW_DUMP_SIZE) { in mwifiex_prepare_fw_dump_info()
1220 fw_dump_ptr = vzalloc(dump_len + 1 + adapter->devdump_len); in mwifiex_prepare_fw_dump_info()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/emulex/benet/
H A Dbe_ethtool.c303 static int be_read_dump_data(struct be_adapter *adapter, u32 dump_len, in be_read_dump_data() argument
310 dump_len, buf); in be_read_dump_data()
312 status = be_cmd_get_fat_dump(adapter, dump_len, buf); in be_read_dump_data()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ethtool.c3677 static int bnxt_get_coredump(struct bnxt *bp, void *buf, u32 *dump_len) in bnxt_get_coredump() argument
3689 buf_len = *dump_len; in bnxt_get_coredump()
3696 *dump_len = seg_hdr_len + ver_get_resp_len; in bnxt_get_coredump()
3712 *dump_len += seg_hdr_len * coredump.total_segs; in bnxt_get_coredump()
3762 *dump_len += seg_len; in bnxt_get_coredump()
3774 *dump_len += sizeof(struct bnxt_coredump_record); in bnxt_get_coredump()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A Dcmd.c799 int dump_len; in dump_command() local
829 dump_len = min_t(int, MLX5_CMD_DATA_BLOCK_SIZE, msg->len - offset); in dump_command()
830 dump_buf(next->buf, dump_len, 1, offset); in dump_command()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/os_dep/linux/
H A Dioctl_cfg80211.c7469 size_t dump_len = len; in cfg80211_rtw_mgmt_tx() local
7563 if(rtw_get_p2p_ie(dump_buf + 36, dump_len - 36, NULL, NULL)) { in cfg80211_rtw_mgmt_tx()
7615 type = rtw_mesh_check_frames_tx(padapter, &dump_buf, &dump_len); in cfg80211_rtw_mgmt_tx()
7657 …tx_ret = rtw_mgnt_tx_cmd(padapter, tx_ch, no_cck, dump_buf, dump_len, wait_ack, RTW_CMDF_WAIT_ACK); in cfg80211_rtw_mgmt_tx()
7716 rtw_mfree((u8 *)dump_buf, dump_len); in cfg80211_rtw_mgmt_tx()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/os_dep/linux/
H A Dioctl_cfg80211.c7644 size_t dump_len = len; in cfg80211_rtw_mgmt_tx() local
7738 if(rtw_get_p2p_ie(dump_buf + 36, dump_len - 36, NULL, NULL)) { in cfg80211_rtw_mgmt_tx()
7790 type = rtw_mesh_check_frames_tx(padapter, &dump_buf, &dump_len); in cfg80211_rtw_mgmt_tx()
7832 …tx_ret = rtw_mgnt_tx_cmd(padapter, tx_ch, no_cck, dump_buf, dump_len, wait_ack, RTW_CMDF_WAIT_ACK); in cfg80211_rtw_mgmt_tx()
7891 rtw_mfree((u8 *)dump_buf, dump_len); in cfg80211_rtw_mgmt_tx()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/os_dep/linux/
H A Dioctl_cfg80211.c7137 size_t dump_len = len; in cfg80211_rtw_mgmt_tx() local
7262 type = rtw_mesh_check_frames_tx(padapter, &dump_buf, &dump_len); in cfg80211_rtw_mgmt_tx()
7299 …tx_ret = rtw_mgnt_tx_cmd(padapter, tx_ch, no_cck, dump_buf, dump_len, wait_ack, RTW_CMDF_WAIT_ACK); in cfg80211_rtw_mgmt_tx()
7358 rtw_mfree((u8 *)dump_buf, dump_len); in cfg80211_rtw_mgmt_tx()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/os_dep/linux/
H A Dioctl_cfg80211.c7267 size_t dump_len = len; in cfg80211_rtw_mgmt_tx() local
7396 type = rtw_mesh_check_frames_tx(padapter, &dump_buf, &dump_len); in cfg80211_rtw_mgmt_tx()
7433 …tx_ret = rtw_mgnt_tx_cmd(padapter, tx_ch, no_cck, dump_buf, dump_len, wait_ack, RTW_CMDF_WAIT_ACK); in cfg80211_rtw_mgmt_tx()
7492 rtw_mfree((u8 *)dump_buf, dump_len); in cfg80211_rtw_mgmt_tx()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/os_dep/linux/
H A Dioctl_cfg80211.c7247 size_t dump_len = len; in cfg80211_rtw_mgmt_tx() local
7376 type = rtw_mesh_check_frames_tx(padapter, &dump_buf, &dump_len); in cfg80211_rtw_mgmt_tx()
7413 …tx_ret = rtw_mgnt_tx_cmd(padapter, tx_ch, no_cck, dump_buf, dump_len, wait_ack, RTW_CMDF_WAIT_ACK); in cfg80211_rtw_mgmt_tx()
7472 rtw_mfree((u8 *)dump_buf, dump_len); in cfg80211_rtw_mgmt_tx()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/os_dep/linux/
H A Dioctl_cfg80211.c8034 size_t dump_len = len; in cfg80211_rtw_mgmt_tx() local
8163 type = rtw_mesh_check_frames_tx(padapter, &dump_buf, &dump_len); in cfg80211_rtw_mgmt_tx()
8200 …tx_ret = rtw_mgnt_tx_cmd(padapter, tx_ch, no_cck, dump_buf, dump_len, wait_ack, RTW_CMDF_WAIT_ACK); in cfg80211_rtw_mgmt_tx()
8259 rtw_mfree((u8 *)dump_buf, dump_len); in cfg80211_rtw_mgmt_tx()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/os_dep/linux/
H A Dioctl_cfg80211.c8035 size_t dump_len = len; in cfg80211_rtw_mgmt_tx() local
8164 type = rtw_mesh_check_frames_tx(padapter, &dump_buf, &dump_len); in cfg80211_rtw_mgmt_tx()
8201 …tx_ret = rtw_mgnt_tx_cmd(padapter, tx_ch, no_cck, dump_buf, dump_len, wait_ack, RTW_CMDF_WAIT_ACK); in cfg80211_rtw_mgmt_tx()
8260 rtw_mfree((u8 *)dump_buf, dump_len); in cfg80211_rtw_mgmt_tx()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/os_dep/linux/
H A Dioctl_cfg80211.c8297 size_t dump_len = len; in cfg80211_rtw_mgmt_tx() local
8426 type = rtw_mesh_check_frames_tx(padapter, &dump_buf, &dump_len); in cfg80211_rtw_mgmt_tx()
8463 …tx_ret = rtw_mgnt_tx_cmd(padapter, tx_ch, no_cck, dump_buf, dump_len, wait_ack, RTW_CMDF_WAIT_ACK); in cfg80211_rtw_mgmt_tx()
8522 rtw_mfree((u8 *)dump_buf, dump_len); in cfg80211_rtw_mgmt_tx()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/os_dep/linux/
H A Dioctl_cfg80211.c8321 size_t dump_len = len; in cfg80211_rtw_mgmt_tx() local
8450 type = rtw_mesh_check_frames_tx(padapter, &dump_buf, &dump_len); in cfg80211_rtw_mgmt_tx()
8487 …tx_ret = rtw_mgnt_tx_cmd(padapter, tx_ch, no_cck, dump_buf, dump_len, wait_ack, RTW_CMDF_WAIT_ACK); in cfg80211_rtw_mgmt_tx()
8546 rtw_mfree((u8 *)dump_buf, dump_len); in cfg80211_rtw_mgmt_tx()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/os_dep/linux/
H A Dioctl_cfg80211.c8126 size_t dump_len = len; in cfg80211_rtw_mgmt_tx() local
8255 type = rtw_mesh_check_frames_tx(padapter, &dump_buf, &dump_len); in cfg80211_rtw_mgmt_tx()
8292 …tx_ret = rtw_mgnt_tx_cmd(padapter, tx_ch, no_cck, dump_buf, dump_len, wait_ack, RTW_CMDF_WAIT_ACK); in cfg80211_rtw_mgmt_tx()
8351 rtw_mfree((u8 *)dump_buf, dump_len); in cfg80211_rtw_mgmt_tx()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/os_dep/linux/
H A Dioctl_cfg80211.c8155 size_t dump_len = len; in cfg80211_rtw_mgmt_tx() local
8284 type = rtw_mesh_check_frames_tx(padapter, &dump_buf, &dump_len); in cfg80211_rtw_mgmt_tx()
8321 …tx_ret = rtw_mgnt_tx_cmd(padapter, tx_ch, no_cck, dump_buf, dump_len, wait_ack, RTW_CMDF_WAIT_ACK); in cfg80211_rtw_mgmt_tx()
8380 rtw_mfree((u8 *)dump_buf, dump_len); in cfg80211_rtw_mgmt_tx()

12