Lines Matching refs:ssize

2320 	int ssize;  in rw_interrupt()  local
2334 ssize = DIV_ROUND_UP(1 << raw_cmd->cmd[SIZECODE], 4); in rw_interrupt()
2350 if (nr_sectors / ssize > in rw_interrupt()
2351 DIV_ROUND_UP(in_sector_offset + current_count_sectors, ssize)) { in rw_interrupt()
2362 raw_cmd->cmd[SECT_PER_TRACK], fsector_t, ssize); in rw_interrupt()
2412 static int transfer_size(int ssize, int max_sector, int max_size) in transfer_size() argument
2417 max_sector -= (max_sector % _floppy->sect) % ssize; in transfer_size()
2428 static void copy_buffer(int ssize, int max_sector, int max_sector_2) in copy_buffer() argument
2436 max_sector = transfer_size(ssize, in copy_buffer()
2455 pr_info("ssize=%d\n", ssize); in copy_buffer()
2547 int ssize; in make_raw_rw_request() local
2610 ssize = DIV_ROUND_UP(1 << raw_cmd->cmd[SIZECODE], 4); in make_raw_rw_request()
2618 tracksize = _floppy->sect - _floppy->sect % ssize; in make_raw_rw_request()
2626 while (tracksize + ssize > _floppy->sect) { in make_raw_rw_request()
2628 ssize >>= 1; in make_raw_rw_request()
2632 tracksize += ssize; in make_raw_rw_request()
2642 in_sector_offset = (fsector_t % _floppy->sect) % ssize; in make_raw_rw_request()
2653 } else if (in_sector_offset || blk_rq_sectors(current_req) < ssize) { in make_raw_rw_request()
2658 if (sectors > ssize && sectors < ssize + ssize) in make_raw_rw_request()
2659 max_size = ssize + ssize; in make_raw_rw_request()
2661 max_size = ssize; in make_raw_rw_request()
2677 (!in_sector_offset && blk_rq_sectors(current_req) >= ssize)) && in make_raw_rw_request()
2697 copy_buffer(ssize, max_sector, in make_raw_rw_request()
2700 transfer_size(ssize, max_sector, in make_raw_rw_request()
2706 raw_cmd->length = ((raw_cmd->length - 1) | (ssize - 1)) + 1; in make_raw_rw_request()
2722 pr_info("ssize=%x SIZECODE=%d\n", ssize, raw_cmd->cmd[SIZECODE]); in make_raw_rw_request()