• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/dream/camera/

Lines Matching refs:qcmd

65 	struct msm_queue_cmd *qcmd = NULL;			\
68 qcmd = list_first_entry(&(sync)->name, \
70 list_del_init(&qcmd->list); \
71 kfree(qcmd); \
332 struct msm_queue_cmd *qcmd = NULL;
337 qcmd = list_first_entry(&sync->prev_frame_q,
339 list_del_init(&qcmd->list);
343 if (!qcmd) {
348 pphy = (struct msm_vfe_phy_info *)(qcmd->command);
365 CDBG("__msm_get_frame: y=0x%x, cbcr=0x%x, qcmd=0x%x, virt_addr=0x%x\n",
366 pphy->y_phy, pphy->cbcr_phy, (int) qcmd, (int) frame->buffer);
368 kfree(qcmd);
454 struct msm_queue_cmd *qcmd,
461 list_add_tail(&qcmd->list, &sync->msg_event_q);
486 qcmd = list_first_entry(&queue->ctrl_status_q,
488 list_del_init(&qcmd->list);
491 return qcmd;
502 struct msm_queue_cmd *qcmd = NULL, *qcmd_temp;
510 qcmd = kmalloc(sizeof(struct msm_queue_cmd) +
513 if (!qcmd) {
519 qcmd->type = MSM_CAM_Q_CTRL;
520 qcmd->command = ctrlcmd = (struct msm_ctrl_cmd *)(qcmd + 1);
534 /* qcmd will be set to NULL */
535 qcmd = __msm_control(sync, NULL, qcmd, 0);
541 qcmd, MAX_SCHEDULE_TIMEOUT);
547 qcmd = qcmd_temp;
549 if (qcmd->command) {
551 udata = *(struct msm_ctrl_cmd *)qcmd->command;
573 * qcmd that we kmalloc() in this function. When we come here as
574 * a result of a successful completion, we are freeing the qcmd that
577 kfree(qcmd);
591 struct msm_queue_cmd *qcmd = NULL;
621 qcmd = list_first_entry(&sync->msg_event_q,
623 list_del_init(&qcmd->list);
626 CDBG("=== received from DSP === %d\n", qcmd->type);
628 switch (qcmd->type) {
631 data = (struct msm_vfe_resp *)(qcmd->command);
641 CDBG("msm_get_stats, qcmd->type = %d\n", qcmd->type);
721 ctrl = (struct msm_ctrl_cmd *)(qcmd->command);
723 CDBG("msm_get_stats, qcmd->type = %d\n", qcmd->type);
746 ctrl = (struct msm_ctrl_cmd *)(qcmd->command);
748 CDBG("msm_get_stats, qcmd->type = %d\n", qcmd->type);
771 } /* switch qcmd->type */
779 kfree(qcmd);
792 struct msm_queue_cmd *qcmd = NULL;
800 qcmd = kmalloc(sizeof(struct msm_queue_cmd) +
803 if (!qcmd) {
808 qcmd->command = ctrlcmd = (struct msm_ctrl_cmd *)(qcmd + 1);
817 kfree(qcmd);
828 list_add_tail(&qcmd->list, &ctrl_pmsm->ctrl_q.ctrl_status_q);
1219 struct msm_queue_cmd *qcmd = NULL;
1238 qcmd = list_first_entry(&sync->pict_frame_q,
1240 list_del_init(&qcmd->list);
1243 if (qcmd->command != NULL) {
1245 (struct msm_ctrl_cmd *)qcmd->command;
1253 kfree(qcmd);
1331 struct msm_queue_cmd *qcmd = NULL;
1344 qcmd = kmalloc(sizeof(struct msm_queue_cmd) +
1347 if (!qcmd) {
1352 qcmd->type = MSM_CAM_Q_VFE_MSG;
1353 qcmd->command = ctrlcmd = (struct msm_ctrl_cmd *)(qcmd + 1);
1359 list_add_tail(&qcmd->list, &sync->pict_frame_q);
1677 struct msm_queue_cmd *qcmd =
1679 return qcmd ? qcmd + 1 : NULL;
1689 struct msm_queue_cmd *qcmd = NULL;
1700 qcmd = ((struct msm_queue_cmd *)vdata) - 1;
1701 qcmd->type = qtype;
1754 qcmd->command = (void *)vdata;
1758 list_add_tail(&qcmd->list, &sync->msg_event_q);
1765 kfree(qcmd);
1889 struct msm_queue_cmd *qcmd = NULL, *rcmd = NULL;
1894 qcmd = kmalloc(sizeof(struct msm_queue_cmd), GFP_KERNEL);
1895 if (!qcmd) {
1900 qcmd->type = MSM_CAM_Q_V4L2_REQ;
1901 qcmd->command = out;
1903 rcmd = __msm_control(sync, &FIXME, qcmd, out->timeout_ms);