Lines Matching refs:sig
20 #define EISA_DEVINFO(i,s) { .id = { .sig = i }, .name = s }
62 if (!strcmp(edev->id.sig, eisa_table[i].id.sig)) { in eisa_name_device()
71 sprintf(edev->pretty_name, "EISA device %.7s", edev->id.sig); in eisa_name_device()
78 u8 sig[4]; in decode_eisa_sig() local
93 sig[i] = inb(addr + i); in decode_eisa_sig()
95 if (!i && (sig[0] & 0x80)) in decode_eisa_sig()
99 sig_str[0] = ((sig[0] >> 2) & 0x1f) + ('A' - 1); in decode_eisa_sig()
100 sig_str[1] = (((sig[0] & 3) << 3) | (sig[1] >> 5)) + ('A' - 1); in decode_eisa_sig()
101 sig_str[2] = (sig[1] & 0x1f) + ('A' - 1); in decode_eisa_sig()
102 rev = (sig[2] << 8) | sig[3]; in decode_eisa_sig()
117 while (strlen(eids->sig)) { in eisa_bus_match()
118 if (!strcmp(eids->sig, edev->id.sig) && in eisa_bus_match()
134 add_uevent_var(env, "MODALIAS=" EISA_DEVICE_MODALIAS_FMT, edev->id.sig); in eisa_bus_uevent()
162 return sprintf(buf, "%s\n", edev->id.sig); in signature_show()
178 return sprintf(buf, EISA_DEVICE_MODALIAS_FMT "\n", edev->id.sig); in modalias_show()
186 char *sig; in eisa_init_device() local
192 sig = decode_eisa_sig(sig_addr); in eisa_init_device()
193 if (!sig) in eisa_init_device()
196 memcpy(edev->id.sig, sig, EISA_SIG_LEN); in eisa_init_device()
213 edev->res[i].name = edev->id.sig; in eisa_init_device()
341 dev_info(&edev->dev, "EISA: Mainboard %s detected\n", edev->id.sig); in eisa_probe()
345 edev->id.sig); in eisa_probe()
384 edev->id.sig, enabled_str); in eisa_probe()
390 edev->id.sig); in eisa_probe()