Lines Matching defs:blk_desc
74 struct blk_desc { struct
79 enum if_type if_type; /* type of the interface */
80 int devnum; /* device number */
81 unsigned char part_type; /* partition type */
82 unsigned char target; /* target SCSI ID */
83 unsigned char lun; /* target LUN */
84 unsigned char hwpart; /* HW partition, e.g. for eMMC */
108 * For now we have a few functions which take struct blk_desc as a argument
114 unsigned long (*block_read)(struct blk_desc *block_dev, argument
118 unsigned long (*block_write)(struct blk_desc *block_dev, argument
122 unsigned long (*block_erase)(struct blk_desc *block_dev, argument
131 #define BLOCK_CNT(size, blk_desc) (PAD_COUNT(size, blk_desc->blksz)) argument
132 #define PAD_TO_BLOCKSIZE(size, blk_desc) \ argument