Lines Matching refs:p
1918 char *p; in cas_rx_process_pkt() local
1936 p = skb->data; in cas_rx_process_pkt()
1949 memcpy(p, page_address(page->buffer) + off, i); in cas_rx_process_pkt()
1954 p += hlen; in cas_rx_process_pkt()
1982 if (p == (char *) skb->data) { /* not split */ in cas_rx_process_pkt()
1983 memcpy(p, page_address(page->buffer) + off, in cas_rx_process_pkt()
2053 memcpy(p, page_address(page->buffer) + off, i); in cas_rx_process_pkt()
2057 if (p == (char *) skb->data) /* not split */ in cas_rx_process_pkt()
2064 p += hlen; in cas_rx_process_pkt()
2071 memcpy(p, page_address(page->buffer), dlen + cp->crc_size); in cas_rx_process_pkt()
3105 static int cas_vpd_match(const void __iomem *p, const char *str) in cas_vpd_match() argument
3111 if (readb(p + i) != str[i]) in cas_vpd_match()
3132 void __iomem *p = cp->regs + REG_EXPANSION_ROM_RUN_START; in cas_get_vpd_info() local
3151 if (readb(p) != 0x55 || readb(p + 1) != 0xaa) in cas_get_vpd_info()
3158 if ((readb(p + i + 0) == 0x50) && in cas_get_vpd_info()
3159 (readb(p + i + 1) == 0x43) && in cas_get_vpd_info()
3160 (readb(p + i + 2) == 0x49) && in cas_get_vpd_info()
3161 (readb(p + i + 3) == 0x52)) { in cas_get_vpd_info()
3162 base = p + (readb(p + i + 8) | in cas_get_vpd_info()
3163 (readb(p + i + 9) << 8)); in cas_get_vpd_info()
3181 p = kstart; in cas_get_vpd_info()
3182 while ((p - kstart) < len) { in cas_get_vpd_info()
3183 int klen = readb(p + 2); in cas_get_vpd_info()
3187 p += 3; in cas_get_vpd_info()
3226 if (readb(p) != 'I') in cas_get_vpd_info()
3230 type = readb(p + 3); in cas_get_vpd_info()
3232 if ((klen == 29) && readb(p + 4) == 6 && in cas_get_vpd_info()
3233 cas_vpd_match(p + 5, in cas_get_vpd_info()
3241 readb(p + 23 + j); in cas_get_vpd_info()
3251 cas_vpd_match(p + 5, "entropy-dev") && in cas_get_vpd_info()
3252 cas_vpd_match(p + 17, "vms110")) { in cas_get_vpd_info()
3261 if ((klen == 18) && readb(p + 4) == 4 && in cas_get_vpd_info()
3262 cas_vpd_match(p + 5, "phy-type")) { in cas_get_vpd_info()
3263 if (cas_vpd_match(p + 14, "pcs")) { in cas_get_vpd_info()
3269 if ((klen == 23) && readb(p + 4) == 4 && in cas_get_vpd_info()
3270 cas_vpd_match(p + 5, "phy-interface")) { in cas_get_vpd_info()
3271 if (cas_vpd_match(p + 19, "pcs")) { in cas_get_vpd_info()
3284 p += klen; in cas_get_vpd_info()
4332 u8 *p; in cas_read_regs() local
4337 for (i = 0, p = ptr; i < len ; i ++, p += sizeof(u32)) { in cas_read_regs()
4347 memcpy(p, (u8 *)&val, sizeof(u32)); in cas_read_regs()
4649 void *p) in cas_get_regs() argument
4654 cas_read_regs(cp, p, regs->len / sizeof(u32)); in cas_get_regs()