Lines Matching refs:volctrl
3105 struct cdrom_volctrl volctrl; in mmc_ioctl_cdrom_volume() local
3113 if (copy_from_user(&volctrl, (struct cdrom_volctrl __user *)arg, in mmc_ioctl_cdrom_volume()
3114 sizeof(volctrl))) in mmc_ioctl_cdrom_volume()
3148 volctrl.channel0 = buffer[offset+9]; in mmc_ioctl_cdrom_volume()
3149 volctrl.channel1 = buffer[offset+11]; in mmc_ioctl_cdrom_volume()
3150 volctrl.channel2 = buffer[offset+13]; in mmc_ioctl_cdrom_volume()
3151 volctrl.channel3 = buffer[offset+15]; in mmc_ioctl_cdrom_volume()
3152 if (copy_to_user((struct cdrom_volctrl __user *)arg, &volctrl, in mmc_ioctl_cdrom_volume()
3153 sizeof(volctrl))) in mmc_ioctl_cdrom_volume()
3164 buffer[offset + 9] = volctrl.channel0 & mask[offset + 9]; in mmc_ioctl_cdrom_volume()
3165 buffer[offset + 11] = volctrl.channel1 & mask[offset + 11]; in mmc_ioctl_cdrom_volume()
3166 buffer[offset + 13] = volctrl.channel2 & mask[offset + 13]; in mmc_ioctl_cdrom_volume()
3167 buffer[offset + 15] = volctrl.channel3 & mask[offset + 15]; in mmc_ioctl_cdrom_volume()