Searched refs:device_code (Results 1 – 3 of 3) sorted by relevance
88 unsigned long device_code; in read_device_code() local106 device_code = ((read_reg(sohandle, so) & 0xff) << 24); in read_device_code()107 device_code |= ((read_reg(sohandle, so) & 0xff) << 16); in read_device_code()108 device_code |= ((read_reg(sohandle, so) & 0xff) << 8); in read_device_code()109 device_code |= (read_reg(sohandle, so) & 0xff); in read_device_code()111 return device_code; in read_device_code()
570 xd_card->device_code = id_buf[1]; in reset_xd()573 switch (xd_card->device_code) { in reset_xd()648 if (id_buf[1] != xd_card->device_code) in reset_xd()
531 u8 device_code; member