Lines Matching refs:buflen
376 int ret, buflen; in cdrom_get_disc_info() local
381 cgc.cmd[8] = cgc.buflen = 2; in cdrom_get_disc_info()
391 buflen = be16_to_cpu(di->disc_information_length) + in cdrom_get_disc_info()
394 if (buflen > sizeof(disc_information)) in cdrom_get_disc_info()
395 buflen = sizeof(disc_information); in cdrom_get_disc_info()
397 cgc.cmd[8] = cgc.buflen = buflen; in cdrom_get_disc_info()
403 return buflen; in cdrom_get_disc_info()
564 cgc.buflen = sizeof(buffer); in cdrom_mrw_set_lba_space()
575 cgc.buflen = size; in cdrom_mrw_set_lba_space()
833 cgc.buflen = 255; in mo_open_write()
1587 cgc->buflen = len; in init_cdrom_command()
1603 cgc->buflen = 8; in setup_report_key()
1607 cgc->buflen = 16; in setup_report_key()
1611 cgc->buflen = 12; in setup_report_key()
1615 cgc->cmd[9] = cgc->buflen; in setup_report_key()
1625 cgc->buflen = 16; in setup_send_key()
1629 cgc->buflen = 12; in setup_send_key()
1633 cgc->buflen = 8; in setup_send_key()
1637 cgc->cmd[9] = cgc->buflen; in setup_send_key()
1804 cgc->cmd[9] = cgc->buflen & 0xff; in dvd_read_physical()
1851 cgc->cmd[8] = cgc->buflen >> 8; in dvd_read_copyright()
1852 cgc->cmd[9] = cgc->buflen & 0xff; in dvd_read_copyright()
1906 cgc->cmd[9] = cgc->buflen & 0xff; in dvd_read_bca()
2004 cgc->cmd[7] = cgc->buflen >> 8; in cdrom_mode_sense()
2005 cgc->cmd[8] = cgc->buflen & 0xff; in cdrom_mode_sense()
2019 cgc->cmd[7] = cgc->buflen >> 8; in cdrom_mode_select()
2020 cgc->cmd[8] = cgc->buflen & 0xff; in cdrom_mode_select()
2087 cgc->buflen = blocksize * nblocks; in cdrom_read_cd()
2111 cgc->buflen = blksize * nblocks; in cdrom_read_block()
2780 cgc.buflen = sizeof(mh); in cdrom_switch_blocksize()
2795 int ret, buflen; in cdrom_get_track_info() local
2809 buflen = be16_to_cpu(ti->track_information_length) + in cdrom_get_track_info()
2812 if (buflen > sizeof(track_information)) in cdrom_get_track_info()
2813 buflen = sizeof(track_information); in cdrom_get_track_info()
2815 cgc.cmd[8] = cgc.buflen = buflen; in cdrom_get_track_info()
2821 return buflen; in cdrom_get_track_info()
3106 cgc->buflen = 24; in mmc_ioctl_cdrom_volume()
3120 if (offset + 16 > cgc->buflen) { in mmc_ioctl_cdrom_volume()
3121 cgc->buflen = offset + 16; in mmc_ioctl_cdrom_volume()