Home | History | Annotate | Download | only in nand

Lines Matching refs:chip

54 nand_read_parameters_toshiba(device_t self, struct nand_chip * const chip)
78 chip->nc_addr_cycles_column = 2;
79 chip->nc_addr_cycles_row = 3;
80 chip->nc_lun_blocks = 2048;
84 chip->nc_page_size = 1024;
87 chip->nc_page_size = 2048;
90 chip->nc_page_size = 4096;
93 chip->nc_page_size = 8192;
99 chip->nc_spare_size =
101 (chip->nc_page_size >> 9);
105 chip->nc_block_size = 64 * 1024;
108 chip->nc_block_size = 128 * 1024;
111 chip->nc_block_size = 256 * 1024;
114 chip->nc_block_size = 512 * 1024;
122 /* its an 8bit chip */
125 chip->nc_flags |= NC_BUSWIDTH_16;
133 chip->nc_num_luns = 1;
136 chip->nc_num_luns = 2;
139 chip->nc_num_luns = 4;
142 chip->nc_num_luns = 8;
148 chip->nc_size = (uint64_t)chip->nc_lun_blocks *
149 chip->nc_block_size;