Lines Matching refs:p
75 struct pci_property *p; in pci_free_properties() local
77 while (p = d->properties) in pci_free_properties()
79 d->properties = p->next; in pci_free_properties()
80 pci_mfree(p); in pci_free_properties()
236 struct pci_property *p; in pci_set_property() local
239 while (p = *pp) in pci_set_property()
241 if (p->key == key) in pci_set_property()
243 *pp = p->next; in pci_set_property()
244 pci_mfree(p); in pci_set_property()
247 pp = &p->next; in pci_set_property()
253 p = pci_malloc(d->access, sizeof(*p) + strlen(value)); in pci_set_property()
254 *pp = p; in pci_set_property()
255 p->next = NULL; in pci_set_property()
256 p->key = key; in pci_set_property()
257 strcpy(p->value, value); in pci_set_property()
259 return p->value; in pci_set_property()
265 struct pci_property *p; in pci_get_string_property() local
267 for (p = d->properties; p; p = p->next) in pci_get_string_property()
268 if (p->key == prop) in pci_get_string_property()
269 return p->value; in pci_get_string_property()