Lines Matching refs:buflen
651 cgc.buflen = sizeof(buffer); in cdrom_mrw_set_lba_space()
661 cgc.buflen = size; in cdrom_mrw_set_lba_space()
818 cgc.buflen = 255; in mo_open_write()
1567 cgc->buflen = len; in init_cdrom_command()
1583 cgc->buflen = 8; in setup_report_key()
1587 cgc->buflen = 16; in setup_report_key()
1591 cgc->buflen = 12; in setup_report_key()
1595 cgc->cmd[9] = cgc->buflen; in setup_report_key()
1605 cgc->buflen = 16; in setup_send_key()
1609 cgc->buflen = 12; in setup_send_key()
1613 cgc->buflen = 8; in setup_send_key()
1617 cgc->cmd[9] = cgc->buflen; in setup_send_key()
1784 cgc->cmd[9] = cgc->buflen & 0xff; in dvd_read_physical()
1831 cgc->cmd[8] = cgc->buflen >> 8; in dvd_read_copyright()
1832 cgc->cmd[9] = cgc->buflen & 0xff; in dvd_read_copyright()
1886 cgc->cmd[9] = cgc->buflen & 0xff; in dvd_read_bca()
1984 cgc->cmd[7] = cgc->buflen >> 8; in cdrom_mode_sense()
1985 cgc->cmd[8] = cgc->buflen & 0xff; in cdrom_mode_sense()
1999 cgc->cmd[7] = cgc->buflen >> 8; in cdrom_mode_select()
2000 cgc->cmd[8] = cgc->buflen & 0xff; in cdrom_mode_select()
2057 cgc->buflen = blocksize * nblocks; in cdrom_read_cd()
2081 cgc->buflen = blksize * nblocks; in cdrom_read_block()
2847 cgc.buflen = sizeof(mh); in cdrom_switch_blocksize()
3016 cgc->buflen = 24; in mmc_ioctl_cdrom_volume()
3030 if (offset + 16 > cgc->buflen) { in mmc_ioctl_cdrom_volume()
3031 cgc->buflen = offset + 16; in mmc_ioctl_cdrom_volume()
3220 int ret, buflen; in cdrom_get_track_info() local
3233 buflen = be16_to_cpu(ti->track_information_length) + in cdrom_get_track_info()
3236 if (buflen > sizeof(track_information)) in cdrom_get_track_info()
3237 buflen = sizeof(track_information); in cdrom_get_track_info()
3239 cgc.cmd[8] = cgc.buflen = buflen; in cdrom_get_track_info()
3244 return buflen; in cdrom_get_track_info()
3252 int ret, buflen; in cdrom_get_disc_info() local
3257 cgc.cmd[8] = cgc.buflen = 2; in cdrom_get_disc_info()
3266 buflen = be16_to_cpu(di->disc_information_length) + in cdrom_get_disc_info()
3269 if (buflen > sizeof(disc_information)) in cdrom_get_disc_info()
3270 buflen = sizeof(disc_information); in cdrom_get_disc_info()
3272 cgc.cmd[8] = cgc.buflen = buflen; in cdrom_get_disc_info()
3277 return buflen; in cdrom_get_disc_info()