Searched refs:pd_scratch (Results 1 - 2 of 2) sorted by relevance

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/block/paride/
H A Dpd.c241 static char pd_scratch[512]; /* scratch block buffer */ variable
668 pi_read_block(disk->pi, pd_scratch, 512);
669 disk->can_lba = pd_scratch[99] & 2;
670 disk->sectors = le16_to_cpu(*(__le16 *) (pd_scratch + 12));
671 disk->heads = le16_to_cpu(*(__le16 *) (pd_scratch + 6));
672 disk->cylinders = le16_to_cpu(*(__le16 *) (pd_scratch + 2));
674 disk->capacity = le32_to_cpu(*(__le32 *) (pd_scratch + 120));
679 id[j ^ 1] = pd_scratch[j + PD_ID_OFF];
686 disk->removable = pd_scratch[0] & 0x80;
875 if (pi_init(disk->pi, 1, -1, -1, -1, -1, -1, pd_scratch,
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/block/paride/
H A Dpd.c241 static char pd_scratch[512]; /* scratch block buffer */ variable
668 pi_read_block(disk->pi, pd_scratch, 512);
669 disk->can_lba = pd_scratch[99] & 2;
670 disk->sectors = le16_to_cpu(*(__le16 *) (pd_scratch + 12));
671 disk->heads = le16_to_cpu(*(__le16 *) (pd_scratch + 6));
672 disk->cylinders = le16_to_cpu(*(__le16 *) (pd_scratch + 2));
674 disk->capacity = le32_to_cpu(*(__le32 *) (pd_scratch + 120));
679 id[j ^ 1] = pd_scratch[j + PD_ID_OFF];
686 disk->removable = pd_scratch[0] & 0x80;
875 if (pi_init(disk->pi, 1, -1, -1, -1, -1, -1, pd_scratch,
[all...]

Completed in 65 milliseconds