Lines Matching refs:sisfb_command

69 				 struct sisfb_cmd *sisfb_command);
1820 if(copy_from_user(&ivideo->sisfb_command, (void __user *)arg, in sisfb_ioctl()
1824 sisfb_handle_command(ivideo, &ivideo->sisfb_command); in sisfb_ioctl()
1826 if(copy_to_user((void __user *)arg, &ivideo->sisfb_command, in sisfb_ioctl()
3927 sisfb_handle_command(struct sis_video_info *ivideo, struct sisfb_cmd *sisfb_command) in sisfb_handle_command() argument
3931 switch(sisfb_command->sisfb_cmd) { in sisfb_handle_command()
3934 sisfb_command->sisfb_result[0] = SISFB_CMD_ERR_EARLY; in sisfb_handle_command()
3936 sisfb_command->sisfb_result[0] = SISFB_CMD_ERR_OK; in sisfb_handle_command()
3937 sisfb_command->sisfb_result[1] = ivideo->currentvbflags; in sisfb_handle_command()
3938 sisfb_command->sisfb_result[2] = ivideo->vbflags2; in sisfb_handle_command()
3944 sisfb_command->sisfb_result[0] = SISFB_CMD_ERR_EARLY; in sisfb_handle_command()
3945 } else if(sisfb_command->sisfb_arg[0] == 99) { in sisfb_handle_command()
3947 sisfb_command->sisfb_result[1] = ivideo->sisfb_crt1off ? 0 : 1; in sisfb_handle_command()
3948 sisfb_command->sisfb_result[0] = SISFB_CMD_ERR_OK; in sisfb_handle_command()
3950 sisfb_command->sisfb_result[0] = SISFB_CMD_ERR_LOCKED; in sisfb_handle_command()
3952 (sisfb_command->sisfb_arg[0] == 0)) { in sisfb_handle_command()
3953 sisfb_command->sisfb_result[0] = SISFB_CMD_ERR_NOCRT2; in sisfb_handle_command()
3955 sisfb_command->sisfb_result[0] = SISFB_CMD_ERR_OK; in sisfb_handle_command()
3956 mycrt1off = sisfb_command->sisfb_arg[0] ? 0 : 1; in sisfb_handle_command()
3961 sisfb_command->sisfb_result[0] = SISFB_CMD_ERR_OTHER; in sisfb_handle_command()
3964 sisfb_command->sisfb_result[1] = ivideo->sisfb_crt1off ? 0 : 1; in sisfb_handle_command()
3969 sisfb_command->sisfb_result[0] = SISFB_CMD_ERR_UNKNOWN; in sisfb_handle_command()
3971 sisfb_command->sisfb_cmd); in sisfb_handle_command()