Lines Matching full:blocksize

272 	unsigned short blocksize, i;  in sh_sdhi_single_read()  local
294 blocksize = sh_sdhi_readw(host, SDHI_SIZE); in sh_sdhi_single_read()
296 for (i = 0; i < blocksize / 8; i++) in sh_sdhi_single_read()
299 for (i = 0; i < blocksize / 2; i++) in sh_sdhi_single_read()
313 unsigned short blocksize, i, sec; in sh_sdhi_multi_read() local
323 debug("%s: blocks = %d, blocksize = %d\n", in sh_sdhi_multi_read()
324 __func__, data->blocks, data->blocksize); in sh_sdhi_multi_read()
337 blocksize = sh_sdhi_readw(host, SDHI_SIZE); in sh_sdhi_multi_read()
339 for (i = 0; i < blocksize / 8; i++) in sh_sdhi_multi_read()
342 for (i = 0; i < blocksize / 2; i++) in sh_sdhi_multi_read()
353 unsigned short blocksize, i; in sh_sdhi_single_write() local
363 debug("%s: blocks = %d, blocksize = %d\n", in sh_sdhi_single_write()
364 __func__, data->blocks, data->blocksize); in sh_sdhi_single_write()
379 blocksize = sh_sdhi_readw(host, SDHI_SIZE); in sh_sdhi_single_write()
381 for (i = 0; i < blocksize / 8; i++) in sh_sdhi_single_write()
384 for (i = 0; i < blocksize / 2; i++) in sh_sdhi_single_write()
398 unsigned short i, sec, blocksize; in sh_sdhi_multi_write() local
402 debug("%s: blocks = %d, blocksize = %d\n", in sh_sdhi_multi_write()
403 __func__, data->blocks, data->blocksize); in sh_sdhi_multi_write()
416 blocksize = sh_sdhi_readw(host, SDHI_SIZE); in sh_sdhi_multi_write()
418 for (i = 0; i < blocksize / 8; i++) in sh_sdhi_multi_write()
421 for (i = 0; i < blocksize / 2; i++) in sh_sdhi_multi_write()
562 sh_sdhi_writew(host, SDHI_SIZE, data->blocksize); in sh_sdhi_start_cmd()