Lines Matching defs:p
487 unsigned int s, const char *p);
732 unsigned char *p, *ee_data = tp->eeprom;
779 p = (void *)ee_data + ee_data[27];
789 int media = get_u16(p);
790 int count = p[2];
791 p += 3;
797 unsigned char media_block = *p++;
800 p += 6;
812 u16 media = get_u16(p);
814 p += 2;
816 csr12dir = *p++;
817 count = *p++;
833 if ((p[0] & 0x80) == 0) { /* 21140 Compact block. */
835 leaf->media = p[0] & 0x3f;
836 leaf->leafdata = p;
837 if ((p[2] & 0x61) == 0x01) /* Bogus, but Znyx boards do it. */
839 p += 4;
841 switch(leaf->type = p[1]) {
844 leaf->media = p[2] & 0x0f;
851 if ((p[2] & 0x3f) == 0) {
852 u32 base15 = (p[2] & 0x40) ? get_u16(p + 7) : 0x0008;
853 u16 *p1 = (u16 *)(p + (p[2] & 0x40 ? 9 : 3));
860 leaf->media = p[2] & MEDIA_MASK;
872 leaf->leafdata = p + 2;
873 p += (p[0] & 0x3f) + 1;
1071 unsigned int s, const char *p)
1088 memcpy(txb + ETH_HLEN, p, s);
1746 unsigned char *p = mleaf->leafdata;
1753 tp->nic_name, p[1]);
1755 tp->if_port = p[0];
1758 outl(p[1], ioaddr + CSR12);
1759 new_csr6 = 0x02000000 | ((p[2] & 0x71) << 18);
1765 setup[i] = get_u16(&p[i*2 + 1]);
1767 tp->if_port = p[0] & 15;
1788 if (p[0] & 0x40) { /* SIA (CSR13-15) setup values are provided. */
1825 int phy_num = p[0];
1826 int init_length = p[1];
1832 u16 *init_sequence = (u16*)(p+2);
1833 u16 *reset_sequence = &((u16*)(p+3))[init_length];
1834 int reset_length = p[2 + init_length*2];
1842 u8 *init_sequence = p + 2;
1843 u8 *reset_sequence = p + 3 + init_length;
1844 int reset_length = p[2 + init_length];
2039 PCI_ROM(0x1317, 0x0985, "centaur-p", "ADMtek Centaur-P"),