Lines Matching refs:data
38 struct wlan_ser_utf_data *data; in wlan_ser_utf_data_alloc() local
40 data = qdf_mem_malloc(sizeof(*data)); in wlan_ser_utf_data_alloc()
42 if (!data) { in wlan_ser_utf_data_alloc()
44 return data; in wlan_ser_utf_data_alloc()
47 data->id = cmd_id; in wlan_ser_utf_data_alloc()
48 WLAN_SER_DATA_STR(data->str, wlan_vdev_get_id(vdev), cmd_id); in wlan_ser_utf_data_alloc()
50 *ser_data = data; in wlan_ser_utf_data_alloc()
51 return data; in wlan_ser_utf_data_alloc()
58 struct wlan_ser_utf_data *data = cmd->umac_cmd; in wlan_ser_utf_add_cmd() local
66 cmd->cmd_type, SER_UTF_BLOCK_STR(cmd->is_blocking), data->str, in wlan_ser_utf_add_cmd()
265 struct wlan_ser_utf_data *data; in wlan_ser_utf_add_vdev_start_bss_cmd() local
284 if (!wlan_ser_utf_data_alloc(&data, vdev, cmd_id)) in wlan_ser_utf_add_vdev_start_bss_cmd()
287 vdev, cmd_id, (void *)data, in wlan_ser_utf_add_vdev_start_bss_cmd()
301 struct wlan_ser_utf_data *data; in wlan_ser_utf_cb() local
310 data = cmd->umac_cmd; in wlan_ser_utf_cb()
311 if (!data) { in wlan_ser_utf_cb()
320 SER_UTF_BLOCK_STR(cmd->is_blocking), data->str); in wlan_ser_utf_cb()
325 SER_UTF_BLOCK_STR(cmd->is_blocking), data->str); in wlan_ser_utf_cb()
330 SER_UTF_BLOCK_STR(cmd->is_blocking), data->str); in wlan_ser_utf_cb()
331 qdf_mem_free(data); in wlan_ser_utf_cb()
338 SER_UTF_BLOCK_STR(cmd->is_blocking), data->str); in wlan_ser_utf_cb()
339 qdf_mem_free(data); in wlan_ser_utf_cb()
371 struct wlan_ser_utf_data *data; in wlan_ser_utf_run() local
381 if (!wlan_ser_utf_data_alloc(&data, vdev, id)) in wlan_ser_utf_run()
385 ret = wlan_ser_utf_add_scan_cmd(vdev, id, data, in wlan_ser_utf_run()
389 data, in wlan_ser_utf_run()
470 struct wlan_ser_utf_data *data; in wlan_ser_utf_main() local
511 if (!wlan_ser_utf_data_alloc(&data, vdev, cmd_id)) in wlan_ser_utf_main()
515 wlan_ser_utf_add_scan_cmd(vdev, cmd_id, data, false); in wlan_ser_utf_main()
517 wlan_ser_utf_add_nonscan_cmd(vdev, cmd_id, data, in wlan_ser_utf_main()
540 if (!wlan_ser_utf_data_alloc(&data, vdev, id)) in wlan_ser_utf_main()
542 wlan_ser_utf_add_scan_cmd(vdev, id, data, false); in wlan_ser_utf_main()
553 if (!wlan_ser_utf_data_alloc(&data, vdev, id)) in wlan_ser_utf_main()
555 wlan_ser_utf_add_nonscan_cmd(vdev, id, data, false, false); in wlan_ser_utf_main()
578 if (!wlan_ser_utf_data_alloc(&data, vdev, id)) in wlan_ser_utf_main()
580 wlan_ser_utf_add_scan_cmd(vdev, id, data, false); in wlan_ser_utf_main()
659 if (!wlan_ser_utf_data_alloc(&data, vdev, id)) in wlan_ser_utf_main()
661 wlan_ser_utf_add_vdev_start_bss_cmd(vdev, id, data, in wlan_ser_utf_main()
664 if (!wlan_ser_utf_data_alloc(&data, vdev, id)) in wlan_ser_utf_main()
666 wlan_ser_utf_add_vdev_start_bss_cmd(vdev, id, data, in wlan_ser_utf_main()
675 if (!wlan_ser_utf_data_alloc(&data, vdev, id)) in wlan_ser_utf_main()
677 wlan_ser_utf_add_vdev_start_bss_cmd(vdev, id, data, in wlan_ser_utf_main()
680 if (!wlan_ser_utf_data_alloc(&data, vdev, id)) in wlan_ser_utf_main()
682 wlan_ser_utf_add_vdev_start_bss_cmd(vdev, id, data, in wlan_ser_utf_main()
685 if (!wlan_ser_utf_data_alloc(&data, vdev, id)) in wlan_ser_utf_main()
687 wlan_ser_utf_add_vdev_stop_bss_cmd(vdev, id, data, in wlan_ser_utf_main()
695 if (!wlan_ser_utf_data_alloc(&data, vdev, id)) in wlan_ser_utf_main()
697 wlan_ser_utf_add_nonscan_cmd(vdev, id, data, false, true); in wlan_ser_utf_main()
702 if (!wlan_ser_utf_data_alloc(&data, vdev, id)) in wlan_ser_utf_main()
704 wlan_ser_utf_add_nonscan_cmd(vdev, id, data, false, true); in wlan_ser_utf_main()
707 if (!wlan_ser_utf_data_alloc(&data, vdev, id)) in wlan_ser_utf_main()
709 wlan_ser_utf_add_nonscan_cmd(vdev, id, data, false, true); in wlan_ser_utf_main()
716 if (!wlan_ser_utf_data_alloc(&data, vdev, id)) in wlan_ser_utf_main()
718 wlan_ser_utf_add_nonscan_cmd(vdev, id, data, false, false); in wlan_ser_utf_main()
721 if (!wlan_ser_utf_data_alloc(&data, vdev, id)) in wlan_ser_utf_main()
723 wlan_ser_utf_add_nonscan_cmd(vdev, id, data, false, true); in wlan_ser_utf_main()
730 if (!wlan_ser_utf_data_alloc(&data, vdev, id)) in wlan_ser_utf_main()
732 wlan_ser_utf_add_nonscan_cmd(vdev, id, data, false, false); in wlan_ser_utf_main()
735 if (!wlan_ser_utf_data_alloc(&data, vdev, id)) in wlan_ser_utf_main()
737 wlan_ser_utf_add_nonscan_cmd(vdev, id, data, false, false); in wlan_ser_utf_main()
740 if (!wlan_ser_utf_data_alloc(&data, vdev, id)) in wlan_ser_utf_main()
742 wlan_ser_utf_add_nonscan_cmd(vdev, id, data, false, false); in wlan_ser_utf_main()
745 if (!wlan_ser_utf_data_alloc(&data, vdev, id)) in wlan_ser_utf_main()
747 wlan_ser_utf_add_nonscan_cmd(vdev, id, data, false, true); in wlan_ser_utf_main()
756 if (!wlan_ser_utf_data_alloc(&data, vdev, id)) in wlan_ser_utf_main()
758 wlan_ser_utf_add_nonscan_cmd(vdev, id, data, false, false); in wlan_ser_utf_main()
761 if (!wlan_ser_utf_data_alloc(&data, vdev, id)) in wlan_ser_utf_main()
763 wlan_ser_utf_add_nonscan_cmd(vdev, id, data, false, false); in wlan_ser_utf_main()
766 if (!wlan_ser_utf_data_alloc(&data, vdev, id)) in wlan_ser_utf_main()
768 wlan_ser_utf_add_nonscan_cmd(vdev, id, data, false, false); in wlan_ser_utf_main()
771 if (!wlan_ser_utf_data_alloc(&data, vdev, id)) in wlan_ser_utf_main()
773 wlan_ser_utf_add_nonscan_cmd(vdev, id, data, false, true); in wlan_ser_utf_main()
776 if (!wlan_ser_utf_data_alloc(&data, vdev, id)) in wlan_ser_utf_main()
778 wlan_ser_utf_add_nonscan_cmd(vdev, id, data, false, false); in wlan_ser_utf_main()
810 wlan_ser_utf_data_alloc(&data, ser_utf_vdev[0].vdev, id); in wlan_ser_utf_main()
812 data, false, false); in wlan_ser_utf_main()
814 wlan_ser_utf_data_alloc(&data, ser_utf_vdev[1].vdev, id); in wlan_ser_utf_main()
816 data, false, false); in wlan_ser_utf_main()
818 wlan_ser_utf_data_alloc(&data, ser_utf_vdev[2].vdev, id); in wlan_ser_utf_main()
820 data, false, false); in wlan_ser_utf_main()
822 wlan_ser_utf_data_alloc(&data, ser_utf_vdev[2].vdev, id); in wlan_ser_utf_main()
824 data, false, true); in wlan_ser_utf_main()
838 wlan_ser_utf_data_alloc(&data, ser_utf_vdev[0].vdev, id); in wlan_ser_utf_main()
840 data, false, true); in wlan_ser_utf_main()
842 wlan_ser_utf_data_alloc(&data, ser_utf_vdev[0].vdev, id); in wlan_ser_utf_main()
844 data, false, false); in wlan_ser_utf_main()
846 wlan_ser_utf_data_alloc(&data, ser_utf_vdev[1].vdev, id); in wlan_ser_utf_main()
848 data, false, false); in wlan_ser_utf_main()
850 wlan_ser_utf_data_alloc(&data, ser_utf_vdev[2].vdev, id); in wlan_ser_utf_main()
852 data, false, false); in wlan_ser_utf_main()
869 &data, in wlan_ser_utf_main()
873 id, data, false, false); in wlan_ser_utf_main()
880 &data, ser_utf_vdev[vdev_id].vdev, id); in wlan_ser_utf_main()
883 data, false, true); in wlan_ser_utf_main()
903 &data, in wlan_ser_utf_main()
907 id, data, false, false); in wlan_ser_utf_main()
913 &data, in wlan_ser_utf_main()
917 id, data, false, true); in wlan_ser_utf_main()
923 &data, in wlan_ser_utf_main()
927 id, data, false, false); in wlan_ser_utf_main()
939 wlan_ser_utf_data_alloc(&data, vdev, id); in wlan_ser_utf_main()
940 wlan_ser_utf_add_nonscan_cmd(vdev, id, data, false, false); in wlan_ser_utf_main()
943 wlan_ser_utf_data_alloc(&data, vdev, id); in wlan_ser_utf_main()
944 wlan_ser_utf_add_nonscan_cmd(vdev, id, data, false, false); in wlan_ser_utf_main()
947 wlan_ser_utf_data_alloc(&data, vdev, id); in wlan_ser_utf_main()
948 wlan_ser_utf_add_nonscan_cmd(vdev, id, data, false, false); in wlan_ser_utf_main()
951 wlan_ser_utf_data_alloc(&data, vdev, id); in wlan_ser_utf_main()
952 wlan_ser_utf_add_nonscan_cmd(vdev, id, data, true, false); in wlan_ser_utf_main()
961 wlan_ser_utf_data_alloc(&data, vdev, id); in wlan_ser_utf_main()
962 wlan_ser_utf_add_nonscan_cmd(vdev, id, data, false, false); in wlan_ser_utf_main()
965 wlan_ser_utf_data_alloc(&data, vdev, id); in wlan_ser_utf_main()
966 wlan_ser_utf_add_nonscan_cmd(vdev, id, data, false, true); in wlan_ser_utf_main()
969 wlan_ser_utf_data_alloc(&data, vdev, id); in wlan_ser_utf_main()
970 wlan_ser_utf_add_nonscan_cmd(vdev, id, data, true, false); in wlan_ser_utf_main()
973 wlan_ser_utf_data_alloc(&data, vdev, id); in wlan_ser_utf_main()
974 wlan_ser_utf_add_nonscan_cmd(vdev, id, data, false, false); in wlan_ser_utf_main()
983 wlan_ser_utf_data_alloc(&data, vdev, id); in wlan_ser_utf_main()
984 wlan_ser_utf_add_nonscan_cmd(vdev, id, data, false, false); in wlan_ser_utf_main()
987 wlan_ser_utf_data_alloc(&data, vdev, id); in wlan_ser_utf_main()
988 wlan_ser_utf_add_nonscan_cmd(vdev, id, data, false, false); in wlan_ser_utf_main()
991 wlan_ser_utf_data_alloc(&data, vdev, id); in wlan_ser_utf_main()
992 wlan_ser_utf_add_nonscan_cmd(vdev, id, data, false, false); in wlan_ser_utf_main()
995 wlan_ser_utf_data_alloc(&data, vdev, id); in wlan_ser_utf_main()
996 wlan_ser_utf_add_nonscan_cmd(vdev, id, data, true, true); in wlan_ser_utf_main()