Home
last modified time | relevance | path

Searched refs:id_bytes (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/mtd/nand/raw/
Dnandsim.c113 static u_char id_bytes[8] = { variable
121 module_param_array(id_bytes, byte, NULL, 0400);
122 module_param_named(first_id_byte, id_bytes[0], byte, 0400);
123 module_param_named(second_id_byte, id_bytes[1], byte, 0400);
124 module_param_named(third_id_byte, id_bytes[2], byte, 0400);
125 module_param_named(fourth_id_byte, id_bytes[3], byte, 0400);
146 MODULE_PARM_DESC(id_bytes, "The ID bytes returned by NAND Flash 'read ID' command");
2293 if (id_bytes[6] != 0xFF || id_bytes[7] != 0xFF) in ns_init_module()
2295 else if (id_bytes[4] != 0xFF || id_bytes[5] != 0xFF) in ns_init_module()
2297 else if (id_bytes[2] != 0xFF || id_bytes[3] != 0xFF) in ns_init_module()
[all …]