Lines Matching refs:cid
332 if (!ec->cid.cd) in ecard_readchunk()
629 if (ec->cid.id == 0) { in ecard_prints()
633 ec->cid.manufacturer, ec->cid.product); in ecard_prints()
635 if (!ec->card_desc && ec->cid.cd && in ecard_prints()
645 seq_printf(m, "Simple card %d\n", ec->cid.id); in ecard_prints()
786 return sprintf(buf, "%u\n", ec->cid.manufacturer); in vendor_show()
793 return sprintf(buf, "%u\n", ec->cid.product); in device_show()
895 struct ex_ecid cid; in ecard_probe() local
909 cid.r_zero = 1; in ecard_probe()
910 ecard_readbytes(&cid, ec, 0, 16, 0); in ecard_probe()
911 if (cid.r_zero) in ecard_probe()
914 ec->cid.id = cid.r_id; in ecard_probe()
915 ec->cid.cd = cid.r_cd; in ecard_probe()
916 ec->cid.is = cid.r_is; in ecard_probe()
917 ec->cid.w = cid.r_w; in ecard_probe()
918 ec->cid.manufacturer = ecard_getu16(cid.r_manu); in ecard_probe()
919 ec->cid.product = ecard_getu16(cid.r_prod); in ecard_probe()
920 ec->cid.country = cid.r_country; in ecard_probe()
921 ec->cid.irqmask = cid.r_irqmask; in ecard_probe()
922 ec->cid.irqoff = ecard_gets24(cid.r_irqoff); in ecard_probe()
923 ec->cid.fiqmask = cid.r_fiqmask; in ecard_probe()
924 ec->cid.fiqoff = ecard_gets24(cid.r_fiqoff); in ecard_probe()
928 if (ec->cid.is) { in ecard_probe()
929 ec->irqmask = ec->cid.irqmask; in ecard_probe()
930 ec->irqaddr += ec->cid.irqoff; in ecard_probe()
931 ec->fiqmask = ec->cid.fiqmask; in ecard_probe()
932 ec->fiqaddr += ec->cid.fiqoff; in ecard_probe()
939 if (quirklist[i].manufacturer == ec->cid.manufacturer && in ecard_probe()
940 quirklist[i].product == ec->cid.product) { in ecard_probe()
1032 if (ec->cid.manufacturer == ids[i].manufacturer && in ecard_match_device()
1033 ec->cid.product == ids[i].product) in ecard_match_device()
1123 ret = ec->cid.id == drv->id; in ecard_match()