Lines Matching refs:cb
539 struct mx28_sd_config_block *cb; in mx28_create_sd_image() local
557 cb = (struct mx28_sd_config_block *)buf; in mx28_create_sd_image()
559 cb->signature = cpu_to_le32(0x00112233); in mx28_create_sd_image()
560 cb->primary_boot_tag = cpu_to_le32(0x1); in mx28_create_sd_image()
561 cb->secondary_boot_tag = cpu_to_le32(0x1); in mx28_create_sd_image()
562 cb->num_copies = cpu_to_le32(1); in mx28_create_sd_image()
563 cb->drv_info[0].chip_num = cpu_to_le32(0x0); in mx28_create_sd_image()
564 cb->drv_info[0].drive_type = cpu_to_le32(0x0); in mx28_create_sd_image()
565 cb->drv_info[0].tag = cpu_to_le32(0x1); in mx28_create_sd_image()
566 cb->drv_info[0].first_sector_number = cpu_to_le32(sd_sector + 4); in mx28_create_sd_image()
567 cb->drv_info[0].sector_count = cpu_to_le32((size - 4) / 512); in mx28_create_sd_image()