Searched refs:ctrl_cmd (Results 1 – 2 of 2) sorted by relevance
2768 static void pkt_get_status(struct pkt_ctrl_command *ctrl_cmd) in pkt_get_status() argument2774 pd = pkt_find_dev_from_minor(ctrl_cmd->dev_index); in pkt_get_status()2776 ctrl_cmd->dev = new_encode_dev(file_bdev(pd->bdev_file)->bd_dev); in pkt_get_status()2777 ctrl_cmd->pkt_dev = new_encode_dev(pd->pkt_dev); in pkt_get_status()2779 ctrl_cmd->dev = 0; in pkt_get_status()2780 ctrl_cmd->pkt_dev = 0; in pkt_get_status()2782 ctrl_cmd->num_devices = MAX_WRITERS; in pkt_get_status()2790 struct pkt_ctrl_command ctrl_cmd; in pkt_ctl_ioctl() local2797 if (copy_from_user(&ctrl_cmd, argp, sizeof(struct pkt_ctrl_command))) in pkt_ctl_ioctl()2800 switch (ctrl_cmd.command) { in pkt_ctl_ioctl()[all …]
135 unsigned int ctrl_cmd; member826 npcm_video_command(video, video->ctrl_cmd); in npcm_video_start_frame()986 video->ctrl_cmd = VCD_CMD_OPERATION_CAPTURE; in npcm_video_stop()1350 video->ctrl_cmd = VCD_CMD_OPERATION_CAPTURE; in npcm_video_set_ctrl()1352 video->ctrl_cmd = VCD_CMD_OPERATION_COMPARE; in npcm_video_set_ctrl()1499 video->ctrl_cmd = VCD_CMD_OPERATION_CAPTURE; in npcm_video_stop_streaming()