Lines Matching refs:my_command
171 ti_private_cmd_t my_command;
175 os_memoryZero(drv, &my_command, sizeof(ti_private_cmd_t));
184 if (os_memoryCopyFromUser(drv, &my_command, ((union iwreq_data *)iw_req)->data.pointer, sizeof(ti_private_cmd_t)))
189 if (IS_PARAM_FOR_MODULE(my_command.cmd, DRIVER_MODULE_PARAM))
192 switch (my_command.cmd)
195 return wlanDrvIf_LoadFiles(drv, my_command.in_buffer);
204 *(TI_UINT32 *)my_command.out_buffer =
211 if ((my_command.in_buffer) && (my_command.in_buffer_len))
213 copy_from_buf = my_command.in_buffer;
214 my_command.in_buffer = os_memoryAlloc(drv, my_command.in_buffer_len);
215 if (os_memoryCopyFromUser(drv, my_command.in_buffer, copy_from_buf, my_command.in_buffer_len))
221 if ((my_command.out_buffer) && (my_command.out_buffer_len))
223 copy_to_buf = my_command.out_buffer;
224 my_command.out_buffer = os_memoryAlloc(drv, my_command.out_buffer_len);
226 param3 = &my_command;
240 if (my_command.in_buffer)
241 os_memoryFree(drv, my_command.in_buffer, my_command.in_buffer_len);
242 if (my_command.out_buffer)
243 os_memoryFree(drv,my_command.out_buffer,my_command.out_buffer_len);
258 if (my_command.in_buffer)
260 os_memoryFree(drv, my_command.in_buffer, my_command.in_buffer_len);
262 if (my_command.out_buffer)
264 if (os_memoryCopyToUser(drv, copy_to_buf, my_command.out_buffer, my_command.out_buffer_len))
269 os_memoryFree(drv, my_command.out_buffer, my_command.out_buffer_len);